[Freeswitch-users] table sip_presence is always empty

Raphael Lechner raphael.lechner at gmail.com
Tue Dec 2 19:49:57 MSK 2014


Hi,

I’m trying to enable presence but for now the sip_presence table is always empty and I don’t know If that is ok or not.
This is my internal.xml https://pastebin.freeswitch.org/23666 <https://pastebin.freeswitch.org/23666> 
I tried with the sqlite db and postgresql but nothing has changed.

The table exists but is always empty:
select * from sip_presence ;
 sip_user | sip_host | status | rpid | expires | user_agent | profile_name | hostname | network_ip | network_port | open_closed 
----------+----------+--------+------+---------+------------+--------------+----------+------------+--------------+-------------
(0 rows)

The table sip_subscriptions contains entries like:
 sip   | 99       | 192.168.130.130 | 12          | 192.168.130.130 | 192.168.130.130,192.168.130.130,test-pbx | presence | "Raphael" <sip:99 at 192.168.130.131:27050> | N2RiMDQ2OTkwMWVhZjYzMjIwMDM0MGZlZjU4NDM1ZDY | "Raphael" <sip:99 at 192.168.130.130>;tag=a4cb4203 | SIP/2.0/UDP 192.168.130.131:27050;branch=z9hG4bK-d8754z-53ed9718e7866617-1---d8754z-;rport=27050 | 1417537731 | Bria 4 4.1.1 74256-688c7d71-M | multipart/related, application/rlmi+xml, application/pidf+xml  | internal     | test-pbx | 27050        | 192.168.130.131 |      16 |            | <sip:12 at 192.168.130.130>;tag=wkBl3G43vfhs

and with sofia_presence_data the status is always unknown:
freeswitch at internal> sofia_presence_data list */99
status|rpid|user_agent|network_ip|network_port
unknown|unknown|Bria 4 4.1.1 74256-688c7d71-M|192.168.130.131|27050
+OK

I have enabled debugging for presence:
https://pastebin.freeswitch.org/23667 <https://pastebin.freeswitch.org/23667>

FreeSWITCH Version:
FreeSWITCH Version 1.4.13+git~20141103T195300Z~b942d0faa8~64bit (git b942d0f 2014-11-03 19:53:00Z 64bit)

Any hint what I have configured wrong?

Thank you,
Raphael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20141202/a381827f/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list