Hello,
We have asterisk installed and working fine. There is no issue. We have PRI card : Sangoma Technologies Corp. A200/Remora FXO/FXS Analog AFT card. Card also gets detected in lspci.
I m trying to use PRI card and I m getting below issue :
[quote]Dahdi and Wanpipe configuration complete: choose action
- Save cfg: Restart Asterisk & Wanpipe now
- Save cfg: Restart Asterisk & Wanpipe when convenient
- Save cfg: Stop Asterisk & Wanpipe now
- Save cfg: Stop Asterisk & Wanpipe when convenient
- Save cfg: Save cfg only (Not Recommanded!!!)
- Do not save cfg: Exit
[1-6]:1
Stopping Asterisk…
Stopping Wanpipe…
Shutting down wanpipe1 interface: w1g1
w1g1: unknown interface: No such device
Shutting down device: wanpipe1
No devices running, Unloading Modules
Unloading Dahdi modules…
Removing old configuration files…
Copying new Wanpipe configuration files…
Copying new Dahdi configuration file (/etc/dahdi/system.conf)…
Copying new Chan-Dahdi configuration files (/etc/asterisk/chan_dahdi.conf)…
Starting Wanpipe…
Starting WAN Router…
Loading WAN drivers: wanpipe done.
Starting up device: wanpipe1
wanconfig: Interface w1g1 setup failed
: ioctl(ROUTER_IFNEW,w1g1) failed:
: 22 - Invalid argument
Wanpipe drivers could not setup network interface
Please check /var/log/wanrouter and
/var/log/messages for errors
Configuring interfaces: w1g1 w1g1: unknown interface: No such device
done.
Waiting for Dahdi /dev/dahdi …
Error: Dahdi device failed to come up
Possible Cause: UDEV not installed!
Loading Dahdi…
DAHDI Tools Version - 2.4.1
Notice: Configuration file is /etc/dahdi/system.conf
line 0: Unable to open master device ‘/dev/dahdi/ctl’
1 error(s) detected
Error executing command:
dahdi_cfg -v
Would you like to continue?
- No - exit
- YES
[1-2, ENTER=‘No’]:1
[/quote]
I did below :[quote]
[root@0 ~]# modprobe dahdi
[root@0 ~]# modprobe wanpipe
[root@0 ~]#
[root@0 ~]# /etc/init.d/dahdi restart
Unloading DAHDI hardware modules: ERROR: Module dahdi is in use
error
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 ]
No hardware timing source found in /proc/dahdi, loading dahdi_dummy
Running dahdi_cfg: [ OK ]
You have new mail in /var/spool/mail/root
[root@0 ~]# [/quote]
But in asterisk PRI is not getting detectd :
[quote]
gCLI> dahdi show status
No such command ‘dahdi show status’ (type ‘help dahdi show’ for other possible commands)
gCLI>
gCLI>
gCLI> dahdi show channels
No such command ‘dahdi show channels’ (type ‘help dahdi show’ for other possible commands)
gCLI>
gCLI> [/quote]
Thank you