Koozali.org: home of the SME Server

How to connect a ISDN-PBX with TDM410P ?

Offline fpausp

  • *
  • 728
  • +0/-0
How to connect a ISDN-PBX with TDM410P ?
« on: September 01, 2008, 04:48:47 PM »
Hi All,

I have problems to get a TDM410P working behind a ISDN-PBX. I have an EURO-ISDN-Line (Austria) in point-to-point mode. Behind this ISDN-Line is a PBX (Agfeo AS-40).What i also have is a SME 7.3-Server with SAIL-651 and a TDM410P (1xFXO and 1xFXS).

After a quick test it was only working to call out, the PBX-Admin configured an extension for incomming calls on the port where i connect the TDM410P, but now the line is busy.

How must we interconnect and configure all and should we use the FXO or the FXS-Port ?


Best
fpausp
Viribus unitis

Offline bbialy

  • ****
  • 105
  • +0/-0
Re: How to connect a ISDN-PBX with TDM410P ?
« Reply #1 on: September 01, 2008, 05:04:38 PM »
definitly fxo port

[PBX]FXS-------FXO[CARD - SME]

[CARD - SME]FXS------FXO[PHONE] (analogue not ip)

short shema how to switch it in.

410P i analogue card so there is not much to configure on sme site
i think more to configure is on PBX
good idea is to create virtual ddi on pbx and switch into it another incomming connection for other ddi's
bbialy
Reading with understanding is the hardest thing IN THE WORLD

Offline fpausp

  • *
  • 728
  • +0/-0
Re: How to connect a ISDN-PBX with TDM410P ?
« Reply #2 on: September 01, 2008, 05:18:01 PM »
Hi bbialy,

Thanks for your quick answer, i will speak with the ISDN-PBX-Admin.

regards
fpausp
Viribus unitis

Offline fpausp

  • *
  • 728
  • +0/-0
Re: How to connect a ISDN-PBX with TDM410P ?
« Reply #3 on: September 18, 2008, 07:38:00 PM »
Hi All,

OK, it is working but not 100%. The problem is when the caller stops the call befor the callee can accept the call, after that the line hangs and is busy, i have test this about five minutes.

Code: [Select]

2008-09-18 06:42:32,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 07:19:12,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,5,,
2008-09-18 07:26:39,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 07:35:38,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 07:36:22,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,4,,
2008-09-18 07:39:26,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,5,,
2008-09-18 07:43:07,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,4,,
2008-09-18 07:47:12,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 07:49:20,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,5,,
2008-09-18 08:00:09,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,5,,
2008-09-18 08:01:22,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 08:27:55,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,4,,
2008-09-18 08:30:38,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,5,,
2008-09-18 08:30:46,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 08:32:46,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 08:33:13,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 08:44:35,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,4,,
2008-09-18 08:44:43,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 08:47:00,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,5,,
2008-09-18 08:52:55,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 08:55:15,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 09:07:55,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 09:11:09,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,5,,
2008-09-18 09:11:18,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 09:15:24,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,5,,
2008-09-18 09:20:36,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 09:25:02,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,4,,
2008-09-18 09:25:10,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 09:30:35,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 09:31:55,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 09:43:05,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,4,,
2008-09-18 09:43:54,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 09:55:06,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,5,,
2008-09-18 09:57:12,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,5,,
2008-09-18 10:11:03,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,5,,
2008-09-18 10:20:04,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,4,,
2008-09-18 10:30:01,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 10:47:10,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 10:51:51,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 11:03:07,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 11:07:54,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 11:08:04,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,5,,
2008-09-18 11:08:13,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,5,,
2008-09-18 11:08:22,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,5,,
2008-09-18 11:08:31,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,5,,
2008-09-18 11:08:40,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 11:09:57,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 11:11:17,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 11:13:10,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 11:26:51,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,5,,
2008-09-18 11:29:50,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,4,,
2008-09-18 11:36:34,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,5,,
2008-09-18 11:50:12,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 11:55:42,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 12:08:58,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 12:09:39,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 12:12:47,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,5,,
2008-09-18 12:19:42,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,5,,
2008-09-18 12:23:13,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 13:08:04,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,5,,
2008-09-18 13:09:29,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 13:10:25,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 13:13:44,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,5,,
2008-09-18 13:14:56,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 13:18:44,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 13:21:42,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 13:22:06,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 13:26:10,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,5,,
2008-09-18 13:35:03,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,4,,
2008-09-18 13:35:10,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 13:51:28,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,4,,
2008-09-18 14:18:08,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 14:24:14,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,5,,
2008-09-18 14:24:22,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 14:49:37,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,5,,
2008-09-18 14:49:46,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 14:53:35,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,4,,
2008-09-18 14:53:44,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,4,,
2008-09-18 14:53:53,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 15:05:35,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,5,,
2008-09-18 15:05:43,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,4,,
2008-09-18 15:05:50,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,4,,
2008-09-18 15:05:57,Zap/3-1,,unknown,Hangup,,i,i,ANSWERED,8,,
2008-09-18 15:07:43,Zap/3-1,,unknown,VoiceMail,4003|u,4003,4003,ANSWERED,184,,
2008-09-18 15:10:59,Zap/3-1,4003,unknown,Dial,SIP/4003|30|twW,4003,4003,ANSWERED,20,,
2008-09-18 15:12:12,Zap/3-1,,unknown,VoiceMail,4003|u,s-Zap3-1,s-Zap3-1,ANSWERED,56,,
2008-09-18 15:15:42,SIP/4001-xxxxxxxx,4001,"""office"" <4001>",Dial,SIP/4000|30|tTwW,4000,4000,NO ANSWER,10,,
2008-09-18 15:14:37,Zap/3-1,4001,unknown,Dial,SIP/4001|30|twW,4001,4001,ANSWERED,79,,
2008-09-18 15:15:59,SIP/4001-xxxxxxxx,4001,"""office"" <4001>",Dial,SIP/4000|30|tTwW,4000,4000,NO ANSWER,3,,
2008-09-18 15:16:49,SIP/4001-xxxxxxxx<ZOMBIE>,4001,"""office"" <4001>",Dial,SIP/4000|30|tTwW,4001,4001,NO ANSWER,2,,
2008-09-18 15:16:32,SIP/4001-xxxxxxxx,4001,"""office"" <4001>",,,4001,4001,ANSWERED,19,,
2008-09-18 15:16:28,Zap/3-1,4001,"""office"" <4001>",Dial,SIP/4001|30|twW,4001,4001,ANSWERED,23,,
2008-09-18 15:16:49,SIP/4000-xxxxxxxx,4001,4001,,,s,s,ANSWERED,16,,
2008-09-18 15:17:33,SIP/4001-xxxxxxxx<ZOMBIE>,4001,"""office"" <4001>",Dial,SIP/4000|30|tTwW,4001,4001,NO ANSWER,1,,
2008-09-18 15:17:26,SIP/4001-xxxxxxxx,4001,"""office"" <4001>",,,4001,4001,ANSWERED,8,,
2008-09-18 15:17:21,Zap/3-1,4001,"""office"" <4001>",Dial,SIP/4001|30|twW,4001,4001,ANSWERED,13,,
2008-09-18 15:17:33,SIP/4000-xxxxxxxx,4001,4001,,,s,s,ANSWERED,17,,
2008-09-18 15:18:38,Zap/3-1,4001,unknown,Dial,SIP/4001|30|twW,4001,4001,ANSWERED,16,,
2008-09-18 15:19:13,SIP/4001-xxxxxxxx<ZOMBIE>,4001,"""office"" <4001>",Dial,SIP/4000|30|tTwW,4001,4001,ANSWERED,12,,
2008-09-18 15:19:02,SIP/4001-xxxxxxxx,4001,"""office"" <4001>",,,4001,4001,ANSWERED,23,,
2008-09-18 15:18:57,Zap/3-1,4001,"""office"" <4001>",Dial,SIP/4001|30|twW,4001,4001,ANSWERED,28,,
2008-09-18 15:19:13,SIP/4000-xxxxxxxx,4001,4001,,,s,s,ANSWERED,20,,
2008-09-18 15:19:36,Zap/3-1,4001,unknown,Dial,SIP/4001|30|twW,4001,4001,ANSWERED,100,,
2008-09-18 15:23:47,SIP/4001-xxxxxxxx,4001,4001,Dial,SIP/0043664xxxxxxx@fairytel,0664xxxxxxx,0664xxxxxxx,NO ANSWER,19,,
2008-09-18 15:29:22,SIP/4001-xxxxxxxx,4001,4001,Dial,SIP/0043676xxxxxxx@fairytel,0676xxxxxxx,0676xxxxxxx,ANSWERED,39,,
2008-09-18 15:24:47,Zap/3-1,,unknown,VoiceMail,4001|u,4001,4001,ANSWERED,325,,
2008-09-18 15:40:42,SIP/4003-xxxxxxxx,4003,"""doris"" <4003>",Dial,SIP/4003|30|tTwW,4003,4003,NO ANSWER,6,,
2008-09-18 15:40:55,SIP/4003-xxxxxxxx,4003,"""doris"" <4003>",Dial,SIP/4003|30|tTwW,4003,4003,NO ANSWER,1,,
2008-09-18 15:44:08,Zap/3-1,,unknown,VoiceMail,4001|u,s-Zap3-1,s-Zap3-1,ANSWERED,52,,



How can i detect the hangup ?


Regards

fpausp

Viribus unitis

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: How to connect a ISDN-PBX with TDM410P ?
« Reply #4 on: September 18, 2008, 09:43:28 PM »
Do you have an h extension in the zap context?


Offline fpausp

  • *
  • 728
  • +0/-0
Re: How to connect a ISDN-PBX with TDM410P ?
« Reply #5 on: September 18, 2008, 11:20:05 PM »
Sorry, i dont know what you mean  ?

Best
Viribus unitis

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: How to connect a ISDN-PBX with TDM410P ?
« Reply #6 on: September 19, 2008, 10:48:16 AM »
Is this a SAIL box or are you just running asterisk?

Offline fpausp

  • *
  • 728
  • +0/-0
Re: How to connect a ISDN-PBX with TDM410P ?
« Reply #7 on: September 19, 2008, 06:37:51 PM »
A Sail-Box, sme 7.3 with all updates, sail-2.2.1-651 on a TX150 S4.
Viribus unitis

Offline bbialy

  • ****
  • 105
  • +0/-0
Re: How to connect a ISDN-PBX with TDM410P ?
« Reply #8 on: September 22, 2008, 11:15:42 PM »
i 've go similar problem
how to detect Hangup on tdm410p

here some log

the channel is free after
asterisk CLI

"meetme kick 300 all"

I have changed local settings

Code: [Select]
[root@voip init.d]# db selintra getprop global COUNTRY
cz
[root@voip init.d]# db selintra getprop global IMPEDANCE
CZECH
one more think  I modified  /etc/e-smith/web/functions/sarkglobals to be able to choose 'cz' from dropdown in globals section
 
{server is in czech republic}


Code: [Select]
[Sep 22 18:48:11] NOTICE[6579]: chan_zap.c:6387 ss_thread: Got event 18 (Ring Begin)...
[Sep 22 18:48:11] NOTICE[6579]: chan_zap.c:6387 ss_thread: Got event 2 (Ring/Answered)...
[Sep 22 18:48:15] NOTICE[6579]: chan_zap.c:6387 ss_thread: Got event 18 (Ring Begin)...
    -- Executing [s@mainmenu:1] GotoIf("Zap/2-1", "0?s-Zap1-1|1") in new stack
    -- Executing [s@mainmenu:2] GotoIf("Zap/2-1", "1?s-Zap2-1|1") in new stack
    -- Goto (mainmenu,s-Zap2-1,1)
    -- Executing [s-Zap2-1@mainmenu:1] AGI("Zap/2-1", "selintra|Inbound|Zap2-1") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/selintra
    -- AGI Script selintra completed, returning 0
    -- Executing [s@conf_pass:1] Answer("Zap/2-1", "") in new stack
    -- Executing [s@conf_pass:2] Wait("Zap/2-1", "1") in new stack
    -- Executing [s@conf_pass:3] Authenticate("Zap/2-1", "5678") in new stack
    -- <Zap/2-1> Playing 'agent-pass' (language 'en')
    -- <Zap/2-1> Playing 'auth-thankyou' (language 'en')
    -- Executing [s@conf_pass:4] MeetMe("Zap/2-1", "300|Mpi") in new stack
  == Parsing '/etc/asterisk/meetme.conf': Found
    -- Created MeetMe conference 1023 for conference '300'
    -- Recording
    -- <Zap/2-1> Playing 'vm-rec-name' (language 'en')
    -- <Zap/2-1> Playing 'beep' (language 'en')
    -- x=0, open writing:  /var/spool/asterisk/meetme/meetme-username-300-1 format: sln, 0x8caa288
    -- User ended message by pressing #
    -- <Zap/2-1> Playing 'auth-thankyou' (language 'en')
    -- <Zap/2-1> Playing 'vm-review' (language 'en')
    -- <Zap/2-1> Playing 'vm-msgsaved' (language 'en')
    -- <Zap/2-1> Playing 'conf-onlyperson' (language 'en')
    -- Started music on hold, class 'default', on Zap/2-1

no hangup WHY ???
i ve got h section in this custom app

Code: [Select]

exten => s,1,Answer
exten => s,2,Wait(1)
exten => s,3,Authenticate(5678)
exten => s,4,MeetMe(300|Mpi)
exten => s,5,Playback(vm-goodbye)
exten => s,6,Hangup
exten => h,1,Hangup

card parameters
Code: [Select]
lspci -vv
11:00.0 Ethernet controller: Digium, Inc.: Unknown device 8005 (rev 11)
        Subsystem: Digium, Inc.: Unknown device 8005
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr+ Stepping- SERR+ FastB2B+
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32 (16000ns min, 32000ns max), Cache Line Size 08
        Interrupt: pin A routed to IRQ 193
        Region 0: I/O ports at 3000 [size=256]
        Region 1: Memory at ed100000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [c0] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=100mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

Code: [Select]
lspci -vn
11:00.0 Class 0200: d161:8005 (rev 11)
        Subsystem: d161:8005
        Flags: bus master, fast Back2Back, medium devsel, latency 32, IRQ 193
        I/O ports at 3000 [size=256]
        Memory at ed100000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [c0] Power Management version 2

Code: [Select]
cat /proc/zaptel/1

Span 1: WCTDM/0 "Wildcard TDM410P Board 1" (MASTER)
        IRQ misses: 6

           1 WCTDM/0/0 FXSKS (In use)
           2 WCTDM/0/1 FXSKS (In use)
           3 WCTDM/0/2 FXSKS (In use)
           4 WCTDM/0/3 FXSKS (In use)

Reading with understanding is the hardest thing IN THE WORLD

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: How to connect a ISDN-PBX with TDM410P ?
« Reply #9 on: September 23, 2008, 12:08:53 AM »
Hi bb

Code: [Select]
[root@voip init.d]# db selintra getprop global COUNTRY
cz
[root@voip init.d]# db selintra getprop global IMPEDANCE
CZECH

I'm afraid that setting IMPEDANCE in globals won't do it for you.  You need to patch /etc/init.d/sark... At or around line 149 you will find....

Code: [Select]
        if [ $WCTDM = 'YES' ]; then
#a          COUNTRY=`/sbin/e-smith/db selintra  getprop global IMPEDANCE`
            /sbin/modprobe wctdm #opermode=$COUNTRY
        fi

You'll need to modify it for it to work...

Code: [Select]
        if [ $WCTDM = 'YES' ]; then
           /sbin/modprobe wctdm opermode=CZECH
        fi


Hi FP

You are going to have to figure out what the PBX is sending on a hangup. Otherwise it's going to be difficult to set asterisk up to recognise the on-hook.

Kind Regards

S


Best

S

Offline bbialy

  • ****
  • 105
  • +0/-0
Re: How to connect a ISDN-PBX with TDM410P ?
« Reply #10 on: September 23, 2008, 03:23:07 PM »
sorry doesn.t work  :sad:
 after restart i had
but it sill doesn't recognize hangup from remote line
on conferences and in normal incomming and outgoing call

Code: [Select]
[root@voip init.d]# /etc/init.d/sark start
warning: only V3 signatures can be verified, skipping V4 signature
warning: only V3 signatures can be verified, skipping V4 signature
warning: only V3 signatures can be verified, skipping V4 signature
warning: only V3 signatures can be verified, skipping V4 signature
warning: only V3 signatures can be verified, skipping V4 signature
warning: only V3 signatures can be verified, skipping V4 signature
warning: only V3 signatures can be verified, skipping V4 signature
Waiting for udev.
loading tuning coefficients
fxotune: successfully set echo coeffecients on FXO modules
Starting asterisk:                                         [  OK  ]
Reading with understanding is the hardest thing IN THE WORLD

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: How to connect a ISDN-PBX with TDM410P ?
« Reply #11 on: September 23, 2008, 03:43:13 PM »
HI BB - what does dmesg show when loading the card?


Offline bbialy

  • ****
  • 105
  • +0/-0
Re: How to connect a ISDN-PBX with TDM410P ?
« Reply #12 on: September 23, 2008, 06:08:34 PM »
is that what you asking??

Code: [Select]
Freed a Wildcard
Zapata Telephony Interface Unloaded
Zapata Telephony Interface Registered on major 196
Zaptel Version: 1.4.11
Zaptel Echo Canceller: MG2
ACPI: PCI Interrupt 0000:11:00.0[A] -> GSI 21 (level, low) -> IRQ 193
Port 1: Installed -- AUTO FXO (FCC mode)
Port 2: Installed -- AUTO FXO (FCC mode)
Port 3: Installed -- AUTO FXO (FCC mode)
Port 4: Installed -- AUTO FXO (FCC mode)
VPM100: Not Present
Found a Wildcard TDM: Wildcard TDM410P (4 modules)
Registered tone zone 32 (Czech Republic)
Reading with understanding is the hardest thing IN THE WORLD

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: How to connect a ISDN-PBX with TDM410P ?
« Reply #13 on: September 23, 2008, 08:45:39 PM »
Yup,

This shows that your card is still in FCC impedance mode (NOT CZECH).

Here is a step-by-step

first - make sure that you have run PCI Cards and your card is defined to SARK.
Now... shut down sark

Code: [Select]
/etc/init.d/sark stop
Now do your fix to /etc/init.d/sark... 

1 - for a TDM400P...

Code: [Select]
        if [ $WCTDM = 'YES' ]; then
#a          COUNTRY=`/sbin/e-smith/db selintra  getprop global IMPEDANCE`
            /sbin/modprobe wctdm opermode=CZECH
        fi

2- for a TDM410P...

Code: [Select]
        if         if [ $WCTDM24XXP = 'YES' ]; then
#a          COUNTRY=`/sbin/e-smith/db selintra  getprop global IMPEDANCE`
            /sbin/modprobe wctdm24xxp opermode=CZECH
        fi


save it and start sark

Code: [Select]
/etc/init.d/sark start
now run dmesg and you will see...

Code: [Select]
Zaptel Version: 1.4.11
Zaptel Echo Canceller: MG2
ACPI: PCI Interrupt 0000:00:0c.0[A] -> GSI 17 (level, low) -> IRQ 177
Freshmaker version: 73
Freshmaker passed register test
Module 0: Installed -- AUTO FXO (CZECH mode)
Module 1: Installed -- AUTO FXO (CZECH mode)
Module 2: Installed -- AUTO FXS/DPO
Module 3: Installed -- AUTO FXS/DPO
Found a Wildcard TDM: Wildcard TDM400P REV I (4 modules)

And now your card impedance is correct.  If it still won't detect hang-ups then you will need to contact Digium.  They give free installation support on new cards.

Best

S

« Last Edit: September 23, 2008, 08:48:21 PM by selintra »

Offline bbialy

  • ****
  • 105
  • +0/-0
Re: How to connect a ISDN-PBX with TDM410P ?
« Reply #14 on: September 24, 2008, 06:22:57 PM »
yes that helps
but I've made three more changes in zapata.conf header
Code: [Select]
hanguponpolarityswitch=yes
callprogress=yes
busydetect=yes
bbialy
Reading with understanding is the hardest thing IN THE WORLD