[SR-Users] ERROR reply code Failure route

Daniel-Constantin Mierla miconda at gmail.com
Mon Mar 31 10:26:48 CEST 2014


Hello,

can you look at sip traffic to see if a 500 response is received and 
then another one with code 487 comes?

Cheers,
Daniel

On 31/03/14 10:19, pars3c wrote:
>
> 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
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference - April 2-4, 2014, Berlin, Germany
http://www.kamailioworld.com

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


More information about the sr-users mailing list