[Devel] Presence subscribe reply formatting

Helge Waastad helge at smartnet.no
Sat Feb 17 17:36:24 CET 2007


Hi,
I see:

SipClient send Request  at: 17:29:05.926
SUBSCRIBE sip:[SP]:5080 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.103:5060;rport;branch=z9hG4bK3A235FCE
CSeq: 3369 SUBSCRIBE
To: <sip:[user]>;tag=10.24501.1171728837.1
Expires: 600
From: "Helge Waastad" <sip:[user2]>;tag=20636767
Call-ID: 2007609328 at 192.168.1.103
Route: <sip:[SP];ftag=10.24501.1171728837.1;lr=on>
Content-Length: 0
User-Agent: KPhoneSI/1.1
Event: presence
Accept: application/pidf+xml
Max-Forwards: 70
Contact: "Helge Waastad" <sip:67512388 at 192.168.1.103;transport=udp>

<<<<<
>>>>>Received: 17:29:05.970 len=411
SIP/2.0 200 OK
Record-Route: <sip:[SP];lr=on;ftag=472D36B4>
Via: SIP/2.0/UDP
192.168.1.103:5060;received=84.202.200.40;rport=1024;branch=z9hG4bKFC5D741
CSeq: 1549 SUBSCRIBE
To: <sip:[user]>;tag=10.24503.1171728837.2
From: "Helge Waastad" <sip:[user]>;tag=472D36B4
Call-ID: 812827962 at 192.168.1.103
Expires: 600
Contact: <sip:[sp]:5080>Content-Length: 0



Should not the Contact in reply be on a separate line?
function has_body returns error:


ERROR:textops:has_body: very bogus message with body but no content
length hdr
ERROR: parse_uri: bad uri,  state 0 parsed: <<sip> (4) /
<<sip:[sp]:5080>Content-Length: 0> (42)






More information about the Devel mailing list