linphone-developers
[Top][All Lists]
Advanced

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

[Linphone-developers] Presence not working (SIP/2.0 489 Bad Event)


From: Mathew Shires
Subject: [Linphone-developers] Presence not working (SIP/2.0 489 Bad Event)
Date: Mon, 10 Apr 2017 10:39:26 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

Presence on Linphone is not working, I am unable to see other users' presence or set my own.
Other softphones such as Ekiga and Zoiper do not have this issue.

It seems to be complaining about a bad SIP event.

Log can be seen below:

message: 2017-04-10 10:18:35:455 No presentity set for model [04C38CF8], using identity from proxy config [00D07D80]
message: 2017-04-10 10:18:35:455 Changing [client] [PUBLISH] transaction [04D14F60], from state [INIT] to [TRYING]
message: 2017-04-10 10:18:35:455 channel [04B87AB0]: message sent to [UDP://192.168.1.1:5060], size: [998] bytes
PUBLISH sip:address@hidden SIP/2.0
Via: SIP/2.0/UDP 192.168.1.45:5060;branch=z9hG4bK.hoA5fUZFL;rport
From: <sip:address@hidden>;tag=nOxO4tJmA
To: sip:address@hidden
CSeq: 21 PUBLISH
Call-ID: sAF2nz66LA
Max-Forwards: 70
Supported: replaces, outbound
Event: presence
Expires: 3600
User-Agent: Linphone/3.11.1 (belle-sip/1.6.1)
Content-Length: 568
Content-Type: application/pidf+xml


<?xml version="1.0" encoding="UTF-8"?>
<presence xmlns:dm="urn:ietf:params:xml:ns:pidf:data-model" xmlns:rpid="urn:ietf:params:xml:ns:pidf:rpid" entity="sip:address@hidden" xmlns="urn:ietf:params:xml:ns:pidf">
 <tuple id="z0p5pc">
  <status>
   <basic>closed</basic>
  </status>
  <contact priority="0.8">sip:address@hidden</contact>
  <timestamp>2017-04-10T09:18:35Z</timestamp>
 </tuple>
 <dm:person id="yiqoka">
  <rpid:activities>
   <rpid:busy/>
  </rpid:activities>
  <timestamp>2017-04-10T09:18:35Z</timestamp>
 </dm:person>
</presence>

message: 2017-04-10 10:18:35:455 LinphoneEvent [04BC1928] moving to publish state LinphonePublishProgress
message: 2017-04-10 10:18:35:455 Changing [client] [PUBLISH] transaction [04D14AE8], from state [INIT] to [TRYING]
message: 2017-04-10 10:18:35:455 channel [04B87AB0]: message sent to [UDP://192.168.1.1:5060], size: [996] bytes
PUBLISH sip:address@hidden SIP/2.0
Via: SIP/2.0/UDP 192.168.1.45:5060;branch=z9hG4bK.yYxwsty1x;rport
From: <sip:address@hidden>;tag=dNfYbVvwG
To: sip:address@hidden
CSeq: 21 PUBLISH
Call-ID: 0NLmjUEmXo
Max-Forwards: 70
Supported: replaces, outbound
Event: presence
Expires: 3600
User-Agent: Linphone/3.11.1 (belle-sip/1.6.1)
Content-Length: 568
Content-Type: application/pidf+xml


<?xml version="1.0" encoding="UTF-8"?>
<presence xmlns:dm="urn:ietf:params:xml:ns:pidf:data-model" xmlns:rpid="urn:ietf:params:xml:ns:pidf:rpid" entity="sip:address@hidden" xmlns="urn:ietf:params:xml:ns:pidf">
 <tuple id="z0p5pc">
  <status>
   <basic>closed</basic>
  </status>
  <contact priority="0.8">sip:address@hidden</contact>
  <timestamp>2017-04-10T09:18:35Z</timestamp>
 </tuple>
 <dm:person id="yiqoka">
  <rpid:activities>
   <rpid:busy/>
  </rpid:activities>
  <timestamp>2017-04-10T09:18:35Z</timestamp>
 </dm:person>
</presence>

message: 2017-04-10 10:18:35:455 LinphoneEvent [04BC2788] moving to publish state LinphonePublishProgress
message: 2017-04-10 10:18:35:470 channel [04B87AB0]: received [430] new bytes from [UDP://192.168.1.1:5060]:
SIP/2.0 489 Bad Event
Via: SIP/2.0/UDP 192.168.1.45:5060;branch=z9hG4bK.hoA5fUZFL;received=192.168.1.45;rport=5060
From: <sip:address@hidden>;tag=nOxO4tJmA
To: sip:address@hidden;tag=as67fddf7c
Call-ID: sAF2nz66LA
CSeq: 21 PUBLISH
Server: Asterisk PBX 13.4.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0


message: 2017-04-10 10:18:35:471 channel [04B87AB0] [430] bytes parsed
message: 2017-04-10 10:18:35:471 Found transaction matching response.
message: 2017-04-10 10:18:35:471 Changing [client] [PUBLISH] transaction [04D14F60], from state [TRYING] to [COMPLETED]
message: 2017-04-10 10:18:35:471 Refresher[00D4B910]: scheduling next timer in 60000 ms for purpose [retry]
message: 2017-04-10 10:18:35:471 Publish refresher  [489] reason [Bad Event] for proxy [<sip:192.168.1.1;transport=udp>]
message: 2017-04-10 10:18:35:471 LinphoneEvent [04BC1928] moving to publish state LinphonePublishError
message: 2017-04-10 10:18:35:471 Refresher [00D4B910] stopped.
message: 2017-04-10 10:18:35:471 Refresher [00D4B910] stopped.
message: 2017-04-10 10:18:35:471 Destroying op [00D45278] of type [SalOpUnknown]
message: 2017-04-10 10:18:35:471 Transaction [00D45708] deleted
message: 2017-04-10 10:18:35:471 Refresher [00D4B910] stopped.
message: 2017-04-10 10:18:35:515 channel [04B87AB0]: received [429] new bytes from [UDP://192.168.1.1:5060]:
SIP/2.0 489 Bad Event

Via: SIP/2.0/UDP 192.168.1.45:5060;branch=z9hG4bK.yYxwsty1x;received=192.168.1.45;rport=5060
From: <sip:address@hidden>;tag=dNfYbVvwG
To: sip:address@hidden;tag=as5ab65453
Call-ID: 0NLmjUEmXo
CSeq: 21 PUBLISH
Server: Asterisk PBX 13.4.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0


--

Mathew Shires

------------------------------------------------------------------------------

NQC Logo

NQC Ltd
1 George Leigh Street, Manchester, M4 5DL, United Kingdom
Support Centre +44 (0) 845 299 2994
Find out more on youtube.com/nqccom
© 2003 - 2016 NQC Ltd. (04854362) All Rights Reserved.

-------------------------------------------------------------------------------

This email and any attachments may be confidential and are intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient, please delete this e-mail immediately and neither take any action based upon its contents, nor copy, use, print, distribute or disseminate it or any information contained in it.


reply via email to

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