Hello, I would like to somehow get the presence of IAX2 and SIP users from Asterisk Manager API or using any other means. I tried watching for PeerStatus event, but it seems unrealiable (http://bugs.digium.com/view.php?id=7833). I tried defining hint for user and sending ExtensionState event, which is also unreliable (once I had qualify OK status in iax2 show peers, I could receive calls and I got status of 4, which is unavailable). How to get reliable information about peer status? I have qualify=yes in all iax friends, I am using realtime and I can receive calls or dial without any problems. Thanks, Juraj.
Google is your friend: http://www.voip-info.org/wiki/index.php?page=Asterisk+Manager+API+Action+ExtensionState bp On 8/30/06, Juraj Bednar <asterisk4juraj@gmail.com> wrote:> > Hello, > > I would like to somehow get the presence of IAX2 and SIP users from > Asterisk Manager API or using any other means. > > > I tried watching for PeerStatus event, but it seems unrealiable > (http://bugs.digium.com/view.php?id=7833). > > I tried defining hint for user and sending ExtensionState event, > which is also unreliable (once I had qualify OK status in iax2 show > peers, I could receive calls and I got status of 4, which is > unavailable). > > How to get reliable information about peer status? I have qualify=yes > in all iax friends, I am using realtime and I can receive calls or > dial without any problems. > > > Thanks, > > Juraj. > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060830/5801b8e5/attachment.htm
Hello,> Google is your friend: > http://www.voip-info.org/wiki/index.php?page=Asterisk+Manager+API+Action+ExtensionStatenot today. I mentioned in my original mail, that ExtensionState is unrealiable too. Sometimes I quit my softphone and I see extension as "Idle" (status 0), sometimes I log in and the extension is shown as unavailable. Juraj.
Did you try a combination of qualify=yes in sip.conf and then try the ExtensionState in the manager? Seems like if qualify=yes or 2000... whatever, is not set then asterisk will not always know the state of the phone if it looses registration. That would seem to explain the problem you have with extensionstate. My 2c bp On 8/30/06, Juraj Bednar <asterisk4juraj@gmail.com> wrote:> > Hello, > > > Google is your friend: > > > http://www.voip-info.org/wiki/index.php?page=Asterisk+Manager+API+Action+ExtensionState > > not today. > > I mentioned in my original mail, that ExtensionState is unrealiable > too. Sometimes I quit my softphone and I see extension as "Idle" > (status 0), sometimes I log in and the extension is shown as > unavailable. > > Juraj. > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060830/1b273e92/attachment.htm
harrygaillac-sip@yahoo.fr
2006-Sep-01 00:03 UTC
[asterisk-users] asterisk presence (from manager API)
Hello, You should try to setup a proxy/presence server for IM and presence ! Harry --- Juraj Bednar <asterisk4juraj@gmail.com> a ?crit :> Hello, > > I would like to somehow get the presence of IAX2 > and SIP users from > Asterisk Manager API or using any other means. > > > I tried watching for PeerStatus event, but it seems > unrealiable > (http://bugs.digium.com/view.php?id=7833). > > I tried defining hint for user and sending > ExtensionState event, > which is also unreliable (once I had qualify OK > status in iax2 show > peers, I could receive calls and I got status of 4, > which is > unavailable). > > How to get reliable information about peer status? > I have qualify=yes > in all iax friends, I am using realtime and I can > receive calls or > dial without any problems. > > > Thanks, > > Juraj. > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com > -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > >http://lists.digium.com/mailman/listinfo/asterisk-users>p5.vert.ukl.yahoo.com uncompressed/chunked Fri Sep 1 06:13:32 GMT 2006 ___________________________________________________________________________ Yahoo! Mail r?invente le mail ! D?couvrez le nouveau Yahoo! Mail et son interface r?volutionnaire. http://fr.mail.yahoo.com