[Asterisk-Users] First Call straight to my extension

Julian J. M. julianjm at gmail.com
Sat Feb 5 11:26:47 MST 2005


On Fri, 04 Feb 2005 00:38:35 -0600, Eric Wieling <eric at fnords.org> wrote:
> timebandit001 at gmail.com wrote:
> 
> >>Anybody with an idea how will I set me Asterisk to send call straight to my
> >>extension with out playing demo-Congrat MENU.
> >
> > Comething like this
> >
> > exten => s,1,Answer
> > exten => s,2,Dial(IAX2/2001,20,tr)
> > exten => s,3,Voicemail(u2001)
> > exten => s,4,Voicemail(b2001)
> 
> or
> 
> exten => s,1,Dial(IAX2/2001,20)
> exten => s,2,Voicemail(u2001)
> exten => s,102,Voicemail(b2001)

I tried that in my home system, and had severeal voicemail messages
with a 425Hz tone fron the line ;)

I just inserted and Answer command at priority 2 and 102: 

exten => s,1,Dial(IAX2/2001,20)
exten => s,2,Answer
exten => s,3,Voicemail(u2001)
exten => s,102,Answer
exten => s,103,Voicemail(b2001)

Greetings
    Julian.



More information about the asterisk-users mailing list