The code does not work.
The header doesn't appear in the cancel forward.
Thanks,
Alexandre Rendour
Acropolis Telecom <http://www.acropolistelecom.net>
Direct: +33 (0) 181813201
Support: +33 (0) 811 851 851
rend...@acropolistelecom.net
<mailto:rend...@acropolistelecom.net>
Adresse : 161-163 avenue Gallieni
Paris - Porte de Bagnolet
93170 Bagnolet
Le 20/05/2010 16:40, Alex Balashov a écrit :
On 05/20/2010 10:27 AM, Alex Rendour wrote:
Is it possible to add an header reason in a cancel?
I don't know of anything in RFC 3261 prohibiting additional headers in
any initial request.
We receive a CANCEL without header reason and we need to forward to
another SIP proxy with the reason header?
We use this code in my conf:
if(is_method("CANCEL"))
{
if(!is_present_hf("Reason:"))
{
xlog("L_ERR", "reason missing");
append_hf("reason: Q.850; cause=31\r\n");
xlog("L_ERR", "add raison");
}
}
Does it work?
_______________________________________________
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