[Freeswitch-users] dynamically change the presence status (half solved + probably found a bug)

Anthony Minessale anthony.minessale at gmail.com
Wed Apr 29 05:37:33 PDT 2009


On Wed, Apr 29, 2009 at 2:01 AM, Antonio Gallo <gallo at 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 at domain (not a phone) and
> about B at domain (a phone)
> 2. i change test at domain status to busy (using the presence tool) and A
> get notified
> 3. i start a call from B at domain and A get notified
> 4. i reboot/unregister A
> 5. i restart/register A then A get notified about B at domain still being
> on the phone but not about test at domain been busy
>
> i looked in the code and seems the PRESENCE_PROBE stuffs looks about the
> internal database of registrations
> to have test at 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 at 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 at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090429/67c34821/attachment-0002.html 


More information about the FreeSWITCH-users mailing list