Error parsing Contact like user@domain@x.x.x.x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Some SIP phones produce Contact like "user at domain@x.x.x.x". pjsip  
fails to parse such headers:

17:24:24.363 sip_transport.  Error processing 800 bytes packet from  
UDP 10.0.0.1:5060 : PJSIP syntax error exception when parsing ''  
header on line 11 col 36:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.0.24:55187;rport=55187;branch=111
From: "John Smith" <sip:john@xxxxxxxxxxx>;tag=222
To: "John Smith" <sip:john at example.com>;tag=333
Call-ID: 444
CSeq: 555 REGISTER
Expires: 300
Contact: <sip:john at 10.0.0.24:55187>;expires=300
Contact: <sip:john at 10.0.0.24:55175>;expires=139
Contact: <sip:john at 10.0.0.24:55134>;expires=4
Contact: <sip:john at example.com@10.0.0.41:5070>;q=0.90;expires=31

pjproject-1.0.1, Mac OS X 10.5

Alexei






[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux