I've configure freeswitch to handle presence subscription and using the sample from http://sipjs.com/api/0.7.0/subscription/. When I login to freeswitch by using Ekiga, there's no notification triggered.However, on the other way, when I connect to freeswitch via SIP.js, it seems the presence message has been sent to Ekiga correctly.
This is my presence configuration in freeswitch
/usr/local/freeswitch/conf/sip_profiles/internal.xml
I 've referred to this web for the configuration http://www.microweb10.com/index.php/en/tutorials/enable-presence-fs<param name="manage-presence" value="true"/>
<param name="send-presence-on-register" value="true"/>
<param name="presence-probe-on-register" value="true"/>
<param name="presence-proto-lookup" value="true"/>
<param name="manage-shared-appearance" value="true"/>
<param name="dbname" value="share_presence"/>
<param name="presence-hosts" value="$${domain}"/>
<param name="force-register-domain" value="$${domain}"/>
<param name="force-register-db-domain" value="$${domain}"/>
This is my code for subscription. I've tried URI in both 'sip:10...@192.168.1.106' and '10...@192.168.1.106'. My user is 10...@192.168.1.106.
var subscription = userAgent.subscribe('sip:1000@192.168.1.106', 'presence', { expires: 3600 });