[asterisk-users] Notification when on the phone

Doug Lytle support at drdos.info
Fri May 29 02:55:17 CDT 2020


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20200529/69cb63c6/attachment.html>


More information about the asterisk-users mailing list