【问题标题】:Incoming calls dialplan with asterisk and chan_mobile带有星号和 chan_mobile 的来电拨号计划
【发布时间】:2015-03-02 16:18:32
【问题描述】:

我设法(非常高兴:D)用星号 1.8 配置 chan_mobile,我的 iPhone 4 和拨出电话运行良好。 我在自动接听来电时遇到问题。

这就是我的 chan_mobile.conf 的样子:

[adapter]
address = 11:11:11:11:11:11
id = box-1

[iphone]
address = 22:22:22:22:22:22
port = 8
context = from-test-phone
adapter = box-1

我在 /etc/asterisk/extensions.conf 中添加了

[from-test-phone]
exten => s,1,Answer()
exten => s,n,Wait(1)
exten => s,n,Hangup()

但是当我拨打我的手机时没有接听。

蓝牙设备已配对并处于活动状态

# rasterisk
> mobile show devices

ID              Address           Group Adapter         Connected State      SMS
iphone      22:22:22:22:22:22      0     box-1            Yes     Free       No 

我错过了什么吗?

【问题讨论】:

  • 如果您使用 rasterisk 打开 Asterisk CLI,运行“core set verbose 4”和“core set debug 4”并调用您的 iPhone,您会在终端中得到什么?
  • 好吧,这真是个谜,详细和调试 4 可以工作,回到 0 就不行了!!!无论如何,真的谢谢你,伙计:)debian*CLI> core set verbose 4 Verbosity was 0 and is now 4 debian*CLI> core set debug 4 Core debug was 0 and is now 4 -- Executing [s@from-test-phone:1] Answer("Mobile/iphone-6e3e", "") in new stack -- Executing [s@from-test-phone:2] Wait("Mobile/iphone-6e3e", "1") in new stack -- Executing [s@from-test-phone:3] Hangup("Mobile/iphone-6e3e", "") in new stack == Spawn extension (from-test-phone, s, 3) exited non-zero on 'Mobile/iphone-6e3e'
  • 不要编辑带有“已解决”字样的问题,而是提供答案,因此它会自动突出显示。这是一个问答网站。

标签: bluetooth asterisk voip


【解决方案1】:

显然输入就足够了

rasterisk
> core set verbose 4
> core set debug 4

感谢用户1938742!

【讨论】:

    猜你喜欢
    • 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
    相关资源
    最近更新 更多