【问题标题】:No sounds in asterisk when call to voicemail呼叫语音信箱时,星号中没有声音
【发布时间】:2015-12-18 05:17:24
【问题描述】:

我刚开始玩星号。目前安装在 CentOS 7 上,Asterisk 版本为 13。

这是我直接从 Zoiper 呼叫语音信箱时得到的结果

-- Executing [8500@demo:2] VoiceMailMain("SIP/2001-00000028", "@demo") in new stack
-- <SIP/2001-00000028> Playing 'vm-login.gsm' (language 'en')
-- <SIP/2001-00000028> Playing 'vm-password.gsm' (language 'en')
-- Incorrect password '' for user '2001' (context = demo)
-- <SIP/2001-00000028> Playing 'vm-incorrect-mailbox.gsm' (language 'en')
   ....

这就是我在 extension.conf 中的内容

exten => 8500,1,Answer
exten => 8500,2,VoiceMailMain()
exten => 8500,3,Hangup()

这是在voicemail.conf中

[demo]

2001 => Demo Test, demo@127.0.0.1

这是 sip.conf 中的用户

[general]

port = 5060
bindaddr = xxx.xxx.xxx.xxx
allow=all           
context = bogon-calls ; Send SIP callers that we don't know about here

[2001]

type=friend           ; This device takes and makes calls
username=demo_test         ; Username on device
secret=1234 ; Password for device
host=dynamic          ; This host is not on the same IP addr every time
context=demo      ; Inbound calls from this host go here
mailbox=100   

/var/lib/asterisk/sounds/en 中的所有 .gsm 文件..

【问题讨论】:

    标签: asterisk voip


    【解决方案1】:

    检查防火墙 rtp 端口(端口列表见 rtp.conf)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-04-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-02-09
      相关资源
      最近更新 更多