Hi Selintra,
I have bought myself an ATCOM AX400-12B card.
I have port 1 as FXO and port 2 and 3 as FXS.
I have installed the card and all seems recognized correctly..
[root@l1nuxsvr etc]# cat /proc/zaptel/*
Span 1: WCTDM/0 "Wildcard TDM400P REV I Board 1" (MASTER)
1 WCTDM/0/0 FXSKS (In use)
2 WCTDM/0/1 FXOKS (In use)
3 WCTDM/0/2 FXOKS (In use)
4 WCTDM/0/3
[root@l1nuxsvr etc]#
l1nuxsvr*CLI> zap show channels
Chan Extension Context Language MOH Interpret
pseudo internal default
1 mainmenu default
2 internal default
3 internal default
l1nuxsvr*CLI>
l1nuxsvr*CLI> zap show channel 1
Channel: 1LI>
File Descriptor: 19
Span: 1
Extension:
Dialing: no
Context: mainmenu
Caller ID:
Calling TON: 0
Caller ID name:
Destroy: 0
InAlarm: 0
Signalling Type: FXS Kewlstart
Radio: 0
Owner: <None>
Real: <None>
Callwait: <None>
Threeway: <None>
Confno: -1
Propagated Conference: -1
Real in conference: 0
DSP: no
Relax DTMF: yes
Dialing/CallwaitCAS: 0/0
Default law: ulaw
Fax Handled: no
Pulse phone: no
Echo Cancellation: 128 taps, currently OFF
Actual Confinfo: Num/0, Mode/0x0000
Actual Confmute: No
Hookstate (FXS only): Offhook
l1nuxsvr*CLI>
Yet when I ring my PSTN line I see the following in Asterisk console..
Connected to Asterisk 1.4.18.1 currently running on l1nuxsvr (pid = 6491)
Verbosity is at least 5
-- Starting simple switch on 'Zap/1-1'
[Jun 20 21:09:55] NOTICE[24264]: chan_zap.c:6376 ss_thread: Got event 18 (Ring Begin)...
[Jun 20 21:09:56] NOTICE[24264]: chan_zap.c:6376 ss_thread: Got event 2 (Ring/Answered)...
[Jun 20 21:09:58] NOTICE[24264]: chan_zap.c:6376 ss_thread: Got event 18 (Ring Begin)...
-- Executing [s@mainmenu:1] GotoIf("Zap/1-1", "1?s-61397951901|1") in new stack
-- Goto (mainmenu,s-61397951901,1)
-- Executing [s-61397951901@mainmenu:1] AGI("Zap/1-1", "selintra|Inbound|61397951901") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/selintra
-- AGI Script selintra completed, returning 0
-- Sent into invalid extension 's-61397951901' in context 'extensions' on Zap/1-1
-- Executing [i@extensions:1] PlayTones("Zap/1-1", "congestion") in new stack
-- Executing [i@extensions:2] Hangup("Zap/1-1", "") in new stack
== Spawn extension (extensions, i, 2) exited non-zero on 'Zap/1-1'
-- Executing [h@extensions:1] Hangup("Zap/1-1", "") in new stack
== Spawn extension (extensions, h, 1) exited non-zero on 'Zap/1-1'
-- Hungup 'Zap/1-1'
-- Starting simple switch on 'Zap/1-1'
[Jun 20 21:10:04] NOTICE[24298]: chan_zap.c:6376 ss_thread: Got event 18 (Ring Begin)...
[Jun 20 21:10:05] NOTICE[24298]: chan_zap.c:6376 ss_thread: Got event 2 (Ring/Answered)...
[Jun 20 21:10:07] NOTICE[24298]: chan_zap.c:6376 ss_thread: Got event 18 (Ring Begin)...
-- Executing [s@mainmenu:1] GotoIf("Zap/1-1", "1?s-61397951901|1") in new stack
-- Goto (mainmenu,s-61397951901,1)
-- Executing [s-61397951901@mainmenu:1] AGI("Zap/1-1", "selintra|Inbound|61397951901") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/selintra
-- AGI Script selintra completed, returning 0
-- Sent into invalid extension 's-61397951901' in context 'extensions' on Zap/1-1
-- Executing [i@extensions:1] PlayTones("Zap/1-1", "congestion") in new stack
-- Executing [i@extensions:2] Hangup("Zap/1-1", "") in new stack
== Spawn extension (extensions, i, 2) exited non-zero on 'Zap/1-1'
-- Executing [h@extensions:1] Hangup("Zap/1-1", "") in new stack
== Spawn extension (extensions, h, 1) exited non-zero on 'Zap/1-1'
-- Hungup 'Zap/1-1'
-- Starting simple switch on 'Zap/1-1'
[Jun 20 21:10:13] NOTICE[24331]: chan_zap.c:6376 ss_thread: Got event 18 (Ring Begin)...
[Jun 20 21:10:14] NOTICE[24331]: chan_zap.c:6376 ss_thread: Got event 2 (Ring/Answered)...
[Jun 20 21:10:16] NOTICE[24331]: chan_zap.c:6376 ss_thread: Got event 18 (Ring Begin)...
-- Executing [s@mainmenu:1] GotoIf("Zap/1-1", "1?s-61397951901|1") in new stack
-- Goto (mainmenu,s-61397951901,1)
-- Executing [s-61397951901@mainmenu:1] AGI("Zap/1-1", "selintra|Inbound|61397951901") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/selintra
-- AGI Script selintra completed, returning 0
-- Sent into invalid extension 's-61397951901' in context 'extensions' on Zap/1-1
-- Executing [i@extensions:1] PlayTones("Zap/1-1", "congestion") in new stack
-- Executing [i@extensions:2] Hangup("Zap/1-1", "") in new stack
== Spawn extension (extensions, i, 2) exited non-zero on 'Zap/1-1'
-- Executing [h@extensions:1] Hangup("Zap/1-1", "") in new stack
== Spawn extension (extensions, h, 1) exited non-zero on 'Zap/1-1'
-- Hungup 'Zap/1-1'
[Jun 20 21:28:35] NOTICE[6524]: chan_sip.c:12532 handle_response_peerpoke: Peer 'pt5551' is now Lagged. (4034ms / 3000ms)
[Jun 20 21:28:45] NOTICE[6524]: chan_sip.c:12532 handle_response_peerpoke: Peer 'pt5551' is now Reachable. (28ms / 3000ms)
l1nuxsvr*CLI>
But I have defined the Open / Closed to direct the call to extn 5010, but it never rings ?
This PSTN line is my fax line, so I have ticked the FAX box on the trunkline settings, and in globals have fax extn to be 5003 which is port 1 on the card.
I have not tested the fax functionality, as it doesnt work with a normal incoming call, so I figure first things first.
I have no previous experience with these TDM type cards, so have probably overlooked something, but I don't know what..
Levels I am running....
[root@l1nuxsvr etc]# uname -r
2.6.9-67.0.7.ELsmp
[root@l1nuxsvr etc]# rpm -q zaptel-kmdl-`uname -r`
warning: only V3 signatures can be verified, skipping V4 signature
zaptel-kmdl-2.6.9-67.0.7.ELsmp-1.4.11-51.el4
[root@l1nuxsvr etc]# rpm -q libpri
libpri-1.4.3-19.el4
[root@l1nuxsvr etc]# rpm -q asterisk
warning: only V3 signatures can be verified, skipping V4 signature
asterisk-1.4.18.1-59.el4
[root@l1nuxsvr etc]# rpm -q sail
sail-2.2.1-631
[root@l1nuxsvr etc]#
Appreciate any suggestions...
G