[asterisk-users] DAHDI FXO calls and the 's' extension. No, Jackie-O doesn't work here--it's just an example. Sheesh!

Barry Miller asterisk-users at notanet.net
Thu Jul 1 23:53:01 CDT 2010


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



More information about the asterisk-users mailing list