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

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -