$avp(s:caller_use_rtpproxy)

squeeze-backports
Victor Seva 13 years ago
parent 6638470f33
commit c36a14a940

@ -631,8 +631,6 @@ route[ROUTE_LOAD_CALLER_PREF]
avp_copy("$avp(s:force_outbound_calls_to_peer)", "$avp(s:caller_dom_force_outbound_calls_to_peer)/d"); avp_copy("$avp(s:force_outbound_calls_to_peer)", "$avp(s:caller_dom_force_outbound_calls_to_peer)/d");
avp_copy("$avp(s:use_rtpproxy)", "$avp(s:caller_dom_use_rtpproxy)/d");
avp_copy("$avp(s:concurrent_max)", "$avp(s:caller_dom_concurrent_max)/d"); avp_copy("$avp(s:concurrent_max)", "$avp(s:caller_dom_concurrent_max)/d");
avp_copy("$avp(s:concurrent_max_out)", "$avp(s:caller_dom_concurrent_max_out)/d"); avp_copy("$avp(s:concurrent_max_out)", "$avp(s:caller_dom_concurrent_max_out)/d");
avp_copy("$avp(s:concurrent_max_per_account)", "$avp(s:caller_dom_concurrent_max_per_account)/d"); avp_copy("$avp(s:concurrent_max_per_account)", "$avp(s:caller_dom_concurrent_max_per_account)/d");
@ -787,14 +785,9 @@ route[ROUTE_LOAD_CALLER_PREF]
$avp(s:caller_force_outbound_calls_to_peer) = 1; $avp(s:caller_force_outbound_calls_to_peer) = 1;
} }
avp_copy("$avp(s:use_rtpproxy)", "$avp(s:caller_use_rtpproxy)/d");
if($avp(s:caller_use_rtpproxy) == $null && $avp(s:caller_dom_use_rtpproxy) != $null)
{
$avp(s:caller_use_rtpproxy) = $avp(s:caller_dom_use_rtpproxy);
}
if($avp(s:first_caller_use_rtpproxy) == $null) if($avp(s:first_caller_use_rtpproxy) == $null)
{ {
$(avp(s:first_caller_use_rtpproxy)[*]) = $avp(s:caller_use_rtpproxy); $(avp(s:first_caller_use_rtpproxy)[*]) = $xavp(caller_real_prefs=>use_rtpproxy);
} }
if($avp(s:rewrite_caller_in_dpid) == $null) #any null of the 4 rewrite preferences means all null if($avp(s:rewrite_caller_in_dpid) == $null) #any null of the 4 rewrite preferences means all null

Loading…
Cancel
Save