I checked the trace ip, and we don’t receive 500, but only 487

Thanks

 

Da: sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] Per conto di Daniel-Constantin Mierla
Inviato: lunedì 31 marzo 2014 10:27
A: Kamailio (SER) - Users Mailing List
Oggetto: Re: [SR-Users] ERROR reply code Failure route

 

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@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

Nessun virus nel messaggio.
Controllato da AVG - www.avg.com
Versione: 2014.0.4354 / Database dei virus: 3722/7259 - Data di rilascio: 27/03/2014