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 -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -