On 5/29/20 2:28 AM, Administrator wrote:
You could also use DEVICE_STATE

I am using DEVICE_STATE to identify when a phone is in use:

exten => s,n,GosubIf($["${DEVICE_STATE(SIP/${ARG1})}" = "INUSE"]?SHOWBUSY,s,1(${ARG1}))

I'm trying to figure out the best way to display that information to the person that is calling that in use extension.


Doug

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to