Elliot Murdock
2009-Jul-23 08:25 UTC
[asterisk-users] Test Function if SIP Device is Still Alive
Hello! I am looking for a way to test if a SIP device is still alive or not. I want to add this functionality in an AGI or independent script in order ensure all the SIP phones are properly connected to the system. Thank you, Elliot
Philipp Kempgen
2009-Jul-23 09:47 UTC
[asterisk-users] Test Function if SIP Device is Still Alive
Elliot Murdock schrieb:> I am looking for a way to test if a SIP device is still alive or not.What about qualify=yes in sip.conf?> I want to add this functionality in an AGI or independent script in > order ensure all the SIP phones are properly connected to the system.Philipp Kempgen -- AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de Gesch?ftsf?hrer: Stefan Wintermeyer, Handelsregister: Neuwied B14998 Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de Videos of the AMOOCON VoIP conference 2009 -> http://www.amoocon.de --
Elliot Murdock
2009-Jul-23 13:16 UTC
[asterisk-users] Test Function if SIP Device is Still Alive
Hello Philipp, Thank you. I could set that up, but is that status (of qualifying) stored anywhere (besides the log files) that a script could use? Regards, Elliot On Thu, Jul 23, 2009 at 12:47 PM, Philipp Kempgen<philipp.kempgen at amooma.de> wrote:> Elliot Murdock schrieb: >> I am looking for a way to test if a SIP device is still alive or not. > > What about qualify=yes in sip.conf? > >> I want to add this functionality in an AGI or independent script in >> order ensure all the SIP phones are properly connected to the system. > > > ? ?Philipp Kempgen > -- > AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied ?-> ?http://www.amooma.de > Gesch?ftsf?hrer: Stefan Wintermeyer, Handelsregister: Neuwied B14998 > Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de > Videos of the AMOOCON VoIP conference 2009 -> ?http://www.amoocon.de > -- > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > ? http://lists.digium.com/mailman/listinfo/asterisk-users >
Ishfaq Malik
2009-Jul-23 14:08 UTC
[asterisk-users] Test Function if SIP Device is Still Alive
Hi You can retrieve it in real time using the AMI from a script http://www.voip-info.org/wiki/view/Asterisk+manager+API Ish Elliot Murdock wrote:> Hello Philipp, > > Thank you. > > I could set that up, but is that status (of qualifying) stored > anywhere (besides the log files) that a script could use? > > Regards, > Elliot > > On Thu, Jul 23, 2009 at 12:47 PM, Philipp > Kempgen<philipp.kempgen at amooma.de> wrote: > >> Elliot Murdock schrieb: >> >>> I am looking for a way to test if a SIP device is still alive or not. >>> >> What about qualify=yes in sip.conf? >> >> >>> I want to add this functionality in an AGI or independent script in >>> order ensure all the SIP phones are properly connected to the system. >>> >> Philipp Kempgen >> -- >> AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de >> Gesch?ftsf?hrer: Stefan Wintermeyer, Handelsregister: Neuwied B14998 >> Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de >> Videos of the AMOOCON VoIP conference 2009 -> http://www.amoocon.de >> -- >> >> _______________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users >> >> > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >-- Ishfaq Malik Software Developer PackNet Ltd Office: 0161 660 3062
Elliot Murdock
2009-Jul-25 19:40 UTC
[asterisk-users] Test Function if SIP Device is Still Alive
Hello! Thank you for the information. Regarding using the sip show peers command, I remember somewhere seeing that it only works for static sip accounts and does not list accounts that are dynamically stored in a database. Most of my accounts are database entries, so would the sip show peers command work? Thanks, Elliot On Thu, Jul 23, 2009 at 5:08 PM, Ishfaq Malik<ish at pack-net.co.uk> wrote:> Hi > > You can retrieve it in real time using the AMI from a script > > http://www.voip-info.org/wiki/view/Asterisk+manager+API > > Ish > > Elliot Murdock wrote: >> Hello Philipp, >> >> Thank you. >> >> I could set that up, but is that status (of qualifying) stored >> anywhere (besides the log files) that a script could use? >> >> Regards, >> Elliot >> >> On Thu, Jul 23, 2009 at 12:47 PM, Philipp >> Kempgen<philipp.kempgen at amooma.de> wrote: >> >>> Elliot Murdock schrieb: >>> >>>> I am looking for a way to test if a SIP device is still alive or not. >>>> >>> What about qualify=yes in sip.conf? >>> >>> >>>> I want to add this functionality in an AGI or independent script in >>>> order ensure all the SIP phones are properly connected to the system. >>>> >>> ? ?Philipp Kempgen >>> -- >>> AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied ?-> ?http://www.amooma.de >>> Gesch?ftsf?hrer: Stefan Wintermeyer, Handelsregister: Neuwied B14998 >>> Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de >>> Videos of the AMOOCON VoIP conference 2009 -> ?http://www.amoocon.de >>> -- >>> >>> _______________________________________________ >>> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >>> >>> asterisk-users mailing list >>> To UNSUBSCRIBE or update options visit: >>> ? http://lists.digium.com/mailman/listinfo/asterisk-users >>> >>> >> >> _______________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> ? ?http://lists.digium.com/mailman/listinfo/asterisk-users >> >> > > -- > Ishfaq Malik > Software Developer > PackNet Ltd > > Office: ? 0161 660 3062 > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > ? http://lists.digium.com/mailman/listinfo/asterisk-users >
Philipp Kempgen
2009-Jul-25 20:35 UTC
[asterisk-users] Test Function if SIP Device is Still Alive
Elliot Murdock schrieb:> Regarding using the sip show peers > command, I remember somewhere seeing that it only works for static sip > accounts and does not list accounts that are dynamically stored in a > database. Most of my accounts are database entries, so would the sip > show peers command work?Yes it does work, at least with rtcachefriends=yes in sip.conf. Philipp Kempgen -- AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de Gesch?ftsf?hrer: Stefan Wintermeyer, Handelsregister: Neuwied B14998 Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de Videos of the AMOOCON VoIP conference 2009 -> http://www.amoocon.de --