linphone-users
[Top][All Lists]
Advanced

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

[Linphone-users] Linphone does not send Accept header with SUBSCRIBE req


From: Name1 Name2
Subject: [Linphone-users] Linphone does not send Accept header with SUBSCRIBE request
Date: Wed, 11 Dec 2013 15:52:29 -0500

When using Linphone with an Asterisk server, all contacts will appear
offline even if they are online. From what I can tell, this is because
Linphone does not send an Accept header with it's SUBSCRIBE request.
The following warning appears within Asterisk's log:
WARNING[55098]: chan_sip.c:25470 handle_request_subscribe: SUBSCRIBE
failure: no Accept header: pvt: stateid: -1, laststate: 0, dialogver:
0, subscribecont: '', subscribeuri: ''


Here's an example request from the debug log:
SUBSCRIBE sip:<sip address> SIP/2.0
Via: SIP/2.0/TLS <ip address>;rport;branch=z9hG4bK181354668
From: <sip address>;tag=985811448
To: <sip address>
Call-ID: 610322766
CSeq: 20 SUBSCRIBE
Contact: <sip:<sip address>;transport=tls>
Max-Forwards: 70
User-Agent: Linphone/3.6.1 (eXosip2/4.0.0)
Expires: 600
Event: presence
Content-Length: 0

The Accept header isn't there. Is there a way to work around this and
have Linphone send a valid header?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]