View | Details | Raw Unified | Return to bug 244594
Collapse All | Expand All

(-)/usr/ports/net/opensips/Makefile (-101 / +19 lines)
Lines 2-9 Link Here
2
# $FreeBSD: head/net/opensips/Makefile 518107 2019-11-21 19:27:39Z osa $
2
# $FreeBSD: head/net/opensips/Makefile 518107 2019-11-21 19:27:39Z osa $
3
3
4
PORTNAME=		opensips
4
PORTNAME=		opensips
5
DISTVERSION=		2.2.6
5
DISTVERSION=		3.0.2
6
PORTREVISION=	6
6
PORTREVISION=		0
7
CATEGORIES=		net
7
CATEGORIES=		net
8
MASTER_SITES=		http://opensips.org/pub/opensips/${PORTVERSION}/
8
MASTER_SITES=		http://opensips.org/pub/opensips/${PORTVERSION}/
9
9
Lines 16-22 Link Here
16
LIB_DEPENDS=		libxml2.so:textproc/libxml2 \
16
LIB_DEPENDS=		libxml2.so:textproc/libxml2 \
17
			libxmlrpc.so:net/xmlrpc-c \
17
			libxmlrpc.so:net/xmlrpc-c \
18
			libpcre.so:devel/pcre \
18
			libpcre.so:devel/pcre \
19
			libconfuse.so:devel/libconfuse \
20
			librabbitmq.so:net/rabbitmq-c-devel \
19
			librabbitmq.so:net/rabbitmq-c-devel \
21
			libhiredis.so:databases/hiredis \
20
			libhiredis.so:databases/hiredis \
22
			libexpat.so:textproc/expat2 \
21
			libexpat.so:textproc/expat2 \
Lines 25-31 Link Here
25
BUILD_DEPENDS=		ginstall:sysutils/coreutils \
24
BUILD_DEPENDS=		ginstall:sysutils/coreutils \
26
			gtar:archivers/gtar \
25
			gtar:archivers/gtar \
27
			gm4:devel/m4 \
26
			gm4:devel/m4 \
28
			redis-server:databases/redis
27
			redis-server:databases/redis \
28
			flex:textproc/flex
29
RUN_DEPENDS=		${LOCALBASE}/bin/bash:shells/bash \
29
RUN_DEPENDS=		${LOCALBASE}/bin/bash:shells/bash \
30
			${LOCALBASE}/bin/grep:textproc/gnugrep
30
			${LOCALBASE}/bin/grep:textproc/gnugrep
31
31
Lines 37-55 Link Here
37
USERS=			opensips
37
USERS=			opensips
38
GROUPS=			opensips
38
GROUPS=			opensips
39
39
40
USES=			gmake ncurses perl5 pkgconfig python:2.7 shebangfix ssl
40
USES=			gmake bison ncurses perl5 pkgconfig python \
41
			shebangfix ssl
41
USE_RC_SUBR=		opensips
42
USE_RC_SUBR=		opensips
42
USE_GCC=		yes
43
USE_GCC=		yes
43
44
45
LDFLAGS+=		-pthread
46
44
NOPRECIOUSMAKEVARS=	yes
47
NOPRECIOUSMAKEVARS=	yes
45
48
46
OPTIONS_DEFINE=		DEBUG DOCS EXAMPLES HTTP LDAP MEMCACHED MYSQL \
49
OPTIONS_DEFINE=		DEBUG DOCS EXAMPLES HTTP LDAP MEMCACHED MYSQL \
47
			PGSQL RADIUS TESTS TLS UNIXODBC SQLITE
50
			PGSQL RADIUS SCTP TESTS TLS UNIXODBC SQLITE
48
OPTIONS_DEFAULT=	HTTP LDAP MEMCACHED PGSQL RADIUS TLS
51
OPTIONS_DEFAULT=	HTTP LDAP MEMCACHED PGSQL RADIUS TLS
49
OPTIONS_SUB=		yes
52
OPTIONS_SUB=		yes
50
53
51
HTTP_DESC=		Enable HTTP transport via libmicrohttpd
54
HTTP_DESC=		Enable HTTP transport via libmicrohttpd
52
MEMCACHED_DESC=		Build with memcached support
55
MEMCACHED_DESC=		Build with memcached support
56
SCTP_DESC=		SCTP support
53
TESTS_DESC=		Install smoke tests
57
TESTS_DESC=		Install smoke tests
54
58
55
LDAP_USE=		OPENLDAP=client
59
LDAP_USE=		OPENLDAP=client
Lines 63-155 Link Here
63
UNIXODBC_LIB_DEPENDS=	libodbc.so:databases/unixODBC
67
UNIXODBC_LIB_DEPENDS=	libodbc.so:databases/unixODBC
64
SQLITE_LIB_DEPENDS=	libsqlite3.so:databases/sqlite3
68
SQLITE_LIB_DEPENDS=	libsqlite3.so:databases/sqlite3
65
69
66
SHEBANG_FILES=		ccopts.sh \
70
SHEBANG_GLOB=	*.sh *.pl *.py *.php
67
			ccver.sh \
68
			examples/ctd.sh \
69
			modules/jabber/doc/jabberreg.pl \
70
			modules/seas/doc/xml2sgml.sh \
71
			modules/sipcapture/examples/partrotate_unixtimestamp.pl \
72
			packaging/debian/rules \
73
			packaging/freebsd/files/pkg-deinstall.in \
74
			packaging/freebsd/files/pkg-install.in \
75
			packaging/gentoo/opensips.init \
76
			packaging/redhat_fedora/opensips.init \
77
			packaging/redhat_fedora/opensips-m4cfg \
78
			packaging/rpm/opensips.init \
79
			packaging/solaris/berkeley-postinstall \
80
			packaging/solaris/berkeley-preinstall \
81
			packaging/solaris/carrierroute-postinstall \
82
			packaging/solaris/carrierroute-preinstall \
83
			packaging/solaris/identity-postinstall \
84
			packaging/solaris/identity-preinstall \
85
			packaging/solaris/ldap-postinstall \
86
			packaging/solaris/ldap-preinstall \
87
			packaging/solaris/mmgeoip-preinstall \
88
			packaging/solaris/mysql-postinstall \
89
			packaging/solaris/mysql-preinstall \
90
			packaging/solaris/pgsql-postinstall \
91
			packaging/solaris/pgsql-preinstall \
92
			packaging/solaris/regex-postinstall \
93
			packaging/solaris/regex-preinstall \
94
			packaging/solaris/snmp-postinstall \
95
			packaging/solaris/snmp-preinstall \
96
			packaging/solaris/xmlrpc-postinstall \
97
			packaging/solaris/xmlrpc-preinstall \
98
			scripts/dbtextdb/__init__.py \
99
			scripts/dbtextdb/dbtextdb.py \
100
			scripts/dbtextdb/dbtextdb_test.py \
101
			scripts/opensipsctl \
102
			scripts/opensipsctl.oracle \
103
			scripts/opensipsdbctl \
104
			scripts/opensipsdbctl.oracle \
105
			scripts/opensipsdbfunc.oracle \
106
			scripts/osipsconsole \
107
			test/1.sh \
108
			test/10.sh \
109
			test/11.sh \
110
			test/12.sh \
111
			test/13.sh \
112
			test/14.sh \
113
			test/15.sh \
114
			test/16.sh \
115
			test/17.sh \
116
			test/18.sh \
117
			test/19.sh \
118
			test/2.sh \
119
			test/20.sh \
120
			test/21.sh \
121
			test/22.sh \
122
			test/23.sh \
123
			test/24.sh \
124
			test/25.sh \
125
			test/26.sh \
126
			test/27.sh \
127
			test/28.sh \
128
			test/29.sh \
129
			test/3.sh \
130
			test/30.sh \
131
			test/31.sh \
132
			test/32.sh \
133
			test/33.sh \
134
			test/34.sh \
135
			test/35.sh \
136
			test/4.sh \
137
			test/5.sh \
138
			test/6.sh \
139
			test/7.sh \
140
			test/8.sh \
141
			test/9.sh \
142
			utils/fifo_relay/fifo_server.php \
143
			utils/profile/launch.sh
144
python_CMD=	${LOCALBASE}/bin/python2.7
145
71
146
.include <bsd.port.options.mk>
72
.include <bsd.port.options.mk>
147
73
148
.if ${SSL_DEFAULT} == base
149
BROKEN_FreeBSD_12=	storage size of 'ctx' isn't known
150
BROKEN_FreeBSD_13=	storage size of 'ctx' isn't known
151
.endif
152
153
.if ${PORT_OPTIONS:MHTTP}
74
.if ${PORT_OPTIONS:MHTTP}
154
EXTRA_MODULES+=		httpd
75
EXTRA_MODULES+=		httpd
155
.endif
76
.endif
Lines 178-183 Link Here
178
EXTRA_MODULES+=		db_unixodbc
99
EXTRA_MODULES+=		db_unixodbc
179
.endif
100
.endif
180
101
102
.if ${PORT_OPTIONS:MSCTP}
103
EXTRA_MODULES+=		sctp
104
.endif
105
181
.if ${PORT_OPTIONS:MTLS}
106
.if ${PORT_OPTIONS:MTLS}
182
EXTRA_MODULES+=		proto_tls proto_wss tls_mgm
107
EXTRA_MODULES+=		proto_tls proto_wss tls_mgm
183
.endif
108
.endif
Lines 186-196 Link Here
186
EXTRA_MODULES+=		db_sqlite
111
EXTRA_MODULES+=		db_sqlite
187
.endif
112
.endif
188
113
189
OPENSIPS_MAKE_ENV=	CC="${CC}" CXX="${CXX}" CPP="${CPP}" _GCC_RUNTIME="${_GCC_RUNTIME}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" PYTHON=${PYTHON_CMD}
114
OPENSIPS_MAKE_ENV=	CC="${CC}" CXX="${CXX}" CPP="${CPP}" _GCC_RUNTIME="${_GCC_RUNTIME}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" PYTHON="${PYTHON_CMD}"
190
115
191
post-patch:
192
	@${RM} ${WRKSRC}/modules/json/array_del.c
193
194
do-configure:
116
do-configure:
195
	@(cp files/Makefile.conf ${WRKSRC})
117
	@(cp files/Makefile.conf ${WRKSRC})
196
118
Lines 210-219 Link Here
210
do-install:
132
do-install:
211
	cd ${WRKSRC} && ${OPENSIPS_MAKE_ENV} ${GMAKE} ${INSTALL_TARGET}
133
	cd ${WRKSRC} && ${OPENSIPS_MAKE_ENV} ${GMAKE} ${INSTALL_TARGET}
212
134
213
	@${REINPLACE_CMD} -e "s|^# MD5=.*|MD5=\"md5\"|" ${STAGEDIR}${PREFIX}/etc/opensips/opensipsctlrc.sample
214
	@${REINPLACE_CMD} -e "s|^# GREP=.*|GREP=\"${LOCALBASE}/bin/grep\"|" ${STAGEDIR}${PREFIX}/etc/opensips/opensipsctlrc.sample
215
	@${REINPLACE_CMD} -e "s|^# MD5=.*|MD5=\"md5\"|" ${STAGEDIR}${PREFIX}/etc/opensips/osipsconsolerc.sample
216
	@${REINPLACE_CMD} -e "s|^# GREP=.*|GREP=\"${LOCALBASE}/bin/egrep\"|" ${STAGEDIR}${PREFIX}/etc/opensips/osipsconsolerc.sample
217
	(cp ${FILESDIR}/opensips.cfg.sample ${STAGEDIR}${ETCDIR}/opensips.cfg.sample)
135
	(cp ${FILESDIR}/opensips.cfg.sample ${STAGEDIR}${ETCDIR}/opensips.cfg.sample)
218
136
219
do-install-TESTS-on:
137
do-install-TESTS-on:
Lines 223-238 Link Here
223
	(cp -r ${WRKSRC}/examples ${STAGEDIR}${PREFIX}/share/examples/opensips)
141
	(cp -r ${WRKSRC}/examples ${STAGEDIR}${PREFIX}/share/examples/opensips)
224
142
225
post-install:
143
post-install:
226
	@cd ${STAGEDIR}${PREFIX}/sbin && ${STRIP_CMD} opensips osipsconfig opensipsunix
144
	@cd ${STAGEDIR}${PREFIX}/sbin && ${STRIP_CMD} opensips osipsconfig
227
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/opensips/modules/*.so
145
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/opensips/modules/*.so
228
146
229
post-install-RADIUS-on:
147
post-install-RADIUS-on:
230
	(mv ${STAGEDIR}${ETCDIR}/dictionary.opensips ${STAGEDIR}${ETCDIR}/dictionary.opensips.sample)
148
	(mv ${WRKSRC}/etc/dictionary.opensips ${STAGEDIR}${ETCDIR}/dictionary.opensips.sample)
231
149
232
# Strip binaries in sbin
150
# Strip binaries in sbin
233
	@${ECHO_CMD} "Stripping binaries in ${STAGEDIR}${PREFIX}/sbin/"
151
	@${ECHO_CMD} "Stripping binaries in ${STAGEDIR}${PREFIX}/sbin/"
234
152
235
.for i in opensipsunix opensips osipsconfig
153
.for i in opensips osipsconfig
236
	@if [ -e ${STAGEDIR}${PREFIX}/sbin/${i} ]; then \
154
	@if [ -e ${STAGEDIR}${PREFIX}/sbin/${i} ]; then \
237
		${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/${i}; \
155
		${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/${i}; \
238
	fi
156
	fi
(-)/usr/ports/net/opensips/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1520992193
1
TIMESTAMP = 1583320424
2
SHA256 (opensips-2.2.6.tar.gz) = a48323435e656f6e8de6ff82ef08a55665e2331fc5ad009bf3a2ddc883906e7f
2
SHA256 (opensips-3.0.2.tar.gz) = b780ee14288fad9145f7943f09a0de1bb8414598a511dec826d5fad86c869dcc
3
SIZE (opensips-2.2.6.tar.gz) = 9154213
3
SIZE (opensips-3.0.2.tar.gz) = 10072210
(-)/usr/ports/net/opensips/files/Makefile.conf (-61 / +67 lines)
Lines 1-94 Link Here
1
#aaa_radius= Radius implementation for the AAA API from the core | Radius client development library, tipically radiusclient-ng 0.5.0 or higher
1
#aaa_radius= Radius implementation for the AAA API from the core | Radius client development library, typically radiusclient-ng 0.5.0 or higher
2
#b2b_logic= Logic engine of B2BUA, responsible of actually implementing the B2BUA services | xml parsing development library, typically libxml2-dev
2
#b2b_logic= Logic engine of B2BUA, responsible of actually implementing the B2BUA services | xml parsing development library, typically libxml2-dev
3
#cachedb_cassandra= Implementation of a cache system designed to work with Cassandra servers | thrift 0.6.1
3
#cachedb_cassandra= Implementation of a cache system designed to work with Cassandra servers | thrift 0.6.1
4
#cachedb_couchbase= Implementation of a cache system designed to work with CouchBase servers | libcouchbase >= 2.0
4
#cachedb_couchbase= Implementation of a cache system designed to work with CouchBase servers | libcouchbase >= 2.0
5
#cachedb_memcached= Implementation of a cache system designed to work with a memcached server. | Memcached client library, tipically libmemcached
5
#cachedb_memcached= Implementation of a cache system designed to work with a memcached server. | Memcached client library, typically libmemcached
6
#cachedb_mongodb= Implementation of a cache system designed to work with a MongoDB server. | libjson and the mongo-c-driver
6
#cachedb_mongodb= Implementation of a cache system designed to work with a MongoDB server. | libjson and the mongo-c-driver
7
#cachedb_redis= Implementation of a cache system designed to work with Redis servers | Redis client library, hiredis
7
#cachedb_redis= Implementation of a cache system designed to work with Redis servers | Redis client library, hiredis
8
#carrierroute= Provides routing, balancing and blacklisting capabilities. | libconfuse, a configuration file parser library
8
#carrierroute= Provides routing, balancing and blacklisting capabilities. | libconfuse, a configuration file parser library
9
#compression= Implements SIP message compression/decompression and base64 encoding | zlib dev library, tipically zlib1g-dev
9
#cgrates= Provides integration with the CGRateS billing/rating engine. | JSON library, libjson
10
#cpl_c= Implements a CPL (Call Processing Language) interpreter | library for parsing XML files, tipically libxml2 and libxml2-devel
10
#compression= Implements SIP message compression/decompression and base64 encoding | zlib dev library, typically zlib1g-dev
11
#cpl_c= Implements a CPL (Call Processing Language) interpreter | library for parsing XML files, typically libxml2 and libxml2-devel
11
#db_berkeley= Integrates the Berkeley DB into OpenSIPS | Berkeley embedded database
12
#db_berkeley= Integrates the Berkeley DB into OpenSIPS | Berkeley embedded database
12
#db_http= Provides access to a database that is implemented as a HTTP server. | CURL library - libcurl
13
#db_http= Provides access to a database that is implemented as a HTTP server. | CURL library - libcurl
13
#db_mysql= Provides MySQL connectivity for OpenSIPS | development libraries of mysql-client , tipically libmysqlclient-dev
14
#db_mysql= Provides MySQL connectivity for OpenSIPS | development libraries of mysql-client , typically libmysqlclient-dev
14
#db_oracle= Provides Oracle connectivity for OpenSIPS. | Development library of OCI, tipically instantclient-sdk-10.2.0.3
15
#db_oracle= Provides Oracle connectivity for OpenSIPS. | Development library of OCI, typically instantclient-sdk-10.2.0.3
15
#db_perlvdb= Provides a virtualization framework for OpenSIPS's database access. | Perl library development files, tipically libperl-dev
16
#db_perlvdb= Provides a virtualization framework for OpenSIPS's database access. | Perl library development files, typically libperl-dev
16
#db_postgres= Provides Postgres connectivity for OpenSIPS | PostgreSQL library and development library - tipically libpq5 and libpq-dev
17
#db_postgres= Provides Postgres connectivity for OpenSIPS | PostgreSQL library and development library - typically libpq5 and libpq-dev
17
#db_sqlite= Provides SQLite connectivity for OpenSIPS | SQLite library and development library - tipically libsqlite3 and libsqlite3-dev
18
#db_sqlite= Provides SQLite connectivity for OpenSIPS | SQLite library and development library - typically libsqlite3 and libsqlite3-dev
18
#db_unixodbc= Allows to use the unixodbc package with OpenSIPS | ODBC library and ODBC development library
19
#db_unixodbc= Allows to use the unixodbc package with OpenSIPS | ODBC library and ODBC development library
19
#dialplan= Implements generic string translations based on matching and replacement rules | PCRE development library, tipically libpcre-dev
20
#dialplan= Implements generic string translations based on matching and replacement rules | PCRE development library, typically libpcre-dev
20
#emergency= Provides emergency call treatment for OpenSIPS | CURL dev library - tipically libcurl4-openssl-dev
21
#emergency= Provides emergency call treatment for OpenSIPS | CURL dev library - typically libcurl4-openssl-dev
21
#event_rabbitmq= Provides the implementation of a RabbitMQ client for the Event Interface | RabbitMQ development library, librabbitmq-dev
22
#event_rabbitmq= Provides the implementation of a RabbitMQ client for the Event Interface | RabbitMQ development library, librabbitmq-dev
22
#h350= Enables access to SIP account data stored in an LDAP [RFC4510] directory containing H.350 commObjects | OpenLDAP library & development files, tipically libldap and libldap-dev
23
#h350= Enables access to SIP account data stored in an LDAP [RFC4510] directory containing H.350 commObjects | OpenLDAP library & development files, typically libldap and libldap-dev
23
#regex= Offers matching operations against regular expressions using the powerful PCRE library. | Development library for PCRE, tipically libpcre-dev
24
#regex= Offers matching operations against regular expressions using the powerful PCRE library. | Development library for PCRE, typically libpcre-dev
24
#identity= Adds support for SIP Identity (see RFC 4474). | SSL library, tipically libssl
25
#identity= Adds support for SIP Identity (see RFC 4474). | SSL library, typically libssl
25
#jabber= Integrates XODE XML parser for parsing Jabber messages | Expat library.
26
#jabber= Integrates XODE XML parser for parsing Jabber messages | Expat library.
26
#json= Introduces a new type of variable that provides both serialization and de-serialization from JSON format. | JSON library, libjson
27
#json= Introduces a new type of variable that provides both serialization and de-serialization from JSON format. | JSON library, libjson
27
#ldap= Implements an LDAP search interface for OpenSIPS | OpenLDAP library & development files, tipically libldap and libldap-dev
28
#ldap= Implements an LDAP search interface for OpenSIPS | OpenLDAP library & development files, typically libldap and libldap-dev
28
#lua= Easily implement your own OpenSIPS extensions in Lua | liblua5.1-0-dev, libmemcache-dev and libmysqlclient-dev
29
#lua= Easily implement your own OpenSIPS extensions in Lua | liblua5.1-0-dev, libmemcache-dev and libmysqlclient-dev
29
#httpd= Provides an HTTP transport layer implementation for OpenSIPS. | libmicrohttpd
30
#httpd= Provides an HTTP transport layer implementation for OpenSIPS. | libmicrohttpd
30
#mi_xmlrpc_ng= New version of the xmlrpc server that handles xmlrpc requests and generates xmlrpc responses. | parsing/building XML library, tipically libxml
31
#mi_xmlrpc_ng= New version of the xmlrpc server that handles xmlrpc requests and generates xmlrpc responses. | parsing/building XML library, typically libxml
31
#mmgeoip= Lightweight wrapper for the MaxMind GeoIP API | libGeoIP
32
#mmgeoip= Lightweight wrapper for the MaxMind GeoIP API | libGeoIP
32
#osp= Enables OpenSIPS to support secure, multi-lateral peering using the OSP standard | OSP development kit, tipically osptoolkit
33
#osp= Enables OpenSIPS to support secure, multi-lateral peering using the OSP standard | OSP development kit, typically osptoolkit
33
#perl= Easily implement your own OpenSIPS extensions in Perl | Perl library development files, tipically libperl-dev
34
#perl= Easily implement your own OpenSIPS extensions in Perl | Perl library development files, typically libperl-dev
34
#pi_http= Provides a simple web database provisioning interface | XML parsing & building library, tipically libxml-dev
35
#pi_http= Provides a simple web database provisioning interface | XML parsing & building library, typically libxml-dev
35
#proto_sctp= Provides support for SCTP listeners in OpenSIPS | SCTP development library, tipically libsctp-dev
36
#rabbitmq= Provides functions to publish messages to a RabbitMQ server | RabbitMQ development library, librabbitmq-dev
36
#proto_tls= Provides support for TLS listeners in OpenSIPS | SSL development library, tipically libssl-dev
37
#rabbitmq_consumer= Receive AMQP messages which will be delivered by triggering events | RabbitMQ development library, librabbitmq-dev
37
#proto_wss= Provides support for Secure WebSocket listeners in OpenSIPS | SSL development library, tipically libssl-dev
38
#proto_sctp= Provides support for SCTP listeners in OpenSIPS | SCTP development library, typically libsctp-dev
38
#presence= Handles PUBLISH and SUBSCRIBE messages and generates NOTIFY messages in a general, event independent way | XML parsing & Building library, tipically libxml-dev
39
#proto_tls= Provides support for TLS listeners in OpenSIPS | SSL development library, typically libssl-dev
39
#presence_dialoginfo= Enables the handling of "Event: dialog" (as defined in RFC 4235) |  XML parsing & building library, tipically libxml-dev
40
#proto_wss= Provides support for Secure WebSocket listeners in OpenSIPS | SSL development library, typically libssl-dev
40
#presence_mwi= Does specific handling for notify-subscribe message-summary (message waiting indication) events as specified in RFC 3842 | XML parsing & building library, tipically libxml-dev
41
#presence= Handles PUBLISH and SUBSCRIBE messages and generates NOTIFY messages in a general, event independent way | XML parsing & Building library, typically libxml-dev
41
#presence_xml= Does specific handling for notify-subscribe events using xml bodies. | XML parsing & building library, tipically libxml-dev
42
#presence_dialoginfo= Enables the handling of "Event: dialog" (as defined in RFC 4235) |  XML parsing & building library, typically libxml-dev
42
#pua= Offers the functionality of a presence user agent client, sending Subscribe and Publish messages. | XML parsing & building library, tipically libxml-dev
43
#presence_mwi= Does specific handling for notify-subscribe message-summary (message waiting indication) events as specified in RFC 3842 | XML parsing & building library, typically libxml-dev
43
#pua_bla= Enables Bridged Line Appearances support according | XML parsing & building library, tipically libxml-dev
44
#presence_xml= Does specific handling for notify-subscribe events using xml bodies. | XML parsing & building library, typically libxml-dev
44
#pua_dialoginfo= Retrieves dialog state information from the dialog module and PUBLISHes the dialog-information using the pua module. | XML parsing & building library,tipically libxml-dev
45
#pua= Offers the functionality of a presence user agent client, sending Subscribe and Publish messages. | XML parsing & building library, typically libxml-dev
45
#pua_mi= Offers the possibility to publish presence information and subscribe to presence information via MI transports. | XML parsing & building library,tipically libxml-dev
46
#pua_bla= Enables Bridged Line Appearances support according | XML parsing & building library, typically libxml-dev
46
#pua_usrloc= Connector between usrloc and pua modules. | XML parsing & building library,tipically libxml-dev
47
#pua_dialoginfo= Retrieves dialog state information from the dialog module and PUBLISHes the dialog-information using the pua module. | XML parsing & building library,typically libxml-dev
47
#pua_xmpp= Gateway for presence between SIP and XMPP. | XML parsing & building library,tipically libxml-dev
48
#pua_mi= Offers the possibility to publish presence information and subscribe to presence information via MI transports. | XML parsing & building library,typically libxml-dev
49
#pua_usrloc= Connector between usrloc and pua modules. | XML parsing & building library,typically libxml-dev
50
#pua_xmpp= Gateway for presence between SIP and XMPP. | XML parsing & building library,typically libxml-dev
48
#python= Easily implement your own OpenSIPS extensions in Python | Shared Python runtime library, libpython
51
#python= Easily implement your own OpenSIPS extensions in Python | Shared Python runtime library, libpython
49
#rest_client= Simple HTTP client | CURL library - libcurl
52
#rest_client= Simple HTTP client | CURL library - libcurl
50
#rls= Resource List Server implementation following the specification in RFC 4662 and RFC 4826 | parsing/building XML library, tipically libxml-dev
53
#rls= Resource List Server implementation following the specification in RFC 4662 and RFC 4826 | parsing/building XML library, typically libxml-dev
51
#sngtc= Voice Transcoding using the D-series Sangoma transcoding cards | libsngtc_node
54
#sngtc= Voice Transcoding using the D-series Sangoma transcoding cards | libsngtc_node
55
#siprec= SIP Call Recording to an external/passive recorder | uuid-dev
52
#snmpstats= Provides an SNMP management interface to OpenSIPS | NetSNMP v5.3
56
#snmpstats= Provides an SNMP management interface to OpenSIPS | NetSNMP v5.3
53
#tls_mgm= Provides a TLS interface to manage certificates for OpenSIPS | SSL development library, tipically libssl-dev
57
#tls_mgm= Provides a TLS interface to manage certificates for OpenSIPS | SSL development library, typically libssl-dev
54
#xcap= XCAP utility functions for OpenSIPS. | libxml-dev
58
#xcap= XCAP utility functions for OpenSIPS. | libxml-dev
55
#xcap_client= XCAP client for OpenSIPS.It fetches XCAP elements, either documents or part of them, by sending HTTP GET requests | libxml-dev and libcurl-dev
59
#xcap_client= XCAP client for OpenSIPS.It fetches XCAP elements, either documents or part of them, by sending HTTP GET requests | libxml-dev and libcurl-dev
56
#xmpp= Gateway between OpenSIPS and a jabber server. It enables the exchange of IMs between SIP clients and XMPP(jabber) clients. | parsing/building XML files, tipically libexpat1-devel
60
#xml= Introduces a new type of variable that provides both serialization and de-serialization from XML format. | XML library, libxml2-dev
61
#xmpp= Gateway between OpenSIPS and a jabber server. It enables the exchange of IMs between SIP clients and XMPP(jabber) clients. | parsing/building XML files, typically libexpat1-devel
57
62
58
exclude_modules= aaa_radius b2b_logic cachedb_cassandra cachedb_couchbase cachedb_memcached cachedb_mongodb cachedb_redis carrierroute compression cpl_c db_berkeley db_http db_mysql db_oracle db_perlvdb db_postgres db_sqlite db_unixodbc dialplan emergency event_rabbitmq h350 regex identity jabber json ldap lua httpd mi_xmlrpc_ng mmgeoip osp perl pi_http presence presence_dialoginfo presence_mwi presence_xml proto_sctp proto_tls proto_wss pua pua_bla pua_dialoginfo pua_mi pua_usrloc pua_xmpp python rest_client rls sngtc snmpstats tls_mgm xcap xcap_client xmpp
63
exclude_modules?= aaa_radius b2b_logic cachedb_cassandra cachedb_couchbase cachedb_memcached cachedb_mongodb cachedb_redis carrierroute cgrates compression cpl_c db_berkeley db_http db_mysql db_oracle db_perlvdb db_postgres db_sqlite db_unixodbc dialplan emergency event_rabbitmq h350 httpd identity jabber json ldap lua mi_xmlrpc_ng mmgeoip osp perl pi_http presence presence_dialoginfo presence_mwi presence_xml proto_sctp proto_tls proto_wss pua pua_bla pua_dialoginfo pua_mi pua_usrloc pua_xmpp python regex rabbitmq rabbitmq_consumer rest_client rls siprec sngtc snmpstats tls_mgm xcap xcap_client xml xmpp
59
64
60
include_modules= b2b_logic cachedb_redis carrierroute cpl_c dialplan event_rabbitmq regex identity jabber json mi_xmlrpc_ng perl pi_http presence presence_dialoginfo presence_mwi presence_xml pua pua_bla pua_dialoginfo pua_mi pua_usrloc pua_xmpp python rest_client rls xcap xcap_client xmpp
65
include_modules?=
61
66
62
#DEFS_GROUP_START
67
DEFS+= -DPKG_MALLOC #Use a faster malloc
63
DEFS+= -DPKG_MALLOC #Uses a faster malloc
64
#DEFS+= -DUSE_SHM_MEM #All PKG allocations are mapped to SHM
65
#DEFS_GROUP_END
66
DEFS+= -DSHM_MMAP #Use mmap instead of SYSV shared memory
68
DEFS+= -DSHM_MMAP #Use mmap instead of SYSV shared memory
67
DEFS+= -DUSE_MCAST #Compile in support for IP Multicast
69
DEFS+= -DUSE_MCAST #Compile in support for IP Multicast
68
DEFS+= -DDISABLE_NAGLE #Disabled the TCP NAgle Algorithm ( lower delay )
70
DEFS+= -DDISABLE_NAGLE #Disable the TCP NAgle Algorithm ( lower delay )
69
DEFS+= -DSTATISTICS #Enables the statistics manager
71
DEFS+= -DSTATISTICS #Enable the statistics manager
70
DEFS+= -DHAVE_RESOLV_RES #Support for changing some of the resolver parameters
72
DEFS+= -DHAVE_RESOLV_RES #Support for changing some of the resolver parameters
71
#DEFS_GROUP_START
73
# Specifying exactly 1 allocator will cause it to be inlined (fastest)
72
##DEFS+= -DVQ_MALLOC #Very quick & wasteful mem allocator (currently disabled)
73
#DEFS+= -DQM_MALLOC #Quality assurance memory allocator with runtime safety checks
74
DEFS+= -DF_MALLOC #Fast memory allocator with minimal runtime overhead
74
DEFS+= -DF_MALLOC #Fast memory allocator with minimal runtime overhead
75
#DEFS+= -DHP_MALLOC #High performance allocator with fine-grained locking
75
DEFS+= -DQ_MALLOC #Quality assurance memory allocator with runtime safety checks
76
DEFS+= -DHP_MALLOC #High performance allocator with fine-grained locking
77
DEFS+= -DDBG_MALLOC #Include additional, debug-enabled allocator flavors
78
#DEFS+= -DNO_DEBUG #Compile out all debug messages
79
#DEFS+= -DNO_LOG #Compile out all logging
80
#DEFS_GROUP_START
81
#DEFS+= -DFAST_LOCK #Use fast architecture specific locking
82
#DEFS+= -DUSE_SYSV_SEM #Use SYSV sems for locking ( slower & limited number of locks
83
#DEFS+= -DUSE_PTHREAD_MUTEX #Use pthread mutexes for locking
84
#DEFS+= -DUSE_UMUTEX #Use FreeBSD-specific low-level mutexes for locking
85
#DEFS+= -DUSE_POSIX_SEM #Use POSIX sems for locking
76
#DEFS_GROUP_END
86
#DEFS_GROUP_END
77
#DEFS+= -DDBG_MALLOC #Enables debugging for memory allocators
87
#DEFS+= -DUSE_FUTEX #Use linux futexes with fast architecture specific locking
78
#DEFS+= -DF_MALLOC_OPTIMIZATIONS #Remove all safety checks in F_MALLOC
88
#DEFS+= -DBUSY_WAIT #Use busy waiting on the lock
79
#DEFS+= -DNO_DEBUG #Turns off all debug messages
80
#DEFS+= -DNO_LOG #Completely turns off all the logging
81
#DEFS+= -DFAST_LOCK #Uses fast architecture specific locking
82
#DEFS+= -DUSE_FUTEX #Uses linux futexs with fast architecture specific locking
83
#DEFS+= -DUSE_SYSV_SEM #Uses SYSV sems for locking ( slower & limited number of locks
84
#DEFS+= -DUSE_PTHREAD_MUTEX #Uses pthread mutexes for locking
85
#DEFS+= -DUSE_POSIX_SEM #Uses POSIX sems for locking
86
#DEFS+= -DBUSY_WAIT #Uses busy waiting on the lock
87
#DEFS+= -DDBG_LOCK #Attach debug info to all lock structures
89
#DEFS+= -DDBG_LOCK #Attach debug info to all lock structures
88
#DEFS+= -DNOSMP #Do not use SMP sompliant locking. Faster but won't work on SMP machines
90
#DEFS+= -DDBG_STRUCT_HIST #Include support for struct history logging
89
#DEFS+= -DEXTRA_DEBUG #Compiles in some extra debugging code
91
#DEFS+= -DDBG_TCPCON #Attach struct history info to all TCP connections
90
#DEFS+= -DORACLE_USRLOC #Uses Oracle compatible queries for USRLOC
92
#DEFS+= -DNOSMP #Do not use SMP compliant locking. Faster but won't work on SMP machines
91
#DEFS+= -DSHM_EXTRA_STATS #Needed when using the mem-group core parameter
93
#DEFS+= -DEXTRA_DEBUG #Compile in some extra debugging code
94
#DEFS+= -DCC_O0 #Zero compiler optimizations (FAST compile, SLOW code. For devs)
95
#DEFS+= -DORACLE_USRLOC #Use Oracle compatible queries for USRLOC
96
#DEFS+= -DSHM_EXTRA_STATS #Provide tools to get extra statistics for the shared memory used
97
#DEFS+= -DUNIT_TESTS #Include unit testing code into opensips and modules
92
98
93
PREFIX=_PREFIX_
99
PREFIX=_PREFIX_
94
BASEDIR=_STAGE_DIR_
100
BASEDIR=_STAGE_DIR_
(-)/usr/ports/net/opensips/files/opensips.cfg.sample (-244 / +62 lines)
Lines 1-17 Link Here
1
#
1
#
2
# OpenSIPS residential configuration script
2
# OpenSIPS residential configuration script
3
#     by OpenSIPS Solutions <team@opensips-solutions.com>
3
#
4
#
4
# This script was originally generated via 
5
# This script was generated via "gmake CC=gcc8 menuconfig", from
5
# 'CC=gcc6 gmake menuconfig', from the "Residential" scenario.
6
#   the "Residential" scenario.
6
# You can enable / disable more features / functionalities by
7
# You can enable / disable more features / functionalities by
7
# re-generating the scenario with different options.
8
#   re-generating the scenario with different options.#
8
#
9
#
9
# To generate an opensips script in FreeBSD, run the following commands,
10
# To generate an opensips script in FreeBSD, run the following commands,
10
# after installing the port / package.
11
# after installing the port / package.
11
# $ cd /usr/ports/net/opensips
12
# $ cd /usr/ports/net/opensips
12
# $ make patch
13
# $ make patch
13
# $ cd work/opensips-*/
14
# $ cd work/opensips-*/
14
# $ CC=gcc6 gmake menuconfig
15
# $ gmake CC=gcc8 menuconfig
15
# $ ls tmp/
16
# $ ls tmp/
16
#
17
#
17
# As the FreeBSD port maintainer, I have tailored it a little
18
# As the FreeBSD port maintainer, I have tailored it a little
Lines 21-28 Link Here
21
# the db_url variables throughout this script.
22
# the db_url variables throughout this script.
22
#
23
#
23
# Please refer to the Core CookBook at:
24
# Please refer to the Core CookBook at:
24
# http://www.opensips.org/Resources/DocsCookbooks
25
#      http://www.opensips.org/Resources/DocsCookbooks
25
# for an explanation of possible statements, functions and parameters.
26
# for a explanation of possible statements, functions and parameters.
26
#
27
#
27
28
28
29
Lines 46-55 Link Here
46
#dns_try_ipv6=yes
47
#dns_try_ipv6=yes
47
48
48
/* comment the next line to enable the auto discovery of local aliases
49
/* comment the next line to enable the auto discovery of local aliases
49
   based on revers DNS on IPs */
50
   based on reverse DNS on IPs */
50
auto_aliases=no
51
auto_aliases=no
51
52
52
53
54
#listen=udp:127.0.0.1:5060   # CUSTOMIZE ME
53
listen=udp:192.168.10.12:5060   # CUSTOMIZE ME
55
listen=udp:192.168.10.12:5060   # CUSTOMIZE ME
54
listen=tcp:192.168.10.12:5060   # CUSTOMIZE ME 
56
listen=tcp:192.168.10.12:5060   # CUSTOMIZE ME 
55
listen=tls:192.168.10.12:5061   # CUSTOMIZE ME 
57
listen=tls:192.168.10.12:5061   # CUSTOMIZE ME 
Lines 94-107 Link Here
94
modparam("mi_fifo", "fifo_name", "/tmp/opensips_fifo")
96
modparam("mi_fifo", "fifo_name", "/tmp/opensips_fifo")
95
modparam("mi_fifo", "fifo_mode", 0666)
97
modparam("mi_fifo", "fifo_mode", 0666)
96
98
97
98
#### URI module
99
#### URI module
99
loadmodule "uri.so"
100
loadmodule "uri.so"
100
modparam("uri", "use_uri_table", 0)
101
modparam("uri", "use_uri_table", 0)
101
  
102
102
103
104
105
#### PGSQL module
103
#### PGSQL module
106
loadmodule "db_postgres.so"
104
loadmodule "db_postgres.so"
107
105
Lines 115-125 Link Here
115
#### USeR LOCation module
113
#### USeR LOCation module
116
loadmodule "usrloc.so"
114
loadmodule "usrloc.so"
117
modparam("usrloc", "nat_bflag", "NAT")
115
modparam("usrloc", "nat_bflag", "NAT")
116
modparam("usrloc", "nat_bflag", "NAT")
118
modparam("usrloc", "db_mode",   2)
117
modparam("usrloc", "db_mode",   2)
119
modparam("usrloc", "db_url", "postgres://dbuser:dbpass@dbhostname/dbname") # CUSTOMIZE ME
118
modparam("usrloc", "db_url", "postgres://dbuser:dbpass@dbhostname/dbname") # CUSTOMIZE ME
120
#modparam("usrloc", "hash_size", 11)   # increases size of userloc hash table
119
#modparam("usrloc", "hash_size", 11)   # increases size of userloc hash table
120
#modparam("usrloc", "working_mode_preset", "single-instance-no-db")
121
121
122
123
#### REGISTRAR module
122
#### REGISTRAR module
124
loadmodule "registrar.so"
123
loadmodule "registrar.so"
125
modparam("registrar", "tcp_persistent_flag", "TCP_PERSISTENT")
124
modparam("registrar", "tcp_persistent_flag", "TCP_PERSISTENT")
Lines 133-145 Link Here
133
modparam("acc", "early_media", 0)
132
modparam("acc", "early_media", 0)
134
modparam("acc", "report_cancels", 0)
133
modparam("acc", "report_cancels", 0)
135
/* by default we do not adjust the direct of the sequential requests.
134
/* by default we do not adjust the direct of the sequential requests.
136
   if you enable this parameter, be sure the enable "append_fromtag"
135
   if you enable this parameter, be sure to enable "append_fromtag"
137
   in "rr" module */
136
   in "rr" module */
138
modparam("acc", "detect_direction", 0)
137
modparam("acc", "detect_direction", 0)
139
modparam("acc", "db_url", "postgres://dbuser:dbpass@dbhostname/dbname") # CUSTOMIZE ME
138
modparam("acc", "db_url", "postgres://dbuser:dbpass@dbhostname/dbname") # CUSTOMIZE ME
140
139
141
142
143
#### AUTHentication modules
140
#### AUTHentication modules
144
loadmodule "auth.so"
141
loadmodule "auth.so"
145
loadmodule "auth_db.so"
142
loadmodule "auth_db.so"
Lines 148-169 Link Here
148
modparam("auth_db", "db_url", "postgres://dbuser:dbpass@dbhostname/dbname") # CUSTOMIZE ME
145
modparam("auth_db", "db_url", "postgres://dbuser:dbpass@dbhostname/dbname") # CUSTOMIZE ME
149
modparam("auth_db", "load_credentials", "")
146
modparam("auth_db", "load_credentials", "")
150
147
151
152
153
#### ALIAS module
148
#### ALIAS module
154
loadmodule "alias_db.so"
149
loadmodule "alias_db.so"
155
modparam("alias_db", "db_url", "postgres://dbuser:dbpass@dbhostname/dbname") # CUSTOMIZE ME
150
modparam("alias_db", "db_url", "postgres://dbuser:dbpass@dbhostname/dbname") # CUSTOMIZE ME
156
151
157
158
159
#### DOMAIN module
152
#### DOMAIN module
160
loadmodule "domain.so"
153
loadmodule "domain.so"
161
modparam("domain", "db_url", "postgres://dbuser:dbpass@dbhostname/dbname") # CUSTOMIZE ME
154
modparam("domain", "db_url", "postgres://dbuser:dbpass@dbhostname/dbname") # CUSTOMIZE ME
162
modparam("domain", "db_mode", 1)   # Use caching
155
modparam("domain", "db_mode", 1)   # Use caching
163
modparam("auth_db|usrloc|uri", "use_domain", 1)
156
modparam("auth_db|usrloc|uri", "use_domain", 1)
164
157
165
166
167
#### PRESENCE modules
158
#### PRESENCE modules
168
loadmodule "xcap.so"
159
loadmodule "xcap.so"
169
loadmodule "presence.so"
160
loadmodule "presence.so"
Lines 172-182 Link Here
172
modparam("presence_xml", "force_active", 1)
163
modparam("presence_xml", "force_active", 1)
173
modparam("presence", "server_address", "sip:127.0.0.1:5060") # CUSTOMIZE ME
164
modparam("presence", "server_address", "sip:127.0.0.1:5060") # CUSTOMIZE ME
174
#modparam("presence", "subs_htable_size", 11)   # increases size of presence subs hash table
165
#modparam("presence", "subs_htable_size", 11)   # increases size of presence subs hash table
175
#modparam("presence", "pres_htable_size", 11)   # increases size of presence pres hash table
166
#modparam("presence", "pres_htable_size", 11)   # increases size of presence subs hash table
176
#modparam("presence", "max_expires_subscribe", 600)
167
#modparam("presence", "max_expires_subscribe", 600)
177
#modparam("presence", "max_expires_publish", 600)
168
#modparam("presence", "max_expires_publish", 600)
178
169
179
180
#### DIALOG module
170
#### DIALOG module
181
loadmodule "dialog.so"
171
loadmodule "dialog.so"
182
modparam("dialog", "dlg_match_mode", 1)
172
modparam("dialog", "dlg_match_mode", 1)
Lines 184-191 Link Here
184
modparam("dialog", "db_mode", 2)
174
modparam("dialog", "db_mode", 2)
185
modparam("dialog", "db_url", "postgres://dbuser:dbpass@dbhostname/dbname") # CUSTOMIZE ME
175
modparam("dialog", "db_url", "postgres://dbuser:dbpass@dbhostname/dbname") # CUSTOMIZE ME
186
176
187
188
189
####  NAT modules
177
####  NAT modules
190
loadmodule "nathelper.so"
178
loadmodule "nathelper.so"
191
modparam("nathelper", "natping_interval", 10)
179
modparam("nathelper", "natping_interval", 10)
Lines 195-229 Link Here
195
modparam("nathelper", "received_avp", "$avp(received_nh)")
183
modparam("nathelper", "received_avp", "$avp(received_nh)")
196
184
197
loadmodule "rtpproxy.so"
185
loadmodule "rtpproxy.so"
198
modparam("rtpproxy", "rtpproxy_sock", "udp:localhost:12221") # CUSTOMIZE ME (make sure rtpproxy port matches server)
186
modparam("rtpproxy", "rtpproxy_sock", "udp:localhost:12221") # CUSTOMIZE ME
199
187
200
201
####  DIALPLAN module
188
####  DIALPLAN module
202
loadmodule "dialplan.so"
189
loadmodule "dialplan.so"
203
modparam("dialplan", "db_url", "postgres://dbuser:dbpass@dbhostname/dbname") # CUSTOMIZE ME
190
modparam("dialplan", "db_url", "postgres://dbuser:dbpass@dbhostname/dbname") # CUSTOMIZE ME
204
191
205
206
207
####  DYNAMMIC ROUTING module
192
####  DYNAMMIC ROUTING module
208
loadmodule "drouting.so"
193
loadmodule "drouting.so"
209
modparam("drouting", "db_url", "postgres://dbuser:dbpass@dbhostname/dbname") # CUSTOMIZE ME
194
modparam("drouting", "db_url", "postgres://dbuser:dbpass@dbhostname/dbname") # CUSTOMIZE ME
210
195
211
212
213
####  MI_HTTP module
196
####  MI_HTTP module
214
#loadmodule "mi_http.so"
197
#loadmodule "mi_http.so"
215
198
216
217
#### UDP module
199
#### UDP module
218
loadmodule "proto_udp.so"
200
loadmodule "proto_udp.so"
219
201
220
221
#### TCP module
202
#### TCP module
222
loadmodule "proto_tcp.so" 
203
loadmodule "proto_tcp.so" 
223
#modparam("proto_tcp", "tcp_send_timeout", 200)
204
#modparam("proto_tcp", "tcp_send_timeout", 200)
224
#modparam("proto_tcp", "tcp_max_msg_chunks", 8)
205
#modparam("proto_tcp", "tcp_max_msg_chunks", 8)
225
206
226
227
#### TLS modules
207
#### TLS modules
228
loadmodule "proto_tls.so"
208
loadmodule "proto_tls.so"
229
loadmodule "tls_mgm.so"
209
loadmodule "tls_mgm.so"
Lines 237-353 Link Here
237
#modparam("tls_mgm", "tls_send_timeout", 200)
217
#modparam("tls_mgm", "tls_send_timeout", 200)
238
#modparam("tls_mgm", "tls_handshake_timeout", 119)
218
#modparam("tls_mgm", "tls_handshake_timeout", 119)
239
#modparam("proto_tls", "tls_max_msg_chunks", 8)
219
#modparam("proto_tls", "tls_max_msg_chunks", 8)
240
 
241
220
242
243
####### Routing Logic ########
221
####### Routing Logic ########
244
222
245
# main request routing logic
223
# main request routing logic
246
224
247
route{
225
route{
248
	force_rport();
249
	if (nat_uac_test("23")) {
250
		if (is_method("REGISTER")) {
251
			fix_nated_register();
252
			setbflag(NAT);
253
		} else {
254
			fix_nated_contact();
255
			setflag(NAT);
256
		}
257
	}
258
 	
259
226
260
	if (!mf_process_maxfwd_header("10")) {
227
	if (!mf_process_maxfwd_header(10)) {
261
		sl_send_reply("483","Too Many Hops");
228
		send_reply(483,"Too Many Hops");
262
		exit;
229
		exit;
263
	}
230
	}
264
231
265
	if (has_totag()) {
232
	if (has_totag()) {
266
		# sequential request withing a dialog should
267
		# take the path determined by record-routing
268
		if (loose_route()) {
269
			
270
			# validate the sequential request against dialog
271
			if ( $DLG_status!=NULL && !validate_dialog() ) {
272
				xlog("In-Dialog $rm from $si (callid=$ci) is not valid according to dialog\n");
273
				## exit;
274
			}
275
			
276
			if (is_method("BYE")) {
277
				# do accounting even if the transaction fails
278
				do_accounting("db","failed");
279
				
280
			} else if (is_method("INVITE")) {
281
				# even if in most of the cases is useless, do RR for
282
				# re-INVITEs alos, as some buggy clients do change route set
283
				# during the dialog.
284
				record_route();
285
			}
286
233
287
			if (check_route_param("nat=yes")) 
234
		# handle hop-by-hop ACK (no routing required)
288
				setflag(NAT);
235
		if ( is_method("ACK") && t_check_trans() ) {
236
			t_relay();
237
			exit;
238
		}
289
239
290
			# route it out to whatever destination was set by loose_route()
240
		# sequential request within a dialog should
291
			# in $du (destination URI).
241
		# take the path determined by record-routing
292
			route(relay);
242
		if ( !loose_route() ) {
293
		} else {
243
			# we do record-routing for all our traffic, so we should not
294
			if (is_method("SUBSCRIBE") && $rd == "127.0.0.1:5060") { # CUSTOMIZE ME
244
			# receive any sequential requests without Route hdr.
295
				# in-dialog subscribe requests
245
			send_reply(404,"Not here");
296
				route(handle_presence);
246
			exit;
297
				exit;
298
			}
299
			if ( is_method("ACK") ) {
300
				if ( t_check_trans() ) {
301
					# non loose-route, but stateful ACK; must be an ACK after 
302
					# a 487 or e.g. 404 from upstream server
303
					t_relay();
304
					exit;
305
				} else {
306
					# ACK without matching transaction ->
307
					# ignore and discard
308
					exit;
309
				}
310
			}
311
			sl_send_reply("404","Not here");
312
		}
247
		}
248
249
		if (is_method("BYE")) {
250
			# do accounting even if the transaction fails
251
			do_accounting("log","failed");
252
		}
253
254
		# route it out to whatever destination was set by loose_route()
255
		# in $du (destination URI).
256
		route(relay);
313
		exit;
257
		exit;
314
	}
258
	}
315
259
316
	# CANCEL processing
260
	# CANCEL processing
317
	if (is_method("CANCEL"))
261
	if (is_method("CANCEL")) {
318
	{
319
		if (t_check_trans())
262
		if (t_check_trans())
320
			t_relay();
263
			t_relay();
321
		exit;
264
		exit;
322
	}
265
	}
323
266
267
	# absorb retransmissions, but do not create transaction
324
	t_check_trans();
268
	t_check_trans();
325
269
326
	if ( !(is_method("REGISTER")  || is_from_gw() ) ) {
270
	if ( !(is_method("REGISTER")  ) ) {
327
		
271
		
328
		if (is_from_local())
272
		if (is_myself("$fd")) {
329
		{
273
					
330
			
331
			# authenticate if from local subscriber
332
			# authenticate all initial non-REGISTER request that pretend to be
333
			# generated by local subscriber (domain from FROM URI is local)
334
			if (!proxy_authorize("", "subscriber")) {
335
				proxy_challenge("", "0");
336
				exit;
337
			}
338
			if (!db_check_from()) {
339
				sl_send_reply("403","Forbidden auth ID");
340
				exit;
341
			}
342
		
343
			consume_credentials();
344
			# caller authenticated
345
			
346
		} else {
274
		} else {
347
			# if caller is not local, then called number must be local
275
			# if caller is not local, then called number must be local
348
			
276
			
349
			if (!is_uri_host_local()) {
277
			if (!is_myself("$rd")) {
350
				send_reply("403","Rely forbidden");
278
				send_reply(403,"Relay Forbidden");
351
				exit;
279
				exit;
352
			}
280
			}
353
		}
281
		}
Lines 357-365 Link Here
357
	# preloaded route checking
285
	# preloaded route checking
358
	if (loose_route()) {
286
	if (loose_route()) {
359
		xlog("L_ERR",
287
		xlog("L_ERR",
360
		"Attempt to route with preloaded Route's [$fu/$tu/$ru/$ci]");
288
			"Attempt to route with preloaded Route's [$fu/$tu/$ru/$ci]");
361
		if (!is_method("ACK"))
289
		if (!is_method("ACK"))
362
			sl_send_reply("403","Preload Route denied");
290
			send_reply(403,"Preload Route denied");
363
		exit;
291
		exit;
364
	}
292
	}
365
293
Lines 370-426 Link Here
370
	# account only INVITEs
298
	# account only INVITEs
371
	if (is_method("INVITE")) {
299
	if (is_method("INVITE")) {
372
		
300
		
373
		# create dialog with timeout
301
		do_accounting("log");
374
		if ( !create_dialog("B") ) {
375
			send_reply("500","Internal Server Error");
376
			exit;
377
		}
378
		
379
		do_accounting("db");
380
		
381
	}
302
	}
382
303
383
	
304
	
384
	if (!is_uri_host_local()) {
305
	if (!is_myself("$rd")) {
385
		append_hf("P-hint: outbound\r\n"); 
306
		append_hf("P-hint: outbound\r\n"); 
386
		
307
		
387
		# if you have some interdomain connections via TLS
388
		## CUSTOMIZE IF NEEDED
389
		##if ($rd=="tls_domain1.net"
390
		## || $rd=="tls_domain2.net"
391
		##) {
392
		##	force_send_socket(tls:127.0.0.1:5061); # CUSTOMIZE
393
		##}
394
		
395
		route(relay);
308
		route(relay);
396
	}
309
	}
397
310
398
	# requests for my domain
311
	# requests for my domain
399
	
312
	
400
	if( is_method("PUBLISH|SUBSCRIBE"))
313
	if (is_method("PUBLISH|SUBSCRIBE")) {
401
			route(handle_presence);
314
		send_reply(503, "Service Unavailable");
315
		exit;
316
	}
402
317
403
	if (is_method("REGISTER"))
318
	if (is_method("REGISTER")) {
404
	{
319
				
405
		# authenticate the REGISTER requests
406
		if (!www_authorize("", "subscriber"))
407
		{
408
			www_challenge("", "0");
409
			exit;
410
		}
411
		
412
		if (!db_check_to()) 
413
		{
414
			sl_send_reply("403","Forbidden auth ID");
415
			exit;
416
		}
417
418
		if ( proto==TCP || proto==TLS || 0 ) setflag(TCP_PERSISTENT);
419
420
		if (isflagset(NAT)) {
421
			setbflag(SIP_PING_FLAG);
422
		}
423
424
		if (!save("location"))
320
		if (!save("location"))
425
			sl_reply_error();
321
			sl_reply_error();
426
322
Lines 429-477 Link Here
429
325
430
	if ($rU==NULL) {
326
	if ($rU==NULL) {
431
		# request with no Username in RURI
327
		# request with no Username in RURI
432
		sl_send_reply("484","Address Incomplete");
328
		send_reply(484,"Address Incomplete");
433
		exit;
329
		exit;
434
	}
330
	}
435
331
436
	
332
	# do lookup with method filtering
437
	# apply DB based aliases
333
	if (!lookup("location","m")) {
438
	alias_db_lookup("dbaliases");
334
		t_reply(404, "Not Found");
439
440
	
441
	# apply transformations from dialplan table
442
	dp_translate("0","$rU/$rU");
443
444
	
445
	if ($rU=~"^\+[1-9][0-9]+$") {
446
		
447
		if (!do_routing("0")) {
448
			send_reply("500","No PSTN Route found");
449
			exit;
450
		}
451
		
452
		route(relay);
453
		exit;
335
		exit;
454
	}
336
	}
455
	 
456
337
457
	# do lookup with method filtering
458
	if (!lookup("location","m")) {
459
		if (!db_does_uri_exist()) {
460
			send_reply("420","Bad Extension");
461
			exit;
462
		}
463
		
464
		# redirect to a different VM system
465
		$du = "sip:127.0.0.2:5060"; # CUSTOMIZE ME
466
		route(relay);
467
		
468
	} 
469
470
	if (isbflagset(NAT)) setflag(NAT);
471
472
	# when routing via usrloc, log the missed calls also
338
	# when routing via usrloc, log the missed calls also
473
	do_accounting("db","missed");
339
	do_accounting("log","missed");
474
	
475
	route(relay);
340
	route(relay);
476
}
341
}
477
342
Lines 479-538 Link Here
479
route[relay] {
344
route[relay] {
480
	# for INVITEs enable some additional helper routes
345
	# for INVITEs enable some additional helper routes
481
	if (is_method("INVITE")) {
346
	if (is_method("INVITE")) {
482
		
483
		if (isflagset(NAT)) {
484
			rtpproxy_offer("ro");
485
		}
486
487
		t_on_branch("per_branch_ops");
347
		t_on_branch("per_branch_ops");
488
		t_on_reply("handle_nat");
348
		t_on_reply("handle_nat");
489
		t_on_failure("missed_call");
349
		t_on_failure("missed_call");
490
	}
350
	}
491
351
492
	if (isflagset(NAT)) {
493
		add_rr_param(";nat=yes");
494
		}
495
496
	if (!t_relay()) {
352
	if (!t_relay()) {
497
		send_reply("500","Internal Error");
353
		send_reply(500,"Internal Error");
498
	};
354
	}
499
	exit;
355
	exit;
500
}
356
}
501
357
502
358
503
# Presence route
504
route[handle_presence]
505
{
506
	if (!t_newtran())
507
	{
508
		sl_reply_error();
509
		exit;
510
	}
511
359
512
	if(is_method("PUBLISH"))
513
	{
514
		handle_publish();
515
	}
516
	else
517
	if( is_method("SUBSCRIBE"))
518
	{
519
		handle_subscribe();
520
	}
521
360
522
	exit;
523
}
524
525
526
branch_route[per_branch_ops] {
361
branch_route[per_branch_ops] {
527
	xlog("new branch at $ru\n");
362
	xlog("new branch at $ru\n");
528
}
363
}
529
364
530
365
531
onreply_route[handle_nat] {
366
onreply_route[handle_nat] {
532
	if (nat_uac_test("1"))
533
		fix_nated_contact();
534
	if ( isflagset(NAT) )
535
		rtpproxy_answer("ro");
536
	xlog("incoming reply\n");
367
	xlog("incoming reply\n");
537
}
368
}
538
369
Lines 545-569 Link Here
545
	# uncomment the following lines if you want to block client 
376
	# uncomment the following lines if you want to block client 
546
	# redirect based on 3xx replies.
377
	# redirect based on 3xx replies.
547
	##if (t_check_status("3[0-9][0-9]")) {
378
	##if (t_check_status("3[0-9][0-9]")) {
548
	##t_reply("404","Not found");
379
	##t_reply(404,"Not found");
549
	##	exit;
380
	##	exit;
550
	##}
381
	##}
551
382
552
	
383
	
553
	# redirect the failed to a different VM system
554
	if (t_check_status("486|408")) {
555
		$du = "sip:127.0.0.2:5060"; # CUSTOMIZE ME
556
		# do not set the missed call flag again
557
		route(relay);
558
	}
559
}
384
}
560
385
561
386
562
387
563
local_route {
564
	if (is_method("BYE") && $DLG_dir=="UPSTREAM") {
565
		
566
		acc_db_request("200 Dialog Timeout", "acc");
567
		
568
	}
569
}
(-)/usr/ports/net/opensips/files/opensips.cfg.sample.simple (+357 lines)
Line 0 Link Here
1
#
2
# OpenSIPS residential configuration script
3
#     by OpenSIPS Solutions <team@opensips-solutions.com>
4
#
5
# This script was generated via "make menuconfig", from
6
#   the "Residential" scenario.
7
# You can enable / disable more features / functionalities by
8
#   re-generating the scenario with different options.#
9
#
10
# Please refer to the Core CookBook at:
11
#      http://www.opensips.org/Resources/DocsCookbooks
12
# for a explanation of possible statements, functions and parameters.
13
#
14
15
16
####### Global Parameters #########
17
18
log_level=3
19
log_stderror=no
20
log_facility=LOG_LOCAL0
21
22
udp_workers=4
23
24
/* uncomment the following lines to enable debugging */
25
#debug_mode=yes
26
27
/* uncomment the next line to enable the auto temporary blacklisting of 
28
   not available destinations (default disabled) */
29
#disable_dns_blacklist=no
30
31
/* uncomment the next line to enable IPv6 lookup after IPv4 dns 
32
   lookup failures (default disabled) */
33
#dns_try_ipv6=yes
34
35
/* comment the next line to enable the auto discovery of local aliases
36
   based on reverse DNS on IPs */
37
auto_aliases=no
38
39
40
listen=udp:127.0.0.1:5060   # CUSTOMIZE ME
41
42
43
44
####### Modules Section ########
45
46
#set module path
47
mpath="/usr/local/lib/opensips/modules/"
48
49
#### SIGNALING module
50
loadmodule "signaling.so"
51
52
#### StateLess module
53
loadmodule "sl.so"
54
55
#### Transaction Module
56
loadmodule "tm.so"
57
modparam("tm", "fr_timeout", 5)
58
modparam("tm", "fr_inv_timeout", 30)
59
modparam("tm", "restart_fr_on_each_reply", 0)
60
modparam("tm", "onreply_avp_mode", 1)
61
62
#### Record Route Module
63
loadmodule "rr.so"
64
/* do not append from tag to the RR (no need for this script) */
65
modparam("rr", "append_fromtag", 0)
66
67
#### MAX ForWarD module
68
loadmodule "maxfwd.so"
69
70
#### SIP MSG OPerationS module
71
loadmodule "sipmsgops.so"
72
73
#### FIFO Management Interface
74
loadmodule "mi_fifo.so"
75
modparam("mi_fifo", "fifo_name", "/tmp/opensips_fifo")
76
modparam("mi_fifo", "fifo_mode", 0666)
77
78
#### MYSQL module
79
#loadmodule "db_mysql.so"
80
81
#### HTTPD module
82
#loadmodule "httpd.so"
83
#modparam("httpd", "port", 8888)
84
85
#### USeR LOCation module
86
loadmodule "usrloc.so"
87
modparam("usrloc", "nat_bflag", "NAT")
88
modparam("usrloc", "db_mode",   0)
89
90
#### REGISTRAR module
91
loadmodule "registrar.so"
92
modparam("registrar", "tcp_persistent_flag", "TCP_PERSISTENT")
93
modparam("registrar", "received_avp", "$avp(received_nh)")/* uncomment the next line not to allow more than 10 contacts per AOR */
94
#modparam("registrar", "max_contacts", 10)
95
96
#### ACCounting module
97
loadmodule "acc.so"
98
/* what special events should be accounted ? */
99
modparam("acc", "early_media", 0)
100
modparam("acc", "report_cancels", 0)
101
/* by default we do not adjust the direct of the sequential requests.
102
   if you enable this parameter, be sure the enable "append_fromtag"
103
   in "rr" module */
104
modparam("acc", "detect_direction", 0)
105
106
#### DIALOG module
107
loadmodule "dialog.so"
108
modparam("dialog", "dlg_match_mode", 1)
109
modparam("dialog", "default_timeout", 21600)  # 6 hours timeout
110
modparam("dialog", "db_mode", 0)
111
#modparam("dialog", "db_url",
112
#	"mysql://opensips:opensipsrw@localhost/opensips") # CUSTOMIZE ME
113
114
####  NAT modules
115
loadmodule "nathelper.so"
116
modparam("nathelper", "natping_interval", 10)
117
modparam("nathelper", "ping_nated_only", 1)
118
modparam("nathelper", "sipping_bflag", "SIP_PING_FLAG")
119
modparam("nathelper", "sipping_from", "sip:pinger@127.0.0.1") #CUSTOMIZE ME
120
modparam("nathelper", "received_avp", "$avp(received_nh)")
121
122
loadmodule "rtpproxy.so"
123
modparam("rtpproxy", "rtpproxy_sock", "udp:localhost:12221") # CUSTOMIZE ME
124
125
####  MI_HTTP module
126
#loadmodule "httpd.so"
127
#loadmodule "mi_http.so"
128
129
loadmodule "proto_udp.so"
130
131
####### Routing Logic ########
132
133
# main request routing logic
134
135
route{
136
137
	# initial NAT handling; detect if the request comes from behind a NAT
138
	# and apply contact fixing
139
	force_rport();
140
	if (nat_uac_test(23)) {
141
		if (is_method("REGISTER")) {
142
			fix_nated_register();
143
			setbflag(NAT);
144
		} else {
145
			fix_nated_contact();
146
			setflag(NAT);
147
		}
148
	}
149
150
	if (!mf_process_maxfwd_header(10)) {
151
		send_reply(483,"Too Many Hops");
152
		exit;
153
	}
154
155
	if (has_totag()) {
156
157
		# handle hop-by-hop ACK (no routing required)
158
		if ( is_method("ACK") && t_check_trans() ) {
159
			t_relay();
160
			exit;
161
		}
162
163
		# sequential request within a dialog should
164
		# take the path determined by record-routing
165
		if ( !loose_route() ) {
166
			# we do record-routing for all our traffic, so we should not
167
			# receive any sequential requests without Route hdr.
168
			send_reply(404,"Not here");
169
			exit;
170
		}
171
172
		# validate the sequential request against dialog
173
		if ( $DLG_status!=NULL && !validate_dialog() ) {
174
			xlog("In-Dialog $rm from $si (callid=$ci) is not valid according to dialog\n");
175
			## exit;
176
		}
177
178
		if (is_method("BYE")) {
179
			# do accounting even if the transaction fails
180
			do_accounting("log","failed");
181
		}
182
183
184
		if (check_route_param("nat=yes")) 
185
			setflag(NAT);
186
		# route it out to whatever destination was set by loose_route()
187
		# in $du (destination URI).
188
		route(relay);
189
		exit;
190
	}
191
192
	# CANCEL processing
193
	if (is_method("CANCEL")) {
194
		if (t_check_trans())
195
			t_relay();
196
		exit;
197
	}
198
199
	# absorb retransmissions, but do not create transaction
200
	t_check_trans();
201
202
	if ( !(is_method("REGISTER")  ) ) {
203
		
204
		if (is_myself("$fd")) {
205
					
206
		} else {
207
			# if caller is not local, then called number must be local
208
			
209
			if (!is_myself("$rd")) {
210
				send_reply(403,"Relay Forbidden");
211
				exit;
212
			}
213
		}
214
215
	}
216
217
	# preloaded route checking
218
	if (loose_route()) {
219
		xlog("L_ERR",
220
			"Attempt to route with preloaded Route's [$fu/$tu/$ru/$ci]");
221
		if (!is_method("ACK"))
222
			send_reply(403,"Preload Route denied");
223
		exit;
224
	}
225
226
	# record routing
227
	if (!is_method("REGISTER|MESSAGE"))
228
		record_route();
229
230
	# account only INVITEs
231
	if (is_method("INVITE")) {
232
		
233
		# create dialog with timeout
234
		if ( !create_dialog("B") ) {
235
			send_reply(500,"Internal Server Error");
236
			exit;
237
		}
238
		
239
		do_accounting("log");
240
	}
241
242
	
243
	if (!is_myself("$rd")) {
244
		append_hf("P-hint: outbound\r\n"); 
245
		
246
		route(relay);
247
	}
248
249
	# requests for my domain
250
	
251
	if (is_method("PUBLISH|SUBSCRIBE")) {
252
		send_reply(503, "Service Unavailable");
253
		exit;
254
	}
255
256
	if (is_method("REGISTER")) {
257
				if (isflagset(NAT)) {
258
			setbflag(SIP_PING_FLAG);
259
		}
260
		if (!save("location"))
261
			sl_reply_error();
262
263
		exit;
264
	}
265
266
	if ($rU==NULL) {
267
		# request with no Username in RURI
268
		send_reply(484,"Address Incomplete");
269
		exit;
270
	}
271
272
	
273
274
	
275
276
	 
277
278
	# do lookup with method filtering
279
	if (!lookup("location","m")) {
280
		
281
		
282
		t_reply(404, "Not Found");
283
		exit;
284
	} 
285
286
	if (isbflagset(NAT)) setflag(NAT);
287
288
	# when routing via usrloc, log the missed calls also
289
	do_accounting("log","missed");
290
	route(relay);
291
}
292
293
294
route[relay] {
295
	# for INVITEs enable some additional helper routes
296
	if (is_method("INVITE")) {
297
		
298
		if (isflagset(NAT)) {
299
			rtpproxy_offer("ro");
300
		}
301
302
		t_on_branch("per_branch_ops");
303
		t_on_reply("handle_nat");
304
		t_on_failure("missed_call");
305
	}
306
307
	if (isflagset(NAT)) {
308
		add_rr_param(";nat=yes");
309
	}
310
311
	if (!t_relay()) {
312
		send_reply(500,"Internal Error");
313
	}
314
	exit;
315
}
316
317
318
319
320
branch_route[per_branch_ops] {
321
	xlog("new branch at $ru\n");
322
}
323
324
325
onreply_route[handle_nat] {
326
	if (nat_uac_test(1))
327
		fix_nated_contact();
328
	if ( isflagset(NAT) )
329
		rtpproxy_answer("ro");
330
	xlog("incoming reply\n");
331
}
332
333
334
failure_route[missed_call] {
335
	if (t_was_cancelled()) {
336
		exit;
337
	}
338
339
	# uncomment the following lines if you want to block client 
340
	# redirect based on 3xx replies.
341
	##if (t_check_status("3[0-9][0-9]")) {
342
	##t_reply(404,"Not found");
343
	##	exit;
344
	##}
345
346
	
347
}
348
349
350
351
local_route {
352
	if (is_method("BYE") && $DLG_dir=="UPSTREAM") {
353
		
354
		acc_log_request("200 Dialog Timeout");
355
		
356
	}
357
}
(-)/usr/ports/net/opensips/files/opensips.in (-2 / +2 lines)
Lines 20-26 Link Here
20
name=opensips
20
name=opensips
21
rcvar=`set_rcvar`
21
rcvar=`set_rcvar`
22
22
23
load_rc_config opensips
23
load_rc_config ${name}
24
24
25
opensips_enable=${opensips_enable:-"NO"}
25
opensips_enable=${opensips_enable:-"NO"}
26
opensips_shmem_size=${opensips_shmem_size:-"64"}
26
opensips_shmem_size=${opensips_shmem_size:-"64"}
Lines 30-35 Link Here
30
30
31
command="${prefix}/sbin/opensips"
31
command="${prefix}/sbin/opensips"
32
command_args="-m ${opensips_shmem_size} -M ${opensips_pkmem_size}"
32
command_args="-m ${opensips_shmem_size} -M ${opensips_pkmem_size}"
33
required_files="${prefix}/etc/opensips/opensipsctlrc"
33
required_files="${prefix}/etc/opensips/opensips.cfg"
34
34
35
run_rc_command "${1}"
35
run_rc_command "${1}"
(-)/usr/ports/net/opensips/files/patch-Makefile (-39 lines)
Lines 1-39 Link Here
1
--- Makefile.orig	2016-07-13 15:21:26 UTC
2
+++ Makefile
3
@@ -46,7 +46,7 @@ auto_gen=lex.yy.c cfg.tab.c   #lexx, yac
4
 # whether or not to install opensips.cfg or just opensips.cfg.default
5
 # (opensips.cfg will never be overwritten by make install, this is useful
6
 #  when creating packages)
7
-skip_cfg_install?=
8
+skip_cfg_install=yes
9
 
10
 #extra modules to exclude
11
 skip_modules?=
12
@@ -495,27 +495,14 @@ install-cfg: $(cfg_prefix)/$(cfg_dir)
13
 		rm -fr $(cfg_prefix)/$(cfg_dir)$(NAME).cfg.sample0
14
 		chmod 600 $(cfg_prefix)/$(cfg_dir)$(NAME).cfg.sample
15
 		chmod 700 $(cfg_prefix)/$(cfg_dir)
16
-		if [ -z "${skip_cfg_install}" -a \
17
-				! -f $(cfg_prefix)/$(cfg_dir)$(NAME).cfg ]; then \
18
-			mv -f $(cfg_prefix)/$(cfg_dir)$(NAME).cfg.sample \
19
-				$(cfg_prefix)/$(cfg_dir)$(NAME).cfg; \
20
-		fi
21
 		# opensipsctl config
22
 		$(INSTALL_TOUCH)   $(cfg_prefix)/$(cfg_dir)/opensipsctlrc.sample
23
 		$(INSTALL_CFG) scripts/opensipsctlrc \
24
 			$(cfg_prefix)/$(cfg_dir)/opensipsctlrc.sample
25
-		if [ ! -f $(cfg_prefix)/$(cfg_dir)/opensipsctlrc ]; then \
26
-			mv -f $(cfg_prefix)/$(cfg_dir)/opensipsctlrc.sample \
27
-				$(cfg_prefix)/$(cfg_dir)/opensipsctlrc; \
28
-		fi
29
 		# osipsconsole config
30
 		$(INSTALL_TOUCH)   $(cfg_prefix)/$(cfg_dir)/osipsconsolerc.sample
31
 		$(INSTALL_CFG) scripts/osipsconsolerc \
32
 			$(cfg_prefix)/$(cfg_dir)/osipsconsolerc.sample
33
-		if [ ! -f $(cfg_prefix)/$(cfg_dir)/osipsconsolerc ]; then \
34
-			mv -f $(cfg_prefix)/$(cfg_dir)/osipsconsolerc.sample \
35
-				$(cfg_prefix)/$(cfg_dir)/osipsconsolerc; \
36
-		fi
37
 
38
 install-console: $(bin_prefix)/$(bin_dir)
39
 		# install osipsconsole
(-)/usr/ports/net/opensips/files/patch-Makefile.defs (-43 lines)
Lines 1-43 Link Here
1
--- Makefile.defs.orig	2016-05-30 14:13:27 UTC
2
+++ Makefile.defs
3
@@ -118,6 +118,14 @@ ifeq ($(OS),solaris)
4
 		ISSMP ?= yes
5
 	endif
6
 else
7
+ifeq ($(OS),freebsd)
8
+	SMP_STR = $(shell sysctl kern.smp.active | grep 1)
9
+	ifeq (,$(SMP_STR))
10
+		ISSMP ?= no
11
+	else
12
+		ISSMP ?= yes
13
+	endif
14
+else
15
 	SMP_STR = $(shell uname -v | grep -i "SMP")
16
 	ifeq (,$(SMP_STR))
17
 		ISSMP ?= no
18
@@ -125,6 +133,7 @@ else
19
 		ISSMP ?= yes
20
 	endif
21
 endif
22
+endif
23
 
24
 #set some vars from the environment (and not make builtins)
25
 CC   := $(shell echo "$${CC}")
26
@@ -308,6 +317,9 @@ cfg_dir = etc/$(MAIN_NAME)/
27
 bin_dir = sbin/
28
 
29
 ARCH_B = $(shell echo $(ARCH) | sed -e 's/.*64.*/64b/')
30
+ifeq ($(OS),freebsd)
31
+	LIBDIR ?= lib
32
+else
33
 ifeq ($(ARCH_B),64b)
34
 	LIBDIR ?= lib64
35
 else
36
@@ -315,6 +327,7 @@ else
37
 	# assume 32b - it is not really used further
38
 	ARCH_B=32b
39
 endif
40
+endif
41
 
42
 lib_dir = $(LIBDIR)/$(MAIN_NAME)
43
 modules_dir = $(LIBDIR)/$(MAIN_NAME)/modules/
(-)/usr/ports/net/opensips/files/patch-mem__shm_mem.h (-10 lines)
Lines 1-10 Link Here
1
--- mem/shm_mem.h.orig	2016-05-30 14:13:27 UTC
2
+++ mem/shm_mem.h
3
@@ -62,6 +62,7 @@
4
 	#endif
5
 #endif
6
 
7
+#include "../error.h"
8
 #include "../dprint.h"
9
 #include "../lock_ops.h" /* we don't include locking.h on purpose */
10
 #include "common.h"
(-)/usr/ports/net/opensips/pkg-message (-1 / +1 lines)
Lines 6-12 Link Here
6
For further installation and configuration instructions,
6
For further installation and configuration instructions,
7
visit the following web page:
7
visit the following web page:
8
8
9
http://www.opensips.org/Documentation/Manual-2-2
9
https://opensips.org/Documentation/Manuals
10
10
11
For migrating from a previous major release, visit the following web page:
11
For migrating from a previous major release, visit the following web page:
12
12
(-)/usr/ports/net/opensips/pkg-plist (-378 / +61 lines)
Lines 1-17 Link Here
1
%%TLS%%%%ETCDIR%%/tls/README
2
%%TLS%%%%ETCDIR%%/tls/ca.conf
3
%%TLS%%%%ETCDIR%%/tls/request.conf
4
%%TLS%%%%ETCDIR%%/tls/rootCA/cacert.pem
5
%%TLS%%%%ETCDIR%%/tls/rootCA/certs/01.pem
6
%%TLS%%%%ETCDIR%%/tls/rootCA/index.txt
7
%%TLS%%%%ETCDIR%%/tls/rootCA/private/cakey.pem
8
%%TLS%%%%ETCDIR%%/tls/rootCA/serial
9
%%TLS%%%%ETCDIR%%/tls/user.conf
10
%%TLS%%%%ETCDIR%%/tls/user/user-calist.pem
11
%%TLS%%%%ETCDIR%%/tls/user/user-cert.pem
12
%%TLS%%%%ETCDIR%%/tls/user/user-cert_req.pem
13
%%TLS%%%%ETCDIR%%/tls/user/user-privkey.pem
14
%%RADIUS%%lib/opensips/modules/aaa_radius.so
15
lib/opensips/modules/acc.so
1
lib/opensips/modules/acc.so
16
lib/opensips/modules/alias_db.so
2
lib/opensips/modules/alias_db.so
17
lib/opensips/modules/auth.so
3
lib/opensips/modules/auth.so
Lines 19-47 Link Here
19
lib/opensips/modules/auth_db.so
5
lib/opensips/modules/auth_db.so
20
lib/opensips/modules/avpops.so
6
lib/opensips/modules/avpops.so
21
lib/opensips/modules/b2b_entities.so
7
lib/opensips/modules/b2b_entities.so
22
lib/opensips/modules/b2b_logic.so
23
lib/opensips/modules/b2b_sca.so
8
lib/opensips/modules/b2b_sca.so
24
lib/opensips/modules/benchmark.so
9
lib/opensips/modules/benchmark.so
25
lib/opensips/modules/cachedb_local.so
10
lib/opensips/modules/cachedb_local.so
26
%%MEMCACHED%%lib/opensips/modules/cachedb_memcached.so
27
lib/opensips/modules/cachedb_redis.so
28
lib/opensips/modules/cachedb_sql.so
11
lib/opensips/modules/cachedb_sql.so
29
lib/opensips/modules/call_center.so
12
lib/opensips/modules/call_center.so
30
lib/opensips/modules/call_control.so
13
lib/opensips/modules/call_control.so
31
lib/opensips/modules/carrierroute.so
32
lib/opensips/modules/cfgutils.so
14
lib/opensips/modules/cfgutils.so
33
lib/opensips/modules/clusterer.so
15
lib/opensips/modules/clusterer.so
34
lib/opensips/modules/cpl_c.so
35
lib/opensips/modules/db_cachedb.so
16
lib/opensips/modules/db_cachedb.so
36
lib/opensips/modules/db_flatstore.so
17
lib/opensips/modules/db_flatstore.so
37
%%MYSQL%%lib/opensips/modules/db_mysql.so
38
%%PGSQL%%lib/opensips/modules/db_postgres.so
39
%%SQLITE%%lib/opensips/modules/db_sqlite.so
40
lib/opensips/modules/db_text.so
18
lib/opensips/modules/db_text.so
41
%%UNIXODBC%%lib/opensips/modules/db_unixodbc.so
42
lib/opensips/modules/db_virtual.so
19
lib/opensips/modules/db_virtual.so
43
lib/opensips/modules/dialog.so
20
lib/opensips/modules/dialog.so
44
lib/opensips/modules/dialplan.so
45
lib/opensips/modules/dispatcher.so
21
lib/opensips/modules/dispatcher.so
46
lib/opensips/modules/diversion.so
22
lib/opensips/modules/diversion.so
47
lib/opensips/modules/dns_cache.so
23
lib/opensips/modules/dns_cache.so
Lines 51-71 Link Here
51
lib/opensips/modules/enum.so
27
lib/opensips/modules/enum.so
52
lib/opensips/modules/event_datagram.so
28
lib/opensips/modules/event_datagram.so
53
lib/opensips/modules/event_flatstore.so
29
lib/opensips/modules/event_flatstore.so
54
lib/opensips/modules/event_rabbitmq.so
30
lib/opensips/modules/event_jsonrpc.so
55
lib/opensips/modules/event_route.so
31
lib/opensips/modules/event_route.so
32
lib/opensips/modules/event_routing.so
56
lib/opensips/modules/event_virtual.so
33
lib/opensips/modules/event_virtual.so
57
lib/opensips/modules/event_xmlrpc.so
34
lib/opensips/modules/event_xmlrpc.so
58
lib/opensips/modules/exec.so
35
lib/opensips/modules/exec.so
59
lib/opensips/modules/fraud_detection.so
36
lib/opensips/modules/fraud_detection.so
37
lib/opensips/modules/freeswitch.so
38
lib/opensips/modules/freeswitch_scripting.so
60
lib/opensips/modules/gflags.so
39
lib/opensips/modules/gflags.so
61
lib/opensips/modules/group.so
40
lib/opensips/modules/group.so
62
%%LDAP%%lib/opensips/modules/h350.so
63
%%HTTP%%lib/opensips/modules/httpd.so
64
lib/opensips/modules/identity.so
65
lib/opensips/modules/imc.so
41
lib/opensips/modules/imc.so
66
lib/opensips/modules/jabber.so
42
lib/opensips/modules/jsonrpc.so
67
lib/opensips/modules/json.so
68
%%LDAP%%lib/opensips/modules/ldap.so
69
lib/opensips/modules/load_balancer.so
43
lib/opensips/modules/load_balancer.so
70
lib/opensips/modules/mangler.so
44
lib/opensips/modules/mangler.so
71
lib/opensips/modules/mathops.so
45
lib/opensips/modules/mathops.so
Lines 73-124 Link Here
73
lib/opensips/modules/mediaproxy.so
47
lib/opensips/modules/mediaproxy.so
74
lib/opensips/modules/mi_datagram.so
48
lib/opensips/modules/mi_datagram.so
75
lib/opensips/modules/mi_fifo.so
49
lib/opensips/modules/mi_fifo.so
50
lib/opensips/modules/mi_html.so
76
lib/opensips/modules/mi_http.so
51
lib/opensips/modules/mi_http.so
77
lib/opensips/modules/mi_json.so
52
lib/opensips/modules/mid_registrar.so
78
lib/opensips/modules/mi_xmlrpc_ng.so
79
lib/opensips/modules/msilo.so
53
lib/opensips/modules/msilo.so
80
lib/opensips/modules/nat_traversal.so
54
lib/opensips/modules/nat_traversal.so
81
lib/opensips/modules/nathelper.so
55
lib/opensips/modules/nathelper.so
82
lib/opensips/modules/options.so
56
lib/opensips/modules/options.so
83
lib/opensips/modules/path.so
57
lib/opensips/modules/path.so
84
lib/opensips/modules/peering.so
58
lib/opensips/modules/peering.so
85
lib/opensips/modules/perl.so
86
lib/opensips/modules/permissions.so
59
lib/opensips/modules/permissions.so
87
lib/opensips/modules/pi_http.so
88
lib/opensips/modules/pike.so
60
lib/opensips/modules/pike.so
89
lib/opensips/modules/presence.so
90
lib/opensips/modules/presence_callinfo.so
61
lib/opensips/modules/presence_callinfo.so
91
lib/opensips/modules/presence_dialoginfo.so
92
lib/opensips/modules/presence_mwi.so
93
lib/opensips/modules/presence_xcapdiff.so
62
lib/opensips/modules/presence_xcapdiff.so
94
lib/opensips/modules/presence_xml.so
95
lib/opensips/modules/proto_bin.so
63
lib/opensips/modules/proto_bin.so
96
lib/opensips/modules/proto_hep.so
64
lib/opensips/modules/proto_hep.so
97
%%TLS%%lib/opensips/modules/proto_tls.so
65
lib/opensips/modules/proto_smpp.so
98
lib/opensips/modules/proto_ws.so
66
lib/opensips/modules/proto_ws.so
99
%%TLS%%lib/opensips/modules/proto_wss.so
100
lib/opensips/modules/pua.so
101
lib/opensips/modules/pua_bla.so
102
lib/opensips/modules/pua_dialoginfo.so
103
lib/opensips/modules/pua_mi.so
104
lib/opensips/modules/pua_usrloc.so
105
lib/opensips/modules/pua_xmpp.so
106
lib/opensips/modules/python.so
107
lib/opensips/modules/qos.so
67
lib/opensips/modules/qos.so
108
lib/opensips/modules/ratelimit.so
68
lib/opensips/modules/ratelimit.so
109
lib/opensips/modules/regex.so
110
lib/opensips/modules/registrar.so
69
lib/opensips/modules/registrar.so
111
lib/opensips/modules/rest_client.so
112
lib/opensips/modules/rls.so
113
lib/opensips/modules/rr.so
70
lib/opensips/modules/rr.so
114
lib/opensips/modules/rtpengine.so
71
lib/opensips/modules/rtpengine.so
115
lib/opensips/modules/rtpproxy.so
72
lib/opensips/modules/rtpproxy.so
116
lib/opensips/modules/script_helper.so
73
lib/opensips/modules/script_helper.so
117
lib/opensips/modules/seas.so
74
lib/opensips/modules/seas.so
118
lib/opensips/modules/signaling.so
75
lib/opensips/modules/signaling.so
76
lib/opensips/modules/sip_i.so
119
lib/opensips/modules/sipcapture.so
77
lib/opensips/modules/sipcapture.so
120
lib/opensips/modules/sipmsgops.so
78
lib/opensips/modules/sipmsgops.so
121
lib/opensips/modules/siptrace.so
122
lib/opensips/modules/sl.so
79
lib/opensips/modules/sl.so
123
lib/opensips/modules/sms.so
80
lib/opensips/modules/sms.so
124
lib/opensips/modules/speeddial.so
81
lib/opensips/modules/speeddial.so
Lines 127-196 Link Here
127
lib/opensips/modules/statistics.so
84
lib/opensips/modules/statistics.so
128
lib/opensips/modules/stun.so
85
lib/opensips/modules/stun.so
129
lib/opensips/modules/textops.so
86
lib/opensips/modules/textops.so
130
%%TLS%%lib/opensips/modules/tls_mgm.so
131
lib/opensips/modules/tm.so
87
lib/opensips/modules/tm.so
132
lib/opensips/modules/topology_hiding.so
88
lib/opensips/modules/topology_hiding.so
89
lib/opensips/modules/tracer.so
133
lib/opensips/modules/uac.so
90
lib/opensips/modules/uac.so
134
lib/opensips/modules/uac_auth.so
91
lib/opensips/modules/uac_auth.so
135
lib/opensips/modules/uac_redirect.so
92
lib/opensips/modules/uac_redirect.so
136
lib/opensips/modules/uac_registrant.so
93
lib/opensips/modules/uac_registrant.so
137
lib/opensips/modules/uri.so
138
lib/opensips/modules/userblacklist.so
94
lib/opensips/modules/userblacklist.so
139
lib/opensips/modules/usrloc.so
95
lib/opensips/modules/usrloc.so
140
lib/opensips/modules/xcap.so
141
lib/opensips/modules/xcap_client.so
142
lib/opensips/modules/xmpp.so
143
lib/opensips/opensipsctl/dbtextdb/dbtextdb.py
144
lib/opensips/opensipsctl/opensipsctl.base
145
lib/opensips/opensipsctl/opensipsctl.ctlbase
146
lib/opensips/opensipsctl/opensipsctl.dbtext
147
lib/opensips/opensipsctl/opensipsctl.fifo
148
%%MYSQL%%lib/opensips/opensipsctl/opensipsctl.mysql
149
%%PGSQL%%lib/opensips/opensipsctl/opensipsctl.pgsql
150
lib/opensips/opensipsctl/opensipsctl.sqlbase
151
%%SQLITE%%lib/opensips/opensipsctl/opensipsctl.sqlite
152
lib/opensips/opensipsctl/opensipsctl.unixsock
153
lib/opensips/opensipsctl/opensipsdbctl.base
154
lib/opensips/opensipsctl/opensipsdbctl.dbtext
155
%%MYSQL%%lib/opensips/opensipsctl/opensipsdbctl.mysql
156
%%PGSQL%%lib/opensips/opensipsctl/opensipsdbctl.pgsql
157
%%SQLITE%%lib/opensips/opensipsctl/opensipsdbctl.sqlite
158
lib/opensips/perl/OpenSIPS.pm
159
lib/opensips/perl/OpenSIPS/Constants.pm
160
lib/opensips/perl/OpenSIPS/LDAPUtils/LDAPConf.pm
161
lib/opensips/perl/OpenSIPS/LDAPUtils/LDAPConnection.pm
162
lib/opensips/perl/OpenSIPS/Message.pm
163
lib/opensips/perl/OpenSIPS/Utils/Debug.pm
164
lib/opensips/perl/OpenSIPS/Utils/PhoneNumbers.pm
165
lib/opensips/perl/OpenSIPS/VDB.pm
166
lib/opensips/perl/OpenSIPS/VDB/Adapter/AccountingSIPtrace.pm
167
lib/opensips/perl/OpenSIPS/VDB/Adapter/Alias.pm
168
lib/opensips/perl/OpenSIPS/VDB/Adapter/Auth.pm
169
lib/opensips/perl/OpenSIPS/VDB/Adapter/Describe.pm
170
lib/opensips/perl/OpenSIPS/VDB/Adapter/Speeddial.pm
171
lib/opensips/perl/OpenSIPS/VDB/Adapter/TableVersions.pm
172
lib/opensips/perl/OpenSIPS/VDB/Column.pm
173
lib/opensips/perl/OpenSIPS/VDB/Pair.pm
174
lib/opensips/perl/OpenSIPS/VDB/ReqCond.pm
175
lib/opensips/perl/OpenSIPS/VDB/Result.pm
176
lib/opensips/perl/OpenSIPS/VDB/VTab.pm
177
lib/opensips/perl/OpenSIPS/VDB/Value.pm
178
man/man5/opensips.cfg.5.gz
96
man/man5/opensips.cfg.5.gz
179
man/man8/opensips.8.gz
97
man/man8/opensips.8.gz
180
man/man8/opensipsctl.8.gz
181
man/man8/opensipsunix.8.gz
182
sbin/opensips
98
sbin/opensips
183
sbin/opensipsctl
184
sbin/opensipsdbctl
185
sbin/opensipsunix
186
sbin/osipsconfig
99
sbin/osipsconfig
187
sbin/osipsconsole
188
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
100
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
189
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
101
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
190
%%PORTDOCS%%%%DOCSDIR%%/NEWS
102
%%PORTDOCS%%%%DOCSDIR%%/NEWS
191
%%PORTDOCS%%%%DOCSDIR%%/README
103
%%PORTDOCS%%%%DOCSDIR%%/README
192
%%PORTDOCS%%%%DOCSDIR%%/README-MODULES
104
%%PORTDOCS%%%%DOCSDIR%%/README-MODULES
193
%%RADIUS%%%%PORTDOCS%%%%DOCSDIR%%/README.aaa_radius
194
%%PORTDOCS%%%%DOCSDIR%%/README.acc
105
%%PORTDOCS%%%%DOCSDIR%%/README.acc
195
%%PORTDOCS%%%%DOCSDIR%%/README.alias_db
106
%%PORTDOCS%%%%DOCSDIR%%/README.alias_db
196
%%PORTDOCS%%%%DOCSDIR%%/README.auth
107
%%PORTDOCS%%%%DOCSDIR%%/README.auth
Lines 198-226 Link Here
198
%%PORTDOCS%%%%DOCSDIR%%/README.auth_db
109
%%PORTDOCS%%%%DOCSDIR%%/README.auth_db
199
%%PORTDOCS%%%%DOCSDIR%%/README.avpops
110
%%PORTDOCS%%%%DOCSDIR%%/README.avpops
200
%%PORTDOCS%%%%DOCSDIR%%/README.b2b_entities
111
%%PORTDOCS%%%%DOCSDIR%%/README.b2b_entities
201
%%PORTDOCS%%%%DOCSDIR%%/README.b2b_logic
202
%%PORTDOCS%%%%DOCSDIR%%/README.b2b_sca
112
%%PORTDOCS%%%%DOCSDIR%%/README.b2b_sca
203
%%PORTDOCS%%%%DOCSDIR%%/README.benchmark
113
%%PORTDOCS%%%%DOCSDIR%%/README.benchmark
204
%%PORTDOCS%%%%DOCSDIR%%/README.cachedb_local
114
%%PORTDOCS%%%%DOCSDIR%%/README.cachedb_local
205
%%MEMCACHED%%%%PORTDOCS%%%%DOCSDIR%%/README.cachedb_memcached
206
%%PORTDOCS%%%%DOCSDIR%%/README.cachedb_redis
207
%%PORTDOCS%%%%DOCSDIR%%/README.cachedb_sql
115
%%PORTDOCS%%%%DOCSDIR%%/README.cachedb_sql
208
%%PORTDOCS%%%%DOCSDIR%%/README.call_center
116
%%PORTDOCS%%%%DOCSDIR%%/README.call_center
209
%%PORTDOCS%%%%DOCSDIR%%/README.call_control
117
%%PORTDOCS%%%%DOCSDIR%%/README.call_control
210
%%PORTDOCS%%%%DOCSDIR%%/README.carrierroute
211
%%PORTDOCS%%%%DOCSDIR%%/README.cfgutils
118
%%PORTDOCS%%%%DOCSDIR%%/README.cfgutils
212
%%PORTDOCS%%%%DOCSDIR%%/README.clusterer
119
%%PORTDOCS%%%%DOCSDIR%%/README.clusterer
213
%%PORTDOCS%%%%DOCSDIR%%/README.cpl_c
214
%%PORTDOCS%%%%DOCSDIR%%/README.db_cachedb
120
%%PORTDOCS%%%%DOCSDIR%%/README.db_cachedb
215
%%PORTDOCS%%%%DOCSDIR%%/README.db_flatstore
121
%%PORTDOCS%%%%DOCSDIR%%/README.db_flatstore
216
%%MYSQL%%%%PORTDOCS%%%%DOCSDIR%%/README.db_mysql
217
%%PGSQL%%%%PORTDOCS%%%%DOCSDIR%%/README.db_postgres
218
%%SQLITE%%%%PORTDOCS%%%%DOCSDIR%%/README.db_sqlite
219
%%PORTDOCS%%%%DOCSDIR%%/README.db_text
122
%%PORTDOCS%%%%DOCSDIR%%/README.db_text
220
%%UNIXODBC%%%%PORTDOCS%%%%DOCSDIR%%/README.db_unixodbc
221
%%PORTDOCS%%%%DOCSDIR%%/README.db_virtual
123
%%PORTDOCS%%%%DOCSDIR%%/README.db_virtual
222
%%PORTDOCS%%%%DOCSDIR%%/README.dialog
124
%%PORTDOCS%%%%DOCSDIR%%/README.dialog
223
%%PORTDOCS%%%%DOCSDIR%%/README.dialplan
224
%%PORTDOCS%%%%DOCSDIR%%/README.dispatcher
125
%%PORTDOCS%%%%DOCSDIR%%/README.dispatcher
225
%%PORTDOCS%%%%DOCSDIR%%/README.diversion
126
%%PORTDOCS%%%%DOCSDIR%%/README.diversion
226
%%PORTDOCS%%%%DOCSDIR%%/README.dns_cache
127
%%PORTDOCS%%%%DOCSDIR%%/README.dns_cache
Lines 230-250 Link Here
230
%%PORTDOCS%%%%DOCSDIR%%/README.enum
131
%%PORTDOCS%%%%DOCSDIR%%/README.enum
231
%%PORTDOCS%%%%DOCSDIR%%/README.event_datagram
132
%%PORTDOCS%%%%DOCSDIR%%/README.event_datagram
232
%%PORTDOCS%%%%DOCSDIR%%/README.event_flatstore
133
%%PORTDOCS%%%%DOCSDIR%%/README.event_flatstore
233
%%PORTDOCS%%%%DOCSDIR%%/README.event_rabbitmq
134
%%PORTDOCS%%%%DOCSDIR%%/README.event_jsonrpc
234
%%PORTDOCS%%%%DOCSDIR%%/README.event_route
135
%%PORTDOCS%%%%DOCSDIR%%/README.event_route
136
%%PORTDOCS%%%%DOCSDIR%%/README.event_routing
235
%%PORTDOCS%%%%DOCSDIR%%/README.event_virtual
137
%%PORTDOCS%%%%DOCSDIR%%/README.event_virtual
236
%%PORTDOCS%%%%DOCSDIR%%/README.event_xmlrpc
138
%%PORTDOCS%%%%DOCSDIR%%/README.event_xmlrpc
237
%%PORTDOCS%%%%DOCSDIR%%/README.exec
139
%%PORTDOCS%%%%DOCSDIR%%/README.exec
238
%%PORTDOCS%%%%DOCSDIR%%/README.fraud_detection
140
%%PORTDOCS%%%%DOCSDIR%%/README.fraud_detection
141
%%PORTDOCS%%%%DOCSDIR%%/README.freeswitch
142
%%PORTDOCS%%%%DOCSDIR%%/README.freeswitch_scripting
239
%%PORTDOCS%%%%DOCSDIR%%/README.gflags
143
%%PORTDOCS%%%%DOCSDIR%%/README.gflags
240
%%PORTDOCS%%%%DOCSDIR%%/README.group
144
%%PORTDOCS%%%%DOCSDIR%%/README.group
241
%%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/README.h350
242
%%HTTP%%%%PORTDOCS%%%%DOCSDIR%%/README.httpd
243
%%PORTDOCS%%%%DOCSDIR%%/README.identity
244
%%PORTDOCS%%%%DOCSDIR%%/README.imc
145
%%PORTDOCS%%%%DOCSDIR%%/README.imc
245
%%PORTDOCS%%%%DOCSDIR%%/README.jabber
146
%%PORTDOCS%%%%DOCSDIR%%/README.jsonrpc
246
%%PORTDOCS%%%%DOCSDIR%%/README.json
247
%%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/README.ldap
248
%%PORTDOCS%%%%DOCSDIR%%/README.load_balancer
147
%%PORTDOCS%%%%DOCSDIR%%/README.load_balancer
249
%%PORTDOCS%%%%DOCSDIR%%/README.mangler
148
%%PORTDOCS%%%%DOCSDIR%%/README.mangler
250
%%PORTDOCS%%%%DOCSDIR%%/README.mathops
149
%%PORTDOCS%%%%DOCSDIR%%/README.mathops
Lines 252-303 Link Here
252
%%PORTDOCS%%%%DOCSDIR%%/README.mediaproxy
151
%%PORTDOCS%%%%DOCSDIR%%/README.mediaproxy
253
%%PORTDOCS%%%%DOCSDIR%%/README.mi_datagram
152
%%PORTDOCS%%%%DOCSDIR%%/README.mi_datagram
254
%%PORTDOCS%%%%DOCSDIR%%/README.mi_fifo
153
%%PORTDOCS%%%%DOCSDIR%%/README.mi_fifo
154
%%PORTDOCS%%%%DOCSDIR%%/README.mi_html
255
%%PORTDOCS%%%%DOCSDIR%%/README.mi_http
155
%%PORTDOCS%%%%DOCSDIR%%/README.mi_http
256
%%PORTDOCS%%%%DOCSDIR%%/README.mi_json
156
%%PORTDOCS%%%%DOCSDIR%%/README.mid_registrar
257
%%PORTDOCS%%%%DOCSDIR%%/README.mi_xmlrpc_ng
258
%%PORTDOCS%%%%DOCSDIR%%/README.msilo
157
%%PORTDOCS%%%%DOCSDIR%%/README.msilo
259
%%PORTDOCS%%%%DOCSDIR%%/README.nat_traversal
158
%%PORTDOCS%%%%DOCSDIR%%/README.nat_traversal
260
%%PORTDOCS%%%%DOCSDIR%%/README.nathelper
159
%%PORTDOCS%%%%DOCSDIR%%/README.nathelper
261
%%PORTDOCS%%%%DOCSDIR%%/README.options
160
%%PORTDOCS%%%%DOCSDIR%%/README.options
262
%%PORTDOCS%%%%DOCSDIR%%/README.path
161
%%PORTDOCS%%%%DOCSDIR%%/README.path
263
%%PORTDOCS%%%%DOCSDIR%%/README.peering
162
%%PORTDOCS%%%%DOCSDIR%%/README.peering
264
%%PORTDOCS%%%%DOCSDIR%%/README.perl
265
%%PORTDOCS%%%%DOCSDIR%%/README.permissions
163
%%PORTDOCS%%%%DOCSDIR%%/README.permissions
266
%%PORTDOCS%%%%DOCSDIR%%/README.pi_http
267
%%PORTDOCS%%%%DOCSDIR%%/README.pike
164
%%PORTDOCS%%%%DOCSDIR%%/README.pike
268
%%PORTDOCS%%%%DOCSDIR%%/README.presence
269
%%PORTDOCS%%%%DOCSDIR%%/README.presence_callinfo
165
%%PORTDOCS%%%%DOCSDIR%%/README.presence_callinfo
270
%%PORTDOCS%%%%DOCSDIR%%/README.presence_dialoginfo
271
%%PORTDOCS%%%%DOCSDIR%%/README.presence_mwi
272
%%PORTDOCS%%%%DOCSDIR%%/README.presence_xcapdiff
166
%%PORTDOCS%%%%DOCSDIR%%/README.presence_xcapdiff
273
%%PORTDOCS%%%%DOCSDIR%%/README.presence_xml
274
%%PORTDOCS%%%%DOCSDIR%%/README.proto_bin
167
%%PORTDOCS%%%%DOCSDIR%%/README.proto_bin
275
%%PORTDOCS%%%%DOCSDIR%%/README.proto_hep
168
%%PORTDOCS%%%%DOCSDIR%%/README.proto_hep
276
%%TLS%%%%PORTDOCS%%%%DOCSDIR%%/README.proto_tls
169
%%PORTDOCS%%%%DOCSDIR%%/README.proto_smpp
277
%%PORTDOCS%%%%DOCSDIR%%/README.proto_ws
170
%%PORTDOCS%%%%DOCSDIR%%/README.proto_ws
278
%%PORTDOCS%%%%DOCSDIR%%/README.proto_wss
279
%%PORTDOCS%%%%DOCSDIR%%/README.pua
280
%%PORTDOCS%%%%DOCSDIR%%/README.pua_bla
281
%%PORTDOCS%%%%DOCSDIR%%/README.pua_dialoginfo
282
%%PORTDOCS%%%%DOCSDIR%%/README.pua_mi
283
%%PORTDOCS%%%%DOCSDIR%%/README.pua_usrloc
284
%%PORTDOCS%%%%DOCSDIR%%/README.pua_xmpp
285
%%PORTDOCS%%%%DOCSDIR%%/README.python
286
%%PORTDOCS%%%%DOCSDIR%%/README.qos
171
%%PORTDOCS%%%%DOCSDIR%%/README.qos
287
%%PORTDOCS%%%%DOCSDIR%%/README.ratelimit
172
%%PORTDOCS%%%%DOCSDIR%%/README.ratelimit
288
%%PORTDOCS%%%%DOCSDIR%%/README.regex
289
%%PORTDOCS%%%%DOCSDIR%%/README.registrar
173
%%PORTDOCS%%%%DOCSDIR%%/README.registrar
290
%%PORTDOCS%%%%DOCSDIR%%/README.rest_client
291
%%PORTDOCS%%%%DOCSDIR%%/README.rls
292
%%PORTDOCS%%%%DOCSDIR%%/README.rr
174
%%PORTDOCS%%%%DOCSDIR%%/README.rr
293
%%PORTDOCS%%%%DOCSDIR%%/README.rtpengine
175
%%PORTDOCS%%%%DOCSDIR%%/README.rtpengine
294
%%PORTDOCS%%%%DOCSDIR%%/README.rtpproxy
176
%%PORTDOCS%%%%DOCSDIR%%/README.rtpproxy
295
%%PORTDOCS%%%%DOCSDIR%%/README.script_helper
177
%%PORTDOCS%%%%DOCSDIR%%/README.script_helper
296
%%PORTDOCS%%%%DOCSDIR%%/README.seas
178
%%PORTDOCS%%%%DOCSDIR%%/README.seas
297
%%PORTDOCS%%%%DOCSDIR%%/README.signaling
179
%%PORTDOCS%%%%DOCSDIR%%/README.signaling
180
%%PORTDOCS%%%%DOCSDIR%%/README.sip_i
298
%%PORTDOCS%%%%DOCSDIR%%/README.sipcapture
181
%%PORTDOCS%%%%DOCSDIR%%/README.sipcapture
299
%%PORTDOCS%%%%DOCSDIR%%/README.sipmsgops
182
%%PORTDOCS%%%%DOCSDIR%%/README.sipmsgops
300
%%PORTDOCS%%%%DOCSDIR%%/README.siptrace
301
%%PORTDOCS%%%%DOCSDIR%%/README.sl
183
%%PORTDOCS%%%%DOCSDIR%%/README.sl
302
%%PORTDOCS%%%%DOCSDIR%%/README.sms
184
%%PORTDOCS%%%%DOCSDIR%%/README.sms
303
%%PORTDOCS%%%%DOCSDIR%%/README.speeddial
185
%%PORTDOCS%%%%DOCSDIR%%/README.speeddial
Lines 306-349 Link Here
306
%%PORTDOCS%%%%DOCSDIR%%/README.statistics
188
%%PORTDOCS%%%%DOCSDIR%%/README.statistics
307
%%PORTDOCS%%%%DOCSDIR%%/README.stun
189
%%PORTDOCS%%%%DOCSDIR%%/README.stun
308
%%PORTDOCS%%%%DOCSDIR%%/README.textops
190
%%PORTDOCS%%%%DOCSDIR%%/README.textops
309
%%PORTDOCS%%%%DOCSDIR%%/README.tls_mgm
310
%%PORTDOCS%%%%DOCSDIR%%/README.tm
191
%%PORTDOCS%%%%DOCSDIR%%/README.tm
311
%%PORTDOCS%%%%DOCSDIR%%/README.topology_hiding
192
%%PORTDOCS%%%%DOCSDIR%%/README.topology_hiding
193
%%PORTDOCS%%%%DOCSDIR%%/README.tracer
312
%%PORTDOCS%%%%DOCSDIR%%/README.uac
194
%%PORTDOCS%%%%DOCSDIR%%/README.uac
313
%%PORTDOCS%%%%DOCSDIR%%/README.uac_auth
195
%%PORTDOCS%%%%DOCSDIR%%/README.uac_auth
314
%%PORTDOCS%%%%DOCSDIR%%/README.uac_redirect
196
%%PORTDOCS%%%%DOCSDIR%%/README.uac_redirect
315
%%PORTDOCS%%%%DOCSDIR%%/README.uac_registrant
197
%%PORTDOCS%%%%DOCSDIR%%/README.uac_registrant
316
%%PORTDOCS%%%%DOCSDIR%%/README.uri
317
%%PORTDOCS%%%%DOCSDIR%%/README.userblacklist
198
%%PORTDOCS%%%%DOCSDIR%%/README.userblacklist
318
%%PORTDOCS%%%%DOCSDIR%%/README.usrloc
199
%%PORTDOCS%%%%DOCSDIR%%/README.usrloc
319
%%PORTDOCS%%%%DOCSDIR%%/README.xcap
200
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/acc-mysql.cfg
320
%%PORTDOCS%%%%DOCSDIR%%/README.xcap_client
201
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/acc.cfg
321
%%PORTDOCS%%%%DOCSDIR%%/README.xmpp
202
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ctd.sh
322
%%EXAMPLES%%share/examples/opensips/acc-mysql.cfg
203
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/exec_s3.cfg
323
%%EXAMPLES%%share/examples/opensips/acc.cfg
204
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/exec_s4.cfg
324
%%EXAMPLES%%share/examples/opensips/ctd.sh
205
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/exec_s5.cfg
325
%%EXAMPLES%%share/examples/opensips/exec_s3.cfg
206
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/flag_reply.cfg
326
%%EXAMPLES%%share/examples/opensips/exec_s4.cfg
207
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fork.cfg
327
%%EXAMPLES%%share/examples/opensips/exec_s5.cfg
208
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/httpd.cfg
328
%%EXAMPLES%%share/examples/opensips/flag_reply.cfg
209
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/logging.cfg
329
%%EXAMPLES%%share/examples/opensips/fork.cfg
210
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/msilo.cfg
330
%%HTTP%%%%EXAMPLES%%share/examples/opensips/httpd.cfg
211
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/nathelper.cfg
331
%%EXAMPLES%%share/examples/opensips/logging.cfg
212
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pi_framework.xml
332
%%EXAMPLES%%share/examples/opensips/msilo.cfg
213
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pstn.cfg
333
%%EXAMPLES%%share/examples/opensips/nathelper.cfg
214
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/redirect.cfg
334
%%EXAMPLES%%share/examples/opensips/pi_framework.xml
215
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/replicate.cfg
335
%%EXAMPLES%%share/examples/opensips/pstn.cfg
216
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/serial_183.cfg
336
%%EXAMPLES%%share/examples/opensips/redirect.cfg
217
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/web_im/README
337
%%EXAMPLES%%share/examples/opensips/replicate.cfg
218
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/web_im/click_to_dial.html
338
%%EXAMPLES%%share/examples/opensips/serial_183.cfg
219
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/web_im/click_to_dial.php
339
%%EXAMPLES%%share/examples/opensips/web_im/README
220
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/web_im/send_im.html
340
%%EXAMPLES%%share/examples/opensips/web_im/click_to_dial.html
221
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/web_im/send_im.php
341
%%EXAMPLES%%share/examples/opensips/web_im/click_to_dial.php
222
%%DATADIR%%/menuconfig_templates/opensips_loadbalancer.m4
342
%%EXAMPLES%%share/examples/opensips/web_im/send_im.html
223
%%DATADIR%%/menuconfig_templates/opensips_loadbalancer.m4-e
343
%%EXAMPLES%%share/examples/opensips/web_im/send_im.php
224
%%DATADIR%%/menuconfig_templates/opensips_loadbalancer_def.m4
344
@comment share/licenses/opensips-2.2.3/GPLv2
225
%%DATADIR%%/menuconfig_templates/opensips_loadbalancer_def.m4-e
345
@comment share/licenses/opensips-2.2.3/LICENSE
226
%%DATADIR%%/menuconfig_templates/opensips_residential.m4
346
@comment share/licenses/opensips-2.2.3/catalog.mk
227
%%DATADIR%%/menuconfig_templates/opensips_residential.m4-e
228
%%DATADIR%%/menuconfig_templates/opensips_residential_def.m4
229
%%DATADIR%%/menuconfig_templates/opensips_residential_def.m4-e
230
%%DATADIR%%/menuconfig_templates/opensips_trunking.m4
231
%%DATADIR%%/menuconfig_templates/opensips_trunking.m4-e
232
%%DATADIR%%/menuconfig_templates/opensips_trunking_def.m4
233
%%DATADIR%%/menuconfig_templates/opensips_trunking_def.m4-e
347
%%DATADIR%%/dbtext/opensips/acc
234
%%DATADIR%%/dbtext/opensips/acc
348
%%DATADIR%%/dbtext/opensips/active_watchers
235
%%DATADIR%%/dbtext/opensips/active_watchers
349
%%DATADIR%%/dbtext/opensips/address
236
%%DATADIR%%/dbtext/opensips/address
Lines 376-381 Link Here
376
%%DATADIR%%/dbtext/opensips/emergency_routing
263
%%DATADIR%%/dbtext/opensips/emergency_routing
377
%%DATADIR%%/dbtext/opensips/emergency_service_provider
264
%%DATADIR%%/dbtext/opensips/emergency_service_provider
378
%%DATADIR%%/dbtext/opensips/fraud_detection
265
%%DATADIR%%/dbtext/opensips/fraud_detection
266
%%DATADIR%%/dbtext/opensips/freeswitch
267
%%DATADIR%%/dbtext/opensips/freeswitch_scripting
379
%%DATADIR%%/dbtext/opensips/globalblacklist
268
%%DATADIR%%/dbtext/opensips/globalblacklist
380
%%DATADIR%%/dbtext/opensips/grp
269
%%DATADIR%%/dbtext/opensips/grp
381
%%DATADIR%%/dbtext/opensips/imc_members
270
%%DATADIR%%/dbtext/opensips/imc_members
Lines 390-398 Link Here
390
%%DATADIR%%/dbtext/opensips/rls_presentity
279
%%DATADIR%%/dbtext/opensips/rls_presentity
391
%%DATADIR%%/dbtext/opensips/rls_watchers
280
%%DATADIR%%/dbtext/opensips/rls_watchers
392
%%DATADIR%%/dbtext/opensips/route_tree
281
%%DATADIR%%/dbtext/opensips/route_tree
282
%%DATADIR%%/dbtext/opensips/rtpengine
393
%%DATADIR%%/dbtext/opensips/rtpproxy_sockets
283
%%DATADIR%%/dbtext/opensips/rtpproxy_sockets
394
%%DATADIR%%/dbtext/opensips/silo
284
%%DATADIR%%/dbtext/opensips/silo
395
%%DATADIR%%/dbtext/opensips/sip_trace
285
%%DATADIR%%/dbtext/opensips/sip_trace
286
%%DATADIR%%/dbtext/opensips/smpp
396
%%DATADIR%%/dbtext/opensips/speed_dial
287
%%DATADIR%%/dbtext/opensips/speed_dial
397
%%DATADIR%%/dbtext/opensips/subscriber
288
%%DATADIR%%/dbtext/opensips/subscriber
398
%%DATADIR%%/dbtext/opensips/tls_mgm
289
%%DATADIR%%/dbtext/opensips/tls_mgm
Lines 402-611 Link Here
402
%%DATADIR%%/dbtext/opensips/version
293
%%DATADIR%%/dbtext/opensips/version
403
%%DATADIR%%/dbtext/opensips/watchers
294
%%DATADIR%%/dbtext/opensips/watchers
404
%%DATADIR%%/dbtext/opensips/xcap
295
%%DATADIR%%/dbtext/opensips/xcap
405
%%DATADIR%%/menuconfig_templates/opensips_loadbalancer.m4
406
%%DATADIR%%/menuconfig_templates/opensips_loadbalancer.m4-e
407
%%DATADIR%%/menuconfig_templates/opensips_loadbalancer_def.m4
408
%%DATADIR%%/menuconfig_templates/opensips_loadbalancer_def.m4-e
409
%%DATADIR%%/menuconfig_templates/opensips_residential.m4
410
%%DATADIR%%/menuconfig_templates/opensips_residential.m4-e
411
%%DATADIR%%/menuconfig_templates/opensips_residential_def.m4
412
%%DATADIR%%/menuconfig_templates/opensips_residential_def.m4-e
413
%%DATADIR%%/menuconfig_templates/opensips_trunking.m4
414
%%DATADIR%%/menuconfig_templates/opensips_trunking.m4-e
415
%%DATADIR%%/menuconfig_templates/opensips_trunking_def.m4
416
%%DATADIR%%/menuconfig_templates/opensips_trunking_def.m4-e
417
%%MYSQL%%%%DATADIR%%/mysql/acc-create.sql
418
%%MYSQL%%%%DATADIR%%/mysql/alias_db-create.sql
419
%%MYSQL%%%%DATADIR%%/mysql/auth_db-create.sql
420
%%MYSQL%%%%DATADIR%%/mysql/avpops-create.sql
421
%%MYSQL%%%%DATADIR%%/mysql/b2b-create.sql
422
%%MYSQL%%%%DATADIR%%/mysql/b2b_sca-create.sql
423
%%MYSQL%%%%DATADIR%%/mysql/cachedb_sql-create.sql
424
%%MYSQL%%%%DATADIR%%/mysql/call_center-create.sql
425
%%MYSQL%%%%DATADIR%%/mysql/carrierroute-create.sql
426
%%MYSQL%%%%DATADIR%%/mysql/closeddial-create.sql
427
%%MYSQL%%%%DATADIR%%/mysql/clusterer-create.sql
428
%%MYSQL%%%%DATADIR%%/mysql/cpl-create.sql
429
%%MYSQL%%%%DATADIR%%/mysql/dialog-create.sql
430
%%MYSQL%%%%DATADIR%%/mysql/dialplan-create.sql
431
%%MYSQL%%%%DATADIR%%/mysql/dispatcher-create.sql
432
%%MYSQL%%%%DATADIR%%/mysql/domain-create.sql
433
%%MYSQL%%%%DATADIR%%/mysql/domainpolicy-create.sql
434
%%MYSQL%%%%DATADIR%%/mysql/drouting-create.sql
435
%%MYSQL%%%%DATADIR%%/mysql/emergency-create.sql
436
%%MYSQL%%%%DATADIR%%/mysql/fraud_detection-create.sql
437
%%MYSQL%%%%DATADIR%%/mysql/group-create.sql
438
%%MYSQL%%%%DATADIR%%/mysql/imc-create.sql
439
%%MYSQL%%%%DATADIR%%/mysql/load_balancer-create.sql
440
%%MYSQL%%%%DATADIR%%/mysql/msilo-create.sql
441
%%MYSQL%%%%DATADIR%%/mysql/permissions-create.sql
442
%%MYSQL%%%%DATADIR%%/mysql/presence-create.sql
443
%%MYSQL%%%%DATADIR%%/mysql/registrant-create.sql
444
%%MYSQL%%%%DATADIR%%/mysql/registrar-create.sql
445
%%MYSQL%%%%DATADIR%%/mysql/rls-create.sql
446
%%MYSQL%%%%DATADIR%%/mysql/rtpproxy-create.sql
447
%%MYSQL%%%%DATADIR%%/mysql/siptrace-create.sql
448
%%MYSQL%%%%DATADIR%%/mysql/speeddial-create.sql
449
%%MYSQL%%%%DATADIR%%/mysql/standard-create.sql
450
%%MYSQL%%%%DATADIR%%/mysql/tls_mgm-create.sql
451
%%MYSQL%%%%DATADIR%%/mysql/uri_db-create.sql
452
%%MYSQL%%%%DATADIR%%/mysql/userblacklist-create.sql
453
%%MYSQL%%%%DATADIR%%/mysql/usrloc-create.sql
454
%%DATADIR%%/pi_http/acc-mod
455
%%DATADIR%%/pi_http/acc-table
456
%%DATADIR%%/pi_http/alias_db-mod
457
%%DATADIR%%/pi_http/alias_db-table
458
%%DATADIR%%/pi_http/auth_db-mod
459
%%DATADIR%%/pi_http/auth_db-table
460
%%DATADIR%%/pi_http/avpops-mod
461
%%DATADIR%%/pi_http/avpops-table
462
%%DATADIR%%/pi_http/b2b-mod
463
%%DATADIR%%/pi_http/b2b-table
464
%%DATADIR%%/pi_http/b2b_sca-mod
465
%%DATADIR%%/pi_http/b2b_sca-table
466
%%DATADIR%%/pi_http/cachedb_sql-mod
467
%%DATADIR%%/pi_http/cachedb_sql-table
468
%%DATADIR%%/pi_http/call_center-mod
469
%%DATADIR%%/pi_http/call_center-table
470
%%DATADIR%%/pi_http/carrierroute-mod
471
%%DATADIR%%/pi_http/carrierroute-table
472
%%DATADIR%%/pi_http/closeddial-mod
473
%%DATADIR%%/pi_http/closeddial-table
474
%%DATADIR%%/pi_http/clusterer-mod
475
%%DATADIR%%/pi_http/clusterer-table
476
%%DATADIR%%/pi_http/cpl-mod
477
%%DATADIR%%/pi_http/cpl-table
478
%%DATADIR%%/pi_http/dialog-mod
479
%%DATADIR%%/pi_http/dialog-table
480
%%DATADIR%%/pi_http/dialplan-mod
481
%%DATADIR%%/pi_http/dialplan-table
482
%%DATADIR%%/pi_http/dispatcher-mod
483
%%DATADIR%%/pi_http/dispatcher-table
484
%%DATADIR%%/pi_http/domain-mod
485
%%DATADIR%%/pi_http/domain-table
486
%%DATADIR%%/pi_http/domainpolicy-mod
487
%%DATADIR%%/pi_http/domainpolicy-table
488
%%DATADIR%%/pi_http/drouting-mod
489
%%DATADIR%%/pi_http/drouting-table
490
%%DATADIR%%/pi_http/emergency-mod
491
%%DATADIR%%/pi_http/emergency-table
492
%%DATADIR%%/pi_http/fraud_detection-mod
493
%%DATADIR%%/pi_http/fraud_detection-table
494
%%DATADIR%%/pi_http/group-mod
495
%%DATADIR%%/pi_http/group-table
496
%%DATADIR%%/pi_http/imc-mod
497
%%DATADIR%%/pi_http/imc-table
498
%%DATADIR%%/pi_http/load_balancer-mod
499
%%DATADIR%%/pi_http/load_balancer-table
500
%%DATADIR%%/pi_http/msilo-mod
501
%%DATADIR%%/pi_http/msilo-table
502
%%DATADIR%%/pi_http/permissions-mod
503
%%DATADIR%%/pi_http/permissions-table
504
%%DATADIR%%/pi_http/pi_framework-00
505
%%DATADIR%%/pi_http/pi_framework-01
506
%%DATADIR%%/pi_http/pi_framework-02
507
%%DATADIR%%/pi_http/pi_framework.xml
508
%%DATADIR%%/pi_http/pi_framework_example.xml
509
%%DATADIR%%/pi_http/presence-mod
510
%%DATADIR%%/pi_http/presence-table
511
%%DATADIR%%/pi_http/registrant-mod
512
%%DATADIR%%/pi_http/registrant-table
513
%%DATADIR%%/pi_http/registrar-mod
514
%%DATADIR%%/pi_http/registrar-table
515
%%DATADIR%%/pi_http/rls-mod
516
%%DATADIR%%/pi_http/rls-table
517
%%DATADIR%%/pi_http/rtpproxy-mod
518
%%DATADIR%%/pi_http/rtpproxy-table
519
%%DATADIR%%/pi_http/siptrace-mod
520
%%DATADIR%%/pi_http/siptrace-table
521
%%DATADIR%%/pi_http/speeddial-mod
522
%%DATADIR%%/pi_http/speeddial-table
523
%%DATADIR%%/pi_http/standard-mod
524
%%DATADIR%%/pi_http/standard-table
525
%%DATADIR%%/pi_http/tls_mgm-mod
526
%%DATADIR%%/pi_http/tls_mgm-table
527
%%DATADIR%%/pi_http/uri_db-mod
528
%%DATADIR%%/pi_http/uri_db-table
529
%%DATADIR%%/pi_http/userblacklist-mod
530
%%DATADIR%%/pi_http/userblacklist-table
531
%%DATADIR%%/pi_http/usrloc-mod
532
%%DATADIR%%/pi_http/usrloc-table
533
%%PGSQL%%%%DATADIR%%/postgres/acc-create.sql
534
%%PGSQL%%%%DATADIR%%/postgres/alias_db-create.sql
535
%%PGSQL%%%%DATADIR%%/postgres/auth_db-create.sql
536
%%PGSQL%%%%DATADIR%%/postgres/avpops-create.sql
537
%%PGSQL%%%%DATADIR%%/postgres/b2b-create.sql
538
%%PGSQL%%%%DATADIR%%/postgres/b2b_sca-create.sql
539
%%PGSQL%%%%DATADIR%%/postgres/cachedb_sql-create.sql
540
%%PGSQL%%%%DATADIR%%/postgres/call_center-create.sql
541
%%PGSQL%%%%DATADIR%%/postgres/carrierroute-create.sql
542
%%PGSQL%%%%DATADIR%%/postgres/closeddial-create.sql
543
%%PGSQL%%%%DATADIR%%/postgres/clusterer-create.sql
544
%%PGSQL%%%%DATADIR%%/postgres/cpl-create.sql
545
%%PGSQL%%%%DATADIR%%/postgres/dialog-create.sql
546
%%PGSQL%%%%DATADIR%%/postgres/dialplan-create.sql
547
%%PGSQL%%%%DATADIR%%/postgres/dispatcher-create.sql
548
%%PGSQL%%%%DATADIR%%/postgres/domain-create.sql
549
%%PGSQL%%%%DATADIR%%/postgres/domainpolicy-create.sql
550
%%PGSQL%%%%DATADIR%%/postgres/drouting-create.sql
551
%%PGSQL%%%%DATADIR%%/postgres/emergency-create.sql
552
%%PGSQL%%%%DATADIR%%/postgres/fraud_detection-create.sql
553
%%PGSQL%%%%DATADIR%%/postgres/group-create.sql
554
%%PGSQL%%%%DATADIR%%/postgres/imc-create.sql
555
%%PGSQL%%%%DATADIR%%/postgres/load_balancer-create.sql
556
%%PGSQL%%%%DATADIR%%/postgres/msilo-create.sql
557
%%PGSQL%%%%DATADIR%%/postgres/permissions-create.sql
558
%%PGSQL%%%%DATADIR%%/postgres/presence-create.sql
559
%%PGSQL%%%%DATADIR%%/postgres/registrant-create.sql
560
%%PGSQL%%%%DATADIR%%/postgres/registrar-create.sql
561
%%PGSQL%%%%DATADIR%%/postgres/rls-create.sql
562
%%PGSQL%%%%DATADIR%%/postgres/rtpproxy-create.sql
563
%%PGSQL%%%%DATADIR%%/postgres/siptrace-create.sql
564
%%PGSQL%%%%DATADIR%%/postgres/speeddial-create.sql
565
%%PGSQL%%%%DATADIR%%/postgres/standard-create.sql
566
%%PGSQL%%%%DATADIR%%/postgres/tls_mgm-create.sql
567
%%PGSQL%%%%DATADIR%%/postgres/uri_db-create.sql
568
%%PGSQL%%%%DATADIR%%/postgres/userblacklist-create.sql
569
%%PGSQL%%%%DATADIR%%/postgres/usrloc-create.sql
570
%%SQLITE%%%%DATADIR%%/sqlite/acc-create.sql
571
%%SQLITE%%%%DATADIR%%/sqlite/alias_db-create.sql
572
%%SQLITE%%%%DATADIR%%/sqlite/auth_db-create.sql
573
%%SQLITE%%%%DATADIR%%/sqlite/avpops-create.sql
574
%%SQLITE%%%%DATADIR%%/sqlite/b2b-create.sql
575
%%SQLITE%%%%DATADIR%%/sqlite/b2b_sca-create.sql
576
%%SQLITE%%%%DATADIR%%/sqlite/cachedb_sql-create.sql
577
%%SQLITE%%%%DATADIR%%/sqlite/call_center-create.sql
578
%%SQLITE%%%%DATADIR%%/sqlite/carrierroute-create.sql
579
%%SQLITE%%%%DATADIR%%/sqlite/closeddial-create.sql
580
%%SQLITE%%%%DATADIR%%/sqlite/clusterer-create.sql
581
%%SQLITE%%%%DATADIR%%/sqlite/cpl-create.sql
582
%%SQLITE%%%%DATADIR%%/sqlite/dialog-create.sql
583
%%SQLITE%%%%DATADIR%%/sqlite/dialplan-create.sql
584
%%SQLITE%%%%DATADIR%%/sqlite/dispatcher-create.sql
585
%%SQLITE%%%%DATADIR%%/sqlite/domain-create.sql
586
%%SQLITE%%%%DATADIR%%/sqlite/domainpolicy-create.sql
587
%%SQLITE%%%%DATADIR%%/sqlite/drouting-create.sql
588
%%SQLITE%%%%DATADIR%%/sqlite/emergency-create.sql
589
%%SQLITE%%%%DATADIR%%/sqlite/fraud_detection-create.sql
590
%%SQLITE%%%%DATADIR%%/sqlite/group-create.sql
591
%%SQLITE%%%%DATADIR%%/sqlite/imc-create.sql
592
%%SQLITE%%%%DATADIR%%/sqlite/load_balancer-create.sql
593
%%SQLITE%%%%DATADIR%%/sqlite/msilo-create.sql
594
%%SQLITE%%%%DATADIR%%/sqlite/permissions-create.sql
595
%%SQLITE%%%%DATADIR%%/sqlite/presence-create.sql
596
%%SQLITE%%%%DATADIR%%/sqlite/registrant-create.sql
597
%%SQLITE%%%%DATADIR%%/sqlite/registrar-create.sql
598
%%SQLITE%%%%DATADIR%%/sqlite/rls-create.sql
599
%%SQLITE%%%%DATADIR%%/sqlite/rtpproxy-create.sql
600
%%SQLITE%%%%DATADIR%%/sqlite/siptrace-create.sql
601
%%SQLITE%%%%DATADIR%%/sqlite/speeddial-create.sql
602
%%SQLITE%%%%DATADIR%%/sqlite/standard-create.sql
603
%%SQLITE%%%%DATADIR%%/sqlite/tls_mgm-create.sql
604
%%SQLITE%%%%DATADIR%%/sqlite/uri_db-create.sql
605
%%SQLITE%%%%DATADIR%%/sqlite/userblacklist-create.sql
606
%%SQLITE%%%%DATADIR%%/sqlite/usrloc-create.sql
607
%%TESTS%%tests/opensips/1.sh
296
%%TESTS%%tests/opensips/1.sh
608
%%TESTS%%tests/opensips/10.sh
609
%%TESTS%%tests/opensips/11.cfg
297
%%TESTS%%tests/opensips/11.cfg
610
%%TESTS%%tests/opensips/11.sh
298
%%TESTS%%tests/opensips/11.sh
611
%%TESTS%%tests/opensips/12.cfg
299
%%TESTS%%tests/opensips/12.cfg
Lines 616-622 Link Here
616
%%TESTS%%tests/opensips/14.sh
304
%%TESTS%%tests/opensips/14.sh
617
%%TESTS%%tests/opensips/15.sh
305
%%TESTS%%tests/opensips/15.sh
618
%%TESTS%%tests/opensips/16.sh
306
%%TESTS%%tests/opensips/16.sh
619
%%TESTS%%tests/opensips/17.sh
620
%%TESTS%%tests/opensips/18.sh
307
%%TESTS%%tests/opensips/18.sh
621
%%TESTS%%tests/opensips/19.cfg
308
%%TESTS%%tests/opensips/19.cfg
622
%%TESTS%%tests/opensips/19.sh
309
%%TESTS%%tests/opensips/19.sh
Lines 628-634 Link Here
628
%%TESTS%%tests/opensips/21.sh
315
%%TESTS%%tests/opensips/21.sh
629
%%TESTS%%tests/opensips/22.sh
316
%%TESTS%%tests/opensips/22.sh
630
%%TESTS%%tests/opensips/23.sh
317
%%TESTS%%tests/opensips/23.sh
631
%%TESTS%%tests/opensips/24.sh
632
%%TESTS%%tests/opensips/25.cfg
318
%%TESTS%%tests/opensips/25.cfg
633
%%TESTS%%tests/opensips/25.sh
319
%%TESTS%%tests/opensips/25.sh
634
%%TESTS%%tests/opensips/26.cfg
320
%%TESTS%%tests/opensips/26.cfg
Lines 637-643 Link Here
637
%%TESTS%%tests/opensips/28.cfg
323
%%TESTS%%tests/opensips/28.cfg
638
%%TESTS%%tests/opensips/28.sh
324
%%TESTS%%tests/opensips/28.sh
639
%%TESTS%%tests/opensips/29.sh
325
%%TESTS%%tests/opensips/29.sh
640
%%TESTS%%tests/opensips/3.sh
641
%%TESTS%%tests/opensips/30.cfg
326
%%TESTS%%tests/opensips/30.cfg
642
%%TESTS%%tests/opensips/30.sh
327
%%TESTS%%tests/opensips/30.sh
643
%%TESTS%%tests/opensips/31.sh
328
%%TESTS%%tests/opensips/31.sh
Lines 654-661 Link Here
654
%%TESTS%%tests/opensips/6.sh
339
%%TESTS%%tests/opensips/6.sh
655
%%TESTS%%tests/opensips/7.cfg
340
%%TESTS%%tests/opensips/7.cfg
656
%%TESTS%%tests/opensips/7.sh
341
%%TESTS%%tests/opensips/7.sh
657
%%TESTS%%tests/opensips/8.sh
658
%%TESTS%%tests/opensips/9.sh
659
%%TESTS%%tests/opensips/Makefile
342
%%TESTS%%tests/opensips/Makefile
660
%%TESTS%%tests/opensips/README
343
%%TESTS%%tests/opensips/README
661
%%TESTS%%tests/opensips/carrierroute-2.cfg
344
%%TESTS%%tests/opensips/carrierroute-2.cfg
Lines 673-683 Link Here
673
%%TESTS%%tests/opensips/register.sip
356
%%TESTS%%tests/opensips/register.sip
674
%%TESTS%%tests/opensips/subscribe_notify.csv
357
%%TESTS%%tests/opensips/subscribe_notify.csv
675
%%TESTS%%tests/opensips/subscribe_notify_scenario.xml
358
%%TESTS%%tests/opensips/subscribe_notify_scenario.xml
359
%%TESTS%%tests/opensips/unit_tests.c
360
%%TESTS%%tests/opensips/unit_tests.h
676
%%TESTS%%tests/opensips/unregister.sip
361
%%TESTS%%tests/opensips/unregister.sip
677
@mode 600
678
@sample %%ETCDIR%%/opensipsctlrc.sample
679
@sample %%ETCDIR%%/osipsconsolerc.sample
680
%%RADIUS%%@sample %%ETCDIR%%/dictionary.opensips.sample
362
%%RADIUS%%@sample %%ETCDIR%%/dictionary.opensips.sample
681
@owner opensips
363
@owner opensips
682
@group opensips
364
@group opensips
683
@sample %%ETCDIR%%/opensips.cfg.sample
365
@sample %%ETCDIR%%/opensips.cfg.sample
366
%%ETCDIR%%/scenario_callcenter.xml

Return to bug 244594