Asterisk Call File 调用失败
Asterisk Call File Call failed to go through
通过一些基本的 Asterisk 配置,我正在尝试生成一个自动拨号文件。尽管此调用脚本对内部号码非常有效,但对外部号码尝试同样的操作会导致以下错误:
Attempting call on SIP/provider/0049176xxxxxxx for 0049176xxxxxx@outgoing_spidey:1 (Retry 1)
== Using SIP RTP CoS mark 5
-- Called provider/0049176xxxxxx
-- Got SIP response 603 "Decline" back from 9xx.1xx.1xx.2xx:5060
-- SIP/provider-00000000 is busy
[Feb 20 12:16:37] NOTICE[32721]: pbx_spool.c:413 attempt_thread: Call failed to go through, reason (5) Remote end is Busy
调用文件有一个简单的任务要做:
- 拨打电话
- 发送消息
- 挂断
调用文件的目的地:
/var/spool/asterisk/outgoing
调用文件(test.call):
Channel: SIP/provider/0049176xxxxxx
CallerID: 0221223366
MaxRetries: 1
RetryTime: 600
WaitTime: 30
Context: outgoing_spidey
Extension: 0049176xxxxxx
Priority: 1
Sip.conf
[provider]
type=friend
context=provider
allow=ulaw,alaw
secret=xxxxxx
host=sip.xxxxx.com
nat=force_rport,comedia
insecure=invite
fromdomain=sip.xxx.com
defaultuser=sipuser
Extension.conf
[outgoing_spidey]
exten => _X.,1,Answer()
exten => _X.,n,Wait(2)
exten => _X.,n,Playback(tt-monkeysintro)
exten => _X.,n,Hangup()
已尽最大努力 google 寻找最接近的答案,但都是徒劳。因此,我将不胜感激。
谢谢
深入查看调试错误消息会使事情变得更加清晰。
Got SIP response 603 "Decline"
脚本没有错误,我已经提到(在我的问题中)。调试错误表明 Asterisk 尝试使用 SIP 提供商详细信息进行呼叫,但在 return 中得到否定响应。
我通过联系 SIP 提供商解决了问题。然而,我为纠正错误所做的研究使我对 Asterisk 系统有了深刻的理解。
希望这对遇到类似问题的初学者有所帮助。
通过一些基本的 Asterisk 配置,我正在尝试生成一个自动拨号文件。尽管此调用脚本对内部号码非常有效,但对外部号码尝试同样的操作会导致以下错误:
Attempting call on SIP/provider/0049176xxxxxxx for 0049176xxxxxx@outgoing_spidey:1 (Retry 1)
== Using SIP RTP CoS mark 5
-- Called provider/0049176xxxxxx
-- Got SIP response 603 "Decline" back from 9xx.1xx.1xx.2xx:5060
-- SIP/provider-00000000 is busy
[Feb 20 12:16:37] NOTICE[32721]: pbx_spool.c:413 attempt_thread: Call failed to go through, reason (5) Remote end is Busy
调用文件有一个简单的任务要做:
- 拨打电话
- 发送消息
- 挂断
调用文件的目的地: /var/spool/asterisk/outgoing
调用文件(test.call):
Channel: SIP/provider/0049176xxxxxx
CallerID: 0221223366
MaxRetries: 1
RetryTime: 600
WaitTime: 30
Context: outgoing_spidey
Extension: 0049176xxxxxx
Priority: 1
Sip.conf
[provider]
type=friend
context=provider
allow=ulaw,alaw
secret=xxxxxx
host=sip.xxxxx.com
nat=force_rport,comedia
insecure=invite
fromdomain=sip.xxx.com
defaultuser=sipuser
Extension.conf
[outgoing_spidey]
exten => _X.,1,Answer()
exten => _X.,n,Wait(2)
exten => _X.,n,Playback(tt-monkeysintro)
exten => _X.,n,Hangup()
已尽最大努力 google 寻找最接近的答案,但都是徒劳。因此,我将不胜感激。
谢谢
深入查看调试错误消息会使事情变得更加清晰。
Got SIP response 603 "Decline"
脚本没有错误,我已经提到(在我的问题中)。调试错误表明 Asterisk 尝试使用 SIP 提供商详细信息进行呼叫,但在 return 中得到否定响应。
我通过联系 SIP 提供商解决了问题。然而,我为纠正错误所做的研究使我对 Asterisk 系统有了深刻的理解。
希望这对遇到类似问题的初学者有所帮助。