asteriskami - Is there a way to get the ${DEVICE_STATE(SIP/${EXTEN})} output on asterisk AMI before making originate call -
i want create e outbound dialer check if user available take call or not before initiating call extension
send this:
action: getvar actionid: 1 variable: device_state(sip/1107)
to this:
response: success actionid: 1 variable: device_state(sip/1107) value: busy
it works pjsip
Comments
Post a Comment