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

Florian Overkamp florian at obsimref.com
Fri Jul 8 06:58:57 MST 2005


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