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

Matt mhoppes at gmail.com
Fri Jul 8 10:14:31 MST 2005


Well the telco may be handeling it :P  the telco gives a fast busy
(reorder tone) for numbers that aren't configured.. I'd rather give a
message :)  The solution offered above fixed the problem.

On 7/8/05, Andrew Kohlsmith <akohlsmith-asterisk at benshaw.com> wrote:
> On Friday 08 July 2005 09:37, Matt wrote:
> > 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?
> 
> I thought that recent CVS HEAD actually fixed this.
> 
> if an 'i' extension exists in the context the PRI dumps in to, you end up
> there.  If not, zaptel sends back the correct IE which lets the telco handle
> it.
> 
> Failing that, I did this:
> 
> exten => 1234567,1,Blah
> exten => 1234568,1,Blah
> exten => 1234569,1,Blah
> exten => 1234570,1,Blah
> ...
> exten => _XXXXXXX,1,do_invalid_#_stuff_here
> 
> (I have 7 digits appear on my PRI)
> 
> -A.
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list