[OpenSER-Devel] xlog $hdr problem

Daniel-Constantin Mierla daniel at voice-system.ro
Thu Oct 25 22:14:54 UTC 2007


Hello,

what version are you using? I tried with trunk and got:

REGISTER registration for sip:123 at test.com (kphone/4.2)

for: xlog("L_INFO", "$rm $hdr(event) for $fu ($ua)\n");

REGISTER sip:test.com SIP/2.0
Via: SIP/2.0/UDP 192.168.1.3:5062;branch=z9hG4bK10603F80
CSeq: 868 REGISTER
To: "1291837" <sip:123 at test.com>
Expires: 180
From: "1291837" <sip:123 at test.com>
Call-ID: 1054108225 at 192.168.1.3
Content-Length: 0
User-Agent: kphone/4.2
Event: registration
Allow-Events: presence
Contact: "1291837" 
<sip:1291837 at 192.168.1.3:5062;transport=udp>;methods="INVITE, MESSAGE, 
INFO, SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK, REFER"


Daniel


On 10/26/07 00:52, Adrian Georgescu wrote:
> I have this statement in my cfg
>
> xlog("L_INFO", "$rm $hdr(event) for $fu ($ua)");
>
> yields
>
> SUBSCRIBE <null> from sip:31208005169 at ag-projects.com to 
> sip:81.23.228.149:5060 (eyeBeam release 1010i stamp 39384)
>
> so $hdr(event) is always <null>
>
> I tried other $hdr(headernames) and the result is always <null>
>
> Adrian
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Devel mailing list
> Devel at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/devel
>



More information about the Devel mailing list