Koozali.org: home of the SME Server

TDM410 (4port FXO) installation problem

Offline bbialy

  • ****
  • 105
  • +0/-0
TDM410 (4port FXO) installation problem
« on: August 07, 2008, 01:08:27 AM »
Hi guys We have big troubles to get this beauty going. No outbound calls and no inbound too :(

inbound call log is empty

outbound call log:

Code: [Select]
core set verbose 10
Verbosity was 0 and is now 10
    -- Executing [0600063753@internal:1] AGI("SIP/5000-b7700470", "selintra|OutCluster|0600063753") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/selintra
    -- AGI Script selintra completed, returning 0
    -- Executing [0600063753@default:1] AGI("SIP/5000-b7700470", "selintra|OutRoute|") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/selintra
    -- AGI Script Executing Application: (Background) Options: (were-sorry)
    -- <SIP/5000-b7700470> Playing 'were-sorry' (language 'en')
    -- AGI Script Executing Application: (Background) Options: (call-cannot-complete)
    -- <SIP/5000-b7700470> Playing 'call-cannot-complete' (language 'en')
    -- AGI Script Executing Application: (Background) Options: (please-hang-up-and-try-again)
    -- <SIP/5000-b7700470> Playing 'please-hang-up-and-try-again' (language 'en')
  == Spawn extension (default, 0600063753, 1) exited non-zero on 'SIP/5000-b7700470'
    -- Executing [h@default:1] Hangup("SIP/5000-b7700470", "") in new stack
  == Spawn extension (default, h, 1) exited non-zero on 'SIP/5000-b7700470'


Code: [Select]
uname -r
2.6.9-67.0.22.ELsmp

zaptel-kmdl-2.6.9-67.0.22.ELsmp-1.4.11-53.el4
zaptel-1.4.11-53.el4

Code: [Select]
cat /proc/zaptel/1                                               
Span 1: WCTDM/0 "Wildcard TDM410P Board 1" (MASTER)
        IRQ misses: 1

           1 WCTDM/0/0 FXSKS
           2 WCTDM/0/1 FXSKS
           3 WCTDM/0/2 FXSKS
           4 WCTDM/0/3 FXSKS

Zaptel Version: 1.4.11
Echo Canceller: MG2
Configuration
======================


Channel map:

Channel 01: FXS Kewlstart (Default) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Slaves: 02)
Channel 03: FXS Kewlstart (Default) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Slaves: 04)

4 channels to configure.

Output when we probe for new card:

Code: [Select]
Found following card...

11:00.0 Ethernet controller: Digium, Inc.: Unknown device 8005 (rev 11)
Subsystem: Digium, Inc.: Unknown device 8005
Flags: fast Back2Back, medium devsel, IRQ 193
I/O ports at 3000 [size=256]
Memory at ed100000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [c0] Power Management version 2

Requesting Load of wctdm24xxp ...

Loaded wctdm24xxp...

Zaptel view of card in /proc/zaptel/1
 Span 1: WCTDM/0 "Wildcard TDM410P Board 1" (MASTER)
  IRQ misses: 1
 
     1 WCTDM/0/0
     2 WCTDM/0/1
     3 WCTDM/0/2
     4 WCTDM/0/3


Sail version sail-2.2.1-640 We've also tried 653 with same results

Any ideas?


P.S.
one more info my trunkline info

0228797907     default     AnalogFXO     LOCAL     N/A     N/A     Analogue     None     5000     5000     N/A                   
Zap2-1    default    AnalogFXO    LOCAL    N/A    N/A    Analogue    None    Operator    Operator    N/A               
Zap3-1    default    AnalogFXO    LOCAL    N/A    N/A    Analogue    None    Operator    Operator    N/A               
0228797907    default    AnalogFXO    LOCAL    N/A    N/A    Analogue    None    5000    5000    N/A               
« Last Edit: August 07, 2008, 03:42:56 AM by bbialy »
Reading with understanding is the hardest thing IN THE WORLD

Offline fpausp

  • *
  • 728
  • +0/-0
Re: TDM410 (4port FXO) installation problem
« Reply #1 on: August 07, 2008, 10:29:31 AM »
Hi,

You can try to set the Impedance for your Country. Here is a little howto:


Open /etc/init.d/sark....

Near line 156 you can find this code:


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


Change the $COUNTRY to your Country, in my way it is AUSTRIA.



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


save the code back and stop and start asterisk with...


/etc/init.d/sark stop
/etc/init.d/sark start



Best
fpausp
Viribus unitis

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: TDM410 (4port FXO) installation problem
« Reply #2 on: August 08, 2008, 07:32:09 PM »
You look to have a routing problem on outbound. 

Quote
-- Executing [0600063753@default:1] AGI("SIP/5000-b7700470", "selintra|OutRoute|") in new stack

No route is being named.  You've either created a route and not named it or created a route which begins with space(s).

A good call would look something like...

Quote
-- Executing [0600063753@default:1] AGI("SIP/5000-b7700470", "selintra|OutRoute|ROUTENAME") in new stack

S

Offline bbialy

  • ****
  • 105
  • +0/-0
Re: TDM410 (4port FXO) installation problem
« Reply #3 on: August 09, 2008, 12:03:30 PM »
Yes you are right
reading with understanding is the hardest thing.  :-)
we spoted it next day in the morning

Thank you all very much
Reading with understanding is the hardest thing IN THE WORLD