TDM410 (4*FXO) incomming calls not disconnecting

Discussion in 'Gateways' started by jaittu, Jun 27, 2009.

  1. jaittu

    Joined:
    Mar 15, 2009
    Messages:
    14
    Likes Received:
    0
    Dear all,

    I have setup an Elastix 1.5.2 with a Digium TDM410 analog card with 4 FXO modules. Everything working fine except the incoming calls are not disconnecting while hanging up from my sip hard/soft phone.

    Please help..

    Regards,
    Jaison
     
  2. Bob

    Bob

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

    Make sure that your loadzone and defaultzone are set to the right country in
    /etc/dahdi/system.conf (this is a manual process and not performed by the GUI).

    Next if you are not in the U.S. add a line to
    /etc/modprobe.conf
    which is
    options wctdm24xxp opermode=AUSTRALIA (naturally change this to your country)
    also note that I used wctdm in place of the wctdm24xxp as the 410 uses the wctdm24xxp and the 400 uses the wctdm.

    You can check its working correctly by looking at /var/log/messages after a reboot and you should see similar, except with your country set

    elastix kernel: Freshmaker version: 73
    elastix kernel: Freshmaker passed register test
    elastix kernel: Module 0: Installed -- AUTO FXO (AUSTRALIA mode)
    elastix kernel: Module 1: Installed -- AUTO FXO (AUSTRALIA mode)
    elastix kernel: Module 2: Installed -- AUTO FXO (AUSTRALIA mode)
    elastix kernel: Module 3: Installed -- AUTO FXO (AUSTRALIA mode)
    elastix kernel: Found a Wildcard TDM: Wildcard TDM400P REV I (4 modules)
    elastix kernel: dahdi_transcode: Loaded.


    Last is the failover option, if you need it, which is to use busydetect=yes and busycount=8 (the number is whatever works for you)...the busycount listens for a sound that is exactly the same time between sounds (e.g. engaged tone). However, if you have a phone near a warehouse, a forklift reversing is an issue as it emits a similar time separated tone. On the whole, you can increase the busycount to cope with these issues. You will find these settings commented out in /etc/asterisk/chan_dahdi.conf, uncomment them and configure them if all other measures fail.

    Regards
    Bob
     
  3. jaittu

    Joined:
    Mar 15, 2009
    Messages:
    14
    Likes Received:
    0
    Hi Bob,

    I am from Bahrain (Middle East)and tried Australia, India and Singapore country zone as per your above suggestion and there is no luck. Its hangup successfully only if the call is initialized from my side.

    But surprisingly, I found the same problem even after connecting the PSTN line to a normal Analog Telephone. The line is not disconnecting if the called party didn't hangup the phone.

    I am not sure whether it's a normal behavior of the PSTN line.

    Is there any possibility for adding a new country zone with customized values?

    Regards,
    Jaison
     
  4. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    Bahrain seems to be largely ISDN, do you have an ISDN Terminal Adapter between the incoming lines and the jacks you plug your phones in?

    There are a few methods for "far end disconnect supervision" that your provider might support only they can tell you specifically what is provisioned on your line, if they listen you shopuld ask for it to be added if there is currently none.

    polarity reversal is the most reliable

    hanguponpolarityswitch=yes

    sending a "howler" tone as Bob described the detection of (which is as he noted) tuned to the tones specific to your locale.

    finally and most unreliably

    callprogress=yes


    You might also try checking the signalling on the trunk (surprisingly in this day and age and your description of the behavior of outbound calls it looks like your line is behaving like a ground-start" )

    (as loopstart)
    signalling=fxs_ls
    (as kewl"start)
    signalling=fxs_ks"


    Unfortunately if none of these work, without the co-operation of your vendor, there is very little you can do

    as a reference:

    http://www.voip-info.org/wiki/view/Aste ... upervision


    as to your tonezone, these countries are supported

    tonezone=us
    tonezone=au
    tonezone=fr
    tonezone=nl
    tonezone=uk
    tonezone=fi
    tonezone=es
    tonezone=jp
    tonezone=no
    tonezone=at
    tonezone=nz
    tonezone=it
    tonezone=us-old
    tonezone=gr
    tonezone=tw
    tonezone=cl
    tonezone=se
    tonezone=be
    tonezone=sg
    tonezone=il
    tonezone=br
    tonezone=hu
    tonezone=lt
    tonezone=pl
    tonezone=za
    tonezone=pt
    tonezone=ee
    tonezone=mx
    tonezone=in
    tonezone=de
    tonezone=ch
    tonezone=dk
    tonezone=cz
    tonezone=cn
    tonezone=ar
    tonezone=my
    tonezone=th
    tonezone=bg
    tonezone=ve
    tonezone=ph
    tonezone=ru


    It is likely you are using one of them, the trick is to find out which
     

Share This Page