Asterisk 自动拨出问题
Asterisk Auto dial out issues
我正在尝试在 asterisk.I 中进行自动拨出,已在 /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
首先确保您的 SIP 用户分机 700 已注册到 asterisk 服务器并且处于活动状态
在asterisk server
中执行以下命令
asterisk -rx 'sip show peers'
它将显示所有当前在线并注册到星号中的 sip 用户 server.Do 不要忘记为您的呼叫文件授予 777 权限
chown asterisk:asterisk your_call_file.call
我正在尝试在 asterisk.I 中进行自动拨出,已在 /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
首先确保您的 SIP 用户分机 700 已注册到 asterisk 服务器并且处于活动状态 在asterisk server
中执行以下命令asterisk -rx 'sip show peers'
它将显示所有当前在线并注册到星号中的 sip 用户 server.Do 不要忘记为您的呼叫文件授予 777 权限
chown asterisk:asterisk your_call_file.call