diff --git a/kamailio/default.cfg b/kamailio/default.cfg index 917c050..3b4f6e2 100644 --- a/kamailio/default.cfg +++ b/kamailio/default.cfg @@ -508,9 +508,9 @@ failure_route[INTERNAL_FAULT] ## get_redirects("*"); if($T_rpl($hdr(X-Redirect-Server)) != $null) { - $var(contact_uri) = @from.uri.user + "@" + @from.uri.host; + $var(from_uri) = @from.uri.user + "@" + @from.uri.host; - $sht(associations=>$var(contact_uri)) = $T_rpl($hdr(X-Redirect-Server)); + $sht(associations=>$var(from_uri)) = $T_rpl($hdr(X-Redirect-Server)); xlog("L_INFO", "$ci|log|stored redirect mapping for $var(contact_uri) to $T_rpl($hdr(X-Redirect-Server))"); diff --git a/kamailio/dispatcher-role.cfg b/kamailio/dispatcher-role.cfg index 1f4ae47..83cd94b 100644 --- a/kamailio/dispatcher-role.cfg +++ b/kamailio/dispatcher-role.cfg @@ -87,6 +87,7 @@ route[DISPATCHER_FIND_ROUTES] $var(prefered_route) = $sht(associations=>$var(association)); xlog("L_INFO", "$ci|log|from uri $var(from_uri) associated with media server $var(prefered_route)"); route(DISPATCHER_REORDER_ROUTES); + $sht(associations=>$var(from_uri)) = $null; } else if ($sht(associations=>$var(contact_uri)) != $null) { $var(association) = $var(contact_uri); $var(prefered_route) = $sht(associations=>$var(association)); diff --git a/kamailio/presence-role.cfg b/kamailio/presence-role.cfg index 7ef6e1a..2c03306 100644 --- a/kamailio/presence-role.cfg +++ b/kamailio/presence-role.cfg @@ -6,6 +6,8 @@ modparam("htable", "htable", "dbkp=>size=16;autoexpire=7200") ######## Presence User Agent module ######## loadmodule "pua_dialoginfo.so" modparam("pua_dialoginfo", "library_mode", 1) +modparam("pua", "min_expires", 300) +modparam("pua", "max_expires", 3600) ######## Presence server module ######## loadmodule "presence.so" diff --git a/kamailio/registrar-role.cfg b/kamailio/registrar-role.cfg index f152a38..814b612 100644 --- a/kamailio/registrar-role.cfg +++ b/kamailio/registrar-role.cfg @@ -33,6 +33,8 @@ modparam("nathelper", "sipping_bflag", FLB_NATSIPPING) ####### SIP Registrar implementation module ########## loadmodule "registrar.so" modparam("registrar", "received_avp", "$avp(AVP_RECV_PARAM)") +modparam("registrar", "min_expires", 300) +modparam("registrar", "max_expires", 3600) ####### Registrar Logic ######## route[HANDLE_REGISTER] diff --git a/system/rsyslog.d/90-2600hzPlatform.conf b/system/rsyslog.d/90-2600hzPlatform.conf index 7938d8f..e88c33b 100644 --- a/system/rsyslog.d/90-2600hzPlatform.conf +++ b/system/rsyslog.d/90-2600hzPlatform.conf @@ -1 +1,2 @@ local0.* /var/log/2600hz-platform.log +& ~