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

2012-10-09 Thread Mitch Claborn
Here's what I came up with. Works find with the simulated DAHDI dynamic local channels. I'll find out later in the week how it works with real hardware. [emergency-services] exten =>911,1,Goto(dialpsap,1) exten =>9911,1,Goto(dialpsap,1) ; exten =>999,1,Goto(dialpsap,1) exten =>112,1,Goto(dialps

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

2012-10-09 Thread Shaun Ruffell
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. > > sy

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

2012-10-09 Thread Mitch Claborn
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 loa

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

2012-10-09 Thread Shaun Ruffell
Minor correction below: On Tue, Oct 09, 2012 at 12:32:44PM -0500, Shaun Ruffell wrote: > On Tue, Oct 09, 2012 at 11:46:04AM -0500, Mitch Claborn wrote: > > > > (Now if I just didn't have to wait to get on-site where those lines > > are to try it. Too bad there isn't a DAHDI emulator for SIP line

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

2012-10-09 Thread Shaun Ruffell
On Tue, Oct 09, 2012 at 11:46:04AM -0500, Mitch Claborn wrote: > > (Now if I just didn't have to wait to get on-site where those lines > are to try it. Too bad there isn't a DAHDI emulator for SIP lines.) You can use dynamic DAHDI spans to simulate this on a single box if you would with DAHDI-Li

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

2012-10-09 Thread Mitch Claborn
Excellent. I'll give it a try. (Now if I just didn't have to wait to get on-site where those lines are to try it. Too bad there isn't a DAHDI emulator for SIP lines.) Mitch On 10/09/2012 10:48 AM, Richard Mudgett wrote: There are lots of things documented in chan_dahdi.conf.sample. The f

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

2012-10-09 Thread Richard Mudgett
> Asterisk 1.8 > > (a) We will have a group of 4 analog lines into a Digium card that > will > be used for local calls. What is the best way to use those lines as > a > pool for outbound calls? Can I use ChanIsAvail(), listing those 4 > channels, and then use the first one returned? There are l

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

2012-10-08 Thread Mitch Claborn
Asterisk 1.8 (a) We will have a group of 4 analog lines into a Digium card that will be used for local calls. What is the best way to use those lines as a pool for outbound calls? Can I use ChanIsAvail(), listing those 4 channels, and then use the first one returned? (b) For emergency call