Elastix +Sangoma A500 install.

Discussion in 'General' started by grantpasley, Aug 27, 2009.

  1. grantpasley

    Joined:
    Aug 20, 2009
    Messages:
    9
    Likes Received:
    0
    Hi All,

    Having problems getting DAHDI to work propelry with this card. I have an A500 with 2 active BRI ports. I have run the sangoma-setup and this is my config:

    /etc/wanpipe/smg_bri.conf:

    ;Sangoma AFT-A500 port 1 [slot:0 bus:3 span:1]
    group=2
    country=europe
    operator=etsi
    connection_type=point_to_point
    signalling=bri_te
    spans=1

    ;Sangoma AFT-A500 port 2 [slot:0 bus:3 span:2]"
    group=2
    country=europe
    operator=etsi
    connection_type=point_to_point
    signalling=bri_te
    spans=2

    I then run the wanpipe setup and only get as far as "Please Select Compilation Mode". I choose "7. SMG (BRI) + TDM Voice (Dahdi/Zaptel)
    Default for: Asterisk BRI + PRI + Analog"

    I then get asked for "Looking for zaptel/dahdi directory in /usr/src" and I enter default of "1 : /usr/src/dahdi-linux" and the error I keep getting is "No asterisk/callweaver dirs found in /usr/src Please use option "m" to enter asterisk/callweaver path"

    Anyone out there that can advise what is going wrong here?

    Thanks
    Grant.
     
  2. pawels

    Joined:
    May 19, 2008
    Messages:
    51
    Likes Received:
    0
  3. grantpasley

    Joined:
    Aug 20, 2009
    Messages:
    9
    Likes Received:
    0
    Thanks - tried that - now error is "Looking for zaptel/dahdi directory in /usr/src ...
    -------------------------------------------
    1 : /usr/src/dahdi-linux
    ------------------------------------------
    ------------------------------------------
    m : Enter zaptel path manually"

    When I point to dahdi-linux directory error is "#> /usr/src/dahdi-linux

    Enabling the TDM Voice Asterisk Support

    Dahdi HW HDLC Support Detected: Enabling DCHAN Feature
    Native Dahdi HW HDLC Support Detected - No patch required
    Dahdi source unmodified

    Checking for UDEV Zaptel compatibility... Dahdi installed, no need to add UDEV rules

    Checking for SCTP Utilities....OK.

    Looking for Asterisk/CallWeaver directory in /usr/src ...
    -------------------------------------------
    1 : /usr/src/asterisk
    ------------------------------------------
    ------------------------------------------
    m : Enter Asterisk/CallWeaver path manually"
     
  4. grantpasley

    Joined:
    Aug 20, 2009
    Messages:
    9
    Likes Received:
    0
    Hi Pawels - managed to get psat that problem now with your advice thanks, but getting this when compiling:

    Compiling Woomera Channel ...
    gcc -I/usr/include -I./ -I/usr/src/asterisk -I/usr/src/asterisk/include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -Iinclude -I../include -D_REENTRANT -DWOOMERA_CHAN_NAME=\"WOOMERA\" -D_GNU_SOURCE -DWOO_CONTROL_SRC_FEATURE -O6 -fomit-frame-pointer -fPIC -DAST_MODULE=\"chan_woomera\" -c chan_woomera.c -o chan_woomera.o
    chan_woomera.c:1153: error: unknown field âsend_digitâ specified in initializer
    chan_woomera.c:1153: warning: initialization from incompatible pointer type
    chan_woomera.c:1165: warning: initialization from incompatible pointer type
    chan_woomera.c: In function âwoomera_newâ:
    chan_woomera.c:3728: error: too few arguments to function âast_channel_allocâ
    chan_woomera.c:3733: error: âstruct ast_channelâ has no member named âtypeâ
    chan_woomera.c:3734: error: âstruct ast_channelâ has no member named âtypeâ
    chan_woomera.c:3734: warning: passing argument 1 of âsnprintfâ discards qualifiers from pointer target type
    chan_woomera.c: In function âtech_callâ:
    chan_woomera.c:3875: error: âstruct ast_channelâ has no member named âtypeâ
    chan_woomera.c: In function âwoomera_check_eventâ:
    chan_woomera.c:5375: warning: passing argument 1 of âsnprintfâ discards qualifiers from pointer target type
    chan_woomera.c: At top level:
    chan_woomera.c:5602: warning: function declaration isnât a prototype
    chan_woomera.c:5608: warning: function declaration isnât a prototype
    make: *** [chan_woomera.o] Error 1
    -------------------------------------
    Error: SMG Failed to install
    Please Contact Sangoma Support!
    -------------------------------------
     
  5. mihpel

    Joined:
    May 8, 2007
    Messages:
    87
    Likes Received:
    0
    why are you thying to compile wanpipe from source ?

    Elastix rpm's do the trick with this card and all you have to do is run wancfg_smg to configure them.

    Hope it helps !
     
  6. grantpasley

    Joined:
    Aug 20, 2009
    Messages:
    9
    Likes Received:
    0
    Thanks for the tip - when running wancfg_smg i get through the setup - but when saving and restarting the services the script refers to zaptel devices rather than dahdi and errors with the following:

    Error: Zaptel device failed to come up
    Possible Cause: UDEV not installed!

    Grant.
     

Share This Page