keywords: ip pbx voip gateway gsm gateway

×

Notice

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

patched callerid with A800P/A1200P

15 years 1 week ago #3019 by james.zhu
hello,
modprobe cidbeforering=1 cidbuflen=1 and recompile your asterisk chan_zap.c.
this is the test output in your system
[Apr 13 08:31:56] DEBUG[18185]: chan_zap.c:6162 ss_thread: CID got string '9804763649C'
[Apr 13 08:31:56] WARNING[18185]: callerid.c:219 callerid_get_dtmf: Couldn't detect start-character. CID parsing might be unreliable
[Apr 13 08:31:56] WARNING[18185]: callerid.c:219 callerid_get_dtmf: Couldn't detect start-character. CID parsing might be unreliable
[Apr 13 08:31:56] DEBUG[18185]: chan_zap.c:6164 ss_thread: CID is '9804763649', flags 3639985
-- Executing [s@from-zaptel:1] NoOp("Zap/1-1", "Entering from-zaptel with DID == ") in new stack
-- Executing [s@from-zaptel:2] Ringing("Zap/1-1", "") in new stack
-- Executing [s@from-zaptel:3] Set("Zap/1-1", "DID=s") in new stack
-- Executing [s@from-zaptel:4] NoOp("Zap/1-1", "DID is now s") in new stack
-- Executing [s@from-zaptel:5] GotoIf("Zap/1-1", "1?zapok:notzap") in new stack
-- Goto (from-zaptel,s,8)
[Apr 13 08:34:09] DEBUG[18201]: chan_zap.c:6162 ss_thread: CID got string '9804767443C'
[Apr 13 08:34:09] WARNING[18201]: callerid.c:219 callerid_get_dtmf: Couldn't detect start-character. CID parsing might be unreliable
[Apr 13 08:34:09] WARNING[18201]: callerid.c:219 callerid_get_dtmf: Couldn't detect start-character. CID parsing might be unreliable
================================================================================
[Apr 13 08:34:09] DEBUG[18201]: chan_zap.c:6164 ss_thread: CID is '9804767443', flags 3639985
trixbox1*CLI> -- Executing [s@test:1] Answer("Zap/1-1", "") in new stack
[Apr 13 08:34:09] DEBUG[18201]: chan_zap.c:2782 zt_answer: Took Zap/1-1 off hook
[Apr 13 08:34:09] DEBUG[18201]: chan_zap.c:1461 zt_train_ec: No echo training requested
-- Executing [s@test:2] NoOp("Zap/1-1", """ <9804767443>") in new stack // show CID from test context
-- Executing [s@test:3] Hangup("Zap/1-1", "") in new stack
== Spawn extension (test, s, 3) exited non-zero on 'Zap/1-1'
-- Hungup 'Zap/1-1'
-- Executing [s@test:1] Answer("Zap/1-1", "") in new stack
[Apr 13 08:34:09] DEBUG[18201]: chan_zap.c:2782 zt_answer: Took Zap/1-1 off hook
[Apr 13 08:34:09] DEBUG[18201]: chan_zap.c:1461 zt_train_ec: No echo training requested
-- Executing [s@test:2] NoOp("Zap/1-1", """ <9804767443>") in new stack
==========================================
please keep in mind that make a backup for your chan_zap.c and remember loading driver with cidbeforering=1 cidbuglen=1
regards!
James.zhu

15 years 1 week ago #3020 by [email protected]
Hi James,

Thanks for the help. "modprobe opvxa1200 cidbeforering=1 cidbuflen=1" did the tricks, I got the CID. By the way how can I make the modules permanent i.e load the modprobe opvxa1200 cidbeforering=1 cidbuflen=1" after reboot.
I added this line in /etc/modprobe.conf
modprobe opvxa1200 cidbeforering=1 cidbuflen=1

but id didn't help.

i] Last edited by bishal at 2009-4-13 13:53 [/i
15 years 1 week ago #3021 by james.zhu
hello,
please man the modprobe, please try to add:
options opvxa1200 cidbeforering=1 cidbuflen=1
any problems with modprobe, please refer this:
http://www.voip-info.org/wiki/view/TDM400P
regards!
james.zhu

14 years 11 months ago #3184 by mslk
这个文档很好:victory:
Time to create page: 0.036 seconds
Powered by Kunena Forum