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?
--
Alex Balashov - Principal
Evariste Systems LLC
1170 Peachtree Street
12th Floor, Suite 1200
Atlanta, GA 30309
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web:
http://www.evaristesys.com/