Users can't dial extensions from outside during day

keefe007
Posts: 111
Member Since:
2006-05-31

Alright, I've been doing asterisk for a long time and I need a second set of eyes on something that I can't figure out right now.

I have a server setup with A@H 0.7 (don't laugh). Recently I changed something and now incoming callers cannot dial extensions or enter the directory. Night-time callers hit the night time IVR and they can dial extensions, etc.

Here's the night time code:
[code]

AFTER_INCOMING = aa_1

[aa_1]
include => aa_1-custom
exten => 1,1,Macro(vm,1001) ;
exten => 2,1,Macro(vm,1002) ;
exten => fax,1,Goto(ext-fax,in_fax,1) ;
exten => h,1,Hangup() ;
exten => i,1,Playback(invalid) ;
exten => i,2,Goto(s,7) ;
include => ext-local
include => app-messagecenter
include => app-directory
exten => s,1,GotoIf($[${DIALSTATUS} = ANSWER]?4) ;
exten => s,2,Answer() ;
exten => s,3,Wait(1) ;
exten => s,4,SetVar(DIR-CONTEXT=general) ;
exten => s,5,DigitTimeout(3) ;
exten => s,6,ResponseTimeout(7) ;
exten => s,7,Background(custom/aa_1) ;
[/code]

Here's the non-working daytime code:

[code]
INCOMING = GRP-1
[ext-group]
include => ext-group-custom
include => ext-local
include => app-messagecenter
include => app-directory
exten => 1,1,Playback(custom/twpc-open1) ;
exten => 1,2,Setvar(GROUP=200-201-202-100) ;
exten => 1,3,Setvar(RINGTIMER=20) ;
exten => 1,4,Setvar(PRE=) ;
exten => 1,5,Macro(rg-group) ;
exten => 1,6,Macro(vm,1000) ;
exten => 2,1,Setvar(GROUP=200-201-202-100-101) ;
exten => 2,2,Setvar(RINGTIMER=20) ;
exten => 2,3,Setvar(PRE=) ;
exten => 2,4,Macro(rg-group) ;
exten => 2,5,Macro(vm,1000) ;
[/code]

What's wrong here?

Thanks!

--

I have a few extra SPA-962s...if you need a couple PM me.



keefe007
Posts: 111
Member Since:
2006-05-31
Re: Users can't dial extensions from outside during day

Duh, I figured out my own problem.

I used Playback in the second context instead of Background - DTMF doesn't work while something is playing with Playback. Go me!

--

I have a few extra SPA-962s...if you need a couple PM me.



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.