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

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

php - Boolean search on database with 5 million rows, very slow -

css - Text drops down with smaller window -