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'網關提供商聯繫,請檢查它爲何獲得忙碌信號。這似乎不是星號問題。 –