各位先進大家好
在下想向各位先進們請教一個問題,目前我使用WindowsMobile系統的HTC TouchHD,有個問題是透過威寶門號撥入公司3G閘道器(也
是威寶)並轉入asterisk主機聽見IVR語音後,手機輸入的數字系統都吃不進去(有撥號音),所以IVR會反覆重播然後斷線;不過使用中華門號透
過2G手機撥入同一個3G閘道器後,輸入的數字系統就讀的到,"但是都回覆輸入分機無效",不過手機透過市話撥入系統的話,IVR則都是都正常沒問題。
不知道這整個問題是出在3G閘道器還是Asterisk的設定或是手機本身問題,希望先進們可以指引些方向讓我做檢測,感謝
區網sip
手機------->3G閘道器 -------------> Asterisk <---------- PSTN
3G閘道器跟Asterisk之間是透過SIP Trunk連接(設定檔如下) 有確認過閘道器方面使用的是inband DTMF和ulaw,
alaw codec
OUTGOING SETTING
host=192.168.1.52
type=peer
port=5060
dtmfmode=inband
context=from-internal
disallow=all
allow=ulaw&alaw
INCOMING SETTING
host=192.168.1.52
type=peer
port=5060
insecure=very
dtmfmode=inband
disallow=all
allow=ulaw&alaw
context=from-trunk
ASTERISK LOG
Sep 4 09:55:35 -- Executing [0986***958@from-trunk:1] Set("SIP/from3G2-
b6a01fc8", "__FROM_DID=0986***958") in new stack
Sep 4 09:55:35 -- Executing [0986***958@from-trunk:2] Gosub("SIP/
from3G2-b6a01fc8", "app-blacklist-check|s|1") in new stack
Sep 4 09:55:35 -- Executing [s@app-blacklist-check:1]
LookupBlacklist("SIP/from3G2-b6a01fc8", "") in new stack
Sep 4 09:55:35 -- Executing [s@app-blacklist-check:2] GotoIf("SIP/
from3G2-b6a01fc8", "0?blacklisted") in new stack
Sep 4 09:55:35 -- Executing [s@app-blacklist-check:3] Return("SIP/
from3G2-b6a01fc8", "") in new stack
Sep 4 09:55:35 -- Executing [0986***958@from-trunk:3] ExecIf("SIP/
from3G2-b6a01fc8", "0 |Set|CALLERID(name)=0986***859") in new stack
Sep 4 09:55:35 -- Executing [0986***958@from-trunk:4] Set("SIP/from3G2-
b6a01fc8", "FAX_RX=disabled") in new stack
Sep 4 09:55:35 -- Executing [0986***958@from-trunk:5] Set("SIP/from3G2-
b6a01fc8", "__CALLINGPRES_SV=allowed_not_screened") in new stack
Sep 4 09:55:35 -- Executing [0986***958@from-trunk:6]
SetCallerPres("SIP/from3G2-b6a01fc8", "allowed_not_screened") in new
stack
Sep 4 09:55:35 -- Executing [0986***958@from-trunk:7] Goto("SIP/
from3G2-b6a01fc8", "ivr-3|s|1") in new stack
Sep 4 09:55:35 -- Goto (ivr-3,s,1)
Sep 4 09:55:35 -- Executing [s@ivr-3:1] Set("SIP/from3G2-b6a01fc8",
"MSG=custom/ITCI_IVR") in new stack
Sep 4 09:55:35 -- Executing [s@ivr-3:2] Set("SIP/from3G2-b6a01fc8",
"LOOPCOUNT=0") in new stack
Sep 4 09:55:35 -- Executing [s@ivr-3:3] Set("SIP/from3G2-b6a01fc8",
"__DIR-CONTEXT=") in new stack
Sep 4 09:55:35 -- Executing [s@ivr-3:4] Set("SIP/from3G2-b6a01fc8",
"_IVR_CONTEXT_ivr-3=") in new stack
Sep 4 09:55:35 -- Executing [s@ivr-3:5] Set("SIP/from3G2-b6a01fc8",
"_IVR_CONTEXT=ivr-3") in new stack
Sep 4 09:55:35 -- Executing [s@ivr-3:6] GotoIf("SIP/from3G2-b6a01fc8",
"0?begin") in new stack
Sep 4 09:55:35 -- Executing [s@ivr-3:7] Answer("SIP/from3G2-b6a01fc8",
"") in new stack
Sep 4 09:55:35 -- Executing [s@ivr-3:8] Wait("SIP/from3G2-b6a01fc8",
"1") in new stack
Sep 4 09:55:36 Registration from '"0986***958" <sip:
0986***
8...@192.168.1.150:5060>' failed for '192.168.1.52' - No
matching peer found
Sep 4 09:55:36 -- Executing [s@ivr-3:9] Set("SIP/from3G2-b6a01fc8",
"TIMEOUT(digit)=3") in new stack
Sep 4 09:55:36 -- Digit timeout set to 3
Sep 4 09:55:36 -- Executing [s@ivr-3:10] Set("SIP/from3G2-b6a01fc8",
"TIMEOUT(response)=5") in new stack
Sep 4 09:55:36 -- Response timeout set to 5
Sep 4 09:55:36 -- Executing [s@ivr-3:11] Set("SIP/from3G2-b6a01fc8",
"__IVR_RETVM=") in new stack
Sep 4 09:55:36 -- Executing [s@ivr-3:12] ExecIf("SIP/from3G2-
b6a01fc8", "1|Background|custom/ITCI_IVR") in new stack
Sep 4 09:55:36 -- <SIP/from3G2-b6a01fc8> Playing 'custom/
ITCI_IVR' (language 'tw')
Sep 4 09:55:37 Registration from '"0986***958" <sip:
0986***
8...@192.168.1.150:5060>' failed for '192.168.1.52' - No
matching peer found
Sep 4 09:55:47 -- Executing [s@ivr-3:13] WaitExten("SIP/from3G2-
b6a01fc8", "|") in new stack
Sep 4 09:55:52 -- Timeout on SIP/from3G2-b6a01fc8, going to 't'
Sep 4 09:55:52 -- Executing [t@ivr-3:1] Goto("SIP/from3G2-b6a01fc8",
"loop|1") in new stack
Sep 4 09:55:52 -- Goto (ivr-3,loop,1)
Sep 4 09:55:52 -- Executing [loop@ivr-3:1] Set("SIP/from3G2-b6a01fc8",
"LOOPCOUNT=1") in new stack
Sep 4 09:55:52 -- Executing [loop@ivr-3:2] GotoIf("SIP/from3G2-
b6a01fc8", "0?hang|1") in new stack
Sep 4 09:55:52 -- Executing [loop@ivr-3:3] Goto("SIP/from3G2-
b6a01fc8", "ivr-3|s|begin") in new stack
Sep 4 09:55:52 -- Goto (ivr-3,s,9)
Sep 4 09:55:52 -- Executing [s@ivr-3:9] Set("SIP/from3G2-b6a01fc8",
"TIMEOUT(digit)=3") in new stack
Sep 4 09:55:52 -- Digit timeout set to 3
Sep 4 09:55:52 -- Executing [s@ivr-3:10] Set("SIP/from3G2-b6a01fc8",
"TIMEOUT(response)=5") in new stack
Sep 4 09:55:52 -- Response timeout set to 5
Sep 4 09:55:52 -- Executing [s@ivr-3:11] Set("SIP/from3G2-b6a01fc8",
"__IVR_RETVM=") in new stack
Sep 4 09:55:52 -- Executing [s@ivr-3:12] ExecIf("SIP/from3G2-
b6a01fc8", "1|Background|custom/ITCI_IVR") in new stack
Sep 4 09:55:52 -- <SIP/from3G2-b6a01fc8> Playing 'custom/
ITCI_IVR' (language 'tw')
Sep 4 09:56:02 -- Executing [s@ivr-3:13] WaitExten("SIP/from3G2-
b6a01fc8", "|") in new stack
Sep 4 09:56:08 -- Timeout on SIP/from3G2-b6a01fc8, going to 't'
Sep 4 09:56:08 -- Executing [t@ivr-3:1] Goto("SIP/from3G2-b6a01fc8",
"loop|1") in new stack
Sep 4 09:56:08 -- Goto (ivr-3,loop,1)
Sep 4 09:56:08 -- Executing [loop@ivr-3:1] Set("SIP/from3G2-b6a01fc8",
"LOOPCOUNT=2") in new stack
Sep 4 09:56:08 -- Executing [loop@ivr-3:2] GotoIf("SIP/from3G2-
b6a01fc8", "1?hang|1") in new stack
Sep 4 09:56:08 -- Goto (ivr-3,hang,1)
Sep 4 09:56:08 -- Executing [hang@ivr-3:1] Playback("SIP/from3G2-
b6a01fc8", "vm-goodbye") in new stack
Sep 4 09:56:08 -- <SIP/from3G2-b6a01fc8> Playing 'vm-
goodbye' (language 'tw')
Sep 4 09:56:10 -- Executing [hang@ivr-3:2] Hangup("SIP/from3G2-
b6a01fc8", "") in new stack
Sep 4 09:56:10 == Spawn extension (ivr-3, hang, 2) exited non-zero on
'SIP/from3G2-b6a01fc8'
Sep 4 09:56:10 -- Executing [h@ivr-3:1] Hangup("SIP/from3G2-b6a01fc8",
"") in new stack
Sep 4 09:56:10 == Spawn extension (ivr-3, h, 1) exited non-zero on
'SIP/from3G2-b6a01fc8'