c# - Cancel Originated Call in Asterisk -
c# - Cancel Originated Call in Asterisk -
is there possibility cancel originated phone call asterisk ami ? can status of phone call when hangup, or start dialling. but, since dont channel while originating call, cannot send hangup action. have checked link, , doesn't reply question.
how cancel phone call created ami originate
you can utilize local channel , send app id of channel.
you can send variable,including database id channel/dialplan
action: originate channel: local/12345@out context: default exten: 8135551212 priority: 1 callerid: 3125551212 timeout: 30000 variable: var1=23|var2=24|var3=25 actionid: abc45678901234567890
http://www.voip-info.org/wiki/view/asterisk+manager+api+action+originate
you can utilize asterisk realtime/func_odbc read/update db.
after originate made, actionid status. can grab reading events.
so if organize dialling correctly, can channel name , stop it.
ps highly not recommended write dialling core non-expert. check vicidial.org or other dialler availible. there alot of issues can arise while development dialler core.
c# asterisk asteriskami
Comments
Post a Comment