[asterisk-users] Asterisk 1.8 not working for me

Joseph syscon780 at gmail.com
Sun Sep 4 21:48:36 CDT 2011


I'm in the process of switching from Asterisk 1.4 to 1.8 but I'm failing miserably, Asterisk 1.8 is not working 
for me.

First the initial GoIfTime is not recognized:

in my extension.conf I have:
[general]
static=yes
writeprotect=no
clearglobalvars=no
priorityjumping=yes

[globals]
DYNAMIC_FEATURES=>automon

[incoming]
; First, let's do the holidays
exten => 11,1,GotoIfTime(*,*,1,jan?holiday,s,1)  ; new years day
exten => 11,n,GotoIfTime(*,*,2,jan?holiday,s,1)  ; new years day
exten => 11,n,GotoIfTime(*,*,21,feb?holiday,s,1) ; family day
exten => 11,n,GotoIfTime(*,*,22,apr?holiday,s,1) ;
exten => 11,n,GotoIfTime(*,*,23,may?holiday,s,1) ;
exten => 11,n,GotoIfTime(*,*,1,jul?holiday,s,1)  ; canada day
exten => 11,n,GotoIfTime(*,*,2,jul?holiday,s,1)  ; canada day
exten => 11,n,GotoIfTime(*,*,1,aug?holiday,s,1)  ; long weekend
exten => 11,n,GotoIfTime(*,*,2,aug?holiday,s,1)
exten => 11,n,GotoIfTime(*,*,11,oct?holiday,s,1)
exten => 11,n,GotoIfTime(*,*,11,nov?holiday,s,1)
exten => 11,n,GotoIfTime(16:00-23:59,*,24,dec?holiday,s,1)
exten => 11,n,GotoIfTime(*,*,24,dec?holiday,s,1)
exten => 11,n,GotoIfTime(*,*,26,dec?holiday,s,1)
exten => 11,n,GotoIfTime(15:00-23:59,*,31,dec?holiday,s,1)

; these are the days we're open
exten => 11,n,GotoIfTime(8:30-17:59,mon-fri,*,*?office-open,s,1)

; if we're not open, we're closed (duh!)
exten => 11,n,Goto(office-closed,s,1)

The part above is totally ignored.

When I try to dial out:
   == Using UDPTL CoS mark 5
   == Using SIP RTP CoS mark 5
     -- Executing [74791270 at internal:1] Dial("SIP/218-0000000e", "SIP/77804791270 at pstn-5665,60,tr") in new 
stack
   == Using UDPTL CoS mark 5
[Sep  4 20:22:33] WARNING[27543]: app_dial.c:2196 dial_exec_full: Unable to create channel of type 'SIP' 
(cause 20 - Unknown)
   == Everyone is busy/congested at this time (1:0/0/1)

I'm using audocodes gateway.

Any suggestion on what I'm doing wrong.

-- 
Joseph



More information about the asterisk-users mailing list