Presence PUBLISH Not Updating After Softphone OffLine Then Available
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. Thanks and Best Regards, Jerry
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.
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.
_______________________________________________ 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/ Twitter: http://twitter.com/FreeSWITCH_wire 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:+19193869900
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.
_______________________________________________ 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/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
You see one case at the top where it sends a notify and more where it doesnt . You have the sql stmts right there (they are not errs just logging in red so they are obvious) run them manually and figure out why there are no matches. No subscriptions maybe? Its beginning to sound like a broken record with so many bria isssues, its a new software afterall and not free like we are, why must we support it so much? Also if you are actually concerned with this issue, maybe you can come back sooner than once every week or 2 weeks. We quickly lose track of threads like this that linger for a month, that's what jira is for.... Maybe you can stop by irc or keep an eye on your email client so we can confirm what you are doing wrong or if we have an interop with bria, a pay softphone none of us have a copy of........ On Feb 16, 2010 11:18 AM, "Jerry Richards" <jerry.richards@teotech.com> wrote: 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, ...
_______________________________________________ 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
Okay, you have made some good suggestions. I will look into this further on my end (I think I might know the cause). If I find it to be an FS bug, I will open a Jira Issue. Yes, these are Bria (CounterPath) phones, but these are phones that I'm using and they are popular, and as far as I know, faithful to the SIP RFCs, so I think it will make FS more robust. I haven't use the IRC much in the past, but I can try to login there when I have issues in the future. Sorry for my slow response. I have a lot to do at the moment and sometimes I must do some SIP research. By the way, I think Freeswitch is a great design and you all are doing a great job with this project. Thanks And Best Regards, Jerry _____ From: Anthony Minessale [mailto:anthony.minessale@gmail.com] Sent: Tuesday, February 16, 2010 9:40 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Presence PUBLISH Not Updating AfterSoftphoneOffLine Then Available You see one case at the top where it sends a notify and more where it doesnt . You have the sql stmts right there (they are not errs just logging in red so they are obvious) run them manually and figure out why there are no matches. No subscriptions maybe? Its beginning to sound like a broken record with so many bria isssues, its a new software afterall and not free like we are, why must we support it so much? Also if you are actually concerned with this issue, maybe you can come back sooner than once every week or 2 weeks. We quickly lose track of threads like this that linger for a month, that's what jira is for.... Maybe you can stop by irc or keep an eye on your email client so we can confirm what you are doing wrong or if we have an interop with bria, a pay softphone none of us have a copy of........ On Feb 16, 2010 11:18 AM, "Jerry Richards" <jerry.richards@teotech.com> wrote: 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, ...
_______________________________________________ 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
On Feb 18, 2010, at 3:26 PM, "Jerry Richards" <jerry.richards@teotech.com
wrote:
Yes, these are Bria (CounterPath) phones, but these are phones that I'm using and they are popular, and as far as I know, faithful to the SIP RFCs,
Hahahha /me falls over laughing
participants (3)
-
Anthony Minessale
-
Jerry Richards
-
Michael Jerris