Re: [asterisk-users] Wildcard AEX800 digium card asterisk configuration

2016-10-18 Thread Tzafrir Cohen
On Thu, Oct 13, 2016 at 06:40:05PM +0200, christopher kamutumwa wrote:
> hello,
> 
> i recently purchased a Wildcard AEX800 digium card. Ive installed
> asterisk 13 and all prerequistses on ubuntu serv14.04 LTS. Dahi is the
> driver am using; ive configured all but when i call from PSTN through
> fxo port an not getting anything in logs or to extensions. below are
> my config
> 
> please help

> chan dahdi.conf
> 
> [trunkgroups]
> 
> ; No trunk groups are needed in this configuration.
> 
> [channels]
> #include /etc/asterisk/dahdi-channels.conf

Does this file exist? If not, remove this line. If not, what does is its
contents?

> ; The channels context is used when defining channels
> 
> using the
> ; older deprecated method.  Don't use this as a section
> 
> name.
> 
> ;[phone](!)
> ;
> ; A template to hold common options for all phones.
> ;
> usecallerid = yes
> hidecallerid = no
> callwaiting = yes
> threewaycalling = yes
> transfer = yes
> echocancel = yes
> echocancelwhenbridged = yes
> ;immediate = no
> rxgain = 0.0
> txgain = 0.0
> ;FXS Modules
> group = 1
> echocancel = yes
> signalling = fxo_ks

Hint: Just use 'signalling = auto' and avoid the confusion in
chan_dahdi.conf .

However, this is not the source of your problem.

> context = Internal
> channel = 1-4
> 
> ;FXO Modules
> group = 2
> echocancel = yes
> signalling = fxs_ks
> context = Incoming
> channel = 5-8

> root@ubuntu:/etc/asterisk# lsdahdi
> ### Span  1: WCTDM/0 "Wildcard AEX800" (MASTER)
>   1 FXO RED
>   2 FXO RED
>   3 FXO RED
>   4 FXO RED
>   5 FXS
>   6 FXS
>   7 FXS
>   8 FXS

The channels were created (at the kernel level). Kernel level signalling
was given to them by dahdi_cfg. However they are not in use by
chan_dahdi.

Maybe dahdi-channels.conf doesn't exist and this causes problems?

Anyway, in the asterisk command-line run:

  module unload chan_dahdi.so
  module   load chan_dahdi.so

And see what errors you get.

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016
  http://www.asterisk.org/community/astricon-user-conference

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Wildcard AEX800 digium card asterisk configuration

2016-10-14 Thread christopher kamutumwa
hello,

i recently purchased a Wildcard AEX800 digium card. Ive installed
asterisk 13 and all prerequistses on ubuntu serv14.04 LTS. Dahi is the
driver am using; ive configured all but when i call from PSTN through
fxo port an not getting anything in logs or to extensions. below are
error messages

[2016-10-14 15:08:12] WARNING[1820] chan_dahdi.c: Channel '1-4'
failure ignored: ignore_failed_channels.
[2016-10-14 15:08:12] WARNING[1820] chan_dahdi.c: Unable to specify
channel 5: No such device or address
[2016-10-14 15:08:12] ERROR[1820] chan_dahdi.c: Unable to open channel
5: No such device or address
[2016-10-14 15:08:12] ERROR[1820] chan_dahdi.c: Unable to register channel '5-8'
[2016-10-14 15:08:12] WARNING[1820] chan_dahdi.c: Channel '5-8'
failure ignored: ignore_failed_channels.


ubuntu*CLI> module load chan_dahdi.so
Unable to load module chan_dahdi.so
Command 'module load chan_dahdi.so' failed.
[2016-10-14 15:10:35] WARNING[2401]: loader.c:1073 load_resource:
Module 'chan_dahdi.so' already exists.


ubuntu*CLI> module unload chan_dadhi.so
Unable to unload resource chan_dadhi.so
Command 'module unload chan_dadhi.so ' failed.

my config

please help

system.conf

loadzone = za
defaultzone =za
fxsks=1
echocanceller=mg2,1
fxsks=2
echocanceller=mg2,2
fxsks=3
echocanceller=mg2,3
fxsks=4
echocanceller=mg2,4
fxoks=5
echocanceller=mg2,5
fxoks=6
echocanceller=mg2,6
fxoks=7
echocanceller=mg2,7
fxoks=8
echocanceller=mg2,8



chan dahdi.conf

[trunkgroups]

; No trunk groups are needed in this configuration.

[channels]
#include /etc/asterisk/dahdi-channels.conf
; The channels context is used when defining channels

using the
; older deprecated method.  Don't use this as a section

name.

;[phone](!)
;
; A template to hold common options for all phones.
;
usecallerid = yes
hidecallerid = no
callwaiting = yes
threewaycalling = yes
transfer = yes
echocancel = yes
echocancelwhenbridged = yes
;immediate = no
rxgain = 0.0
txgain = 0.0
;FXS Modules
group = 1
echocancel = yes
signalling = fxo_ks
context = Internal
channel = 1-4

;FXO Modules
group = 2
echocancel = yes
signalling = fxs_ks
context = Incoming
channel = 5-8


voicemail.conf

[default]

1234 => 4242,chris kamutumwa,root@localhost

1000 => 1234,chris kamutumwa,chriskamutu...@gmail.com
2000 => 1234,chris utumwa,ch...@crystaline.co.zm

~
~

extension.conf

[Internal]
exten => 1000,1,Dial (DAHDI/1,20,rt)
exten => 1000,2,Voicemail (1000,u)
exten => 1000,102,Voicemail (1000,b)


exten => 2000,1,Dial (DAHDI/2,20,rt)
exten => 2000,2,Voicemail (2000,u)
exten => 2000,102,Voicemail (2000,b)


exten => 8500,1,VoiceMailMain
exten => 8501,1,MusicOnHold

exten => _9.,1,Dail (DAHDI/g2/www${EXTEN:1} )
exten => _9.,2,Congestion

[Incoming]
exten => s,1,Answer
exten => s,2,Dial(DAHDI/g1,20,rt)
exten => s,3,Voicemail(1000,u)
exten => s,103,Voicemail(1000,b)


root@ubuntu:/etc/asterisk# lsdahdi
### Span  1: WCTDM/0 "Wildcard AEX800" (MASTER)
  1 FXO RED
  2 FXO RED
  3 FXO RED
  4 FXO RED
  5 FXS
  6 FXS
  7 FXS
  8 FXS
root@ubuntu:/etc/asterisk# dahdi_cfg -vvv
DAHDI Tools Version - 2.11.1

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


Channel map:

Channel 01: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 02)
Channel 03: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 04)
Channel 05: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 05)
Channel 06: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 06)
Channel 07: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 07)
Channel 08: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 08)

8 channels to configure.

Setting echocan for channel 1 to mg2
Setting echocan for channel 2 to mg2
Setting echocan for channel 3 to mg2
Setting echocan for channel 4 to mg2
Setting echocan for channel 5 to mg2
Setting echocan for channel 6 to mg2
Setting echocan for channel 7 to mg2
Setting echocan for channel 8 to mg2

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016
  http://www.asterisk.org/community/astricon-user-conference

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Wildcard AEX800 digium card asterisk configuration

2016-10-13 Thread christopher kamutumwa
hello,

i recently purchased a Wildcard AEX800 digium card. Ive installed
asterisk 13 and all prerequistses on ubuntu serv14.04 LTS. Dahi is the
driver am using; ive configured all but when i call from PSTN through
fxo port an not getting anything in logs or to extensions. below are
my config

please help

system.conf

loadzone = za
defaultzone =za
fxsks=1
echocanceller=mg2,1
fxsks=2
echocanceller=mg2,2
fxsks=3
echocanceller=mg2,3
fxsks=4
echocanceller=mg2,4
fxoks=5
echocanceller=mg2,5
fxoks=6
echocanceller=mg2,6
fxoks=7
echocanceller=mg2,7
fxoks=8
echocanceller=mg2,8



chan dahdi.conf

[trunkgroups]

; No trunk groups are needed in this configuration.

[channels]
#include /etc/asterisk/dahdi-channels.conf
; The channels context is used when defining channels

using the
; older deprecated method.  Don't use this as a section

name.

;[phone](!)
;
; A template to hold common options for all phones.
;
usecallerid = yes
hidecallerid = no
callwaiting = yes
threewaycalling = yes
transfer = yes
echocancel = yes
echocancelwhenbridged = yes
;immediate = no
rxgain = 0.0
txgain = 0.0
;FXS Modules
group = 1
echocancel = yes
signalling = fxo_ks
context = Internal
channel = 1-4

;FXO Modules
group = 2
echocancel = yes
signalling = fxs_ks
context = Incoming
channel = 5-8


voicemail.conf

[default]

1234 => 4242,chris kamutumwa,root@localhost

1000 => 1234,chris kamutumwa,chriskamutu...@gmail.com
2000 => 1234,chris utumwa,ch...@crystaline.co.zm

~
~

extension.conf

[Internal]
exten => 1000,1,Dial (DAHDI/1,20,rt)
exten => 1000,2,Voicemail (1000,u)
exten => 1000,102,Voicemail (1000,b)


exten => 2000,1,Dial (DAHDI/2,20,rt)
exten => 2000,2,Voicemail (2000,u)
exten => 2000,102,Voicemail (2000,b)


exten => 8500,1,VoiceMailMain
exten => 8501,1,MusicOnHold

exten => _9.,1,Dail (DAHDI/g2/www${EXTEN:1} )
exten => _9.,2,Congestion

[Incoming]
exten => s,1,Answer
exten => s,2,Dial(DAHDI/g1,20,rt)
exten => s,3,Voicemail(1000,u)
exten => s,103,Voicemail(1000,b)


root@ubuntu:/etc/asterisk# lsdahdi
### Span  1: WCTDM/0 "Wildcard AEX800" (MASTER)
  1 FXO RED
  2 FXO RED
  3 FXO RED
  4 FXO RED
  5 FXS
  6 FXS
  7 FXS
  8 FXS
root@ubuntu:/etc/asterisk# dahdi_cfg -vvv
DAHDI Tools Version - 2.11.1

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


Channel map:

Channel 01: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 02)
Channel 03: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 04)
Channel 05: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 05)
Channel 06: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 06)
Channel 07: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 07)
Channel 08: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 08)

8 channels to configure.

Setting echocan for channel 1 to mg2
Setting echocan for channel 2 to mg2
Setting echocan for channel 3 to mg2
Setting echocan for channel 4 to mg2
Setting echocan for channel 5 to mg2
Setting echocan for channel 6 to mg2
Setting echocan for channel 7 to mg2
Setting echocan for channel 8 to mg2

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016
  http://www.asterisk.org/community/astricon-user-conference

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users