Hi Andrew!
If I reboot my PBX, doesn’t dahdi_scan doesn’t produce anything, no output at all…
if I do a “wanrouter start”, I get this:
dahdi_scan
[1]
active=yes
alarms=OK
description=wrtdm Board 1
name=WRTDM/0
manufacturer=Sangoma Technologies
devicetype=A200
location=SLOT=9, BUS=3
basechan=1
totchans=24
irq=0
type=analog
port=1,FXS
port=2,FXS
port=3,FXS
port=4,FXS
port=5,none
port=6,none
port=7,none
port=8,none
port=9,none
port=10,none
port=11,none
port=12,none
port=13,none
port=14,none
port=15,none
port=16,none
port=17,none
port=18,none
port=19,none
port=20,none
port=21,none
port=22,none
port=23,none
port=24,none
When I run wanrouter it complains in a few places though:
wanrouter start
Executing DAHDI config T1
########################################################################
Sangoma Wanpipe
Dahdi/Zaptel/SMG/TDMAPI/BOOT Configuration Script
v2.39
Sangoma Technologies Inc.
Copyright© 2013.
########################################################################
Configuring T1/E1 cards [A101/A102/A104/A108/A116/T116]
No Sangoma ISDN T1/E1 cards detected
Configuring ISDN BRI cards [A500/B500/B700]
No Sangoma ISDN BRI cards detected
Configuring GSM cards [W400]
No Sangoma GSM cards detected
Configuring analog cards [A200/A400/B600/B610/B700/B800]
AFT-200 configured on slot:9 bus:3 span:1
Analog card configuration complete
Configuring USB devices [U100]
###################################################################
SUMMARY
###################################################################
0 T1/E1 port(s) detected, 0 configured
0 ISDN BRI port(s) detected, 0 configured
1 analog card(s) detected, 1 configured
0 GSM card(s) detected, 0 configured
0 usb device(s) detected, 0 configured
Configurator will create the following files:
1. Wanpipe config files in /etc/wanpipe
2. Dahdi config file /etc/dahdi/system.conf
Your original configuration files will be saved to:
1. /etc/dahdi/system.conf.bak
Your configuration has been saved in /etc/wanpipe/debug-2015-09-04.tgz.
When requesting support, email this file to [email protected]
###################################################################
Stopping Asterisk…
No such command ‘stop now’ (type ‘core show help stop now’ for other possible commands)
Failed to stop asterisk using command: ‘stop now’ Forcing Asterisk Down
Undefined subroutine &main::execute_command called at ./wancfg_zaptel.pl line 1023.
Starting up device: wanpipe1
–> Loading ec image OCT6116-64S.ima…
Configuring interfaces: w1g1
done.
Waiting for Dahdi /dev/dahdi …
Loading DAHDI hardware modules:
wct4xxp: [ OK ]
wcte43x: [ OK ]
wcte12xp: [ OK ]
wcte13xp: [ OK ]
wct1xxp: [ OK ]
wcte11xp: [ OK ]
wctdm24xxp: [ OK ]
wcaxx: [ OK ]
wcfxo: [ OK ]
wctdm: [ OK ]
wcb4xxp: [ OK ]
wctc4xxp: [ OK ]
xpp_usb: [ OK ]
r1t1: [ OK ]
rxt1: [ OK ]
rcbfx: [ OK ]
D: auto '/sys/bus/dahdi_devices/devices/wanpipe_devices:wanpipe1’
auto-assign /sys/bus/dahdi_devices/devices/wanpipe_devices:wanpipe1
Running dahdi_cfg: [ OK ]
DAHDI Tools Version - 2.10.0.1
DAHDI Version: 2.10.0.1
Echo Canceller(s): HWEC
Configuration
0 channels to configure.
and apparently rewrite some files and takes backups…
It looks like I should tell wanrouter to start at boot (which setup-sangoma offers to do for me) but I have already tried it and didn’t end up with a working configuration…
Am I supposed to run setup-sangoma? I guess because the Sangoma settings I can play with at the FreePBX level are quite limited…
Thank you and have a nice day!
Nick
PS: For now I am only trying to get it working but I will probably eventually have to turn on hardware DTMF detection and I think this will require editing a file FreePBX rewrites…