简体   繁体   English

星号-如何在收到的呼叫中执行脚本

[英]Asterisk - how to execute script on call received

How can I execute a script to open our CRM app on the specific client CALLERID in when the call is answered in asterisk (on the computer of the receiver of the call and not the server asterisk) ? 当星号(在呼叫接收方的计算机上而不是服务器星号上)应答呼叫时,如何执行脚本以在特定客户端CALLERID上打开我们的CRM应用程序? I can execute a script on the server, but can't do it on the client that reveives the call. 我可以在服务器上执行脚本,但是不能在重新获得呼叫的客户端上执行脚本。

Thanks a lot. 非常感谢。

You probably need asterisk events 您可能需要星号事件

https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+AMI+Events https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+AMI+Events

Event can be AgentConnect if you use queues or Join/Bridge if you need it fire without queues. 如果您使用队列,则事件可以是AgentConnect;如果需要,则事件可以是Join / Bridge,而无需队列就可以触发。

You need write always-running daemon which will fire your scripts on event. 您需要编写始终运行的守护程序,该守护程序将在事件发生时触发脚本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM