我有一个调用应用程序在PHP开发与AGI的Asterisk框架,下面是应用程序的基本流程。出界拨号星号
We receive a call from user at our Asterisk ss7 server and forward the same call to another user from our server.
我想知道转发给其他用户的状态。状态意味着两个用户之间的呼叫发生了什么, Hangup,Busy,Not Answered等。
我有一个调用应用程序在PHP开发与AGI的Asterisk框架,下面是应用程序的基本流程。出界拨号星号
We receive a call from user at our Asterisk ss7 server and forward the same call to another user from our server.
我想知道转发给其他用户的状态。状态意味着两个用户之间的呼叫发生了什么, Hangup,Busy,Not Answered等。
关于如何进行呼叫或其他任何事情的详细信息,但如果您正在执行Dial()并想在呼叫结束时知道结果,请尝试$ {DIALSTATUS }。
这将包含诸如'ANSWER','NOANSWER'或'BUSY'之类的东西。有关完整列表和详细信息请查看http://www.voip-info.org/wiki/view/Asterisk+variable+DIALSTATUS
可以使用CDR功能或使用diaplan得到所拨打的状态
http://www.voip-info.org/wiki/view/Asterisk+variable+DIALSTATUS
尽管这些链接可能会回答问题,但最好在此处包含答案的重要部分,并提供供参考的链接。如果链接页面更改,则仅链接答案可能会失效 – slfan 2016-04-10 17:53:57
使用$ {CDR(处置)}来获取通话状态 – deogratias 2014-09-29 10:51:06