在星号中生成呼出 [英] Generating an outgoing call in asterisk

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

问题描述

我使用星号11.9.0,我想生成一个传出调用。我发现对于输出我必须做一个.call文件,并将其放在一个var / spool / asterisk / outgoing.I am following the link

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

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文件的代码,用于多个数字输出,以及如何将这些从数据库获取的数据传递给我的extensions.conf中的.call文件
是否有任何方法。
我是星号的新用户。

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管理器界面)用后台运行的deamon来控制拨打的内容和对这些拨号的响应。这里提供Mora信息 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天全站免登陆