keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about A400/800/1200 Analog Interface Card

还是来电显示的问题,不好意思

15 years 2 months ago #2803 by blackmasklgf
[Mar 7 21:55:06] DEBUG[6508]: chan_zap.c:6151 ss_thread: CID got digit '5'
[Mar 7 21:55:06] DEBUG[6508]: chan_zap.c:6151 ss_thread: CID got digit '3'
[Mar 7 21:55:06] DEBUG[6508]: chan_zap.c:6151 ss_thread: CID got digit '3'
[Mar 7 21:55:06] DEBUG[6508]: chan_zap.c:6151 ss_thread: CID got digit '6'
[Mar 7 21:55:07] DEBUG[6508]: chan_zap.c:6151 ss_thread: CID got digit 'C'
[Mar 7 21:55:09] WARNING[6508]: chan_zap.c:6141 ss_thread: DTMFCID timed out waiting for ring. Exiting simple switch
[Mar 7 21:55:09] WARNING[6508]: chan_zap.c:6141 ss_thread: DTMFCID timed out waiting for ring. Exiting simple switch
-- Hungup 'Zap/1-1'
[Mar 7 21:55:14] DEBUG[6488]: dsp.c:1699 ast_dsp_set_busy_pattern: dsp busy pattern set to 350,350
-- Starting simple switch on 'Zap/1-1'
-- Executing [s@from-pstn:1] Set("Zap/1-1", "__FROM_DID=s") in new stack
-- Executing [s@from-pstn:2] Gosub("Zap/1-1", "app-blacklist-check|s|1") in new stack
-- Executing [s@app-blacklist-check:1] LookupBlacklist("Zap/1-1", "") in new stack
-- Executing [s@app-blacklist-check:2] GotoIf("Zap/1-1", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:3] Return("Zap/1-1", "") in new stack
-- Executing [s@from-pstn:3] GotoIf("Zap/1-1", "0 ?cidok") in new stack
-- Executing [s@from-pstn:4] Set("Zap/1-1", "CALLERID(name)=") in new stack
-- Executing [s@from-pstn:5] NoOp("Zap/1-1", "CallerID is "" <>") in new stack
-- Executing [s@from-pstn:6] Set("Zap/1-1", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [s@from-pstn:7] SetCallerPres("Zap/1-1", "allowed_not_screened") in new stack
-- Executing [s@from-pstn:8] Goto("Zap/1-1", "ivr-3|s|1") in new stack
-- Goto (ivr-3,s,1)
-- Executing [s@ivr-3:1] Set("Zap/1-1", "LOOPCOUNT=0") in new stack
-- Executing [s@ivr-3:2] Set("Zap/1-1", "__DIR-CONTEXT=default") in new stack


经常明明看到已经传送过来电话号码了,可是报DTMFCID timed out waiting for ring. Exiting simple switch:)
然后还是没有取到,这是怎么回事呢?:loveliness:


Mar 7 22:06:08] DEBUG[6554]: chan_zap.c:6133 ss_thread: Receiving DTMF cid on channel Zap/1-1
[Mar 7 22:06:09] DEBUG[6554]: chan_zap.c:6151 ss_thread: CID got digit '8'
[Mar 7 22:06:09] DEBUG[6554]: chan_zap.c:6151 ss_thread: CID got digit '6'
[Mar 7 22:06:09] DEBUG[6554]: chan_zap.c:6151 ss_thread: CID got digit '6'
[Mar 7 22:06:09] DEBUG[6554]: chan_zap.c:6151 ss_thread: CID got digit '6'
[Mar 7 22:06:09] DEBUG[6554]: chan_zap.c:6151 ss_thread: CID got digit '6'
[Mar 7 22:06:09] DEBUG[6554]: chan_zap.c:6151 ss_thread: CID got digit '0'
[Mar 7 22:06:10] DEBUG[6554]: chan_zap.c:6151 ss_thread: CID got digit '5'
[Mar 7 22:06:10] DEBUG[6554]: chan_zap.c:6151 ss_thread: CID got digit '2'
[Mar 7 22:06:10] DEBUG[6554]: chan_zap.c:6151 ss_thread: CID got digit 'C'
[Mar 7 22:06:12] WARNING[6554]: chan_zap.c:6141 ss_thread: DTMFCID timed out waiting for ring. Exiting simple switch
[Mar 7 22:06:12] WARNING[6554]: chan_zap.c:6141 ss_thread: DTMFCID timed out waiting for ring. Exiting simple switch
-- Hungup 'Zap/1-1'
[Mar 7 22:06:17] DEBUG[6488]: dsp.c:1699 ast_dsp_set_busy_pattern: dsp busy pattern set to 350,350


好像手机号码大部分时间是可以取得的,但是不带区号9位的固定电话号码却取不到,怎么办呢?
15 years 2 months ago #2805 by james.zhu
hello,
你把bufflen=1 改成 bufflen=10, 试试。
james.zhu

15 years 2 months ago #2807 by blackmasklgf
[Mar 9 12:03:17] DEBUG[2995]: chan_zap.c:6151 ss_thread: CID got digit 'C'
[Mar 9 12:03:19] WARNING[2995]: chan_zap.c:6141 ss_thread: DTMFCID timed out waiting for ring. Exiting simple switch
[Mar 9 12:03:19] WARNING[2995]: chan_zap.c:6141 ss_thread: DTMFCID timed out waiting for ring. Exiting simple switch
-- Hungup 'Zap/1-1'
[Mar 9 12:03:25] DEBUG[2708]: dsp.c:1699 ast_dsp_set_busy_pattern: dsp busy pattern set to 350,350
-- Starting simple switch on 'Zap/1-1'
-- Executing [s@from-pstn:1] Set("Zap/1-1", "__FROM_DID=s") in new stack
-- Executing [s@from-pstn:2] Gosub("Zap/1-1", "app-blacklist-check|s|1") in new stack
-- Executing [s@app-blacklist-check:1] LookupBlacklist("Zap/1-1", "") in new stack
[Mar 9 12:03:25] WARNING[2996]: app_lookupblacklist.c:106 lookupblacklist_exec: LookupBlacklist is deprecated. Please use ${BLACKLIST()} instead.
[Mar 9 12:03:25] WARNING[2996]: app_lookupblacklist.c:106 lookupblacklist_exec: LookupBlacklist is deprecated. Please use ${BLACKLIST()} instead.
-- Executing [s@app-blacklist-check:2] GotoIf("Zap/1-1", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:3] Return("Zap/1-1", "") in new stack
-- Executing [s@from-pstn:3] GotoIf("Zap/1-1", "0 ?cidok") in new stack
-- Executing [s@from-pstn:4] Set("Zap/1-1", "CALLERID(name)=") in new stack
-- Executing [s@from-pstn:5] NoOp("Zap/1-1", "CallerID is "" <>") in new stack
-- Executing [s@from-pstn:6] Set("Zap/1-1", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [s@from-pstn:7] SetCallerPres("Zap/1-1", "allowed_not_screened") in new stack
-- Executing [s@from-pstn:8] Goto("Zap/1-1", "ivr-3|s|1") in new stack
-- Goto (ivr-3,s,1)
-- Executing [s@ivr-3:1] Set("Zap/1-1", "LOOPCOUNT=0") in new stack
-- Executing [s@ivr-3:2] Set("Zap/1-1", "__DIR-CONTEXT=default") in new stack
-- Executing [s@ivr-3:3] Set("Zap/1-1", "_IVR_CONTEXT_ivr-3=") in new stack
-- Executing [s@ivr-3:4] Set("Zap/1-1", "_IVR_CONTEXT=ivr-3") in new stack
-- Executing [s@ivr-3:5] GotoIf("Zap/1-1", "0?begin") in new stack
-- Executing [s@ivr-3:6] Answer("Zap/1-1", "") in new stack
[Mar 9 12:03:25] DEBUG[2996]: chan_zap.c:2782 zt_answer: Took Zap/1-1 off hook
[Mar 9 12:03:25] DEBUG[2996]: chan_zap.c:1461 zt_train_ec: No echo training requested


不行呢
怪了
15 years 2 months ago #2810 by miaolin
chan_zap.c里面处理dtmf cid的部分有一个超时,需要修改一下。
具体James要看看
DTMFCID timed out waiting for ring. Exiting simple switch
这句话是在哪里打印出来的。
15 years 2 months ago #2811 by blackmasklgf
我进入asterisk -r
然后打我的pstn号码
这些信息就出来了
15 years 2 months ago #2812 by blackmasklgf
感谢james.zhu,问题已解决
进来的号码带0,是elastix黑名单拦截引起的
Time to create page: 0.039 seconds
Powered by Kunena Forum