[asterisk-users] Calling out on a group of DAHDI lines

Shaun Ruffell sruffell at digium.com
Tue Oct 9 15:52:05 CDT 2012


On Tue, Oct 09, 2012 at 03:41:49PM -0500, Mitch Claborn wrote:
> I found that I had to chmod 666 /dev/dahdi/*  to allow asterisk to
> use the simulation channels.  The /dev/dahdi directory seems to be
> recreated when dahdi starts.
> 
> Here is what I finally came up with that works for me.
> 
> system.conf
> dynamic=loc,1:0,4,0
> fxsks=1-4
> 
> dynamic=loc,1:1,4,0
> fxoks=5-8
> loadzone        = us
> defaultzone     = us
> 
> 
> chan_dahdi.conf
> signalling=fxs_ks
> context=simulation
> group=0
> channel=>1
> 
> signalling=fxo_ks
> context=dummy
> group=63
> channel=>5
> 
> 
> I can now dial out on group 63 and it rings in the simulation
> context, which I forward to a SIP phone for testing.
> 
> Is that what you expected to see?

Basically yes. That should allow you to try things out without access to
the actual hardware and yet still use chan_dahdi.

Cheers,
Shaun

-- 
Shaun Ruffell
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org



More information about the asterisk-users mailing list