Asterisk 自動播號有人成功過嗎

小弟在UBUNTU作業系統上安裝asterisk
最近想嘗試他的autodial的功能 只是一直失敗
不知道是不是我的call file有問題
有前輩有嘗試過的嗎 不知道能不能分享跟討論 謝謝!!

以下則是一些執行時發生的訊息
NOTICE[21232]: pbx_spool.c:339 attempt_thread: Call failed to go through, reason (0) Call Failure (not BUSY, and not NO_ANSWER, maybe Circuit busy or down?)

ERROR[21174]: pbx.c:9278 device_state_cb: Received invalid event that had no device IE

ERROR[21174]: app_queue.c:1101 device_state_cb: Received invalid event that had no device IE

NOTICE[21243]: pbx_spool.c:339 attempt_thread: Call failed to go through, reason (0) Call Failure (not BUSY, and not NO_ANSWER, maybe Circuit busy or down?)

ERROR[21174]: pbx.c:9278 device_state_cb: Received invalid event that had no device IE


2013-04-17 18:43 發佈
文章關鍵字 asterisk
貼出你的call file吧!因為用call file產生的動作,並不會跑dialplan,也許是你呼出的路徑根本有問題。光那些log,看不太出來。

我用過Ubuntu上面跑asterisk的自動呼出,沒問題的。
== Starting SIP/201-00000000 at auto,201,1 failed so falling back to exten 's'
== Starting SIP/201-00000000 at auto,s,1 still failed so falling back to context 'default'
-- Executing [s@default:1] wait("SIP/201-00000000", "1")
NOTICE[21823]: rtp.c:1790 ast_rtp_read: Unknown RTP codec 126 received from 'xxx.xxx.xxx.xxx'
NOTICE[21823]: rtp.c:1790 ast_rtp_read: Unknown RTP codec 126 received from 'xxx.xxx.xxx.xxx'
NOTICE[21823]: rtp.c:1790 ast_rtp_read: Unknown RTP codec 126 received from 'xxx.xxx.xxx.xxx'
-- Executing [s@default:1] answer("SIP/201-00000000", "")
-- Digit timeout set to 5.000
-- Response timeout set to 10.000
-- Executing [s@default:1] background("SIP/201-00000000", "demo-congrats")
-- <SIP/201-00000000> Playing 'demo-congrats.gsm' (language 'en')

謝謝您 我現在電話是有成功響了 但是他無法播放我設定的語音檔 可以請教是為何嗎
以下是我的extensions.conf
[auto]
exten => 201,1,Answer()
exten => 201,2,Playback(/usr/share/asterisk/sounds/en/abc)
exten => 201,3,Hangup()
而call file是設
Channel: SIP/201
Callerid: Alarm
MaxRetries: 1
RetryTime: 100
WaitTime: 30
Context: auto
Extension: 201
Priority: 1

謝謝指教了

漩渦 wrote:
== Startin...(恕刪)


DialPlan 跑到 [default] 去了
有執行 dialplan reload 嗎?

或改成這樣看看

[auto]
exten => s,1,Answer()
exten => s,2,Playback(/usr/share/asterisk/sounds/en/abc)
exten => s,3,Hangup()


Extension: 201
改成
Extension: s

另外確定一下
abc.wav or abc.gsm 的格式是否為
16 bit 8000 Hz mono
>Channel: SIP/201
....
>Extension: 201

這兩個都是201?
我都是用不同的號,會先撥上面Channel的,在撥Extension的,兩者聯起來!

我是這樣玩的
1. 送給 9098887777.7891112345@free.call.to 的郵件,就如上所提,先撥7891112345再撥9098887777,然後將兩者聯起來!
2. 送給 9098887777.eng@free.call.to 的郵件,會撥打9098887777,並將信件內容(英文)唸出;
3. 送給 9098887777.ch@free.call.to 的郵件,會撥打9098887777,並將信件內容(中文)唸出;

我是用Raspberry Pi裝incredible pbx, 上面本來就有text to speech的功能,但效果差, www.neospeech.com 是網路上我能找到效果最好的了!
[註]free.call.to 僅是舉例說明,並非我真正申請的 dynamic domain name.

4.也可以透過簡訊送一個"你想撥打的電話號碼"到我自己的Google voice號碼, 家裡的Raspberry Pi收到後,IP-PBX會先撥打送出此SMS的手機,再撥打在簡訊中的電話號碼,並將兩者聯起來(兩者的來電顯示都是GV的號碼)!
大家都已經指出重點了。

你的設定裡是 從 201 再撥給 201,所以就會發生問題。
-- IPOX: 0702500267 iNum: +883 510008099702
內文搜尋
X
評分
評分
複製連結
Mobile01提醒您
您目前瀏覽的是行動版網頁
是否切換到電腦版網頁呢?