[SR-Users] ERROR reply code Failure route

pars3c pars3c at gmail.com
Mon Mar 31 10:19:29 CEST 2014


Hello,

i receive many error on the failure route like this "
t_should_relay_response(): ERROR: t_should_relay_response: status rewrite by
UAS: stored: 500, received: 487" . Do you know why ?

 

My version of Kamailio is the 4.1.2  and the code is this:

 

failure_route[MANAGE_FAILURE] {

 

                if (t_is_canceled()) {

                               exit;

                }              

                

                revert_uri();

                if (!cr_next_domain("$avp(s:carrier)", "$avp(s:domain)",
"$rU", "$avp(s:host)", "$T_reply_code", "$avp(s:domain)")) {

                               exit;

                }

                if (!cr_route("$avp(s:carrier)", "$avp(s:domain)", "$rU",
"$rU", "call_id")) {

                               exit;

                }

                $avp(s:host)= $rd;

                

                t_on_failure("MANAGE_FAILURE");

                t_on_branch("MANAGE_BRANCH");

                append_branch();

                if (!t_relay()) {

                               exit;

                }

}

 

 

Thanks to all

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140331/bf297d40/attachment.html>


More information about the sr-users mailing list