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
rend...@acropolistelecom.net
<mailto:rend...@acropolistelecom.net>
Adresse : 161-163 avenue Gallieni
Paris - Porte de Bagnolet
93170 Bagnolet

_______________________________________________
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

Reply via email to