[sr-dev] git:5.3:998581b0: misc: examples: IMS PCSCF pcscf.cfg update

Henning Westerholt hw at skalatan.de
Sun Feb 9 17:24:10 CET 2020


Module: kamailio
Branch: 5.3
Commit: 998581b0216a2e904deccda2b5deb72b133eee51
URL: https://github.com/kamailio/kamailio/commit/998581b0216a2e904deccda2b5deb72b133eee51

Author: Nick <nick at nickvsnetworking.com>
Committer: Henning Westerholt <hw at skalatan.de>
Date: 2020-02-09T17:23:16+01:00

misc: examples:  IMS PCSCF pcscf.cfg update

Minor changes to make the example functional in the current stable release and higher.

- Load WITH_IPSEC by default (IPsec module is required for IMS Usrloc to load)
- Bind to any IP in example
- Removed con=> prefix on MySQL Connection (not used in single instance / if not clustered)

(cherry picked from commit decd1848e8c3c8a68553dba48abb4147195b5bf5)

---

Modified: misc/examples/ims/pcscf/pcscf.cfg.sample

---

Diff:  https://github.com/kamailio/kamailio/commit/998581b0216a2e904deccda2b5deb72b133eee51.diff
Patch: https://github.com/kamailio/kamailio/commit/998581b0216a2e904deccda2b5deb72b133eee51.patch

---

diff --git a/misc/examples/ims/pcscf/pcscf.cfg.sample b/misc/examples/ims/pcscf/pcscf.cfg.sample
index 6b7a7231ca..4d26357764 100644
--- a/misc/examples/ims/pcscf/pcscf.cfg.sample
+++ b/misc/examples/ims/pcscf/pcscf.cfg.sample
@@ -1,14 +1,14 @@
 # IP-Adress for incoming SIP-Traffic, in the following format:
 
 # SIP / UDP
-listen=udp:11.22.33.44:5060
+listen=udp:0.0.0.0:5060
 # SIP / TCP
-#listen=tcp:11.22.33.44:5060
+#listen=tcp:0.0.0.0:5060
 # SIP / TCP/TLS
-#listen=tls:11.22.33.44:5061
+#listen=tls:0.0.0.0:5061
 
 # IPSEC / UDP
-#!define IPSEC_LISTEN_ADDR "11.22.33.44"
+#!define IPSEC_LISTEN_ADDR "0.0.0.0"
 #!define IPSEC_CLIENT_PORT 5062
 #!define IPSEC_SERVER_PORT 5063
 
@@ -33,7 +33,7 @@ alias=pcscf.mnc001.mcc001.3gppnetwork.org
 ##!define XMLRPC_WHITELIST_3 "127.0.0.1"
 
 # Databases:
-#!define DB_URL "con1=>mysql://pcscf:heslo@127.0.0.1/pcscf"
+#!define DB_URL "mysql://pcscf:heslo@127.0.0.1/pcscf"
 ##!define DB_URL2 "con2=>mysql://pcscf:heslo@127.0.0.1/pcscf"
 
 #!define SQLOPS_DBURL "pcscf=>mysql://pcscf:heslo@127.0.0.1/pcscf"
@@ -109,4 +109,4 @@ alias=pcscf.mnc001.mcc001.3gppnetwork.org
 ##!define WITH_REGINFO
 ##!define WITH_RTPPING
 ##!define WITH_WEBSOCKET
-##!define WITH_IPSEC
+#!define WITH_IPSEC




More information about the sr-dev mailing list