×
Notice
The forum is in read only mode.
-
Forum
-
Telephony Cards Support
-
A400/800/1200 Series
-
大家好,关于dtmf来电显示问题,请求帮助!
×
Questions about A400/800/1200 Analog Interface Card
大家好,关于dtmf来电显示问题,请求帮助!
15 years 1 month ago #2778
by james.zhu
hello,
现在你的测试结果是这样的:
=======================================================================
*CLI> == Starting post polarity CID detection on channel 1
[Mar 6 17:07:54] DEBUG[8757]: dsp.c:1699 ast_dsp_set_busy_pattern: dsp busy pattern set to 350,350
-- Starting simple switch on 'Zap/1-1'
[Mar 6 17:07:54] DEBUG[8785]: chan_zap.c:6133 ss_thread: Receiving DTMF cid on channel Zap/1-1
[Mar 6 17:07:54] DEBUG[8785]: chan_zap.c:6151 ss_thread: CID got digit '0'
[Mar 6 17:07:54] DEBUG[8785]: chan_zap.c:6151 ss_thread: CID got digit '0'
[Mar 6 17:07:54] DEBUG[8785]: chan_zap.c:6151 ss_thread: CID got digit '7'
[Mar 6 17:07:54] DEBUG[8785]: chan_zap.c:6151 ss_thread: CID got digit '5'
[Mar 6 17:07:55] DEBUG[8785]: chan_zap.c:6151 ss_thread: CID got digit '5'
[Mar 6 17:07:55] DEBUG[8785]: chan_zap.c:6151 ss_thread: CID got digit '8'
[Mar 6 17:07:55] DEBUG[8785]: chan_zap.c:6151 ss_thread: CID got digit '2'
[Mar 6 17:07:55] DEBUG[8785]: chan_zap.c:6151 ss_thread: CID got digit '5'
[Mar 6 17:07:55] DEBUG[8785]: chan_zap.c:6151 ss_thread: CID got digit '3'
[Mar 6 17:07:55] DEBUG[8785]: chan_zap.c:6151 ss_thread: CID got digit '5'
[Mar 6 17:07:56] DEBUG[8785]: chan_zap.c:6151 ss_thread: CID got digit '4'
[Mar 6 17:07:56] DEBUG[8785]: chan_zap.c:6151 ss_thread: CID got digit '6'
[Mar 6 17:07:56] DEBUG[8785]: chan_zap.c:6151 ss_thread: CID got digit '2'
[Mar 6 17:07:56] DEBUG[8785]: chan_zap.c:6151 ss_thread: CID got digit 'C'
[Mar 6 17:07:58] WARNING[8785]: chan_zap.c:6141 ss_thread: DTMFCID timed out waiting for ring. Exiting simple switch
[Mar 6 17:07:58] WARNING[8785]: chan_zap.c:6141 ss_thread: DTMFCID timed out waiting for ring. Exiting simple switch
===============================================================
多了一个C 出来。还是要改代码。
james.zhu
15 years 1 month ago #2780
by james.zhu
hello, 来电显示的问题已经解决了
==============================================================
[Mar 6 19:00:06] DEBUG[9906] chan_zap.c: CID got digit '0'
[Mar 6 19:00:06] DEBUG[9906] chan_zap.c: CID got digit '7'
[Mar 6 19:00:06] DEBUG[9906] chan_zap.c: CID got digit '5'
[Mar 6 19:00:06] DEBUG[9906] chan_zap.c: CID got digit '5'
[Mar 6 19:00:07] DEBUG[9906] chan_zap.c: CID got digit '8'
[Mar 6 19:00:07] DEBUG[9906] chan_zap.c: CID got digit '2'
[Mar 6 19:00:07] DEBUG[9906] chan_zap.c: CID got digit '5'
[Mar 6 19:00:07] DEBUG[9906] chan_zap.c: CID got digit '3'
[Mar 6 19:00:07] DEBUG[9906] chan_zap.c: CID got digit '5'
[Mar 6 19:00:07] DEBUG[9906] chan_zap.c: CID got digit '4'
[Mar 6 19:00:07] DEBUG[9906] chan_zap.c: CID got digit '6'
[Mar 6 19:00:08] DEBUG[9906] chan_zap.c: CID got digit '2'
[Mar 6 19:00:08] DEBUG[9906] chan_zap.c: CID got digit 'C'
[Mar 6 19:00:10] DEBUG[9906] chan_zap.c: CID got string '075582535462C'
[Mar 6 19:00:10] DEBUG[9906] chan_zap.c: CID is '075582535462', flags 12770833
[Mar 6 19:00:10] DEBUG[9906] chan_zap.c: Took Zap/1-1 off hook
[Mar 6 19:00:10] DEBUG[9906] chan_zap.c: No echo training requested
==================================================================
================CDR===================================================
"","0075582535462","s","ivr-3","""0075582535462"" <0075582535462>","Zap/1-1","","WaitExten","|","2009-03-06 10:59:26","2009-03-06 10:59:30","2009-03-06 10:59:47",21,17,"ANSWERED","DOCUMENTATION","1236337166.0",""
"","075582535462","139691XXXX","from-internal","075582535462","Local/1396918XXXX@from-internal-f032,2","SIP/tocall2-0904d048","Dial","SIP/tocall2/1396918XXXXX|300|","2009-03-06 11:00:28",,"2009-03-06 11:00:59",31,0,"NO ANSWER","DOCUMEN
=========================================================================
这是 debug 信息,我从我们公司到过去的。来电显示可以正常工作了。你的 zaptel-1.4.10 asterisk-1.4.20. 如果要改动的千万把 chan_zap.c 和 wctdm.c 先做备份。
james.zhu
15 years 1 month ago #2783
by james.zhu
hello,
你每次加载驱动时要加 modprobe wctdm cidbeforering=1 cidbuflen=1
james.zhu
-
Forum
-
Telephony Cards Support
-
A400/800/1200 Series
-
大家好,关于dtmf来电显示问题,请求帮助!
Time to create page: 0.045 seconds