On Wed, Apr 29, 2009 at 2:01 AM, Antonio Gallo <gallo@mctelefonia.com>wrote:
I looked at FS code directly and had an improvement about the problem.
Topic 1: presence can be changed and working
The wiki page: http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_presence is totally wrong about the presence application, indeed when i first asked on IRC some weeks ago i get confused.
On my user page, http://wiki.freeswitch.org/wiki/User:Agx, i posted some working example. I tested using X-Lite and Zoiper from my home connecting to FS behind NAT in the office.
Topic 2: is this a BUG?
1. phone A register and subsribe about presence of B 2. phone B register and A get a notified that B is online (IN) 3. phone B unregister and A get notified that B is offline (OUT) 4. phone B register and A *NEVER* get notified that B is online UNTIL A register/resubscribe or A reboots
is FS that remove A subscribtions when B generate a presence OUT event? is this a bug?
It depends, not every phone does presence right and they all have different levels of support. The 2 you are using are very different from how the majority of them work (snom, polycom, linksys etc) Did you try reversing the role of A and B
Topic 3: presence seems stateless if is not a phone
1. phone A subscribe about presence of test@domain (not a phone) and about B@domain (a phone) 2. i change test@domain status to busy (using the presence tool) and A get notified 3. i start a call from B@domain and A get notified 4. i reboot/unregister A 5. i restart/register A then A get notified about B@domain still being on the phone but not about test@domain been busy
i looked in the code and seems the PRESENCE_PROBE stuffs looks about the internal database of registrations to have test@domain been persistence across FS restart/reboot do i need to create a module myself that handle presence using a database?
YES
Thanks in advance, Antonio (AGX)
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400