From 0af6ac1ca3177d21326d9531dc9a9afb84c1a332 Mon Sep 17 00:00:00 2001 From: Richard Good Date: Fri, 9 Sep 2016 13:34:51 +0200 Subject: [PATCH] modules/ims_qos: restoring variable af_signaling_ip that was incorrectly removed --- modules/ims_qos/mod.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/ims_qos/mod.c b/modules/ims_qos/mod.c index 48c993cc448..91566c8a833 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*/