To fix the issue below, Edit /etc/asterisk/modules.conf load => chan_alsa.so noload => chan_oss.so load => chan_console.so Edit /etc/asterisk/extensions.conf exten => s,1,Dial(Console/snd/controlC0,20,A(trek)) exten => s,2,Hangup It worked perfect; one little issue that I have not fix is that I have to use this command #pulseaudio -vvvvvvvv Restart asterisk and it worked but if pulseaudio is not on asterisk won't work, I'm in the process of fixing this issue. Thanks,
When a call comes in asterisk is forwarding the call to holiday extension, even though the holiday is not defined.
Here is my dial plan
exten => 4,1,GotoIfTime(*,*,1,jan?holiday,s,1) ; new years day
exten => 4,n,GotoIfTime(*,*,6,apr?holiday,s,1) ; easter holiday
exten => 4,n,GotoIfTime(*,*,23,may?holiday,s,1)
exten => 4,n,GotoIfTime(*,*,1,|jul?holiday,s,1) ; canada day
exten => 4,n,GotoIfTime(*,*,1,aug?holiday,s,1) ; long weekend
... Today is May 1, so why is it going to "holiday" extension?
Is there another dial plan that holidays are defined?
I'm using asterisk 1.8.10
I was tired of manually aligning ael files in emacs, so I downloaded the
.el file on
http://www.voip-info.org/wiki/view/EMacs+Asterisk+Syntax+Highlighting Unfortunately there is a problem with switch statement. Do you know of a
better .el file or are you good in writing .el files to fix it? Leandro