[Asterisk-Users] Unknown numebrs to a context/extension

Matt mhoppes at gmail.com
Fri Jul 8 07:46:55 MST 2005


Ahh nm.. answered my own question.. I got it.. I put that AFTER (or in
this case include another context) after checking my dids.. *slaps
head*.. thanks.

On 7/8/05, Matt <mhoppes at gmail.com> wrote:
> Right.. got the logic there... but I'm missing something.. right now I get:
> 
> Extension '570970xxxx' in context 'from-pstn' from '570323xxxx' does
> not exist.  Rejecting call on channel 0/1, span 1
> 
> 
> 
> On 7/8/05, Florian Overkamp <florian at obsimref.com> wrote:
> > Hi Matt,
> >
> > > -----Original Message-----
> > > What do I need to do to route all incoming calls on unknown numbers to
> > > a certain context?  I know how to do the routing and setup the
> > > context... but what do I actually have to do?  Right now if I call a
> > > number on my PRI that is not setup in Asterisk I get a fast busy
> > > signal.. I'd like it to go to a recording instead... but how to make
> > > Asterisk answer any unknown number from pstn and direct it to a
> > > context/extension?
> >
> >
> > Use included contexts:
> >
> > [incoming-calls]
> > Include = [known-dids]
> > Include = [unknown-dids]
> >
> > [known-dids]
> > Exten = 1,1,Foo
> > Exten = 2,1,Bar
> >
> > [unknown-dids]
> > Exten = _X.,1,Playback(message)
> > Exten = _X.,2,Zapateller
> >
> >
> >
> > Florian
> >
> >
> >
>



More information about the asterisk-users mailing list