On Thursday 16 August 2007 10:27:24 Jesus Rodriguez wrote:
Hola Raúl,
Gracias por contestar Jesus.
¿Qué hay en el route(12)?. Según lo que sea, ese ACK no llegará al route(19).
######################################################################## # Request route 'base-outbound' ######################################################################## route[12] { if(is_present_hf("P-Asserted-Identity")) { remove_hf("P-Asserted-Identity"); } if(is_present_hf("Remote-Party-ID")) { remove_hf("Remote-Party-ID"); } if(is_avp_set("$avp(s:caller_cli)/s")) { if(!isflagset(28)) {
xlog("L_INFO", "Set caller CLI '$avp(s:caller_cli)' - M=$rm RURI=$ru F=$fu T=$tu IP=$si ID=$ci\n"); append_hf("P-Asserted-Identity: <$avp(s:caller_cli)>\r\n"); } }
route(9); if(isbflagset(6)) { if(!isflagset(22) && !search("^Content-Length:[ ]*0")) { setflag(22); xlog("L_INFO", "Use media proxy\r\n"); use_media_proxy(); }
t_on_reply("2"); } else {
t_on_reply("1"); } if(!isflagset(21)) {
t_on_failure("2"); if(!isflagset(26)) { $avp(s:acc_callee_user) = $rU; $avp(s:acc_callee_domain) = $rd;
route(5); route(6); } } if(isflagset(29)) { append_branch(); } if(is_present_hf("Proxy-Authorization")) { consume_credentials(); }
xlog("L_INFO", "Route[12]: Request leaving server, D-URI='$du' - M=$rm RURI=$ru F=$fu T=$tu IP=$si ID=$ci\n"); # no 100 (we already sent it) and no DNS blacklisting ds_select_dst("00","4"); #if(!t_relay("0x05")) if(!t_relay()) { sl_reply_error(); if(is_method("INVITE") && isbflagset(6)) { end_media_session(); } } exit;
}