From 226f2af9bc13dfd30ee0a2dc4dd263ee84f0a075 Mon Sep 17 00:00:00 2001 From: karl anderson Date: Sun, 3 Feb 2013 10:45:36 -0800 Subject: [PATCH] use the optional registration dispatch list when locking call-ids to servers --- opensips/opensips.tmp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/opensips/opensips.tmp b/opensips/opensips.tmp index 98c5f0a..799e483 100644 --- a/opensips/opensips.tmp +++ b/opensips/opensips.tmp @@ -142,7 +142,7 @@ modparam("sl", "enable_stats", 1) ###################################################################### ## SIP Transaction UA Module Parameters ###################################################################### -modparam("tm", "fr_timer", 2) +modparam("tm", "fr_timer", 3) modparam("tm", "fr_inv_timer", 120) # modparam("tm", "wt_timer", 5) # modparam("tm", "delete_timer", 2) @@ -814,7 +814,7 @@ onreply_route[external_reply] # traffic through opensips # Target: A endpoint answering a call made from one of our media # servers should lock that endpoint to the server - if (t_check_status("200") && is_method("INVITE") && $(fd{ip.isip}) && ds_is_in_list("$fd", "", "1")) + if (t_check_status("200") && is_method("INVITE") && $(fd{ip.isip}) && (ds_is_in_list("$fd", "", "1") || ds_is_in_list("$fd", "", "3"))) { $var(d) = $(fu{uri.host}); @@ -873,7 +873,7 @@ onreply_route[internal_reply] # We have to do it in the reply so we have the correct call id # Target: Endpoint intiated a request that was challenged, lock that # call id to the challenging server so it recieves the reply - if (t_check_status("(407)|(401)") && $(si{ip.isip}) && ds_is_in_list("$si", "", "1")) + if (t_check_status("(407)|(401)") && $(si{ip.isip}) && (ds_is_in_list("$si", "", "1") || ds_is_in_list("$si", "", "3"))) { cache_store("local", "$ci", "sip:$si:$sp", 3600);