sangoma a500 card

Discussion in 'Gateways' started by viza, Jul 18, 2009.

  1. viza

    Joined:
    Jul 8, 2009
    Messages:
    8
    Likes Received:
    0
    Hi all

    Can anyone assist me with the installation of of a500 sangoma card.
    I downloaded the current stable source code for the card and after the compilation of the drivers, if i run wanrouter status it shows that wanpipes 1-6 are disconnected. I connected one isdn box to the card and if i call the number the wanpipe gets connected. But if i run

    /usr/sbin/hardware_detector -tvm

    The following are displayed


    ####################################################################
    Starting detection cards ...
    Step 1: Stoping service asterisk ...



    STOPPING ASTERISK
    Asterisk ended with exit status 0
    Asterisk shutdown normally.
    Asterisk Stopped

    STOPPING FOP SERVER
    FOP Server Stopped
    Step 2: Unmounting modules sangoma ...
    Stoping service wanrouter ...


    Stopping running processes...
    safe_sangoma not running...
    Sending TERM signal to sangoma_brid...OK
    waiting for sangoma_brid to finish(0/10)....
    waiting for sangoma_brid to finish(1/10)....
    waiting for sangoma_brid to finish(2/10)....
    waiting for sangoma_brid to finish(3/10)....
    waiting for sangoma_brid to finish(4/10)....
    sangoma_brid is stopped
    Sending TERM signal to sangoma_mgd...OK
    waiting for sangoma_mgd to finish(0/5)....
    sangoma_mgd is stopped
    Removing PID files...done
    Shutting down wanpipe6 interface: w6g1
    Shutting down wanpipe5 interface: w5g1
    Shutting down wanpipe4 interface: w4g1
    Shutting down wanpipe3 interface: w3g1
    Shutting down wanpipe2 interface: w2g1
    Shutting down wanpipe1 interface: w1g1
    Shutting down device: wanpipe6
    Shutting down device: wanpipe5
    Shutting down device: wanpipe4
    Shutting down device: wanpipe3
    Shutting down device: wanpipe2
    Shutting down device: wanpipe1
    No devices running, Unloading Modules

    Step 3: Unmounting modules mISDN ...
    Stoping service mISDN ...
    -- Unloading mISDN modules --
    Step 4: Detecting sangoma cards ...

    ########################################################################
    # Sangoma Wanpipe #
    # Dahdi/Zaptel/SMG/TDMAPI/BOOT Configuration Script #
    # v2.32 #
    # Sangoma Technologies Inc. #
    # Copyright(c) 2009. #
    ########################################################################

    ---------------------------------------------
    Configuring T1/E1 cards [A101/A102/A104/A108]
    ---------------------------------------------
    ------------------------------------
    Configuring analog cards [A200/A400/B600/B700]
    ------------------------------------

    ###################################################################
    # SUMMARY #
    ###################################################################



    No Sangoma voice compatible cards found/configured

    Step 5: Detecting dahdi cards ...
    Empty configuration -- no spans
    Empty configuration -- no spans
    Step 6: Mounting modules dahdi ...
    Starting service dahdi ...
    Loading DAHDI hardware modules:
    wct4xxp: [ OK ]
    wcte12xp: [ OK ]
    wct1xxp: [ OK ]
    wcte11xp: [ OK ]
    wctdm24xxp: [ OK ]
    wcfxo: [ OK ]
    wctdm: [ OK ]
    wcb4xxp: [ OK ]
    wctc4xxp: [ OK ]
    xpp_usb: [ OK ]
    rxt1: DAHDI Tools Version - 2.1.0.2

    DAHDI Version: 2.1.0.4
    Echo Canceller(s):
    Configuration
    ======================


    Channel map:


    0 channels to configure.

    [ OK ]
    r1t1: DAHDI Tools Version - 2.1.0.2

    DAHDI Version: 2.1.0.4
    Echo Canceller(s):
    Configuration
    ======================


    Channel map:


    0 channels to configure.

    [ OK ]
    rcbfx: DAHDI Tools Version - 2.1.0.2

    DAHDI Version: 2.1.0.4
    Echo Canceller(s):
    Configuration
    ======================


    Channel map:


    0 channels to configure.

    [ OK ]

    No hardware timing source found in /proc/dahdi, loading dahdi_dummy
    Running dahdi_cfg: [ OK ]
    Step 12: Restoring service asterisk ...



    STOPPING ASTERISK

    STOPPING FOP SERVER
    SETTING FILE PERMISSIONS
    Permissions OK

    STARTING ASTERISK
    Asterisk Started

    STARTING FOP SERVER
    FOP Server Started
    End detection cards ...

    ####################################################################

    I,m would really appreciate it if any of you Elatix guru's can assist me in solving the problem
     
  2. mihpel

    Joined:
    May 8, 2007
    Messages:
    87
    Likes Received:
    0
    Elastix wanpipe rpm does not support sangoma bri stack due to license incompatibility , thus hardware_detector does not have bri support.
    If you look into hardware_detector script you will see that only wancfg_dahdi has been predicted and is being used while in a500 or any sangoma bri card you would need to use wancfg_smg to configure your card .

    make sure you have read the following post :
    http://www.elastix.org/index.php?option=com_fireboard&Itemid=55&func=view&catid=1&id=23541&limit=10&limitstart=10#26396

    ps : if you have the time read the whole thread
     
  3. ncorbic

    Joined:
    Jul 18, 2009
    Messages:
    4
    Likes Received:
    0
    Hello,

    Could you please explain what is the licensing incompatibility ?

    The sangoma bri/smg architecture does not violate GPL standard.

    We at Sangoma would like to fix this issue ASAP.
    You can reach me directly at ncorbic@sangoma.com

    Regards,

    Nenad Corbic
    Chief Software Engineer
    Sangoma Technologies
     
  4. mihpel

    Joined:
    May 8, 2007
    Messages:
    87
    Likes Received:
    0
    I have also been looking forward to a resolution of this matter.

    Please be so kind to take a look at http://bugs.elastix.org/view.php?id=130

    For the benefit of both it is time for a talk between elastix and sangoma developers !

    Many thanks to both !

    Regards.
     
  5. viza

    Joined:
    Jul 8, 2009
    Messages:
    8
    Likes Received:
    0
    Okay i followed the step mentioned under
    http://www.elastix.org/index.php?option ... t=10#26396

    But still the Hardware is not detected in the Elastix 1.5.2 Web GUI.
    When running "wanrouter status" the following are displayed

    Devices currently active:
    wanpipe1 wanpipe2 wanpipe3 wanpipe4 wanpipe5 wanpipe6


    Wanpipe Config:

    Device name | Protocol Map | Adapter | IRQ | Slot/IO | If's | CLK | Baud rate |
    wanpipe1 | N/A | A500 | 217 | 2 | 1 | N/A | 0 |
    wanpipe2 | N/A | A500 | 217 | 2 | 1 | N/A | 0 |
    wanpipe3 | N/A | A500 | 217 | 2 | 1 | N/A | 0 |
    wanpipe4 | N/A | A500 | 217 | 2 | 1 | N/A | 0 |
    wanpipe5 | N/A | A500 | 217 | 2 | 1 | N/A | 0 |
    wanpipe6 | N/A | A500 | 217 | 2 | 1 | N/A | 0 |

    Wanrouter Status:

    Device name | Protocol | Station | Status |
    wanpipe1 | AFT ISDN | N/A | Disconnected |
    wanpipe2 | AFT ISDN | N/A | Disconnected |
    wanpipe3 | AFT ISDN | N/A | Disconnected |
    wanpipe4 | AFT ISDN | N/A | Disconnected |
    wanpipe5 | AFT ISDN | N/A | Disconnected |
    wanpipe6 | AFT ISDN | N/A | Disconnected |


    Does this mean that the card is correctly installed and that the device is working.
    Attached is a copy of the wanpipe.conf file.

    Thanks in advance http://forum.elastix.org/old_files/wanpipe1.txt
     
  6. mihpel

    Joined:
    May 8, 2007
    Messages:
    87
    Likes Received:
    0
    Sangoma bri spans will not appear on elastix gui.

    Check if woomera is correctly connected to smg gateway with
    Code:
    asterisk -rx "woomera default version"
    If the resault of the above gives you N/A in SMG ex.
    post back for further debugging.

    If you get a version in SMG then create a trunk and an inbount route through freepbx to check if everything is working as it should.

    regards!
     
  7. viza

    Joined:
    Jul 8, 2009
    Messages:
    8
    Likes Received:
    0
    Thanks Guys i managed to get the card up and running.
    I just wish all Tech Support and Forums Sites responded as quick as you guys.
    Thanks a MILL
     

Share This Page