[sr-dev] git:master:0af6ac1c: modules/ims_qos: restoring variable af_signaling_ip that was incorrectly removed

Richard Good richard.good at smilecoms.com
Fri Sep 9 13:38:53 CEST 2016


Module: kamailio
Branch: master
Commit: 0af6ac1ca3177d21326d9531dc9a9afb84c1a332
URL: https://github.com/kamailio/kamailio/commit/0af6ac1ca3177d21326d9531dc9a9afb84c1a332

Author: Richard Good <richard.good at smilecoms.com>
Committer: Richard Good <richard.good at smilecoms.com>
Date: 2016-09-09T13:34:51+02:00

modules/ims_qos: restoring variable af_signaling_ip that was incorrectly removed

---

Modified: modules/ims_qos/mod.c

---

Diff:  https://github.com/kamailio/kamailio/commit/0af6ac1ca3177d21326d9531dc9a9afb84c1a332.diff
Patch: https://github.com/kamailio/kamailio/commit/0af6ac1ca3177d21326d9531dc9a9afb84c1a332.patch

---

diff --git a/modules/ims_qos/mod.c b/modules/ims_qos/mod.c
index 48c993c..91566c8 100644
--- a/modules/ims_qos/mod.c
+++ b/modules/ims_qos/mod.c
@@ -138,6 +138,9 @@ str rx_dest_realm = str_init("ims.smilecoms.com");
 /* Only used if we want to force the Rx peer usually this is configured at a stack level and the first request uses realm routing */
 str rx_forced_peer = str_init("");
 
+/* P-CSCF IP address to generate the flows for the UE<->PCSCF signaling path */
+str af_signaling_ip = str_init("127.0.0.1");
+
 
 /* commands wrappers and fixups */
 static int w_rx_aar(struct sip_msg *msg, char *route, char* dir, char *id, int id_type);
@@ -188,6 +191,7 @@ static param_export_t params[] = {
 		{ "rx_dest_realm", PARAM_STR, &rx_dest_realm},
 		{ "rx_forced_peer", PARAM_STR, &rx_forced_peer},
 		{ "rx_auth_expiry", INT_PARAM, &rx_auth_expiry},
+		{ "af_signaling_ip", PARAM_STR, &af_signaling_ip}, /* IP of this P-CSCF, to be used in the flow for the AF-signaling */
 		{ "cdp_event_latency", INT_PARAM, &cdp_event_latency}, /*flag: report slow processing of CDP callback events or not */
 		{ "cdp_event_threshold", INT_PARAM, &cdp_event_threshold}, /*time in ms above which we should report slow processing of CDP callback event*/
 		{ "cdp_event_latency_log", INT_PARAM, &cdp_event_latency_loglevel}, /*log-level to use to report slow processing of CDP callback event*/




More information about the sr-dev mailing list