1
通过一些基本的星号配置,我试图生成一个自动拨号文件。虽然此调用脚本适用于内部号码完全正常,尝试了一个外部号码相同导致以下错误:星号呼叫文件呼叫未通过
Attempting call on SIP/provider/0049176xxxxxxx for [email protected]_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 /阀芯/星/传出
呼叫文件(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()
曾经做过我最好的谷歌任何最接近的答案,但都是徒劳的。因此,我会很感激任何帮助。
谢谢
尝试使用另一个外部号码,如果没有与您的'host = sip.xxxxx.com'网关提供商联系,请检查它为何获得忙碌信号。这似乎不是星号问题。 –