Skip to content

Commit 06435e8

Browse files
committed
listen= -> socket=.
1 parent 8606024 commit 06435e8

File tree

6 files changed

+15
-10
lines changed

6 files changed

+15
-10
lines changed

scenarios/UAC/opensips.cfg.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ loadmodule "uri/uri.so"
2929
modparam("uac_auth", "credential", "mightyuser:VoIPTests.NET:s3cr3tpAssw0Rd")
3030
modparam("rtpproxy", "rtpproxy_sock", RTPP_SOCK_TEST)
3131

32-
listen=udp:127.0.0.1:5060
33-
listen=udp:[::1]:5060
32+
socket=udp:127.0.0.1:5060
33+
socket=udp:[::1]:5060
3434

3535
#if OPENSIPS_VER_FULL == master
3636
stderror_enabled=yes

scenarios/UAS/auth/opensips.cfg.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ modparam("auth", "calculate_ha1", 1)
3535

3636
modparam("rtpproxy", "rtpproxy_sock", RTPP_SOCK_TEST)
3737

38-
listen=udp:127.0.0.1:5060
39-
listen=udp:[::1]:5060
38+
socket=udp:127.0.0.1:5060
39+
socket=udp:[::1]:5060
4040

4141
#if OPENSIPS_VER_FULL == master
4242
stderror_enabled=yes

scenarios/UAS/auth_db/calculate_ha1/opensips.cfg.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ modparam("auth_db", "db_url", "text://<#exec echo -n `pwd`>/scenarios/<#MM_AUTH>
3939

4040
modparam("rtpproxy", "rtpproxy_sock", RTPP_SOCK_TEST)
4141

42-
listen=udp:127.0.0.1:5060
43-
listen=udp:[::1]:5060
42+
socket=udp:127.0.0.1:5060
43+
socket=udp:[::1]:5060
4444

4545
#if OPENSIPS_VER_FULL == master
4646
stderror_enabled=yes

scenarios/UAS/auth_db/ha1/opensips.cfg.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ modparam("auth_db", "db_url", "text://<#exec echo -n `pwd`>/scenarios/<#MM_AUTH>
3939

4040
modparam("rtpproxy", "rtpproxy_sock", RTPP_SOCK_TEST)
4141

42-
listen=udp:127.0.0.1:5060
43-
listen=udp:[::1]:5060
42+
socket=udp:127.0.0.1:5060
43+
socket=udp:[::1]:5060
4444

4545
#if OPENSIPS_VER_FULL == master
4646
stderror_enabled=yes

scenarios/passtr/opensips.cfg.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ modparam("auth", "calculate_ha1", 1)
4848

4949
modparam("rtpproxy", "rtpproxy_sock", RTPP_SOCK_TEST)
5050

51-
listen=udp:127.0.0.1:5060
52-
listen=udp:[::1]:5060
51+
socket=udp:127.0.0.1:5060
52+
socket=udp:[::1]:5060
5353

5454
#if OPENSIPS_VER_FULL == master
5555
stderror_enabled=yes

scenarios/simple/opensips.cfg.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,13 @@ modparam("rtp.io", "rtpproxy_args", $$"-m 12000 -M 15000 RTPP_LISTEN"$$)
3838
modparam("rtpproxy", "rtpproxy_sock", RTPP_SOCK_TEST)
3939
#endif
4040

41+
#if OPENSIPS_VER != 24 && OPENSIPS_VER != 30
42+
socket=udp:127.0.0.1:5060
43+
socket=udp:[::1]:5060
44+
#else
4145
listen=udp:127.0.0.1:5060
4246
listen=udp:[::1]:5060
47+
#endif
4348

4449
#if OPENSIPS_VER_FULL == master
4550
stderror_enabled=yes

0 commit comments

Comments
 (0)