diff -ruN /usr/ports/net/opensips.old.2.2.6_6/Makefile /usr/ports/net/opensips/Makefile --- /usr/ports/net/opensips.old.2.2.6_6/Makefile 2019-11-21 14:27:39.000000000 -0500 +++ /usr/ports/net/opensips/Makefile 2020-03-04 08:13:59.651366000 -0500 @@ -2,8 +2,8 @@ # $FreeBSD: head/net/opensips/Makefile 518107 2019-11-21 19:27:39Z osa $ PORTNAME= opensips -DISTVERSION= 2.2.6 -PORTREVISION= 6 +DISTVERSION= 3.0.2 +PORTREVISION= 0 CATEGORIES= net MASTER_SITES= http://opensips.org/pub/opensips/${PORTVERSION}/ @@ -16,7 +16,6 @@ LIB_DEPENDS= libxml2.so:textproc/libxml2 \ libxmlrpc.so:net/xmlrpc-c \ libpcre.so:devel/pcre \ - libconfuse.so:devel/libconfuse \ librabbitmq.so:net/rabbitmq-c-devel \ libhiredis.so:databases/hiredis \ libexpat.so:textproc/expat2 \ @@ -25,7 +24,8 @@ BUILD_DEPENDS= ginstall:sysutils/coreutils \ gtar:archivers/gtar \ gm4:devel/m4 \ - redis-server:databases/redis + redis-server:databases/redis \ + flex:textproc/flex RUN_DEPENDS= ${LOCALBASE}/bin/bash:shells/bash \ ${LOCALBASE}/bin/grep:textproc/gnugrep @@ -37,19 +37,23 @@ USERS= opensips GROUPS= opensips -USES= gmake ncurses perl5 pkgconfig python:2.7 shebangfix ssl +USES= gmake bison ncurses perl5 pkgconfig python \ + shebangfix ssl USE_RC_SUBR= opensips USE_GCC= yes +LDFLAGS+= -pthread + NOPRECIOUSMAKEVARS= yes OPTIONS_DEFINE= DEBUG DOCS EXAMPLES HTTP LDAP MEMCACHED MYSQL \ - PGSQL RADIUS TESTS TLS UNIXODBC SQLITE + PGSQL RADIUS SCTP TESTS TLS UNIXODBC SQLITE OPTIONS_DEFAULT= HTTP LDAP MEMCACHED PGSQL RADIUS TLS OPTIONS_SUB= yes HTTP_DESC= Enable HTTP transport via libmicrohttpd MEMCACHED_DESC= Build with memcached support +SCTP_DESC= SCTP support TESTS_DESC= Install smoke tests LDAP_USE= OPENLDAP=client @@ -63,93 +67,10 @@ UNIXODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC SQLITE_LIB_DEPENDS= libsqlite3.so:databases/sqlite3 -SHEBANG_FILES= ccopts.sh \ - ccver.sh \ - examples/ctd.sh \ - modules/jabber/doc/jabberreg.pl \ - modules/seas/doc/xml2sgml.sh \ - modules/sipcapture/examples/partrotate_unixtimestamp.pl \ - packaging/debian/rules \ - packaging/freebsd/files/pkg-deinstall.in \ - packaging/freebsd/files/pkg-install.in \ - packaging/gentoo/opensips.init \ - packaging/redhat_fedora/opensips.init \ - packaging/redhat_fedora/opensips-m4cfg \ - packaging/rpm/opensips.init \ - packaging/solaris/berkeley-postinstall \ - packaging/solaris/berkeley-preinstall \ - packaging/solaris/carrierroute-postinstall \ - packaging/solaris/carrierroute-preinstall \ - packaging/solaris/identity-postinstall \ - packaging/solaris/identity-preinstall \ - packaging/solaris/ldap-postinstall \ - packaging/solaris/ldap-preinstall \ - packaging/solaris/mmgeoip-preinstall \ - packaging/solaris/mysql-postinstall \ - packaging/solaris/mysql-preinstall \ - packaging/solaris/pgsql-postinstall \ - packaging/solaris/pgsql-preinstall \ - packaging/solaris/regex-postinstall \ - packaging/solaris/regex-preinstall \ - packaging/solaris/snmp-postinstall \ - packaging/solaris/snmp-preinstall \ - packaging/solaris/xmlrpc-postinstall \ - packaging/solaris/xmlrpc-preinstall \ - scripts/dbtextdb/__init__.py \ - scripts/dbtextdb/dbtextdb.py \ - scripts/dbtextdb/dbtextdb_test.py \ - scripts/opensipsctl \ - scripts/opensipsctl.oracle \ - scripts/opensipsdbctl \ - scripts/opensipsdbctl.oracle \ - scripts/opensipsdbfunc.oracle \ - scripts/osipsconsole \ - test/1.sh \ - test/10.sh \ - test/11.sh \ - test/12.sh \ - test/13.sh \ - test/14.sh \ - test/15.sh \ - test/16.sh \ - test/17.sh \ - test/18.sh \ - test/19.sh \ - test/2.sh \ - test/20.sh \ - test/21.sh \ - test/22.sh \ - test/23.sh \ - test/24.sh \ - test/25.sh \ - test/26.sh \ - test/27.sh \ - test/28.sh \ - test/29.sh \ - test/3.sh \ - test/30.sh \ - test/31.sh \ - test/32.sh \ - test/33.sh \ - test/34.sh \ - test/35.sh \ - test/4.sh \ - test/5.sh \ - test/6.sh \ - test/7.sh \ - test/8.sh \ - test/9.sh \ - utils/fifo_relay/fifo_server.php \ - utils/profile/launch.sh -python_CMD= ${LOCALBASE}/bin/python2.7 +SHEBANG_GLOB= *.sh *.pl *.py *.php .include -.if ${SSL_DEFAULT} == base -BROKEN_FreeBSD_12= storage size of 'ctx' isn't known -BROKEN_FreeBSD_13= storage size of 'ctx' isn't known -.endif - .if ${PORT_OPTIONS:MHTTP} EXTRA_MODULES+= httpd .endif @@ -178,6 +99,10 @@ EXTRA_MODULES+= db_unixodbc .endif +.if ${PORT_OPTIONS:MSCTP} +EXTRA_MODULES+= sctp +.endif + .if ${PORT_OPTIONS:MTLS} EXTRA_MODULES+= proto_tls proto_wss tls_mgm .endif @@ -186,11 +111,8 @@ EXTRA_MODULES+= db_sqlite .endif -OPENSIPS_MAKE_ENV= CC="${CC}" CXX="${CXX}" CPP="${CPP}" _GCC_RUNTIME="${_GCC_RUNTIME}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" PYTHON=${PYTHON_CMD} +OPENSIPS_MAKE_ENV= CC="${CC}" CXX="${CXX}" CPP="${CPP}" _GCC_RUNTIME="${_GCC_RUNTIME}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" PYTHON="${PYTHON_CMD}" -post-patch: - @${RM} ${WRKSRC}/modules/json/array_del.c - do-configure: @(cp files/Makefile.conf ${WRKSRC}) @@ -210,10 +132,6 @@ do-install: cd ${WRKSRC} && ${OPENSIPS_MAKE_ENV} ${GMAKE} ${INSTALL_TARGET} - @${REINPLACE_CMD} -e "s|^# MD5=.*|MD5=\"md5\"|" ${STAGEDIR}${PREFIX}/etc/opensips/opensipsctlrc.sample - @${REINPLACE_CMD} -e "s|^# GREP=.*|GREP=\"${LOCALBASE}/bin/grep\"|" ${STAGEDIR}${PREFIX}/etc/opensips/opensipsctlrc.sample - @${REINPLACE_CMD} -e "s|^# MD5=.*|MD5=\"md5\"|" ${STAGEDIR}${PREFIX}/etc/opensips/osipsconsolerc.sample - @${REINPLACE_CMD} -e "s|^# GREP=.*|GREP=\"${LOCALBASE}/bin/egrep\"|" ${STAGEDIR}${PREFIX}/etc/opensips/osipsconsolerc.sample (cp ${FILESDIR}/opensips.cfg.sample ${STAGEDIR}${ETCDIR}/opensips.cfg.sample) do-install-TESTS-on: @@ -223,16 +141,16 @@ (cp -r ${WRKSRC}/examples ${STAGEDIR}${PREFIX}/share/examples/opensips) post-install: - @cd ${STAGEDIR}${PREFIX}/sbin && ${STRIP_CMD} opensips osipsconfig opensipsunix + @cd ${STAGEDIR}${PREFIX}/sbin && ${STRIP_CMD} opensips osipsconfig @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/opensips/modules/*.so post-install-RADIUS-on: - (mv ${STAGEDIR}${ETCDIR}/dictionary.opensips ${STAGEDIR}${ETCDIR}/dictionary.opensips.sample) + (mv ${WRKSRC}/etc/dictionary.opensips ${STAGEDIR}${ETCDIR}/dictionary.opensips.sample) # Strip binaries in sbin @${ECHO_CMD} "Stripping binaries in ${STAGEDIR}${PREFIX}/sbin/" -.for i in opensipsunix opensips osipsconfig +.for i in opensips osipsconfig @if [ -e ${STAGEDIR}${PREFIX}/sbin/${i} ]; then \ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/${i}; \ fi diff -ruN /usr/ports/net/opensips.old.2.2.6_6/distinfo /usr/ports/net/opensips/distinfo --- /usr/ports/net/opensips.old.2.2.6_6/distinfo 2018-03-23 22:12:19.000000000 -0400 +++ /usr/ports/net/opensips/distinfo 2020-03-04 06:13:44.879872000 -0500 @@ -1,3 +1,3 @@ -TIMESTAMP = 1520992193 -SHA256 (opensips-2.2.6.tar.gz) = a48323435e656f6e8de6ff82ef08a55665e2331fc5ad009bf3a2ddc883906e7f -SIZE (opensips-2.2.6.tar.gz) = 9154213 +TIMESTAMP = 1583320424 +SHA256 (opensips-3.0.2.tar.gz) = b780ee14288fad9145f7943f09a0de1bb8414598a511dec826d5fad86c869dcc +SIZE (opensips-3.0.2.tar.gz) = 10072210 diff -ruN /usr/ports/net/opensips.old.2.2.6_6/files/Makefile.conf /usr/ports/net/opensips/files/Makefile.conf --- /usr/ports/net/opensips.old.2.2.6_6/files/Makefile.conf 2018-03-23 22:12:19.000000000 -0400 +++ /usr/ports/net/opensips/files/Makefile.conf 2019-06-21 00:10:09.307971000 -0400 @@ -1,94 +1,100 @@ -#aaa_radius= Radius implementation for the AAA API from the core | Radius client development library, tipically radiusclient-ng 0.5.0 or higher +#aaa_radius= Radius implementation for the AAA API from the core | Radius client development library, typically radiusclient-ng 0.5.0 or higher #b2b_logic= Logic engine of B2BUA, responsible of actually implementing the B2BUA services | xml parsing development library, typically libxml2-dev #cachedb_cassandra= Implementation of a cache system designed to work with Cassandra servers | thrift 0.6.1 #cachedb_couchbase= Implementation of a cache system designed to work with CouchBase servers | libcouchbase >= 2.0 -#cachedb_memcached= Implementation of a cache system designed to work with a memcached server. | Memcached client library, tipically libmemcached +#cachedb_memcached= Implementation of a cache system designed to work with a memcached server. | Memcached client library, typically libmemcached #cachedb_mongodb= Implementation of a cache system designed to work with a MongoDB server. | libjson and the mongo-c-driver #cachedb_redis= Implementation of a cache system designed to work with Redis servers | Redis client library, hiredis #carrierroute= Provides routing, balancing and blacklisting capabilities. | libconfuse, a configuration file parser library -#compression= Implements SIP message compression/decompression and base64 encoding | zlib dev library, tipically zlib1g-dev -#cpl_c= Implements a CPL (Call Processing Language) interpreter | library for parsing XML files, tipically libxml2 and libxml2-devel +#cgrates= Provides integration with the CGRateS billing/rating engine. | JSON library, libjson +#compression= Implements SIP message compression/decompression and base64 encoding | zlib dev library, typically zlib1g-dev +#cpl_c= Implements a CPL (Call Processing Language) interpreter | library for parsing XML files, typically libxml2 and libxml2-devel #db_berkeley= Integrates the Berkeley DB into OpenSIPS | Berkeley embedded database #db_http= Provides access to a database that is implemented as a HTTP server. | CURL library - libcurl -#db_mysql= Provides MySQL connectivity for OpenSIPS | development libraries of mysql-client , tipically libmysqlclient-dev -#db_oracle= Provides Oracle connectivity for OpenSIPS. | Development library of OCI, tipically instantclient-sdk-10.2.0.3 -#db_perlvdb= Provides a virtualization framework for OpenSIPS's database access. | Perl library development files, tipically libperl-dev -#db_postgres= Provides Postgres connectivity for OpenSIPS | PostgreSQL library and development library - tipically libpq5 and libpq-dev -#db_sqlite= Provides SQLite connectivity for OpenSIPS | SQLite library and development library - tipically libsqlite3 and libsqlite3-dev +#db_mysql= Provides MySQL connectivity for OpenSIPS | development libraries of mysql-client , typically libmysqlclient-dev +#db_oracle= Provides Oracle connectivity for OpenSIPS. | Development library of OCI, typically instantclient-sdk-10.2.0.3 +#db_perlvdb= Provides a virtualization framework for OpenSIPS's database access. | Perl library development files, typically libperl-dev +#db_postgres= Provides Postgres connectivity for OpenSIPS | PostgreSQL library and development library - typically libpq5 and libpq-dev +#db_sqlite= Provides SQLite connectivity for OpenSIPS | SQLite library and development library - typically libsqlite3 and libsqlite3-dev #db_unixodbc= Allows to use the unixodbc package with OpenSIPS | ODBC library and ODBC development library -#dialplan= Implements generic string translations based on matching and replacement rules | PCRE development library, tipically libpcre-dev -#emergency= Provides emergency call treatment for OpenSIPS | CURL dev library - tipically libcurl4-openssl-dev +#dialplan= Implements generic string translations based on matching and replacement rules | PCRE development library, typically libpcre-dev +#emergency= Provides emergency call treatment for OpenSIPS | CURL dev library - typically libcurl4-openssl-dev #event_rabbitmq= Provides the implementation of a RabbitMQ client for the Event Interface | RabbitMQ development library, librabbitmq-dev -#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 -#regex= Offers matching operations against regular expressions using the powerful PCRE library. | Development library for PCRE, tipically libpcre-dev -#identity= Adds support for SIP Identity (see RFC 4474). | SSL library, tipically libssl +#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 +#regex= Offers matching operations against regular expressions using the powerful PCRE library. | Development library for PCRE, typically libpcre-dev +#identity= Adds support for SIP Identity (see RFC 4474). | SSL library, typically libssl #jabber= Integrates XODE XML parser for parsing Jabber messages | Expat library. #json= Introduces a new type of variable that provides both serialization and de-serialization from JSON format. | JSON library, libjson -#ldap= Implements an LDAP search interface for OpenSIPS | OpenLDAP library & development files, tipically libldap and libldap-dev +#ldap= Implements an LDAP search interface for OpenSIPS | OpenLDAP library & development files, typically libldap and libldap-dev #lua= Easily implement your own OpenSIPS extensions in Lua | liblua5.1-0-dev, libmemcache-dev and libmysqlclient-dev #httpd= Provides an HTTP transport layer implementation for OpenSIPS. | libmicrohttpd -#mi_xmlrpc_ng= New version of the xmlrpc server that handles xmlrpc requests and generates xmlrpc responses. | parsing/building XML library, tipically libxml +#mi_xmlrpc_ng= New version of the xmlrpc server that handles xmlrpc requests and generates xmlrpc responses. | parsing/building XML library, typically libxml #mmgeoip= Lightweight wrapper for the MaxMind GeoIP API | libGeoIP -#osp= Enables OpenSIPS to support secure, multi-lateral peering using the OSP standard | OSP development kit, tipically osptoolkit -#perl= Easily implement your own OpenSIPS extensions in Perl | Perl library development files, tipically libperl-dev -#pi_http= Provides a simple web database provisioning interface | XML parsing & building library, tipically libxml-dev -#proto_sctp= Provides support for SCTP listeners in OpenSIPS | SCTP development library, tipically libsctp-dev -#proto_tls= Provides support for TLS listeners in OpenSIPS | SSL development library, tipically libssl-dev -#proto_wss= Provides support for Secure WebSocket listeners in OpenSIPS | SSL development library, tipically libssl-dev -#presence= Handles PUBLISH and SUBSCRIBE messages and generates NOTIFY messages in a general, event independent way | XML parsing & Building library, tipically libxml-dev -#presence_dialoginfo= Enables the handling of "Event: dialog" (as defined in RFC 4235) | XML parsing & building library, tipically libxml-dev -#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 -#presence_xml= Does specific handling for notify-subscribe events using xml bodies. | XML parsing & building library, tipically libxml-dev -#pua= Offers the functionality of a presence user agent client, sending Subscribe and Publish messages. | XML parsing & building library, tipically libxml-dev -#pua_bla= Enables Bridged Line Appearances support according | XML parsing & building library, tipically libxml-dev -#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 -#pua_mi= Offers the possibility to publish presence information and subscribe to presence information via MI transports. | XML parsing & building library,tipically libxml-dev -#pua_usrloc= Connector between usrloc and pua modules. | XML parsing & building library,tipically libxml-dev -#pua_xmpp= Gateway for presence between SIP and XMPP. | XML parsing & building library,tipically libxml-dev +#osp= Enables OpenSIPS to support secure, multi-lateral peering using the OSP standard | OSP development kit, typically osptoolkit +#perl= Easily implement your own OpenSIPS extensions in Perl | Perl library development files, typically libperl-dev +#pi_http= Provides a simple web database provisioning interface | XML parsing & building library, typically libxml-dev +#rabbitmq= Provides functions to publish messages to a RabbitMQ server | RabbitMQ development library, librabbitmq-dev +#rabbitmq_consumer= Receive AMQP messages which will be delivered by triggering events | RabbitMQ development library, librabbitmq-dev +#proto_sctp= Provides support for SCTP listeners in OpenSIPS | SCTP development library, typically libsctp-dev +#proto_tls= Provides support for TLS listeners in OpenSIPS | SSL development library, typically libssl-dev +#proto_wss= Provides support for Secure WebSocket listeners in OpenSIPS | SSL development library, typically libssl-dev +#presence= Handles PUBLISH and SUBSCRIBE messages and generates NOTIFY messages in a general, event independent way | XML parsing & Building library, typically libxml-dev +#presence_dialoginfo= Enables the handling of "Event: dialog" (as defined in RFC 4235) | XML parsing & building library, typically libxml-dev +#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 +#presence_xml= Does specific handling for notify-subscribe events using xml bodies. | XML parsing & building library, typically libxml-dev +#pua= Offers the functionality of a presence user agent client, sending Subscribe and Publish messages. | XML parsing & building library, typically libxml-dev +#pua_bla= Enables Bridged Line Appearances support according | XML parsing & building library, typically libxml-dev +#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 +#pua_mi= Offers the possibility to publish presence information and subscribe to presence information via MI transports. | XML parsing & building library,typically libxml-dev +#pua_usrloc= Connector between usrloc and pua modules. | XML parsing & building library,typically libxml-dev +#pua_xmpp= Gateway for presence between SIP and XMPP. | XML parsing & building library,typically libxml-dev #python= Easily implement your own OpenSIPS extensions in Python | Shared Python runtime library, libpython #rest_client= Simple HTTP client | CURL library - libcurl -#rls= Resource List Server implementation following the specification in RFC 4662 and RFC 4826 | parsing/building XML library, tipically libxml-dev +#rls= Resource List Server implementation following the specification in RFC 4662 and RFC 4826 | parsing/building XML library, typically libxml-dev #sngtc= Voice Transcoding using the D-series Sangoma transcoding cards | libsngtc_node +#siprec= SIP Call Recording to an external/passive recorder | uuid-dev #snmpstats= Provides an SNMP management interface to OpenSIPS | NetSNMP v5.3 -#tls_mgm= Provides a TLS interface to manage certificates for OpenSIPS | SSL development library, tipically libssl-dev +#tls_mgm= Provides a TLS interface to manage certificates for OpenSIPS | SSL development library, typically libssl-dev #xcap= XCAP utility functions for OpenSIPS. | libxml-dev #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 -#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 +#xml= Introduces a new type of variable that provides both serialization and de-serialization from XML format. | XML library, libxml2-dev +#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 -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 +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 -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 +include_modules?= -#DEFS_GROUP_START -DEFS+= -DPKG_MALLOC #Uses a faster malloc -#DEFS+= -DUSE_SHM_MEM #All PKG allocations are mapped to SHM -#DEFS_GROUP_END +DEFS+= -DPKG_MALLOC #Use a faster malloc DEFS+= -DSHM_MMAP #Use mmap instead of SYSV shared memory DEFS+= -DUSE_MCAST #Compile in support for IP Multicast -DEFS+= -DDISABLE_NAGLE #Disabled the TCP NAgle Algorithm ( lower delay ) -DEFS+= -DSTATISTICS #Enables the statistics manager +DEFS+= -DDISABLE_NAGLE #Disable the TCP NAgle Algorithm ( lower delay ) +DEFS+= -DSTATISTICS #Enable the statistics manager DEFS+= -DHAVE_RESOLV_RES #Support for changing some of the resolver parameters -#DEFS_GROUP_START -##DEFS+= -DVQ_MALLOC #Very quick & wasteful mem allocator (currently disabled) -#DEFS+= -DQM_MALLOC #Quality assurance memory allocator with runtime safety checks +# Specifying exactly 1 allocator will cause it to be inlined (fastest) DEFS+= -DF_MALLOC #Fast memory allocator with minimal runtime overhead -#DEFS+= -DHP_MALLOC #High performance allocator with fine-grained locking +DEFS+= -DQ_MALLOC #Quality assurance memory allocator with runtime safety checks +DEFS+= -DHP_MALLOC #High performance allocator with fine-grained locking +DEFS+= -DDBG_MALLOC #Include additional, debug-enabled allocator flavors +#DEFS+= -DNO_DEBUG #Compile out all debug messages +#DEFS+= -DNO_LOG #Compile out all logging +#DEFS_GROUP_START +#DEFS+= -DFAST_LOCK #Use fast architecture specific locking +#DEFS+= -DUSE_SYSV_SEM #Use SYSV sems for locking ( slower & limited number of locks +#DEFS+= -DUSE_PTHREAD_MUTEX #Use pthread mutexes for locking +#DEFS+= -DUSE_UMUTEX #Use FreeBSD-specific low-level mutexes for locking +#DEFS+= -DUSE_POSIX_SEM #Use POSIX sems for locking #DEFS_GROUP_END -#DEFS+= -DDBG_MALLOC #Enables debugging for memory allocators -#DEFS+= -DF_MALLOC_OPTIMIZATIONS #Remove all safety checks in F_MALLOC -#DEFS+= -DNO_DEBUG #Turns off all debug messages -#DEFS+= -DNO_LOG #Completely turns off all the logging -#DEFS+= -DFAST_LOCK #Uses fast architecture specific locking -#DEFS+= -DUSE_FUTEX #Uses linux futexs with fast architecture specific locking -#DEFS+= -DUSE_SYSV_SEM #Uses SYSV sems for locking ( slower & limited number of locks -#DEFS+= -DUSE_PTHREAD_MUTEX #Uses pthread mutexes for locking -#DEFS+= -DUSE_POSIX_SEM #Uses POSIX sems for locking -#DEFS+= -DBUSY_WAIT #Uses busy waiting on the lock +#DEFS+= -DUSE_FUTEX #Use linux futexes with fast architecture specific locking +#DEFS+= -DBUSY_WAIT #Use busy waiting on the lock #DEFS+= -DDBG_LOCK #Attach debug info to all lock structures -#DEFS+= -DNOSMP #Do not use SMP sompliant locking. Faster but won't work on SMP machines -#DEFS+= -DEXTRA_DEBUG #Compiles in some extra debugging code -#DEFS+= -DORACLE_USRLOC #Uses Oracle compatible queries for USRLOC -#DEFS+= -DSHM_EXTRA_STATS #Needed when using the mem-group core parameter +#DEFS+= -DDBG_STRUCT_HIST #Include support for struct history logging +#DEFS+= -DDBG_TCPCON #Attach struct history info to all TCP connections +#DEFS+= -DNOSMP #Do not use SMP compliant locking. Faster but won't work on SMP machines +#DEFS+= -DEXTRA_DEBUG #Compile in some extra debugging code +#DEFS+= -DCC_O0 #Zero compiler optimizations (FAST compile, SLOW code. For devs) +#DEFS+= -DORACLE_USRLOC #Use Oracle compatible queries for USRLOC +#DEFS+= -DSHM_EXTRA_STATS #Provide tools to get extra statistics for the shared memory used +#DEFS+= -DUNIT_TESTS #Include unit testing code into opensips and modules PREFIX=_PREFIX_ BASEDIR=_STAGE_DIR_ diff -ruN /usr/ports/net/opensips.old.2.2.6_6/files/opensips.cfg.sample /usr/ports/net/opensips/files/opensips.cfg.sample --- /usr/ports/net/opensips.old.2.2.6_6/files/opensips.cfg.sample 2018-03-23 22:12:19.000000000 -0400 +++ /usr/ports/net/opensips/files/opensips.cfg.sample 2019-06-21 15:53:56.037689000 -0400 @@ -1,17 +1,18 @@ # # OpenSIPS residential configuration script +# by OpenSIPS Solutions # -# This script was originally generated via -# 'CC=gcc6 gmake menuconfig', from the "Residential" scenario. +# This script was generated via "gmake CC=gcc8 menuconfig", from +# the "Residential" scenario. # You can enable / disable more features / functionalities by -# re-generating the scenario with different options. +# re-generating the scenario with different options.# # # To generate an opensips script in FreeBSD, run the following commands, # after installing the port / package. # $ cd /usr/ports/net/opensips # $ make patch # $ cd work/opensips-*/ -# $ CC=gcc6 gmake menuconfig +# $ gmake CC=gcc8 menuconfig # $ ls tmp/ # # As the FreeBSD port maintainer, I have tailored it a little @@ -21,8 +22,8 @@ # the db_url variables throughout this script. # # Please refer to the Core CookBook at: -# http://www.opensips.org/Resources/DocsCookbooks -# for an explanation of possible statements, functions and parameters. +# http://www.opensips.org/Resources/DocsCookbooks +# for a explanation of possible statements, functions and parameters. # @@ -46,10 +47,11 @@ #dns_try_ipv6=yes /* comment the next line to enable the auto discovery of local aliases - based on revers DNS on IPs */ + based on reverse DNS on IPs */ auto_aliases=no +#listen=udp:127.0.0.1:5060 # CUSTOMIZE ME listen=udp:192.168.10.12:5060 # CUSTOMIZE ME listen=tcp:192.168.10.12:5060 # CUSTOMIZE ME listen=tls:192.168.10.12:5061 # CUSTOMIZE ME @@ -94,14 +96,10 @@ modparam("mi_fifo", "fifo_name", "/tmp/opensips_fifo") modparam("mi_fifo", "fifo_mode", 0666) - #### URI module loadmodule "uri.so" modparam("uri", "use_uri_table", 0) - - - #### PGSQL module loadmodule "db_postgres.so" @@ -115,11 +113,12 @@ #### USeR LOCation module loadmodule "usrloc.so" modparam("usrloc", "nat_bflag", "NAT") +modparam("usrloc", "nat_bflag", "NAT") modparam("usrloc", "db_mode", 2) modparam("usrloc", "db_url", "postgres://dbuser:dbpass@dbhostname/dbname") # CUSTOMIZE ME #modparam("usrloc", "hash_size", 11) # increases size of userloc hash table +#modparam("usrloc", "working_mode_preset", "single-instance-no-db") - #### REGISTRAR module loadmodule "registrar.so" modparam("registrar", "tcp_persistent_flag", "TCP_PERSISTENT") @@ -133,13 +132,11 @@ modparam("acc", "early_media", 0) modparam("acc", "report_cancels", 0) /* by default we do not adjust the direct of the sequential requests. - if you enable this parameter, be sure the enable "append_fromtag" + if you enable this parameter, be sure to enable "append_fromtag" in "rr" module */ modparam("acc", "detect_direction", 0) modparam("acc", "db_url", "postgres://dbuser:dbpass@dbhostname/dbname") # CUSTOMIZE ME - - #### AUTHentication modules loadmodule "auth.so" loadmodule "auth_db.so" @@ -148,22 +145,16 @@ modparam("auth_db", "db_url", "postgres://dbuser:dbpass@dbhostname/dbname") # CUSTOMIZE ME modparam("auth_db", "load_credentials", "") - - #### ALIAS module loadmodule "alias_db.so" modparam("alias_db", "db_url", "postgres://dbuser:dbpass@dbhostname/dbname") # CUSTOMIZE ME - - #### DOMAIN module loadmodule "domain.so" modparam("domain", "db_url", "postgres://dbuser:dbpass@dbhostname/dbname") # CUSTOMIZE ME modparam("domain", "db_mode", 1) # Use caching modparam("auth_db|usrloc|uri", "use_domain", 1) - - #### PRESENCE modules loadmodule "xcap.so" loadmodule "presence.so" @@ -172,11 +163,10 @@ modparam("presence_xml", "force_active", 1) modparam("presence", "server_address", "sip:127.0.0.1:5060") # CUSTOMIZE ME #modparam("presence", "subs_htable_size", 11) # increases size of presence subs hash table -#modparam("presence", "pres_htable_size", 11) # increases size of presence pres hash table +#modparam("presence", "pres_htable_size", 11) # increases size of presence subs hash table #modparam("presence", "max_expires_subscribe", 600) #modparam("presence", "max_expires_publish", 600) - #### DIALOG module loadmodule "dialog.so" modparam("dialog", "dlg_match_mode", 1) @@ -184,8 +174,6 @@ modparam("dialog", "db_mode", 2) modparam("dialog", "db_url", "postgres://dbuser:dbpass@dbhostname/dbname") # CUSTOMIZE ME - - #### NAT modules loadmodule "nathelper.so" modparam("nathelper", "natping_interval", 10) @@ -195,35 +183,27 @@ modparam("nathelper", "received_avp", "$avp(received_nh)") loadmodule "rtpproxy.so" -modparam("rtpproxy", "rtpproxy_sock", "udp:localhost:12221") # CUSTOMIZE ME (make sure rtpproxy port matches server) +modparam("rtpproxy", "rtpproxy_sock", "udp:localhost:12221") # CUSTOMIZE ME - #### DIALPLAN module loadmodule "dialplan.so" modparam("dialplan", "db_url", "postgres://dbuser:dbpass@dbhostname/dbname") # CUSTOMIZE ME - - #### DYNAMMIC ROUTING module loadmodule "drouting.so" modparam("drouting", "db_url", "postgres://dbuser:dbpass@dbhostname/dbname") # CUSTOMIZE ME - - #### MI_HTTP module #loadmodule "mi_http.so" - #### UDP module loadmodule "proto_udp.so" - #### TCP module loadmodule "proto_tcp.so" #modparam("proto_tcp", "tcp_send_timeout", 200) #modparam("proto_tcp", "tcp_max_msg_chunks", 8) - #### TLS modules loadmodule "proto_tls.so" loadmodule "tls_mgm.so" @@ -237,117 +217,65 @@ #modparam("tls_mgm", "tls_send_timeout", 200) #modparam("tls_mgm", "tls_handshake_timeout", 119) #modparam("proto_tls", "tls_max_msg_chunks", 8) - - ####### Routing Logic ######## # main request routing logic route{ - force_rport(); - if (nat_uac_test("23")) { - if (is_method("REGISTER")) { - fix_nated_register(); - setbflag(NAT); - } else { - fix_nated_contact(); - setflag(NAT); - } - } - - if (!mf_process_maxfwd_header("10")) { - sl_send_reply("483","Too Many Hops"); + if (!mf_process_maxfwd_header(10)) { + send_reply(483,"Too Many Hops"); exit; } if (has_totag()) { - # sequential request withing a dialog should - # take the path determined by record-routing - if (loose_route()) { - - # validate the sequential request against dialog - if ( $DLG_status!=NULL && !validate_dialog() ) { - xlog("In-Dialog $rm from $si (callid=$ci) is not valid according to dialog\n"); - ## exit; - } - - if (is_method("BYE")) { - # do accounting even if the transaction fails - do_accounting("db","failed"); - - } else if (is_method("INVITE")) { - # even if in most of the cases is useless, do RR for - # re-INVITEs alos, as some buggy clients do change route set - # during the dialog. - record_route(); - } - if (check_route_param("nat=yes")) - setflag(NAT); + # handle hop-by-hop ACK (no routing required) + if ( is_method("ACK") && t_check_trans() ) { + t_relay(); + exit; + } - # route it out to whatever destination was set by loose_route() - # in $du (destination URI). - route(relay); - } else { - if (is_method("SUBSCRIBE") && $rd == "127.0.0.1:5060") { # CUSTOMIZE ME - # in-dialog subscribe requests - route(handle_presence); - exit; - } - if ( is_method("ACK") ) { - if ( t_check_trans() ) { - # non loose-route, but stateful ACK; must be an ACK after - # a 487 or e.g. 404 from upstream server - t_relay(); - exit; - } else { - # ACK without matching transaction -> - # ignore and discard - exit; - } - } - sl_send_reply("404","Not here"); + # sequential request within a dialog should + # take the path determined by record-routing + if ( !loose_route() ) { + # we do record-routing for all our traffic, so we should not + # receive any sequential requests without Route hdr. + send_reply(404,"Not here"); + exit; } + + if (is_method("BYE")) { + # do accounting even if the transaction fails + do_accounting("log","failed"); + } + + # route it out to whatever destination was set by loose_route() + # in $du (destination URI). + route(relay); exit; } # CANCEL processing - if (is_method("CANCEL")) - { + if (is_method("CANCEL")) { if (t_check_trans()) t_relay(); exit; } + # absorb retransmissions, but do not create transaction t_check_trans(); - if ( !(is_method("REGISTER") || is_from_gw() ) ) { + if ( !(is_method("REGISTER") ) ) { - if (is_from_local()) - { - - # authenticate if from local subscriber - # authenticate all initial non-REGISTER request that pretend to be - # generated by local subscriber (domain from FROM URI is local) - if (!proxy_authorize("", "subscriber")) { - proxy_challenge("", "0"); - exit; - } - if (!db_check_from()) { - sl_send_reply("403","Forbidden auth ID"); - exit; - } - - consume_credentials(); - # caller authenticated - + if (is_myself("$fd")) { + } else { # if caller is not local, then called number must be local - if (!is_uri_host_local()) { - send_reply("403","Rely forbidden"); + if (!is_myself("$rd")) { + send_reply(403,"Relay Forbidden"); exit; } } @@ -357,9 +285,9 @@ # preloaded route checking if (loose_route()) { xlog("L_ERR", - "Attempt to route with preloaded Route's [$fu/$tu/$ru/$ci]"); + "Attempt to route with preloaded Route's [$fu/$tu/$ru/$ci]"); if (!is_method("ACK")) - sl_send_reply("403","Preload Route denied"); + send_reply(403,"Preload Route denied"); exit; } @@ -370,57 +298,25 @@ # account only INVITEs if (is_method("INVITE")) { - # create dialog with timeout - if ( !create_dialog("B") ) { - send_reply("500","Internal Server Error"); - exit; - } - - do_accounting("db"); - + do_accounting("log"); } - if (!is_uri_host_local()) { + if (!is_myself("$rd")) { append_hf("P-hint: outbound\r\n"); - # if you have some interdomain connections via TLS - ## CUSTOMIZE IF NEEDED - ##if ($rd=="tls_domain1.net" - ## || $rd=="tls_domain2.net" - ##) { - ## force_send_socket(tls:127.0.0.1:5061); # CUSTOMIZE - ##} - route(relay); } # requests for my domain - if( is_method("PUBLISH|SUBSCRIBE")) - route(handle_presence); + if (is_method("PUBLISH|SUBSCRIBE")) { + send_reply(503, "Service Unavailable"); + exit; + } - if (is_method("REGISTER")) - { - # authenticate the REGISTER requests - if (!www_authorize("", "subscriber")) - { - www_challenge("", "0"); - exit; - } - - if (!db_check_to()) - { - sl_send_reply("403","Forbidden auth ID"); - exit; - } - - if ( proto==TCP || proto==TLS || 0 ) setflag(TCP_PERSISTENT); - - if (isflagset(NAT)) { - setbflag(SIP_PING_FLAG); - } - + if (is_method("REGISTER")) { + if (!save("location")) sl_reply_error(); @@ -429,49 +325,18 @@ if ($rU==NULL) { # request with no Username in RURI - sl_send_reply("484","Address Incomplete"); + send_reply(484,"Address Incomplete"); exit; } - - # apply DB based aliases - alias_db_lookup("dbaliases"); - - - # apply transformations from dialplan table - dp_translate("0","$rU/$rU"); - - - if ($rU=~"^\+[1-9][0-9]+$") { - - if (!do_routing("0")) { - send_reply("500","No PSTN Route found"); - exit; - } - - route(relay); + # do lookup with method filtering + if (!lookup("location","m")) { + t_reply(404, "Not Found"); exit; } - - # do lookup with method filtering - if (!lookup("location","m")) { - if (!db_does_uri_exist()) { - send_reply("420","Bad Extension"); - exit; - } - - # redirect to a different VM system - $du = "sip:127.0.0.2:5060"; # CUSTOMIZE ME - route(relay); - - } - - if (isbflagset(NAT)) setflag(NAT); - # when routing via usrloc, log the missed calls also - do_accounting("db","missed"); - + do_accounting("log","missed"); route(relay); } @@ -479,60 +344,26 @@ route[relay] { # for INVITEs enable some additional helper routes if (is_method("INVITE")) { - - if (isflagset(NAT)) { - rtpproxy_offer("ro"); - } - t_on_branch("per_branch_ops"); t_on_reply("handle_nat"); t_on_failure("missed_call"); } - if (isflagset(NAT)) { - add_rr_param(";nat=yes"); - } - if (!t_relay()) { - send_reply("500","Internal Error"); - }; + send_reply(500,"Internal Error"); + } exit; } -# Presence route -route[handle_presence] -{ - if (!t_newtran()) - { - sl_reply_error(); - exit; - } - if(is_method("PUBLISH")) - { - handle_publish(); - } - else - if( is_method("SUBSCRIBE")) - { - handle_subscribe(); - } - exit; -} - - branch_route[per_branch_ops] { xlog("new branch at $ru\n"); } onreply_route[handle_nat] { - if (nat_uac_test("1")) - fix_nated_contact(); - if ( isflagset(NAT) ) - rtpproxy_answer("ro"); xlog("incoming reply\n"); } @@ -545,25 +376,12 @@ # uncomment the following lines if you want to block client # redirect based on 3xx replies. ##if (t_check_status("3[0-9][0-9]")) { - ##t_reply("404","Not found"); + ##t_reply(404,"Not found"); ## exit; ##} - # redirect the failed to a different VM system - if (t_check_status("486|408")) { - $du = "sip:127.0.0.2:5060"; # CUSTOMIZE ME - # do not set the missed call flag again - route(relay); - } } -local_route { - if (is_method("BYE") && $DLG_dir=="UPSTREAM") { - - acc_db_request("200 Dialog Timeout", "acc"); - - } -} diff -ruN /usr/ports/net/opensips.old.2.2.6_6/files/opensips.cfg.sample.simple /usr/ports/net/opensips/files/opensips.cfg.sample.simple --- /usr/ports/net/opensips.old.2.2.6_6/files/opensips.cfg.sample.simple 1969-12-31 19:00:00.000000000 -0500 +++ /usr/ports/net/opensips/files/opensips.cfg.sample.simple 2019-06-24 00:11:55.324241000 -0400 @@ -0,0 +1,357 @@ +# +# OpenSIPS residential configuration script +# by OpenSIPS Solutions +# +# This script was generated via "make menuconfig", from +# the "Residential" scenario. +# You can enable / disable more features / functionalities by +# re-generating the scenario with different options.# +# +# Please refer to the Core CookBook at: +# http://www.opensips.org/Resources/DocsCookbooks +# for a explanation of possible statements, functions and parameters. +# + + +####### Global Parameters ######### + +log_level=3 +log_stderror=no +log_facility=LOG_LOCAL0 + +udp_workers=4 + +/* uncomment the following lines to enable debugging */ +#debug_mode=yes + +/* uncomment the next line to enable the auto temporary blacklisting of + not available destinations (default disabled) */ +#disable_dns_blacklist=no + +/* uncomment the next line to enable IPv6 lookup after IPv4 dns + lookup failures (default disabled) */ +#dns_try_ipv6=yes + +/* comment the next line to enable the auto discovery of local aliases + based on reverse DNS on IPs */ +auto_aliases=no + + +listen=udp:127.0.0.1:5060 # CUSTOMIZE ME + + + +####### Modules Section ######## + +#set module path +mpath="/usr/local/lib/opensips/modules/" + +#### SIGNALING module +loadmodule "signaling.so" + +#### StateLess module +loadmodule "sl.so" + +#### Transaction Module +loadmodule "tm.so" +modparam("tm", "fr_timeout", 5) +modparam("tm", "fr_inv_timeout", 30) +modparam("tm", "restart_fr_on_each_reply", 0) +modparam("tm", "onreply_avp_mode", 1) + +#### Record Route Module +loadmodule "rr.so" +/* do not append from tag to the RR (no need for this script) */ +modparam("rr", "append_fromtag", 0) + +#### MAX ForWarD module +loadmodule "maxfwd.so" + +#### SIP MSG OPerationS module +loadmodule "sipmsgops.so" + +#### FIFO Management Interface +loadmodule "mi_fifo.so" +modparam("mi_fifo", "fifo_name", "/tmp/opensips_fifo") +modparam("mi_fifo", "fifo_mode", 0666) + +#### MYSQL module +#loadmodule "db_mysql.so" + +#### HTTPD module +#loadmodule "httpd.so" +#modparam("httpd", "port", 8888) + +#### USeR LOCation module +loadmodule "usrloc.so" +modparam("usrloc", "nat_bflag", "NAT") +modparam("usrloc", "db_mode", 0) + +#### REGISTRAR module +loadmodule "registrar.so" +modparam("registrar", "tcp_persistent_flag", "TCP_PERSISTENT") +modparam("registrar", "received_avp", "$avp(received_nh)")/* uncomment the next line not to allow more than 10 contacts per AOR */ +#modparam("registrar", "max_contacts", 10) + +#### ACCounting module +loadmodule "acc.so" +/* what special events should be accounted ? */ +modparam("acc", "early_media", 0) +modparam("acc", "report_cancels", 0) +/* by default we do not adjust the direct of the sequential requests. + if you enable this parameter, be sure the enable "append_fromtag" + in "rr" module */ +modparam("acc", "detect_direction", 0) + +#### DIALOG module +loadmodule "dialog.so" +modparam("dialog", "dlg_match_mode", 1) +modparam("dialog", "default_timeout", 21600) # 6 hours timeout +modparam("dialog", "db_mode", 0) +#modparam("dialog", "db_url", +# "mysql://opensips:opensipsrw@localhost/opensips") # CUSTOMIZE ME + +#### NAT modules +loadmodule "nathelper.so" +modparam("nathelper", "natping_interval", 10) +modparam("nathelper", "ping_nated_only", 1) +modparam("nathelper", "sipping_bflag", "SIP_PING_FLAG") +modparam("nathelper", "sipping_from", "sip:pinger@127.0.0.1") #CUSTOMIZE ME +modparam("nathelper", "received_avp", "$avp(received_nh)") + +loadmodule "rtpproxy.so" +modparam("rtpproxy", "rtpproxy_sock", "udp:localhost:12221") # CUSTOMIZE ME + +#### MI_HTTP module +#loadmodule "httpd.so" +#loadmodule "mi_http.so" + +loadmodule "proto_udp.so" + +####### Routing Logic ######## + +# main request routing logic + +route{ + + # initial NAT handling; detect if the request comes from behind a NAT + # and apply contact fixing + force_rport(); + if (nat_uac_test(23)) { + if (is_method("REGISTER")) { + fix_nated_register(); + setbflag(NAT); + } else { + fix_nated_contact(); + setflag(NAT); + } + } + + if (!mf_process_maxfwd_header(10)) { + send_reply(483,"Too Many Hops"); + exit; + } + + if (has_totag()) { + + # handle hop-by-hop ACK (no routing required) + if ( is_method("ACK") && t_check_trans() ) { + t_relay(); + exit; + } + + # sequential request within a dialog should + # take the path determined by record-routing + if ( !loose_route() ) { + # we do record-routing for all our traffic, so we should not + # receive any sequential requests without Route hdr. + send_reply(404,"Not here"); + exit; + } + + # validate the sequential request against dialog + if ( $DLG_status!=NULL && !validate_dialog() ) { + xlog("In-Dialog $rm from $si (callid=$ci) is not valid according to dialog\n"); + ## exit; + } + + if (is_method("BYE")) { + # do accounting even if the transaction fails + do_accounting("log","failed"); + } + + + if (check_route_param("nat=yes")) + setflag(NAT); + # route it out to whatever destination was set by loose_route() + # in $du (destination URI). + route(relay); + exit; + } + + # CANCEL processing + if (is_method("CANCEL")) { + if (t_check_trans()) + t_relay(); + exit; + } + + # absorb retransmissions, but do not create transaction + t_check_trans(); + + if ( !(is_method("REGISTER") ) ) { + + if (is_myself("$fd")) { + + } else { + # if caller is not local, then called number must be local + + if (!is_myself("$rd")) { + send_reply(403,"Relay Forbidden"); + exit; + } + } + + } + + # preloaded route checking + if (loose_route()) { + xlog("L_ERR", + "Attempt to route with preloaded Route's [$fu/$tu/$ru/$ci]"); + if (!is_method("ACK")) + send_reply(403,"Preload Route denied"); + exit; + } + + # record routing + if (!is_method("REGISTER|MESSAGE")) + record_route(); + + # account only INVITEs + if (is_method("INVITE")) { + + # create dialog with timeout + if ( !create_dialog("B") ) { + send_reply(500,"Internal Server Error"); + exit; + } + + do_accounting("log"); + } + + + if (!is_myself("$rd")) { + append_hf("P-hint: outbound\r\n"); + + route(relay); + } + + # requests for my domain + + if (is_method("PUBLISH|SUBSCRIBE")) { + send_reply(503, "Service Unavailable"); + exit; + } + + if (is_method("REGISTER")) { + if (isflagset(NAT)) { + setbflag(SIP_PING_FLAG); + } + if (!save("location")) + sl_reply_error(); + + exit; + } + + if ($rU==NULL) { + # request with no Username in RURI + send_reply(484,"Address Incomplete"); + exit; + } + + + + + + + + # do lookup with method filtering + if (!lookup("location","m")) { + + + t_reply(404, "Not Found"); + exit; + } + + if (isbflagset(NAT)) setflag(NAT); + + # when routing via usrloc, log the missed calls also + do_accounting("log","missed"); + route(relay); +} + + +route[relay] { + # for INVITEs enable some additional helper routes + if (is_method("INVITE")) { + + if (isflagset(NAT)) { + rtpproxy_offer("ro"); + } + + t_on_branch("per_branch_ops"); + t_on_reply("handle_nat"); + t_on_failure("missed_call"); + } + + if (isflagset(NAT)) { + add_rr_param(";nat=yes"); + } + + if (!t_relay()) { + send_reply(500,"Internal Error"); + } + exit; +} + + + + +branch_route[per_branch_ops] { + xlog("new branch at $ru\n"); +} + + +onreply_route[handle_nat] { + if (nat_uac_test(1)) + fix_nated_contact(); + if ( isflagset(NAT) ) + rtpproxy_answer("ro"); + xlog("incoming reply\n"); +} + + +failure_route[missed_call] { + if (t_was_cancelled()) { + exit; + } + + # uncomment the following lines if you want to block client + # redirect based on 3xx replies. + ##if (t_check_status("3[0-9][0-9]")) { + ##t_reply(404,"Not found"); + ## exit; + ##} + + +} + + + +local_route { + if (is_method("BYE") && $DLG_dir=="UPSTREAM") { + + acc_log_request("200 Dialog Timeout"); + + } +} diff -ruN /usr/ports/net/opensips.old.2.2.6_6/files/opensips.in /usr/ports/net/opensips/files/opensips.in --- /usr/ports/net/opensips.old.2.2.6_6/files/opensips.in 2018-03-23 22:12:19.000000000 -0400 +++ /usr/ports/net/opensips/files/opensips.in 2019-06-21 16:17:32.333835000 -0400 @@ -20,7 +20,7 @@ name=opensips rcvar=`set_rcvar` -load_rc_config opensips +load_rc_config ${name} opensips_enable=${opensips_enable:-"NO"} opensips_shmem_size=${opensips_shmem_size:-"64"} @@ -30,6 +30,6 @@ command="${prefix}/sbin/opensips" command_args="-m ${opensips_shmem_size} -M ${opensips_pkmem_size}" -required_files="${prefix}/etc/opensips/opensipsctlrc" +required_files="${prefix}/etc/opensips/opensips.cfg" run_rc_command "${1}" diff -ruN /usr/ports/net/opensips.old.2.2.6_6/files/patch-Makefile /usr/ports/net/opensips/files/patch-Makefile --- /usr/ports/net/opensips.old.2.2.6_6/files/patch-Makefile 2016-07-17 11:41:55.000000000 -0400 +++ /usr/ports/net/opensips/files/patch-Makefile 1969-12-31 19:00:00.000000000 -0500 @@ -1,39 +0,0 @@ ---- Makefile.orig 2016-07-13 15:21:26 UTC -+++ Makefile -@@ -46,7 +46,7 @@ auto_gen=lex.yy.c cfg.tab.c #lexx, yac - # whether or not to install opensips.cfg or just opensips.cfg.default - # (opensips.cfg will never be overwritten by make install, this is useful - # when creating packages) --skip_cfg_install?= -+skip_cfg_install=yes - - #extra modules to exclude - skip_modules?= -@@ -495,27 +495,14 @@ install-cfg: $(cfg_prefix)/$(cfg_dir) - rm -fr $(cfg_prefix)/$(cfg_dir)$(NAME).cfg.sample0 - chmod 600 $(cfg_prefix)/$(cfg_dir)$(NAME).cfg.sample - chmod 700 $(cfg_prefix)/$(cfg_dir) -- if [ -z "${skip_cfg_install}" -a \ -- ! -f $(cfg_prefix)/$(cfg_dir)$(NAME).cfg ]; then \ -- mv -f $(cfg_prefix)/$(cfg_dir)$(NAME).cfg.sample \ -- $(cfg_prefix)/$(cfg_dir)$(NAME).cfg; \ -- fi - # opensipsctl config - $(INSTALL_TOUCH) $(cfg_prefix)/$(cfg_dir)/opensipsctlrc.sample - $(INSTALL_CFG) scripts/opensipsctlrc \ - $(cfg_prefix)/$(cfg_dir)/opensipsctlrc.sample -- if [ ! -f $(cfg_prefix)/$(cfg_dir)/opensipsctlrc ]; then \ -- mv -f $(cfg_prefix)/$(cfg_dir)/opensipsctlrc.sample \ -- $(cfg_prefix)/$(cfg_dir)/opensipsctlrc; \ -- fi - # osipsconsole config - $(INSTALL_TOUCH) $(cfg_prefix)/$(cfg_dir)/osipsconsolerc.sample - $(INSTALL_CFG) scripts/osipsconsolerc \ - $(cfg_prefix)/$(cfg_dir)/osipsconsolerc.sample -- if [ ! -f $(cfg_prefix)/$(cfg_dir)/osipsconsolerc ]; then \ -- mv -f $(cfg_prefix)/$(cfg_dir)/osipsconsolerc.sample \ -- $(cfg_prefix)/$(cfg_dir)/osipsconsolerc; \ -- fi - - install-console: $(bin_prefix)/$(bin_dir) - # install osipsconsole diff -ruN /usr/ports/net/opensips.old.2.2.6_6/files/patch-Makefile.defs /usr/ports/net/opensips/files/patch-Makefile.defs --- /usr/ports/net/opensips.old.2.2.6_6/files/patch-Makefile.defs 2016-07-17 11:41:55.000000000 -0400 +++ /usr/ports/net/opensips/files/patch-Makefile.defs 1969-12-31 19:00:00.000000000 -0500 @@ -1,43 +0,0 @@ ---- Makefile.defs.orig 2016-05-30 14:13:27 UTC -+++ Makefile.defs -@@ -118,6 +118,14 @@ ifeq ($(OS),solaris) - ISSMP ?= yes - endif - else -+ifeq ($(OS),freebsd) -+ SMP_STR = $(shell sysctl kern.smp.active | grep 1) -+ ifeq (,$(SMP_STR)) -+ ISSMP ?= no -+ else -+ ISSMP ?= yes -+ endif -+else - SMP_STR = $(shell uname -v | grep -i "SMP") - ifeq (,$(SMP_STR)) - ISSMP ?= no -@@ -125,6 +133,7 @@ else - ISSMP ?= yes - endif - endif -+endif - - #set some vars from the environment (and not make builtins) - CC := $(shell echo "$${CC}") -@@ -308,6 +317,9 @@ cfg_dir = etc/$(MAIN_NAME)/ - bin_dir = sbin/ - - ARCH_B = $(shell echo $(ARCH) | sed -e 's/.*64.*/64b/') -+ifeq ($(OS),freebsd) -+ LIBDIR ?= lib -+else - ifeq ($(ARCH_B),64b) - LIBDIR ?= lib64 - else -@@ -315,6 +327,7 @@ else - # assume 32b - it is not really used further - ARCH_B=32b - endif -+endif - - lib_dir = $(LIBDIR)/$(MAIN_NAME) - modules_dir = $(LIBDIR)/$(MAIN_NAME)/modules/ diff -ruN /usr/ports/net/opensips.old.2.2.6_6/files/patch-mem__shm_mem.h /usr/ports/net/opensips/files/patch-mem__shm_mem.h --- /usr/ports/net/opensips.old.2.2.6_6/files/patch-mem__shm_mem.h 2016-07-17 11:41:55.000000000 -0400 +++ /usr/ports/net/opensips/files/patch-mem__shm_mem.h 1969-12-31 19:00:00.000000000 -0500 @@ -1,10 +0,0 @@ ---- mem/shm_mem.h.orig 2016-05-30 14:13:27 UTC -+++ mem/shm_mem.h -@@ -62,6 +62,7 @@ - #endif - #endif - -+#include "../error.h" - #include "../dprint.h" - #include "../lock_ops.h" /* we don't include locking.h on purpose */ - #include "common.h" diff -ruN /usr/ports/net/opensips.old.2.2.6_6/pkg-message /usr/ports/net/opensips/pkg-message --- /usr/ports/net/opensips.old.2.2.6_6/pkg-message 2019-08-14 04:48:50.000000000 -0400 +++ /usr/ports/net/opensips/pkg-message 2020-03-04 06:11:40.067073000 -0500 @@ -6,7 +6,7 @@ For further installation and configuration instructions, visit the following web page: -http://www.opensips.org/Documentation/Manual-2-2 +https://opensips.org/Documentation/Manuals For migrating from a previous major release, visit the following web page: diff -ruN /usr/ports/net/opensips.old.2.2.6_6/pkg-plist /usr/ports/net/opensips/pkg-plist --- /usr/ports/net/opensips.old.2.2.6_6/pkg-plist 2019-01-13 15:58:36.000000000 -0500 +++ /usr/ports/net/opensips/pkg-plist 2020-03-04 07:53:41.421024000 -0500 @@ -1,17 +1,3 @@ -%%TLS%%%%ETCDIR%%/tls/README -%%TLS%%%%ETCDIR%%/tls/ca.conf -%%TLS%%%%ETCDIR%%/tls/request.conf -%%TLS%%%%ETCDIR%%/tls/rootCA/cacert.pem -%%TLS%%%%ETCDIR%%/tls/rootCA/certs/01.pem -%%TLS%%%%ETCDIR%%/tls/rootCA/index.txt -%%TLS%%%%ETCDIR%%/tls/rootCA/private/cakey.pem -%%TLS%%%%ETCDIR%%/tls/rootCA/serial -%%TLS%%%%ETCDIR%%/tls/user.conf -%%TLS%%%%ETCDIR%%/tls/user/user-calist.pem -%%TLS%%%%ETCDIR%%/tls/user/user-cert.pem -%%TLS%%%%ETCDIR%%/tls/user/user-cert_req.pem -%%TLS%%%%ETCDIR%%/tls/user/user-privkey.pem -%%RADIUS%%lib/opensips/modules/aaa_radius.so lib/opensips/modules/acc.so lib/opensips/modules/alias_db.so lib/opensips/modules/auth.so @@ -19,29 +5,19 @@ lib/opensips/modules/auth_db.so lib/opensips/modules/avpops.so lib/opensips/modules/b2b_entities.so -lib/opensips/modules/b2b_logic.so lib/opensips/modules/b2b_sca.so lib/opensips/modules/benchmark.so lib/opensips/modules/cachedb_local.so -%%MEMCACHED%%lib/opensips/modules/cachedb_memcached.so -lib/opensips/modules/cachedb_redis.so lib/opensips/modules/cachedb_sql.so lib/opensips/modules/call_center.so lib/opensips/modules/call_control.so -lib/opensips/modules/carrierroute.so lib/opensips/modules/cfgutils.so lib/opensips/modules/clusterer.so -lib/opensips/modules/cpl_c.so lib/opensips/modules/db_cachedb.so lib/opensips/modules/db_flatstore.so -%%MYSQL%%lib/opensips/modules/db_mysql.so -%%PGSQL%%lib/opensips/modules/db_postgres.so -%%SQLITE%%lib/opensips/modules/db_sqlite.so lib/opensips/modules/db_text.so -%%UNIXODBC%%lib/opensips/modules/db_unixodbc.so lib/opensips/modules/db_virtual.so lib/opensips/modules/dialog.so -lib/opensips/modules/dialplan.so lib/opensips/modules/dispatcher.so lib/opensips/modules/diversion.so lib/opensips/modules/dns_cache.so @@ -51,21 +27,19 @@ lib/opensips/modules/enum.so lib/opensips/modules/event_datagram.so lib/opensips/modules/event_flatstore.so -lib/opensips/modules/event_rabbitmq.so +lib/opensips/modules/event_jsonrpc.so lib/opensips/modules/event_route.so +lib/opensips/modules/event_routing.so lib/opensips/modules/event_virtual.so lib/opensips/modules/event_xmlrpc.so lib/opensips/modules/exec.so lib/opensips/modules/fraud_detection.so +lib/opensips/modules/freeswitch.so +lib/opensips/modules/freeswitch_scripting.so lib/opensips/modules/gflags.so lib/opensips/modules/group.so -%%LDAP%%lib/opensips/modules/h350.so -%%HTTP%%lib/opensips/modules/httpd.so -lib/opensips/modules/identity.so lib/opensips/modules/imc.so -lib/opensips/modules/jabber.so -lib/opensips/modules/json.so -%%LDAP%%lib/opensips/modules/ldap.so +lib/opensips/modules/jsonrpc.so lib/opensips/modules/load_balancer.so lib/opensips/modules/mangler.so lib/opensips/modules/mathops.so @@ -73,52 +47,35 @@ lib/opensips/modules/mediaproxy.so lib/opensips/modules/mi_datagram.so lib/opensips/modules/mi_fifo.so +lib/opensips/modules/mi_html.so lib/opensips/modules/mi_http.so -lib/opensips/modules/mi_json.so -lib/opensips/modules/mi_xmlrpc_ng.so +lib/opensips/modules/mid_registrar.so lib/opensips/modules/msilo.so lib/opensips/modules/nat_traversal.so lib/opensips/modules/nathelper.so lib/opensips/modules/options.so lib/opensips/modules/path.so lib/opensips/modules/peering.so -lib/opensips/modules/perl.so lib/opensips/modules/permissions.so -lib/opensips/modules/pi_http.so lib/opensips/modules/pike.so -lib/opensips/modules/presence.so lib/opensips/modules/presence_callinfo.so -lib/opensips/modules/presence_dialoginfo.so -lib/opensips/modules/presence_mwi.so lib/opensips/modules/presence_xcapdiff.so -lib/opensips/modules/presence_xml.so lib/opensips/modules/proto_bin.so lib/opensips/modules/proto_hep.so -%%TLS%%lib/opensips/modules/proto_tls.so +lib/opensips/modules/proto_smpp.so lib/opensips/modules/proto_ws.so -%%TLS%%lib/opensips/modules/proto_wss.so -lib/opensips/modules/pua.so -lib/opensips/modules/pua_bla.so -lib/opensips/modules/pua_dialoginfo.so -lib/opensips/modules/pua_mi.so -lib/opensips/modules/pua_usrloc.so -lib/opensips/modules/pua_xmpp.so -lib/opensips/modules/python.so lib/opensips/modules/qos.so lib/opensips/modules/ratelimit.so -lib/opensips/modules/regex.so lib/opensips/modules/registrar.so -lib/opensips/modules/rest_client.so -lib/opensips/modules/rls.so lib/opensips/modules/rr.so lib/opensips/modules/rtpengine.so lib/opensips/modules/rtpproxy.so lib/opensips/modules/script_helper.so lib/opensips/modules/seas.so lib/opensips/modules/signaling.so +lib/opensips/modules/sip_i.so lib/opensips/modules/sipcapture.so lib/opensips/modules/sipmsgops.so -lib/opensips/modules/siptrace.so lib/opensips/modules/sl.so lib/opensips/modules/sms.so lib/opensips/modules/speeddial.so @@ -127,70 +84,24 @@ lib/opensips/modules/statistics.so lib/opensips/modules/stun.so lib/opensips/modules/textops.so -%%TLS%%lib/opensips/modules/tls_mgm.so lib/opensips/modules/tm.so lib/opensips/modules/topology_hiding.so +lib/opensips/modules/tracer.so lib/opensips/modules/uac.so lib/opensips/modules/uac_auth.so lib/opensips/modules/uac_redirect.so lib/opensips/modules/uac_registrant.so -lib/opensips/modules/uri.so lib/opensips/modules/userblacklist.so lib/opensips/modules/usrloc.so -lib/opensips/modules/xcap.so -lib/opensips/modules/xcap_client.so -lib/opensips/modules/xmpp.so -lib/opensips/opensipsctl/dbtextdb/dbtextdb.py -lib/opensips/opensipsctl/opensipsctl.base -lib/opensips/opensipsctl/opensipsctl.ctlbase -lib/opensips/opensipsctl/opensipsctl.dbtext -lib/opensips/opensipsctl/opensipsctl.fifo -%%MYSQL%%lib/opensips/opensipsctl/opensipsctl.mysql -%%PGSQL%%lib/opensips/opensipsctl/opensipsctl.pgsql -lib/opensips/opensipsctl/opensipsctl.sqlbase -%%SQLITE%%lib/opensips/opensipsctl/opensipsctl.sqlite -lib/opensips/opensipsctl/opensipsctl.unixsock -lib/opensips/opensipsctl/opensipsdbctl.base -lib/opensips/opensipsctl/opensipsdbctl.dbtext -%%MYSQL%%lib/opensips/opensipsctl/opensipsdbctl.mysql -%%PGSQL%%lib/opensips/opensipsctl/opensipsdbctl.pgsql -%%SQLITE%%lib/opensips/opensipsctl/opensipsdbctl.sqlite -lib/opensips/perl/OpenSIPS.pm -lib/opensips/perl/OpenSIPS/Constants.pm -lib/opensips/perl/OpenSIPS/LDAPUtils/LDAPConf.pm -lib/opensips/perl/OpenSIPS/LDAPUtils/LDAPConnection.pm -lib/opensips/perl/OpenSIPS/Message.pm -lib/opensips/perl/OpenSIPS/Utils/Debug.pm -lib/opensips/perl/OpenSIPS/Utils/PhoneNumbers.pm -lib/opensips/perl/OpenSIPS/VDB.pm -lib/opensips/perl/OpenSIPS/VDB/Adapter/AccountingSIPtrace.pm -lib/opensips/perl/OpenSIPS/VDB/Adapter/Alias.pm -lib/opensips/perl/OpenSIPS/VDB/Adapter/Auth.pm -lib/opensips/perl/OpenSIPS/VDB/Adapter/Describe.pm -lib/opensips/perl/OpenSIPS/VDB/Adapter/Speeddial.pm -lib/opensips/perl/OpenSIPS/VDB/Adapter/TableVersions.pm -lib/opensips/perl/OpenSIPS/VDB/Column.pm -lib/opensips/perl/OpenSIPS/VDB/Pair.pm -lib/opensips/perl/OpenSIPS/VDB/ReqCond.pm -lib/opensips/perl/OpenSIPS/VDB/Result.pm -lib/opensips/perl/OpenSIPS/VDB/VTab.pm -lib/opensips/perl/OpenSIPS/VDB/Value.pm man/man5/opensips.cfg.5.gz man/man8/opensips.8.gz -man/man8/opensipsctl.8.gz -man/man8/opensipsunix.8.gz sbin/opensips -sbin/opensipsctl -sbin/opensipsdbctl -sbin/opensipsunix sbin/osipsconfig -sbin/osipsconsole %%PORTDOCS%%%%DOCSDIR%%/AUTHORS %%PORTDOCS%%%%DOCSDIR%%/INSTALL %%PORTDOCS%%%%DOCSDIR%%/NEWS %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/README-MODULES -%%RADIUS%%%%PORTDOCS%%%%DOCSDIR%%/README.aaa_radius %%PORTDOCS%%%%DOCSDIR%%/README.acc %%PORTDOCS%%%%DOCSDIR%%/README.alias_db %%PORTDOCS%%%%DOCSDIR%%/README.auth @@ -198,29 +109,19 @@ %%PORTDOCS%%%%DOCSDIR%%/README.auth_db %%PORTDOCS%%%%DOCSDIR%%/README.avpops %%PORTDOCS%%%%DOCSDIR%%/README.b2b_entities -%%PORTDOCS%%%%DOCSDIR%%/README.b2b_logic %%PORTDOCS%%%%DOCSDIR%%/README.b2b_sca %%PORTDOCS%%%%DOCSDIR%%/README.benchmark %%PORTDOCS%%%%DOCSDIR%%/README.cachedb_local -%%MEMCACHED%%%%PORTDOCS%%%%DOCSDIR%%/README.cachedb_memcached -%%PORTDOCS%%%%DOCSDIR%%/README.cachedb_redis %%PORTDOCS%%%%DOCSDIR%%/README.cachedb_sql %%PORTDOCS%%%%DOCSDIR%%/README.call_center %%PORTDOCS%%%%DOCSDIR%%/README.call_control -%%PORTDOCS%%%%DOCSDIR%%/README.carrierroute %%PORTDOCS%%%%DOCSDIR%%/README.cfgutils %%PORTDOCS%%%%DOCSDIR%%/README.clusterer -%%PORTDOCS%%%%DOCSDIR%%/README.cpl_c %%PORTDOCS%%%%DOCSDIR%%/README.db_cachedb %%PORTDOCS%%%%DOCSDIR%%/README.db_flatstore -%%MYSQL%%%%PORTDOCS%%%%DOCSDIR%%/README.db_mysql -%%PGSQL%%%%PORTDOCS%%%%DOCSDIR%%/README.db_postgres -%%SQLITE%%%%PORTDOCS%%%%DOCSDIR%%/README.db_sqlite %%PORTDOCS%%%%DOCSDIR%%/README.db_text -%%UNIXODBC%%%%PORTDOCS%%%%DOCSDIR%%/README.db_unixodbc %%PORTDOCS%%%%DOCSDIR%%/README.db_virtual %%PORTDOCS%%%%DOCSDIR%%/README.dialog -%%PORTDOCS%%%%DOCSDIR%%/README.dialplan %%PORTDOCS%%%%DOCSDIR%%/README.dispatcher %%PORTDOCS%%%%DOCSDIR%%/README.diversion %%PORTDOCS%%%%DOCSDIR%%/README.dns_cache @@ -230,21 +131,19 @@ %%PORTDOCS%%%%DOCSDIR%%/README.enum %%PORTDOCS%%%%DOCSDIR%%/README.event_datagram %%PORTDOCS%%%%DOCSDIR%%/README.event_flatstore -%%PORTDOCS%%%%DOCSDIR%%/README.event_rabbitmq +%%PORTDOCS%%%%DOCSDIR%%/README.event_jsonrpc %%PORTDOCS%%%%DOCSDIR%%/README.event_route +%%PORTDOCS%%%%DOCSDIR%%/README.event_routing %%PORTDOCS%%%%DOCSDIR%%/README.event_virtual %%PORTDOCS%%%%DOCSDIR%%/README.event_xmlrpc %%PORTDOCS%%%%DOCSDIR%%/README.exec %%PORTDOCS%%%%DOCSDIR%%/README.fraud_detection +%%PORTDOCS%%%%DOCSDIR%%/README.freeswitch +%%PORTDOCS%%%%DOCSDIR%%/README.freeswitch_scripting %%PORTDOCS%%%%DOCSDIR%%/README.gflags %%PORTDOCS%%%%DOCSDIR%%/README.group -%%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/README.h350 -%%HTTP%%%%PORTDOCS%%%%DOCSDIR%%/README.httpd -%%PORTDOCS%%%%DOCSDIR%%/README.identity %%PORTDOCS%%%%DOCSDIR%%/README.imc -%%PORTDOCS%%%%DOCSDIR%%/README.jabber -%%PORTDOCS%%%%DOCSDIR%%/README.json -%%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/README.ldap +%%PORTDOCS%%%%DOCSDIR%%/README.jsonrpc %%PORTDOCS%%%%DOCSDIR%%/README.load_balancer %%PORTDOCS%%%%DOCSDIR%%/README.mangler %%PORTDOCS%%%%DOCSDIR%%/README.mathops @@ -252,52 +151,35 @@ %%PORTDOCS%%%%DOCSDIR%%/README.mediaproxy %%PORTDOCS%%%%DOCSDIR%%/README.mi_datagram %%PORTDOCS%%%%DOCSDIR%%/README.mi_fifo +%%PORTDOCS%%%%DOCSDIR%%/README.mi_html %%PORTDOCS%%%%DOCSDIR%%/README.mi_http -%%PORTDOCS%%%%DOCSDIR%%/README.mi_json -%%PORTDOCS%%%%DOCSDIR%%/README.mi_xmlrpc_ng +%%PORTDOCS%%%%DOCSDIR%%/README.mid_registrar %%PORTDOCS%%%%DOCSDIR%%/README.msilo %%PORTDOCS%%%%DOCSDIR%%/README.nat_traversal %%PORTDOCS%%%%DOCSDIR%%/README.nathelper %%PORTDOCS%%%%DOCSDIR%%/README.options %%PORTDOCS%%%%DOCSDIR%%/README.path %%PORTDOCS%%%%DOCSDIR%%/README.peering -%%PORTDOCS%%%%DOCSDIR%%/README.perl %%PORTDOCS%%%%DOCSDIR%%/README.permissions -%%PORTDOCS%%%%DOCSDIR%%/README.pi_http %%PORTDOCS%%%%DOCSDIR%%/README.pike -%%PORTDOCS%%%%DOCSDIR%%/README.presence %%PORTDOCS%%%%DOCSDIR%%/README.presence_callinfo -%%PORTDOCS%%%%DOCSDIR%%/README.presence_dialoginfo -%%PORTDOCS%%%%DOCSDIR%%/README.presence_mwi %%PORTDOCS%%%%DOCSDIR%%/README.presence_xcapdiff -%%PORTDOCS%%%%DOCSDIR%%/README.presence_xml %%PORTDOCS%%%%DOCSDIR%%/README.proto_bin %%PORTDOCS%%%%DOCSDIR%%/README.proto_hep -%%TLS%%%%PORTDOCS%%%%DOCSDIR%%/README.proto_tls +%%PORTDOCS%%%%DOCSDIR%%/README.proto_smpp %%PORTDOCS%%%%DOCSDIR%%/README.proto_ws -%%PORTDOCS%%%%DOCSDIR%%/README.proto_wss -%%PORTDOCS%%%%DOCSDIR%%/README.pua -%%PORTDOCS%%%%DOCSDIR%%/README.pua_bla -%%PORTDOCS%%%%DOCSDIR%%/README.pua_dialoginfo -%%PORTDOCS%%%%DOCSDIR%%/README.pua_mi -%%PORTDOCS%%%%DOCSDIR%%/README.pua_usrloc -%%PORTDOCS%%%%DOCSDIR%%/README.pua_xmpp -%%PORTDOCS%%%%DOCSDIR%%/README.python %%PORTDOCS%%%%DOCSDIR%%/README.qos %%PORTDOCS%%%%DOCSDIR%%/README.ratelimit -%%PORTDOCS%%%%DOCSDIR%%/README.regex %%PORTDOCS%%%%DOCSDIR%%/README.registrar -%%PORTDOCS%%%%DOCSDIR%%/README.rest_client -%%PORTDOCS%%%%DOCSDIR%%/README.rls %%PORTDOCS%%%%DOCSDIR%%/README.rr %%PORTDOCS%%%%DOCSDIR%%/README.rtpengine %%PORTDOCS%%%%DOCSDIR%%/README.rtpproxy %%PORTDOCS%%%%DOCSDIR%%/README.script_helper %%PORTDOCS%%%%DOCSDIR%%/README.seas %%PORTDOCS%%%%DOCSDIR%%/README.signaling +%%PORTDOCS%%%%DOCSDIR%%/README.sip_i %%PORTDOCS%%%%DOCSDIR%%/README.sipcapture %%PORTDOCS%%%%DOCSDIR%%/README.sipmsgops -%%PORTDOCS%%%%DOCSDIR%%/README.siptrace %%PORTDOCS%%%%DOCSDIR%%/README.sl %%PORTDOCS%%%%DOCSDIR%%/README.sms %%PORTDOCS%%%%DOCSDIR%%/README.speeddial @@ -306,44 +188,49 @@ %%PORTDOCS%%%%DOCSDIR%%/README.statistics %%PORTDOCS%%%%DOCSDIR%%/README.stun %%PORTDOCS%%%%DOCSDIR%%/README.textops -%%PORTDOCS%%%%DOCSDIR%%/README.tls_mgm %%PORTDOCS%%%%DOCSDIR%%/README.tm %%PORTDOCS%%%%DOCSDIR%%/README.topology_hiding +%%PORTDOCS%%%%DOCSDIR%%/README.tracer %%PORTDOCS%%%%DOCSDIR%%/README.uac %%PORTDOCS%%%%DOCSDIR%%/README.uac_auth %%PORTDOCS%%%%DOCSDIR%%/README.uac_redirect %%PORTDOCS%%%%DOCSDIR%%/README.uac_registrant -%%PORTDOCS%%%%DOCSDIR%%/README.uri %%PORTDOCS%%%%DOCSDIR%%/README.userblacklist %%PORTDOCS%%%%DOCSDIR%%/README.usrloc -%%PORTDOCS%%%%DOCSDIR%%/README.xcap -%%PORTDOCS%%%%DOCSDIR%%/README.xcap_client -%%PORTDOCS%%%%DOCSDIR%%/README.xmpp -%%EXAMPLES%%share/examples/opensips/acc-mysql.cfg -%%EXAMPLES%%share/examples/opensips/acc.cfg -%%EXAMPLES%%share/examples/opensips/ctd.sh -%%EXAMPLES%%share/examples/opensips/exec_s3.cfg -%%EXAMPLES%%share/examples/opensips/exec_s4.cfg -%%EXAMPLES%%share/examples/opensips/exec_s5.cfg -%%EXAMPLES%%share/examples/opensips/flag_reply.cfg -%%EXAMPLES%%share/examples/opensips/fork.cfg -%%HTTP%%%%EXAMPLES%%share/examples/opensips/httpd.cfg -%%EXAMPLES%%share/examples/opensips/logging.cfg -%%EXAMPLES%%share/examples/opensips/msilo.cfg -%%EXAMPLES%%share/examples/opensips/nathelper.cfg -%%EXAMPLES%%share/examples/opensips/pi_framework.xml -%%EXAMPLES%%share/examples/opensips/pstn.cfg -%%EXAMPLES%%share/examples/opensips/redirect.cfg -%%EXAMPLES%%share/examples/opensips/replicate.cfg -%%EXAMPLES%%share/examples/opensips/serial_183.cfg -%%EXAMPLES%%share/examples/opensips/web_im/README -%%EXAMPLES%%share/examples/opensips/web_im/click_to_dial.html -%%EXAMPLES%%share/examples/opensips/web_im/click_to_dial.php -%%EXAMPLES%%share/examples/opensips/web_im/send_im.html -%%EXAMPLES%%share/examples/opensips/web_im/send_im.php -@comment share/licenses/opensips-2.2.3/GPLv2 -@comment share/licenses/opensips-2.2.3/LICENSE -@comment share/licenses/opensips-2.2.3/catalog.mk +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/acc-mysql.cfg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/acc.cfg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ctd.sh +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/exec_s3.cfg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/exec_s4.cfg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/exec_s5.cfg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/flag_reply.cfg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fork.cfg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/httpd.cfg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/logging.cfg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/msilo.cfg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/nathelper.cfg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pi_framework.xml +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pstn.cfg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/redirect.cfg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/replicate.cfg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/serial_183.cfg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/web_im/README +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/web_im/click_to_dial.html +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/web_im/click_to_dial.php +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/web_im/send_im.html +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/web_im/send_im.php +%%DATADIR%%/menuconfig_templates/opensips_loadbalancer.m4 +%%DATADIR%%/menuconfig_templates/opensips_loadbalancer.m4-e +%%DATADIR%%/menuconfig_templates/opensips_loadbalancer_def.m4 +%%DATADIR%%/menuconfig_templates/opensips_loadbalancer_def.m4-e +%%DATADIR%%/menuconfig_templates/opensips_residential.m4 +%%DATADIR%%/menuconfig_templates/opensips_residential.m4-e +%%DATADIR%%/menuconfig_templates/opensips_residential_def.m4 +%%DATADIR%%/menuconfig_templates/opensips_residential_def.m4-e +%%DATADIR%%/menuconfig_templates/opensips_trunking.m4 +%%DATADIR%%/menuconfig_templates/opensips_trunking.m4-e +%%DATADIR%%/menuconfig_templates/opensips_trunking_def.m4 +%%DATADIR%%/menuconfig_templates/opensips_trunking_def.m4-e %%DATADIR%%/dbtext/opensips/acc %%DATADIR%%/dbtext/opensips/active_watchers %%DATADIR%%/dbtext/opensips/address @@ -376,6 +263,8 @@ %%DATADIR%%/dbtext/opensips/emergency_routing %%DATADIR%%/dbtext/opensips/emergency_service_provider %%DATADIR%%/dbtext/opensips/fraud_detection +%%DATADIR%%/dbtext/opensips/freeswitch +%%DATADIR%%/dbtext/opensips/freeswitch_scripting %%DATADIR%%/dbtext/opensips/globalblacklist %%DATADIR%%/dbtext/opensips/grp %%DATADIR%%/dbtext/opensips/imc_members @@ -390,9 +279,11 @@ %%DATADIR%%/dbtext/opensips/rls_presentity %%DATADIR%%/dbtext/opensips/rls_watchers %%DATADIR%%/dbtext/opensips/route_tree +%%DATADIR%%/dbtext/opensips/rtpengine %%DATADIR%%/dbtext/opensips/rtpproxy_sockets %%DATADIR%%/dbtext/opensips/silo %%DATADIR%%/dbtext/opensips/sip_trace +%%DATADIR%%/dbtext/opensips/smpp %%DATADIR%%/dbtext/opensips/speed_dial %%DATADIR%%/dbtext/opensips/subscriber %%DATADIR%%/dbtext/opensips/tls_mgm @@ -402,210 +293,7 @@ %%DATADIR%%/dbtext/opensips/version %%DATADIR%%/dbtext/opensips/watchers %%DATADIR%%/dbtext/opensips/xcap -%%DATADIR%%/menuconfig_templates/opensips_loadbalancer.m4 -%%DATADIR%%/menuconfig_templates/opensips_loadbalancer.m4-e -%%DATADIR%%/menuconfig_templates/opensips_loadbalancer_def.m4 -%%DATADIR%%/menuconfig_templates/opensips_loadbalancer_def.m4-e -%%DATADIR%%/menuconfig_templates/opensips_residential.m4 -%%DATADIR%%/menuconfig_templates/opensips_residential.m4-e -%%DATADIR%%/menuconfig_templates/opensips_residential_def.m4 -%%DATADIR%%/menuconfig_templates/opensips_residential_def.m4-e -%%DATADIR%%/menuconfig_templates/opensips_trunking.m4 -%%DATADIR%%/menuconfig_templates/opensips_trunking.m4-e -%%DATADIR%%/menuconfig_templates/opensips_trunking_def.m4 -%%DATADIR%%/menuconfig_templates/opensips_trunking_def.m4-e -%%MYSQL%%%%DATADIR%%/mysql/acc-create.sql -%%MYSQL%%%%DATADIR%%/mysql/alias_db-create.sql -%%MYSQL%%%%DATADIR%%/mysql/auth_db-create.sql -%%MYSQL%%%%DATADIR%%/mysql/avpops-create.sql -%%MYSQL%%%%DATADIR%%/mysql/b2b-create.sql -%%MYSQL%%%%DATADIR%%/mysql/b2b_sca-create.sql -%%MYSQL%%%%DATADIR%%/mysql/cachedb_sql-create.sql -%%MYSQL%%%%DATADIR%%/mysql/call_center-create.sql -%%MYSQL%%%%DATADIR%%/mysql/carrierroute-create.sql -%%MYSQL%%%%DATADIR%%/mysql/closeddial-create.sql -%%MYSQL%%%%DATADIR%%/mysql/clusterer-create.sql -%%MYSQL%%%%DATADIR%%/mysql/cpl-create.sql -%%MYSQL%%%%DATADIR%%/mysql/dialog-create.sql -%%MYSQL%%%%DATADIR%%/mysql/dialplan-create.sql -%%MYSQL%%%%DATADIR%%/mysql/dispatcher-create.sql -%%MYSQL%%%%DATADIR%%/mysql/domain-create.sql -%%MYSQL%%%%DATADIR%%/mysql/domainpolicy-create.sql -%%MYSQL%%%%DATADIR%%/mysql/drouting-create.sql -%%MYSQL%%%%DATADIR%%/mysql/emergency-create.sql -%%MYSQL%%%%DATADIR%%/mysql/fraud_detection-create.sql -%%MYSQL%%%%DATADIR%%/mysql/group-create.sql -%%MYSQL%%%%DATADIR%%/mysql/imc-create.sql -%%MYSQL%%%%DATADIR%%/mysql/load_balancer-create.sql -%%MYSQL%%%%DATADIR%%/mysql/msilo-create.sql -%%MYSQL%%%%DATADIR%%/mysql/permissions-create.sql -%%MYSQL%%%%DATADIR%%/mysql/presence-create.sql -%%MYSQL%%%%DATADIR%%/mysql/registrant-create.sql -%%MYSQL%%%%DATADIR%%/mysql/registrar-create.sql -%%MYSQL%%%%DATADIR%%/mysql/rls-create.sql -%%MYSQL%%%%DATADIR%%/mysql/rtpproxy-create.sql -%%MYSQL%%%%DATADIR%%/mysql/siptrace-create.sql -%%MYSQL%%%%DATADIR%%/mysql/speeddial-create.sql -%%MYSQL%%%%DATADIR%%/mysql/standard-create.sql -%%MYSQL%%%%DATADIR%%/mysql/tls_mgm-create.sql -%%MYSQL%%%%DATADIR%%/mysql/uri_db-create.sql -%%MYSQL%%%%DATADIR%%/mysql/userblacklist-create.sql -%%MYSQL%%%%DATADIR%%/mysql/usrloc-create.sql -%%DATADIR%%/pi_http/acc-mod -%%DATADIR%%/pi_http/acc-table -%%DATADIR%%/pi_http/alias_db-mod -%%DATADIR%%/pi_http/alias_db-table -%%DATADIR%%/pi_http/auth_db-mod -%%DATADIR%%/pi_http/auth_db-table -%%DATADIR%%/pi_http/avpops-mod -%%DATADIR%%/pi_http/avpops-table -%%DATADIR%%/pi_http/b2b-mod -%%DATADIR%%/pi_http/b2b-table -%%DATADIR%%/pi_http/b2b_sca-mod -%%DATADIR%%/pi_http/b2b_sca-table -%%DATADIR%%/pi_http/cachedb_sql-mod -%%DATADIR%%/pi_http/cachedb_sql-table -%%DATADIR%%/pi_http/call_center-mod -%%DATADIR%%/pi_http/call_center-table -%%DATADIR%%/pi_http/carrierroute-mod -%%DATADIR%%/pi_http/carrierroute-table -%%DATADIR%%/pi_http/closeddial-mod -%%DATADIR%%/pi_http/closeddial-table -%%DATADIR%%/pi_http/clusterer-mod -%%DATADIR%%/pi_http/clusterer-table -%%DATADIR%%/pi_http/cpl-mod -%%DATADIR%%/pi_http/cpl-table -%%DATADIR%%/pi_http/dialog-mod -%%DATADIR%%/pi_http/dialog-table -%%DATADIR%%/pi_http/dialplan-mod -%%DATADIR%%/pi_http/dialplan-table -%%DATADIR%%/pi_http/dispatcher-mod -%%DATADIR%%/pi_http/dispatcher-table -%%DATADIR%%/pi_http/domain-mod -%%DATADIR%%/pi_http/domain-table -%%DATADIR%%/pi_http/domainpolicy-mod -%%DATADIR%%/pi_http/domainpolicy-table -%%DATADIR%%/pi_http/drouting-mod -%%DATADIR%%/pi_http/drouting-table -%%DATADIR%%/pi_http/emergency-mod -%%DATADIR%%/pi_http/emergency-table -%%DATADIR%%/pi_http/fraud_detection-mod -%%DATADIR%%/pi_http/fraud_detection-table -%%DATADIR%%/pi_http/group-mod -%%DATADIR%%/pi_http/group-table -%%DATADIR%%/pi_http/imc-mod -%%DATADIR%%/pi_http/imc-table -%%DATADIR%%/pi_http/load_balancer-mod -%%DATADIR%%/pi_http/load_balancer-table -%%DATADIR%%/pi_http/msilo-mod -%%DATADIR%%/pi_http/msilo-table -%%DATADIR%%/pi_http/permissions-mod -%%DATADIR%%/pi_http/permissions-table -%%DATADIR%%/pi_http/pi_framework-00 -%%DATADIR%%/pi_http/pi_framework-01 -%%DATADIR%%/pi_http/pi_framework-02 -%%DATADIR%%/pi_http/pi_framework.xml -%%DATADIR%%/pi_http/pi_framework_example.xml -%%DATADIR%%/pi_http/presence-mod -%%DATADIR%%/pi_http/presence-table -%%DATADIR%%/pi_http/registrant-mod -%%DATADIR%%/pi_http/registrant-table -%%DATADIR%%/pi_http/registrar-mod -%%DATADIR%%/pi_http/registrar-table -%%DATADIR%%/pi_http/rls-mod -%%DATADIR%%/pi_http/rls-table -%%DATADIR%%/pi_http/rtpproxy-mod -%%DATADIR%%/pi_http/rtpproxy-table -%%DATADIR%%/pi_http/siptrace-mod -%%DATADIR%%/pi_http/siptrace-table -%%DATADIR%%/pi_http/speeddial-mod -%%DATADIR%%/pi_http/speeddial-table -%%DATADIR%%/pi_http/standard-mod -%%DATADIR%%/pi_http/standard-table -%%DATADIR%%/pi_http/tls_mgm-mod -%%DATADIR%%/pi_http/tls_mgm-table -%%DATADIR%%/pi_http/uri_db-mod -%%DATADIR%%/pi_http/uri_db-table -%%DATADIR%%/pi_http/userblacklist-mod -%%DATADIR%%/pi_http/userblacklist-table -%%DATADIR%%/pi_http/usrloc-mod -%%DATADIR%%/pi_http/usrloc-table -%%PGSQL%%%%DATADIR%%/postgres/acc-create.sql -%%PGSQL%%%%DATADIR%%/postgres/alias_db-create.sql -%%PGSQL%%%%DATADIR%%/postgres/auth_db-create.sql -%%PGSQL%%%%DATADIR%%/postgres/avpops-create.sql -%%PGSQL%%%%DATADIR%%/postgres/b2b-create.sql -%%PGSQL%%%%DATADIR%%/postgres/b2b_sca-create.sql -%%PGSQL%%%%DATADIR%%/postgres/cachedb_sql-create.sql -%%PGSQL%%%%DATADIR%%/postgres/call_center-create.sql -%%PGSQL%%%%DATADIR%%/postgres/carrierroute-create.sql -%%PGSQL%%%%DATADIR%%/postgres/closeddial-create.sql -%%PGSQL%%%%DATADIR%%/postgres/clusterer-create.sql -%%PGSQL%%%%DATADIR%%/postgres/cpl-create.sql -%%PGSQL%%%%DATADIR%%/postgres/dialog-create.sql -%%PGSQL%%%%DATADIR%%/postgres/dialplan-create.sql -%%PGSQL%%%%DATADIR%%/postgres/dispatcher-create.sql -%%PGSQL%%%%DATADIR%%/postgres/domain-create.sql -%%PGSQL%%%%DATADIR%%/postgres/domainpolicy-create.sql -%%PGSQL%%%%DATADIR%%/postgres/drouting-create.sql -%%PGSQL%%%%DATADIR%%/postgres/emergency-create.sql -%%PGSQL%%%%DATADIR%%/postgres/fraud_detection-create.sql -%%PGSQL%%%%DATADIR%%/postgres/group-create.sql -%%PGSQL%%%%DATADIR%%/postgres/imc-create.sql -%%PGSQL%%%%DATADIR%%/postgres/load_balancer-create.sql -%%PGSQL%%%%DATADIR%%/postgres/msilo-create.sql -%%PGSQL%%%%DATADIR%%/postgres/permissions-create.sql -%%PGSQL%%%%DATADIR%%/postgres/presence-create.sql -%%PGSQL%%%%DATADIR%%/postgres/registrant-create.sql -%%PGSQL%%%%DATADIR%%/postgres/registrar-create.sql -%%PGSQL%%%%DATADIR%%/postgres/rls-create.sql -%%PGSQL%%%%DATADIR%%/postgres/rtpproxy-create.sql -%%PGSQL%%%%DATADIR%%/postgres/siptrace-create.sql -%%PGSQL%%%%DATADIR%%/postgres/speeddial-create.sql -%%PGSQL%%%%DATADIR%%/postgres/standard-create.sql -%%PGSQL%%%%DATADIR%%/postgres/tls_mgm-create.sql -%%PGSQL%%%%DATADIR%%/postgres/uri_db-create.sql -%%PGSQL%%%%DATADIR%%/postgres/userblacklist-create.sql -%%PGSQL%%%%DATADIR%%/postgres/usrloc-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/acc-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/alias_db-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/auth_db-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/avpops-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/b2b-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/b2b_sca-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/cachedb_sql-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/call_center-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/carrierroute-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/closeddial-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/clusterer-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/cpl-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/dialog-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/dialplan-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/dispatcher-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/domain-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/domainpolicy-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/drouting-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/emergency-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/fraud_detection-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/group-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/imc-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/load_balancer-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/msilo-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/permissions-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/presence-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/registrant-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/registrar-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/rls-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/rtpproxy-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/siptrace-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/speeddial-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/standard-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/tls_mgm-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/uri_db-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/userblacklist-create.sql -%%SQLITE%%%%DATADIR%%/sqlite/usrloc-create.sql %%TESTS%%tests/opensips/1.sh -%%TESTS%%tests/opensips/10.sh %%TESTS%%tests/opensips/11.cfg %%TESTS%%tests/opensips/11.sh %%TESTS%%tests/opensips/12.cfg @@ -616,7 +304,6 @@ %%TESTS%%tests/opensips/14.sh %%TESTS%%tests/opensips/15.sh %%TESTS%%tests/opensips/16.sh -%%TESTS%%tests/opensips/17.sh %%TESTS%%tests/opensips/18.sh %%TESTS%%tests/opensips/19.cfg %%TESTS%%tests/opensips/19.sh @@ -628,7 +315,6 @@ %%TESTS%%tests/opensips/21.sh %%TESTS%%tests/opensips/22.sh %%TESTS%%tests/opensips/23.sh -%%TESTS%%tests/opensips/24.sh %%TESTS%%tests/opensips/25.cfg %%TESTS%%tests/opensips/25.sh %%TESTS%%tests/opensips/26.cfg @@ -637,7 +323,6 @@ %%TESTS%%tests/opensips/28.cfg %%TESTS%%tests/opensips/28.sh %%TESTS%%tests/opensips/29.sh -%%TESTS%%tests/opensips/3.sh %%TESTS%%tests/opensips/30.cfg %%TESTS%%tests/opensips/30.sh %%TESTS%%tests/opensips/31.sh @@ -654,8 +339,6 @@ %%TESTS%%tests/opensips/6.sh %%TESTS%%tests/opensips/7.cfg %%TESTS%%tests/opensips/7.sh -%%TESTS%%tests/opensips/8.sh -%%TESTS%%tests/opensips/9.sh %%TESTS%%tests/opensips/Makefile %%TESTS%%tests/opensips/README %%TESTS%%tests/opensips/carrierroute-2.cfg @@ -673,11 +356,11 @@ %%TESTS%%tests/opensips/register.sip %%TESTS%%tests/opensips/subscribe_notify.csv %%TESTS%%tests/opensips/subscribe_notify_scenario.xml +%%TESTS%%tests/opensips/unit_tests.c +%%TESTS%%tests/opensips/unit_tests.h %%TESTS%%tests/opensips/unregister.sip -@mode 600 -@sample %%ETCDIR%%/opensipsctlrc.sample -@sample %%ETCDIR%%/osipsconsolerc.sample %%RADIUS%%@sample %%ETCDIR%%/dictionary.opensips.sample @owner opensips @group opensips @sample %%ETCDIR%%/opensips.cfg.sample +%%ETCDIR%%/scenario_callcenter.xml