[SR-Users] Kamailio presence

Bill bill at novatrope.us
Thu Aug 11 00:53:18 CEST 2016

Thanks, Daniel. Now I am left with my basic problem: I cannot get notify 
messages to flow to the watcher phone.

I get PUBLISH packets from the watched phone (1020129), like this:
PUBLISH sip:1020129 at xxx.xxxr.net:5020;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 
Max-Forwards: 70
Contact: <sip:1020129 at xxxxxxxx:1026;transport=UDP>
To: <sip:1020129xxx.xxx.net:5020;transport=UDP>
From: <sip:1020129 at xxx.xxxt:5020;transport=UDP>;tag=4cda4e77
Call-ID: ZGE4M2ExMzVjNDc1YzI0NjlhMmYzNjI4ZDc1ODcxNTg.
Expires: 600
Content-Type: application/pidf+xml
Proxy-Authorization: Digest 
username="1020129",realm="proxy.telopar.net",nonce="V6uwDVerruEquthQLaEKIqeGQ2HW9kXG",uri="sip:1020129 at xxx.xxxr.net:5020;transport=UDP",response="a6b1dee9aa0f3de47b51a70e1ad8472d",algorithm=MD5
SIP-If-Match: a.1470869160.12530.4.2
Supported: replaces, norefersub, extended-refer, timer, X-cisco-serviceuri
User-Agent: Z 3.3.25608 r25552
Event: presence
Allow-Events: presence, kpml
Content-Length: 282

<?xml version="1.0" encoding="UTF-8"?>
<presence xmlns="urn:ietf:params:xml:ns:pidf"
           entity="sip:1020129 at xxx.xxx.net:5020;transport=UDP">
   <tuple id="1020129" >
      <note>On the phone</note>

but no NOTIFY goes out to the watcher phone. Any ideas?


On 08/10/2016 12:53 PM, Daniel-Constantin Mierla wrote:
> On 09/08/16 17:57, Bill wrote:
>> Daniel:
>> Never Mind. Found the source of this problem. Had presence set to 
>> modparam("presence", "subs_db_mode", 3). Changed it back to 2 and now 
>> the entries persist in the db.
>> However, I am still getting the Could not find subs_dialogerror.
> That's not really an error -- it is printed as DEBUG message, likely 
> for the first time a subscription comes.
> Cheers,
> Daniel
>> Thanks, Bill
>> On 08/09/2016 12:36 AM, Daniel-Constantin Mierla wrote:
>>> Hello,
>>> what is the Expires value in the SUBSCRIBE and its response? You can 
>>> also send the pcap file for such case so we can check.
>>> Cheers,
>>> Daniel
>>> On 09/08/16 01:26, Bill wrote:
>>>> Still having issues with presence. Now I notice that when the 
>>>> watcher phone signs on, it puts an entry in the active_watchers 
>>>> table. BUT this entry is deleted in about 15 seconds. Does anybody 
>>>> know if this is normal???? or what is causing it?
>>>> Bill
>>>> On 08/08/2016 12:12 PM, Bill wrote:
>>>>> As a followup to my earlier message, I have also found that the 
>>>>> pua table in my database is empty. Since I have pua activated and 
>>>>> db_mode set to 2 (see config file below), I don't understand why I 
>>>>> am not getting any entries in the pua table. And I wonder if this 
>>>>> is related to the lack of notify's that I am seeing. Anybody?
>>>>> On 08/06/2016 10:35 AM, Bill wrote:
>>>>>> We have tried all of your suggestions, but still not getting any 
>>>>>> light changes on the watcher.
>>>>>> The basic problem seems to be that the watched phone sends 
>>>>>> PUBLISH packets to the server, but the server does not send 
>>>>>> NOTIFY packets to the watcher phone.
>>>>>> We are seeing the following error in the logs every time the 
>>>>>> watched phone changes status:
>>>>>> DEBUG: presence [notify.c:1263]: publ_notify(): Could not find 
>>>>>> subs_dialog
> -- 
> Daniel-Constantin Mierla
> http://www.asipto.com  -http://www.kamailio.org
> http://twitter.com/#!/miconda  -http://www.linkedin.com/in/miconda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160810/15331f06/attachment.html>

More information about the sr-users mailing list