title: Is there a way to get the ${DEVICE_STATE(SIP/${EXTEN})} output on asterisk AMI before making originate call
body: <p>I want to create e outbound dialer which will check if a user is available to take call or not before initiating a call from the extension</p>