[SR-Users] Add Header on cancel
Alex Rendour
rendour at acropolistelecom.net
Thu May 20 16:27:36 CEST 2010
Hi,
Is it possible to add an header reason in a cancel?
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");
}
}
Thanks,
regards,
--
Alexandre Rendour
Acropolis Telecom <http://www.acropolistelecom.net>
Direct: +33 (0) 181813201
Support: +33 (0) 811 851 851
rendour at acropolistelecom.net
<mailto:rendour at acropolistelecom.net>
Adresse : 161-163 avenue Gallieni
Paris - Porte de Bagnolet
93170 Bagnolet
More information about the sr-users
mailing list