Re: [SR-Users] 503 Service unavailable to 500

2016-10-17 Thread Alex Balashov
Hello, 

Any reply code/status translation is going to invoke the absorption of the old 
reply and the generation of a new one, within the proxy. Proprietary SIP 
headers would not be conserved in such a scenario. 

To add headers to a reply, you can use append_to_reply(), which works in much 
the same manner as append_hf(). 

-- Alex

--
Principal, Evariste Systems LLC (www.evaristesys.com)

Sent from my Google Nexus.


___
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


[SR-Users] 503 Service unavailable to 500

2016-10-17 Thread Dhruvin Desai
Hi

503 Service unavailable received at kamailio SIP server is forwarded as 500
server internal error to the UAC. Which seems fine based on the fact that
there is no retry-after header.

Would like to know if there is any way to to control the SIP Headers like
adding Proprietary SIP Headers to the 500 "Server Interrnal Errror" created
by kamalio stack for 503 service unavailable (without retry-after Header)

It seems that Kamalio does not retain the proprietary sip headers received
in 503  to 500 response forwarded.

Any insight into the issue would be helpful

-- 
Warm Regards

Dhruvin Desai.
___
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