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?
Florian Overkamp
2005-Jul-08 06:58 UTC
[Asterisk-Users] Unknown numebrs to a context/extension
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
Andrew Kohlsmith
2005-Jul-08 07:25 UTC
[Asterisk-Users] Unknown numebrs to a context/extension
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.