Re: [asterisk-users] failing to start asterisk on centos7

2016-12-12 Thread christopher kamutumwa
Hello support,

Am not winning need your help. ive tried putting a different version of
asterisk on centos 7 and here are below results, after make config;

[root@localhost asterisk-14.2.1]# make config
[root@localhost asterisk-14.2.1]# sudo service asterisk start
Starting asterisk (via systemctl): [  OK  ]
[root@localhost asterisk-14.2.1]# asterisk -rvv
bash: asterisk: command not found
[root@localhost asterisk-14.2.1]# which asterisk
/usr/bin/which: no asterisk in (/sbin:/bin:/usr/sbin:/usr/bin)
[root@localhost asterisk-14.2.1]# asterisk c
bash: asterisk: command not found

regards

On Mon, Dec 12, 2016 at 11:30 AM, A J Stiles <asterisk_l...@earthshod.co.uk>
wrote:

> On Saturday 10 Dec 2016, christopher kamutumwa wrote:
> > ive installed asterisk but below is what am getting proces gets
> > killed.please help
> >
>
> Make sure you have libncurses5 and its development files installed,
> otherwise
> this can cause crashes.
>
> Also, how much RAM is in your box?  Check Asterisk is not being killed for
> running out of memory.
>
> --
> AJS
>
> Note:  Originating address only accepts e-mail from list!  If replying off-
> list, change address to asterisk1list at earthshod dot co dot uk .
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at: https://community.asterisk.
> org/
>
> 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
>
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

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

Re: [asterisk-users] failing to start asterisk on centos7

2016-12-10 Thread christopher kamutumwa
Yes-bash: /usr/sbin/asterisk: No such file or directory”. Where is the
asterisk binary located? There's a high likelihood that that’s the problem.
where is itlocated how do i find it and what do i need to do. i tried it on
centos 6.8 and i had same error. where am i going wrong?

chris

On Sat, Dec 10, 2016 at 10:48 PM, Tech Support <aster...@voipbusiness.us>
wrote:

> Hello;
>
> Way down at the bottom of your post you're getting an error that says
> “-bash: /usr/sbin/asterisk: No such file or directory”. Where is the
> asterisk binary located? There's a high likelihood that that’s the problem.
>
> Regards;
>
> John V.
>
>
>
> *From:* asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-
> boun...@lists.digium.com] *On Behalf Of *christopher kamutumwa
> *Sent:* Saturday, December 10, 2016 1:24 PM
> *To:* asterisk-users
> *Subject:* [asterisk-users] failing to start asterisk on centos7
>
>
>
> ive installed asterisk but below is what am getting proces gets
> killed.please help
>
>
>
> [root@localhost sounds]# asterisk -c
>
> Asterisk 13.13.1, Copyright (C) 1999 - 2014, Digium, Inc. and others.
>
> Created by Mark Spencer <marks...@digium.com>
>
> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for
> details.
>
> This is free software, with components licensed under the GNU General
> Public
>
> License version 2 and other licenses; you are welcome to redistribute it
> under
>
> certain conditions. Type 'core show license' for details.
>
> =
>
> [root@localhost sounds]# asterisk -c
>
> -bash: /usr/sbin/asterisk: No such file or directory
>
> [root@localhost sounds]# asterisk -r
>
> -bash: /usr/sbin/asterisk: No such file or directory
>
> [root@localhost sounds]# asterisk
>
> -bash: /usr/sbin/asterisk: No such file or directory
>
> [root@localhost sounds]#
>
>
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at: https://community.asterisk.
> org/
>
> 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
>
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

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] failing to start asterisk on centos7

2016-12-10 Thread christopher kamutumwa
ive installed asterisk but below is what am getting proces gets
killed.please help

[root@localhost sounds]# asterisk -c
Asterisk 13.13.1, Copyright (C) 1999 - 2014, Digium, Inc. and others.
Created by Mark Spencer 
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for
details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it
under
certain conditions. Type 'core show license' for details.
=
[ Initializing Custom Configuration Options ]
  == Parsing '/etc/asterisk/extconfig.conf': Found
  == Parsing '/etc/asterisk/asterisk.conf': Found
  == Manager registered action DBGet
  == Manager registered action DBPut
  == Manager registered action DBDel
  == Manager registered action DBDelTree
PBX UUID: 36c0be35-766e-46c4-be1f-96479afa1e2b
  == Registered 'audio' codec 'g723' at sample rate '8000' with id '1'
  == Created cached format with name 'g723'
  == Registered 'audio' codec 'ulaw' at sample rate '8000' with id '2'
  == Created cached format with name 'ulaw'
  == Registered 'audio' codec 'alaw' at sample rate '8000' with id '3'
  == Created cached format with name 'alaw'
  == Registered 'audio' codec 'gsm' at sample rate '8000' with id '4'
  == Created cached format with name 'gsm'
  == Registered 'audio' codec 'g726' at sample rate '8000' with id '5'
  == Created cached format with name 'g726'
  == Registered 'audio' codec 'g726aal2' at sample rate '8000' with id '6'
  == Created cached format with name 'g726aal2'
  == Registered 'audio' codec 'adpcm' at sample rate '8000' with id '7'
  == Created cached format with name 'adpcm'
  == Registered 'audio' codec 'slin' at sample rate '8000' with id '8'
  == Created cached format with name 'slin'
  == Registered 'audio' codec 'slin' at sample rate '12000' with id '9'
  == Created cached format with name 'slin12'
  == Registered 'audio' codec 'slin' at sample rate '16000' with id '10'
  == Created cached format with name 'slin16'
  == Registered 'audio' codec 'slin' at sample rate '24000' with id '11'
  == Created cached format with name 'slin24'
  == Registered 'audio' codec 'slin' at sample rate '32000' with id '12'
  == Created cached format with name 'slin32'
  == Registered 'audio' codec 'slin' at sample rate '44100' with id '13'
  == Created cached format with name 'slin44'
  == Registered 'audio' codec 'slin' at sample rate '48000' with id '14'
  == Created cached format with name 'slin48'
  == Registered 'audio' codec 'slin' at sample rate '96000' with id '15'
  == Created cached format with name 'slin96'
  == Registered 'audio' codec 'slin' at sample rate '192000' with id '16'
  == Created cached format with name 'slin192'
  == Registered 'audio' codec 'lpc10' at sample rate '8000' with id '17'
  == Created cached format with name 'lpc10'
  == Registered 'audio' codec 'g729' at sample rate '8000' with id '18'
  == Created cached format with name 'g729'
  == Registered 'audio' codec 'speex' at sample rate '8000' with id '19'
  == Created cached format with name 'speex'
  == Registered 'audio' codec 'speex' at sample rate '16000' with id '20'
  == Created cached format with name 'speex16'
  == Registered 'audio' codec 'speex' at sample rate '32000' with id '21'
  == Created cached format with name 'speex32'
  == Registered 'audio' codec 'ilbc' at sample rate '8000' with id '22'
  == Created cached format with name 'ilbc'
  == Registered 'audio' codec 'g722' at sample rate '16000' with id '23'
  == Created cached format with name 'g722'
  == Registered 'audio' codec 'siren7' at sample rate '16000' with id '24'
  == Created cached format with name 'siren7'
  == Registered 'audio' codec 'siren14' at sample rate '32000' with id '25'
  == Created cached format with name 'siren14'
  == Registered 'audio' codec 'testlaw' at sample rate '8000' with id '26'
  == Created cached format with name 'testlaw'
  == Registered 'audio' codec 'g719' at sample rate '48000' with id '27'
  == Created cached format with name 'g719'
  == Registered 'audio' codec 'opus' at sample rate '48000' with id '28'
  == Created cached format with name 'opus'
  == Registered 'image' codec 'jpeg' at sample rate '0' with id '29'
  == Created cached format with name 'jpeg'
  == Registered 'image' codec 'png' at sample rate '0' with id '30'
  == Created cached format with name 'png'
  == Registered 'video' codec 'h261' at sample rate '1000' with id '31'
  == Created cached format with name 'h261'
  == Registered 'video' codec 'h263' at sample rate '1000' with id '32'
  == Created cached format with name 'h263'
  == Registered 'video' codec 'h263p' at sample rate '1000' with id '33'
  == Created cached format with name 'h263p'
  == Registered 'video' codec 'h264' at sample rate '1000' with id '34'
  == Created cached format with name 'h264'
  == Registered 'video' codec 'mpeg4' at 

Re: [asterisk-users] Asterisk dahai install centos 7

2016-12-10 Thread christopher kamutumwa
Package kernel-devel-3.10.0-327.36.3.el7.x86_64 already installed and
latest version but i still receive the same error

[root@localhost dahdi-linux-complete-2.11.1+2.11.1]# make
make -C linux all
make[1]: Entering directory `/usr/src/dahdi-linux-
complete-2.11.1+2.11.1/linux'
make -C drivers/dahdi/firmware firmware-loaders
make[2]: Entering directory `/usr/src/dahdi-linux-
complete-2.11.1+2.11.1/linux/drivers/dahdi/firmware'
make[2]: Leaving directory `/usr/src/dahdi-linux-
complete-2.11.1+2.11.1/linux/drivers/dahdi/firmware'
You do not appear to have the sources for the 3.10.0-327.el7.x86_64 kernel
installed.
make[1]: *** [modules] Error 1


On Sat, Dec 10, 2016 at 4:56 PM, Greg Woods <g...@gregandeva.net> wrote:

>
> On Sat, Dec 10, 2016 at 7:47 AM, christopher kamutumwa <
> chriskamutu...@gmail.com> wrote:
>
>> You do not appear to have the sources for the 3.10.0-327.el7.x86_64
>> kernel installed.
>
>
> You need to install the kernel-devel package to compile kernel modules.
>
> --Greg
>
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at: https://community.asterisk.
> org/
>
> 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
>
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

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] Asterisk dahai install centos 7

2016-12-10 Thread christopher kamutumwa
Hello support

am trying to install dahdi on centos 7 and am doing the make ommand and
below is result any way out this You do not appear to have the sources for
the 3.10.0-327.el7.x86_64 kernel installed.

uname -a gives me below;

Linux localhost.localdomain 3.10.0-327.el7.x86_64 #1 SMP Thu Nov 19
22:10:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux



[root@localhost dahdi-linux-complete-2.11.1+2.11.1]# make
make -C linux all
make[1]: Entering directory
`/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux'
make -C drivers/dahdi/firmware firmware-loaders
make[2]: Entering directory
`/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/firmware'
make[2]: Leaving directory
`/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/firmware'
You do not appear to have the sources for the 3.10.0-327.el7.x86_64 kernel
installed.
make[1]: *** [modules] Error 1
make[1]: Leaving directory
`/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux'
make: *** [all] Error 2
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

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] bash: asterisk: command not found

2016-12-06 Thread christopher kamutumwa
Hello

Ive installed asterisk 14.2 on centos 6.8 but i am not able to start it
below is what am executing and those are the errors anything am doing wrong?

[root@localhost ~]# asterisk -r
bash: asterisk: command not found
[root@localhost ~]# asterisk -vvvc
bash: asterisk: command not found

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

Check out the new Asterisk community forum at: https://community.asterisk.org/

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] Asterisk install challenge

2016-12-06 Thread christopher kamutumwa
am new to asterisk and am trying to "make all". or dahdi install but in
only reach this stage below on centos 6.8 . Any idea how to resolve or
bypass this


configure: creating ./config.status
./configure: line 18858: cannot create temp file for here-document: No such
file or directory
configure: error: write failure creating ./config.status
make: *** [all] Error 1


Thanks,

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

Check out the new Asterisk community forum at: https://community.asterisk.org/

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] MOBILE SIMCARD ON ASTERISK

2016-12-05 Thread christopher kamutumwa
Is it possible to have a simcard configured and become incoming line
and outgoing on asterisk and also have the IVR function? If yes wat
hardware is required to have this Accompished

Thanks


Chris

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

Check out the new Asterisk community forum at: https://community.asterisk.org/

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] Asterisk Installation

2016-11-23 Thread christopher kamutumwa
Goodday users

Am quite new to asterisk and trying to configure it with an fxo and fxs
digium card. also i need a gui interface implemented. I have a centos 6.8
server any tutorial i could use for install and configuration? would
appreciate.

Thanks

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

Check out the new Asterisk community forum at: https://community.asterisk.org/

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


[asterisk-users] Asterisk 12 error when installing

2016-10-13 Thread christopher kamutumwa
Hello,

Am trying to install asterisk 12 on ubuntu 14.04lts and am getting the
below error after a MAKE any hints how to go round this?

bedit.a  -> asterisk
asterisk.o: file not recognized: File truncated
collect2: error: ld returned 1 exit status
make[1]: *** [asterisk] Error 1
make: *** [main] Error 2


regards

chris

-- 
_
-- 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] Error when installing asterisk on Ubuntu 16.03LTS

2016-10-08 Thread christopher kamutumwa
Hello,
I am trying to install asterisk 14 on ubuntu 16 but i am getting below
error message please assist with how to resolve that after i run make
&& make install && make config && make samples

   [LD] astdb2bdb.o db1-ast/libdb1.a -> astdb2bdb
   [CPP] chan_unistim.c -> chan_unistim.i
   [CCi] chan_unistim.i -> chan_unistim.o
   [LD] chan_unistim.o -> chan_unistim.so
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/5/crtbeginT.o: relocation
R_X86_64_32 against `__TMC_END__' can not be used when making a shared
object; recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/5/crtbeginT.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
/usr/src/asterisk-14.0.2/Makefile.rules:176: recipe for target
'chan_unistim.so' failed
make[1]: *** [chan_unistim.so] Error 1
Makefile:397: recipe for target 'channels' failed
make: *** [channels] Error 2

thanks

chri

-- 
_
-- 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