[Freeswitch-users] Is my phone on-line?

Jonas Gauffin jonas.gauffin at gmail.com
Sat Oct 27 05:06:29 EDT 2007


FreeSWITCH stores all registered phones in a database. By default in a
Sqlite db. You can query this db (table is called sip_registrations)
to check whether a phone is online.

Or you can use mod_event_socket to receive the custom events
sofia::register and sofia::expires. (A phone is online as long as a
expires event is not sent)

There are probably another way too, but that's above my knowledge =)

On 10/27/07, andrew <andrew_nh at yahoo.com> wrote:
> I want to check to see if a phone or IP provider is
> on-line. Most systems do this by sending a sip option
> packet once and a while and seeing if there is a
> response from the device.
>
> Is there a way to do this in FreeSWITCH?
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> _______________________________________________
> 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
>



More information about the Freeswitch-users mailing list