I got version freeswitch-1.0.5-20100215-0400, built it, and ran it, and I am seeing the same issue.  That is, once I set the Bria softphone status to 'Appear Offline', FS does not forward presence states until resubscription time (i.e. tens of minutes later).  I posted a trace at http://pastebin.freeswitch.org/12164.  At line 359 of the trace, FS is logging an ERR at sofia_presence.c:662.  Here is the scenario:
 
1) Set Bria softphone presence state to 'Appear Offline'
2) Subscibing softphones reflect offline status
3) Set Bria softphone presence state to 'Available'
4) *** Subscibing softphones do not get status update ***
 
Thanks And Best Regards,
Jerry
 


From: Anthony Minessale [mailto:anthony.minessale@gmail.com]
Sent: Tuesday, February 09, 2010 3:58 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Presence PUBLISH Not Updating AfterSoftphone OffLine Then Available

he means update to trunk first then try it again obviously.


On Tue, Feb 9, 2010 at 3:10 PM, Michael Jerris <mike@jerris.com> wrote:
Try this again, I think I saw changes go in for this issue.

Mike

On Feb 5, 2010, at 2:38 PM, Jerry Richards wrote:

> I found a scenario where presence status is not distributed to subscribers.
> This is using the latest changes (as of Feb 03, 2010).  The scenario
> follows:
>
> 1) Register two Bria softphones (A and B), which each have the other as a
> contact.
> 2) Set softphone B's presence status to 'Appear Offline'.
> 3) Softphone A correctly reflects contact B is offline.
> 4) Set softphone B's presence status to 'Available'.
> 5) ******* There is no change to contact B's status at softphone A *******
>
> I posted a log at http://pastebin.freeswitch.org/12054.  At line 773, there
> is an error when FS is processing the PUBLISH from softphone B:
>
> 773.2010-02-05 10:29:21.254221 [ERR] sofia_presence.c:674 DUMP PRESENCE SQL:
>
> I did notice that after about 30 minutes, softphone B's status gets
> reflected at softphone A.





--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900