[Asterisk-Users] Routing calls by DID

Tjardick van der Kraan tjardick at vanderkraan.net
Fri May 2 00:09:23 MST 2003


----- Original Message ----- 
From: "Michael Rose" <asterisk at ebctech.com>
To: <asterisk-users at lists.digium.com>
Sent: Thursday, May 01, 2003 11:46 PM
Subject: [Asterisk-Users] Routing calls by DID


> Hi all,
>
> How do I route calls based on the DID the incoming caller dials? I'd like
> someone calling a DID to by-pass the main menu prompt and dial the
extension
> associated with that DID directly.


I drop my ISDN line in it's own context: isdn-inbound (but you can set a
context for any incomming channel offcourse)

Then in extensions.conf

[isdn-inbound]
exten => 1234,1,Dial(SIP/Tjardick)    ;Callers who dialed 1234 ring Tjardick

exten => s,1,GoTo(menu,s,1)    ;Others goto the main menu

Greetings,

Tj




More information about the asterisk-users mailing list