【问题标题】:Create not routed call from asterisk从星号创建未路由的呼叫
【发布时间】:2016-05-17 11:39:03
【问题描述】:

我可以使用.call 文件从星号中继TRNK 创建拨出电话

cat /var/spool/asterisk/outgoing/tmp6Rn2aM.call
Channel: IAX2/TRNK/12345
Application: Playback

它工作得很好,但是这个调用没有通过AGI 接口路由(我想是因为它们没有在内部用星号路由)。 那么是否可以使用将在某些中继(或某些上下文)中传入(或尚未路由)的呼叫文件创建呼叫,并且 Asterisk 将尝试路由它并向AGI 发出路由请求?

【问题讨论】:

  • 那么问题在哪里?如果您需要 AGI,请使用 AGI。

标签: asterisk phone-call agi


【解决方案1】:

调用扩展,然后 Asterisk 将使用扩展匹配并在必要时运行 AGI。

编辑:

http://www.voip-info.org/wiki/view/Asterisk+auto-dial+out

如果来电应答,请在此处连接:

Context: <context-name> Context in extensions.conf
Extension: <ext> Extension definition in extensions.conf
Priority: <priority> Priority of extension to start with
Set: Set a variable for use in the extension logic (example: file1=/tmp/to ); in Asterisk 1.0.x use 'SetVar' instead of 'Set'
Application: Asterisk Application to run (use instead of specifiying context, extension and priority)
Data: The options to be passed to application

【讨论】:

  • 看来这是我需要的,请提供任何示例或链接?
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多