Skip to content

Commit 15537c2

Browse files
authored
Merge branch 'OpenSIPS:master' into sip2json
2 parents 67f8901 + 07e4feb commit 15537c2

File tree

378 files changed

+21451
-4959
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

378 files changed

+21451
-4959
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@ jobs:
1717
build:
1818
# The type of runner that the job will run on
1919
runs-on: ${{ matrix.os }}
20+
continue-on-error: true
2021
env:
2122
COMPILER: ${{ matrix.compiler }}
2223
BUILD_OS: ${{ matrix.os }}
2324

2425
strategy:
26+
fail-fast: false
2527
matrix:
2628
os: [ubuntu-20.04]
2729
compiler: ['gcc', 'clang', 'gcc-9', 'gcc-10', 'clang-9', 'clang-10']
@@ -60,6 +62,10 @@ jobs:
6062
- name: Build
6163
run: sh -x scripts/build/do_build.sh
6264

65+
notify:
66+
runs-on: ubuntu-latest
67+
needs: build
68+
steps:
6369
- name: Notify slack fail
6470
if: failure() && github.repository == 'OpenSIPS/opensips'
6571
env:

.github/workflows/multiarch.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@ jobs:
1717
build_multiarch:
1818
# The type of runner that the job will run on
1919
runs-on: ${{ matrix.os }}
20+
continue-on-error: true
2021
env:
2122
COMPILER: ${{ matrix.compiler }}
2223
BUILD_OS: ${{ matrix.os }}
2324

2425
strategy:
26+
fail-fast: false
2527
matrix:
2628
compiler: ['gcc-i386-cross', 'clang-i386-cross', 'gcc-mips64-cross', 'gcc-arm32-cross', 'gcc-arm64-cross', 'gcc-arm32-qemu-cross', 'gcc-arm64-qemu-cross', 'clang-arm32-qemu-cross', 'clang-arm64-qemu-cross']
2729
os: [ubuntu-22.04]
@@ -61,6 +63,10 @@ jobs:
6163
if: endsWith(matrix.compiler, '-qemu-cross')
6264
run: scripts/build/print_ccache_stats.sh
6365

66+
notify:
67+
runs-on: ubuntu-latest
68+
needs: build_multiarch
69+
steps:
6470
- name: Notify slack fail
6571
if: failure() && github.repository == 'OpenSIPS/opensips'
6672
env:

.github/workflows/unittests.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@ jobs:
1717
build_and_test:
1818
# The type of runner that the job will run on
1919
runs-on: ${{ matrix.os }}
20+
continue-on-error: true
2021
env:
2122
COMPILER: ${{ matrix.compiler }}
2223
BUILD_OS: ${{ matrix.os }}
2324

2425
strategy:
26+
fail-fast: false
2527
matrix:
2628
compiler: ['gcc', 'clang', 'gcc-9', 'gcc-10', 'clang-9', 'clang-10']
2729
os: [ubuntu-20.04]
@@ -100,6 +102,17 @@ jobs:
100102
MAKE_TGT: 'test'
101103
run: script -e unit_tests.log -c 'sh -x scripts/build/do_build.sh DEFS_EXTRA_OPTS="-DUNIT_TESTS -fPIE -fPIC"'
102104

105+
- name: Collect test logs
106+
uses: actions/upload-artifact@v3
107+
with:
108+
name: unit_tests-logs_${{ matrix.os }}_${{ matrix.compiler }}
109+
path: |
110+
unit_tests.log
111+
112+
notify:
113+
runs-on: ubuntu-latest
114+
needs: build_and_test
115+
steps:
103116
- name: Notify slack fail
104117
if: failure() && github.repository == 'OpenSIPS/opensips'
105118
env:
@@ -110,9 +123,3 @@ jobs:
110123
status: FAILED
111124
color: danger
112125

113-
- name: Collect test logs
114-
uses: actions/upload-artifact@v3
115-
with:
116-
name: unit_tests-logs_${{ matrix.os }}_${{ matrix.compiler }}
117-
path: |
118-
unit_tests.log

Makefile.conf.template

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,11 @@
2828
#identity= Adds support for SIP Identity (see RFC 4474). | SSL library, typically libssl
2929
#jabber= Integrates XODE XML parser for parsing Jabber messages | Expat library.
3030
#json= Introduces a new type of variable that provides both serialization and de-serialization from JSON format. | JSON library, libjson
31-
#launch_darkly= Implements an interface to the Launch Darkly feature management cloud
31+
#launch_darkly= Implements an interface to the Launch Darkly feature management cloud | Launch Darkly C++ server-side SDK (libldserverapi)
3232
#ldap= Implements an LDAP search interface for OpenSIPS | OpenLDAP library & development files, typically libldap and libldap-dev
3333
#lua= Easily implement your own OpenSIPS extensions in Lua | liblua5.1-0-dev, libmemcache-dev and libmysqlclient-dev
3434
#httpd= Provides an HTTP transport layer implementation for OpenSIPS. | libmicrohttpd
35+
#http2d= Provides HTTP/2 server-side support, using nghttp2 | nghttp2 library (libnghttp2), libevent, libssl and libevent-openssl
3536
#mi_xmlrpc_ng= New version of the xmlrpc server that handles xmlrpc requests and generates xmlrpc responses. | parsing/building XML library, typically libxml
3637
#mmgeoip= Lightweight wrapper for the MaxMind GeoIP API | libGeoIP
3738
#osp= Enables OpenSIPS to support secure, multi-lateral peering using the OSP standard | OSP development kit, typically osptoolkit
@@ -45,12 +46,14 @@
4546
#presence= Handles PUBLISH and SUBSCRIBE messages and generates NOTIFY messages in a general, event independent way | XML parsing & Building library, typically libxml-dev
4647
#presence_dialoginfo= Enables the handling of "Event: dialog" (as defined in RFC 4235) | XML parsing & building library, typically libxml-dev
4748
#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
49+
#presence_reginfo= Presence handler for "reg"-events according to RFC 3680 | XML parsing & building library,typically libxml-dev
4850
#presence_xml= Does specific handling for notify-subscribe events using xml bodies. | XML parsing & building library, typically libxml-dev
4951
#presence_dfks = Does specific handling for DFKS (as-feature-event) events. | XML parsing & building library, typically libxml-dev
5052
#pua= Offers the functionality of a presence user agent client, sending Subscribe and Publish messages. | XML parsing & building library, typically libxml-dev
5153
#pua_bla= Enables Bridged Line Appearances support according | XML parsing & building library, typically libxml-dev
5254
#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
5355
#pua_mi= Offers the possibility to publish presence information and subscribe to presence information via MI transports. | XML parsing & building library,typically libxml-dev
56+
#pua_reginfo= Publisher for "reg"-events according to RFC 3680 | XML parsing & building library,typically libxml-dev
5457
#pua_usrloc= Connector between usrloc and pua modules. | XML parsing & building library,typically libxml-dev
5558
#pua_xmpp= Gateway for presence between SIP and XMPP. | XML parsing & building library,typically libxml-dev
5659
#python= Easily implement your own OpenSIPS extensions in Python | Shared Python runtime library, libpython
@@ -68,7 +71,7 @@
6871
#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
6972
#uuid= UUID generator | uuid-dev
7073

71-
exclude_modules?= aaa_diameter aaa_radius auth_jwt b2b_logic_xml 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 event_kafka h350 httpd identity jabber json launch_darkly ldap lua mi_xmlrpc_ng mmgeoip osp perl pi_http presence presence_dialoginfo presence_mwi presence_xml presence_dfks 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 stir_shaken tls_mgm tls_openssl tls_wolfssl uuid xcap xcap_client xml xmpp
74+
exclude_modules?= aaa_diameter aaa_radius auth_jwt b2b_logic_xml 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 event_kafka h350 httpd http2d identity jabber json launch_darkly ldap lua mi_xmlrpc_ng mmgeoip osp perl pi_http presence presence_dialoginfo presence_mwi presence_reginfo presence_xml presence_dfks proto_sctp proto_tls proto_wss pua pua_bla pua_dialoginfo pua_mi pua_reginfo pua_usrloc pua_xmpp python regex rabbitmq rabbitmq_consumer rest_client rls siprec sngtc snmpstats stir_shaken tls_mgm tls_openssl tls_wolfssl uuid xcap xcap_client xml xmpp
7275

7376
include_modules?=
7477

aaa/aaa.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@
5252
#define AAA_AUTH 4
5353
#define AAA_ACCT 5
5454
#define AAA_RECV 6
55-
#define AAA_CUSTOM 7
55+
#define AAA_CUSTOM_REQ 7
56+
#define AAA_CUSTOM_RPL 8
5657

5758
#define AAA_GET_FROM_START 8
5859
#define AAA_GET_FROM_CURRENT 9

0 commit comments

Comments
 (0)