Asterisk Auto拨出问题

时间:2015-04-12 15:25:04

标签: asterisk sip

我正在尝试用星号进行自动拨号。我在/ tmp目录中创建了调用文件并将文件移动到“var / spool / asterisk / outgoing /”

它不起作用。请帮我解决这个问题。

调用文件

Channel: SIP/700
MaxRetries: 2
RetryTime: 60
WaitTime: 30
Context: call-file-test

extensions_custom.conf

[call-file-test]
exten => S,1,Answer()
exten => s,n,Wait(1)
exten => s,n,Playback(hello-world)
exten => s,n,Wait(1)
exten => s,n,Hangup()

错误记录

[2015-04-12 11:05:24] NOTICE[4397]: pbx_spool.c:388 attempt_thread: Call failed to go through, reason (0) Call Failure (not BUSY, and not NO_ANSWER, maybe Circuit busy or down?)               
[2015-04-12 11:05:24] NOTICE[4397]: pbx_spool.c:391 attempt_thread: Queued call to SIP/700 expired without completion after 2 attempts 

1 个答案:

答案 0 :(得分:1)

首先确保您的SIP用户分机700已注册到星号服务器并且是实时的 在星号服务器

中执行以下命令
asterisk -rx 'sip show peers'

它将显示当前所有并注册到星号服务器的sip用户。不要忘记给你的通话文件777权限和

chown asterisk:asterisk your_call_file.call
相关问题