Skip to end of metadata
Go to start of metadata

chan_mobile also registers an application named MobileStatus. You can use this in your Dialplan to determine the 'state' of a device.
For example, suppose you wanted to call dave's extension, but only if he was in the office. You could test to see if his mobile phone was attached to Asterisk, if it is dial his extension, otherwise dial his mobile phone.

MobileStatus sets the value of the given variable to :-

  • 1 = Disconnected. i.e. Device not in range of Asterisk, or turned off etc etc
  • 2 = Connected and Not on a call. i.e. Free
  • 3 = Connected and on a call. i.e. Busy
  • No labels