On Thu, Jul 01, 2010 at 10:19:08PM -0500, Karl Fife wrote:
> Calls that come in on DAHDI FXO ports are routed to [context], extension 's'
> 
> INSTEAD, I would like to route specific ports to specific extensions, For 
> example:
> 
> I want DAHDI/1-1 to go to 1234
> I want DAHDI/1-2 to go to 2345
> I want DAHDI/1-3 to go to 3456 ...etc
> 
> What is the CLEANEST way to do this?
> 
[...]
> 
> Is there a way that I can simply specify the extension associated with a 
> given dahdi channel in dahdi_channels.conf? It would seem logical, but I'm 
> finding no love.  If you also know for sure that there ISN'T a way to do 
> what I'm asking, I'd like to know that too.
> 
[...]

Do you mean chan_dahdi.conf?  There you can do something like

        setvar = EXT=1234
        channel => 1

        setvar = EXT=2345
        channel => 2

and EXT will be passed into your dialplan.

-- 
Barry

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to