[OpenSIPS-Users] CANCEL auth

Victor Gamov vit at euro-comm.net
Fri Jun 24 15:51:06 CEST 2011


Hi All

I have following config code:

--------------------
if ( is_method("INVITE|UPDATE|SUBSCRIBE|MESSAGE|CANCEL") ) {
   if ( ! proxy_authorize("", "subscriber") ) {
     proxy_challenge("", "1");
     return;
   } else {
     xlog("L_DBG", "route[0]: au=$au; ar=$ar; fU=$fU; fd=$fd\n");
   }
}
--------------------

When following CANCEL comes to OpenSIPS-1.6.4-2-notls then debug prints:
au=<null>; ar=<null>; fU=vit; fd=domain.ru

Why $au and $ar is null? Is it correct?


--------------------
CANCEL sip:132 at domain.ru;user=phone SIP/2.0.
Via: SIP/2.0/UDP 
192.168.100.114:5060;branch=z9hG4bKee2799df33a1f9d47606713ceef0cf63;rport.
From: "vit at domain" <sip:vit at domain.ru>;tag=1863488453.
To: <sip:132 at domain.ru;user=phone>.
Call-ID: 1575274528 at 192_168_100_114.
CSeq: 3 CANCEL.
Contact: <sip:vit at 192.168.100.114:5060>.
Proxy-Authorization: Digest username="vit", realm="domain.ru", qop=auth, 
uri="sip:132 at domain.ru;user=phone", 
nonce="4e04936f0000000153cdf04ef598707f3849686bee7b566a", nc=00000002, 
cnonce="85b6b55d74844e156b6858a1a881f174", 
response="1210aa91a7507e4af9a035dfadb969bc".
Max-Forwards: 70.
User-Agent: C470 IP/022270000000.
Content-Length: 0.
--------------------



--
CU,
Victor Gamov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vit.vcf
Type: text/x-vcard
Size: 156 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20110624/bfbd5aca/attachment.vcf>


More information about the Users mailing list