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

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

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -