以星号生成拨出电话 [英] Generating an outgoing call in asterisk

查看:33
本文介绍了以星号生成拨出电话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 asterisk 11.9.0 并且我想生成一个传出呼叫.我发现对于传出我必须制作一个 .call 文件并将它放在一个 var/spool/asterisk/outgoing.I 下链接下面

I am using asterisk 11.9.0 and i want to generate an outgoing call.I found that for outgoing i have to make a .call file and place it in a var/spool/asterisk/outgoing.I am following the link below

http://the-asterisk-book.com/1.6/call-file.html#call-file-parameter

我的代码与上面链接中给出的代码相同,上面的示例仅使用单个固定号码进行呼叫.

my code is same as given in the above link,the above example uses only single fixed number to call.

我的问题是我必须生成一个从数据库中提取的号码的传出(每次都传到新号码),那么如何为多个传出的号码编写.call文件的代码以及如何将从数据库中获取的这些号码传递到.call文件来自我的 extensions.conf有没有办法做到这一点.我是星号的新手.任何帮助将不胜感激.

My problem is that i have to generate an outgoing to a number fetched from database(outgoing to new number everytime),so how to write the code of .call file for multiple numbers outgoing and how to pass these numbers fetched from database to .call file from my extensions.conf Is there any way to do that. I am new to asterisk. Any help would be appreciated.

推荐答案

您也可以使用 AMI(Asterisk 管理器界面),使用后台运行的守护程序来控制拨打的内容和响应的内容会更容易编程那些拨号.这里的莫拉信息 https://wiki.asterisk.org/wiki/pages/viewpage.action?pageId=4817239.

You could also use the AMI (Asterisk Manager Interface), would be easier to program with a deamon running in the back to control what gets dialed and the responses to those dials. Mora info here https://wiki.asterisk.org/wiki/pages/viewpage.action?pageId=4817239.

这篇关于以星号生成拨出电话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆