請問Next PBX支援G723的語音格式轉碼嗎?

97 views
Skip to first unread message

威威

unread,
Feb 22, 2013, 8:34:34 AM2/22/13
to aster...@googlegroups.com
如題
我會這樣問是因為我遇到對方撥到我的自動總機無聲,我自己試是正常的
然後我在Log看到 (這是馬凱公司的專員撥給我時)
[Feb 19 17:24:58] WARNING[15589] channel.c: Unable to find a codec translation path from 0x1 (g723) to 0x4 (ulaw)
[Feb 19 17:24:58] WARNING[15589] channel.c: Unable to find a codec translation path from 0x1 (g723) to 0x4 (ulaw)
[Feb 19 17:24:58] WARNING[15589] channel.c: Unable to find a codec translation path from 0x1 (g723) to 0x40 (slin)
附上音檔檔案試G711 U-law的
然後今天從單位電話撥回來家裡也是無聲 撥6999語音信箱後電話就被掛了,看到的Log是
[Feb 22 15:20:09] WARNING[1030] channel.c: Unable to find a codec translation path from 0x1 (g723) to 0x4 (ulaw)
[Feb 22 15:20:09] WARNING[1030] channel.c: Unable to find a codec translation path from 0x1 (g723) to 0x4 (ulaw)
[Feb 22 15:20:09] WARNING[1030] channel.c: Unable to find a codec translation path from 0x1 (g723) to 0x40 (slin)
[Feb 22 15:20:09] WARNING[1030] file.c: Unable to open record/yosin (format 0x1 (g723)): No such file or directory
[Feb 22 15:20:09] WARNING[1030] pbx.c: ast_streamfile failed on SIP/trunk_1-0000002c for record/yosin
[Feb 22 15:20:13] WARNING[1030] channel.c: Unable to find a codec translation path from 0x1 (g723) to 0x2 (gsm)
[Feb 22 15:20:13] WARNING[1030] file.c: Unable to open vm-login (format 0x1 (g723)): No such file or directory
[Feb 22 15:20:13] WARNING[1030] app_voicemail.c: Couldn't stream login file
請問說NextPBX是否內建G723的編碼code
我只能說碼凱幫客戶設定幾乎都是G723因為我用Gateway直接撥通看到的都是G723 目前只能先把G723取消再請瑪凱撥入看看
不過這樣還有什麼好方法?



DSG_income.wav

A-Lang, Hsu - Asterisk/Linux/IT Consultant

unread,
Feb 22, 2013, 10:53:05 PM2/22/13
to Asterisk/Elastix User Group in Taiwan - OSSLab.org.tw
NextPBX 不支援 G723, G729 轉碼


2013/2/22 威威 <c890...@gmail.com>



--
您已訂閱「Google 網上論壇」的「Taiwan Asterisk Users' Group - www.osslab.com.tw」群組,因此我們特別傳送這封郵件通知您。
如要取消訂閱這個群組並停止接收來自這個群組的郵件,請傳送電子郵件到 asterisk-tw...@googlegroups.com
如要在此群組張貼留言,請傳送電子郵件至 aster...@googlegroups.com
請前往以下網址造訪這個群組:http://groups.google.com/group/asterisk-tw?hl=zh-TW。
如需更多選項,請前往:https://groups.google.com/groups/opt_out。
 
 

威威

unread,
Mar 2, 2013, 9:47:49 AM3/2/13
to aster...@googlegroups.com
我已經把G723關了

不過昨天我去時側時又出現
[Mar  1 14:53:03] WARNING[3229] channel.c: Unable to find a codec translation path from 0x8 (alaw) to 0x4 (ulaw)
[Mar  1 14:53:03] WARNING[3229] channel.c: Unable to find a codec translation path from 0x8 (alaw) to 0x40 (slin)
[Mar  1 14:53:03] WARNING[3229] chan_sip.c: Asked to transmit frame type ulaw, while native formats is 0x8 (alaw) read/write = 0x4 (ulaw)/0x40 (slin)
[Mar  1 14:53:03] WARNING[3229] chan_sip.c: Asked to transmit frame type ulaw, while native formats is 0x8 (alaw) read/write = 0x4 (ulaw)/0x40 (slin)
所以G711.A 也轉不成
目前語音格是順位是:
allow=ulaw,alaw,gsm,g726
還有什麼辦法呢??

威威於 2013年2月22日星期五UTC+8下午9時34分34秒寫道:

A-Lang, Hsu - Asterisk/Linux/IT Consultant

unread,
Mar 2, 2013, 10:42:04 PM3/2/13
to Asterisk/Elastix User Group in Taiwan - OSSLab.org.tw
系統預設並沒有載入 codec alaw,通常 alaw 較常用在歐係國家,而國內可以選擇 ulaw。

如果特殊原因,非要載入,可以按以下步驟來做:
  1. 登入 telnet
  2. 編輯 /etc/asterisk/modules.conf
  3. 找到 noload => codec_alaw.so,在最前方加上分號
  4. 重啟 NextPBX 或執行
    /etc/init.d/asterisk.sh stop
    /etc/init.d/asterisk.sh start
  5. 完成
由於 NextPBX 屬於精簡型的嵌入式系統,不是非必要,還是建議減少 codec translation 的使用模式,因為這會多耗損系統資源。




2013/3/2 威威 <c890...@gmail.com>

威威

unread,
Mar 3, 2013, 12:56:33 AM3/3/13
to aster...@googlegroups.com
謝謝!!  我在手機軟體內只開alaw撥700可以聽的到音樂
再恢復到一般情況下撥該號碼去看即時通話資料 有看到兩邊語音格式不同有做轉碼動作了

不過我只能說瑪凱幫客戶設定的邏輯還是讓我想不透 感覺他們的順序是G723>alaw>ulaw
因為我後來在Sip trunk只開ulaw一樣有聲音也是OK的
但是又不然只開一種codes 只能先讓PBX轉碼了

A.Lang(WebAdmin)於 2013年3月3日星期日UTC+8上午11時42分04秒寫道:
Reply all
Reply to author
Forward
0 new messages