TDM400P incomming calls not disconnecting

Discussion in 'Gateways' started by BrsVoip, Oct 14, 2009.

  1. BrsVoip

    Joined:
    Oct 24, 2008
    Messages:
    5
    Likes Received:
    0
    Hi,

    i have elastix with TDM400P 4 FXO card, installed my system but incomming calls not disconnecting
    my country Turkey, where is the problem

    my config files

    chan_dahdi.conf
    Code:
    [trunkgroups]
    
    [channels]
    context=from-pstn
    signalling=fxs_ks
    rxwink=300              ; Atlas seems to use long (250ms) winks
    callprogress=yes
    usecallerid=yes
    hidecallerid=no
    callwaiting=yes
    usecallingpres=yes
    callwaitingcallerid=yes
    threewaycalling=yes
    transfer=yes
    canpark=yes
    cancallforward=yes
    callreturn=yes
    echocancel=yes
    echocancelwhenbridged=no
    faxdetect=incoming
    echotraining=800
    rxgain=2.0
    txgain=2.0
    callgroup=1
    pickupgroup=1
    busydetect=yes
    busycount=6
    
    #include dahdi-channels.conf
    #include chan_dahdi_additional.conf
    
    
    system.conf
    Code:
    # Span 1: WCTDM/4 "Wildcard TDM400P REV I Board 5" (MASTER)
    fxsks=1
    fxsks=2
    #echocanceller=oslec,2
    fxsks=3
    #echocanceller=oslec,3
    fxsks=4
    #echocanceller=oslec,4
    
    # Global data
    
    loadzone        = tr
    defaultzone     = tr
    
    
    dahdi-channels.conf
    Code:
    ; Span 1: WCTDM/4 "Wildcard TDM400P REV I Board 5" (MASTER)
    ;;; line="1 WCTDM/4/0 FXSKS"
    signalling=fxs_ks
    callerid=asreceived
    group=0
    context=from-pstn
    channel => 1
    callerid=
    group=
    context=default
    
    ;;; line="2 WCTDM/4/1 FXSKS"
    signalling=fxs_ks
    callerid=asreceived
    group=0
    context=from-pstn
    channel => 2
    callerid=
    group=
    context=default
    
    ;;; line="3 WCTDM/4/2 FXSKS"
    signalling=fxs_ks
    callerid=asreceived
    group=0
    context=from-pstn
    channel => 3
    callerid=
    group=
    context=default
    
    ;;; line="4 WCTDM/4/3 FXSKS"
    signalling=fxs_ks
    callerid=asreceived
    callerid=asreceived
    group=0
    context=from-pstn
    channel => 4
    callerid=
    group=
    context=default
    
    
    /var/log/messages

    Code:
    Oct 14 21:57:16 elastix kernel: Module 0: Installed -- AUTO FXO (FCC mode)
    Oct 14 21:57:16 elastix kernel: Module 1: Installed -- AUTO FXO (FCC mode)
    Oct 14 21:57:16 elastix kernel: Module 2: Installed -- AUTO FXO (FCC mode)
    Oct 14 21:57:16 elastix kernel: Module 3: Installed -- AUTO FXO (FCC mode)
    Oct 14 21:57:16 elastix kernel: Found a Wildcard TDM: Wildcard TDM400P REV I (4$
    Oct 14 21:57:16 elastix kernel: dahdi_transcode: Loaded.
    
    
    Thank you
     
  2. Bob

    Bob

    Joined:
    Nov 4, 2007
    Messages:
    2,400
    Likes Received:
    1
    BrsVoip,

    Just add this to /etc/modprobe.conf

    options wctdm opermode=TURKEY

    reboot

    Regards

    Bob
     
  3. BrsVoip

    Joined:
    Oct 24, 2008
    Messages:
    5
    Likes Received:
    0
    Hi Bob,

    i add this to /etc/modprobe.conf

    options wctdm opermode=TURKEY

    reboot
    but, /var/log/messages

    Code:
    t 14 22:51:36 elastix kernel: Invalid/unknown operating mode 'TURKEY' specifi$
    Oct 14 22:51:36 elastix kernel:   FCC
    Oct 14 22:51:36 elastix kernel:   TBR21
    Oct 14 22:51:36 elastix kernel:   ARGENTINA
    Oct 14 22:51:36 elastix kernel:   AUSTRALIA
    Oct 14 22:51:36 elastix kernel:   AUSTRIA
    Oct 14 22:51:36 elastix kernel:   BAHRAIN
    Oct 14 22:51:36 elastix kernel:   BELGIUM
    Oct 14 22:51:36 elastix kernel:   BRAZIL
    Oct 14 22:51:36 elastix kernel:   BULGARIA
    Oct 14 22:51:36 elastix kernel:   CANADA
    Oct 14 22:51:36 elastix kernel:   CHILE
    Oct 14 22:51:36 elastix kernel:   CHINA
    Oct 14 22:51:36 elastix kernel:   COLOMBIA
    Oct 14 22:51:36 elastix kernel:   CROATIA
    Oct 14 22:51:36 elastix kernel:   CYPRUS
    Oct 14 22:51:36 elastix kernel:   CZECH
    Oct 14 22:51:36 elastix kernel:   DENMARK
    Oct 14 22:51:36 elastix kernel:   ECUADOR
    
    my dahdi version
    DAHDI Tools Version - 2.2.0
    DAHDI Version: 2.2.0.2

    Thank you for help
     
  4. BrsVoip

    Joined:
    Oct 24, 2008
    Messages:
    5
    Likes Received:
    0
    hi,
    hang up the phone, but extension 120 ringing DAHDI/4-1 not disconnect

    Code:
    elastix*CLI> show channels
    Channel              Location             State   Application(Data)
    SIP/120-08d0d070     120@from-internal:1  Ringing AppDial((Outgoing Line))
    DAHDI/4-1            s@macro-dial:7       Up      Dial(SIP/120||tr)
    
    
     
  5. Bob

    Bob

    Joined:
    Nov 4, 2007
    Messages:
    2,400
    Likes Received:
    1
    Sorry about that, appears that Turkey did not make the cut and is not listed in the fxo_modules.h.

    I can't find the current source, but this site
    http://svn.bluezbox.com/repos/dahdi-bsd ... xo_modes.h

    is a copy of the file, that looks up to date......

    As you can see, Turkey is not listed.

    My first recommendation is to try

    options wctdm opermode=TBR21

    As they state that this one is used for most European countries.

    Otherwise, it is a case of trying come country codes that are listed that are close by or use similar to the Turkey PSTN system.

    Hope this helps

    Bob
     
  6. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
  7. BrsVoip

    Joined:
    Oct 24, 2008
    Messages:
    5
    Likes Received:
    0
    hi,

    not resolved my problem
     
  8. BrsVoip

    Joined:
    Oct 24, 2008
    Messages:
    5
    Likes Received:
    0
    Hi Dear Friends,

    Code:
    user calls my number 
    incoming calls
        |
        |   
        |
        V
     TDM400P (4fxo)
        |
        |
        |
        V
    Incoming Route
        |
        |
        V
    Set Destination Select My IVR = "Welcome sales for press 110" "Welcome sales for press 120" 
    user Press 120 
    extentions 120 ring ring (not open)
    user Close Phone
    but extentions 120 to continue  ring ring
    
    Code:
    user calls my number 
    incoming calls
        |
        |   
        |
        V
     TDM400P (4fxo)
        |
        |
        |
        V
    Incoming Route
        |
        |
        V
    Set Destination Select extentions 120 or other extentions
    extentions 120 ring ring (not open)
    user Close Phone
    extentions 120 not ring ring no problem good work
    [code]
    
    How to resolve my problem
    
    thank you
     

Share This Page