ricky gutierrez
2015-Feb-26 22:52 UTC
[asterisk-users] situation with ivr and four-channel gateway
2015-02-26 10:45 GMT-06:00 A J Stiles <asterisk_list at earthshod.co.uk>:> > You just need to use call groups. > > In your chan_extra.conf (if it's an OpenVox) or chan_dahdi.conf, add > something like > group=1 > to the definition for each span. > > Now in the [globals] section of your dialplah, have something like > MOBILE=EXTRA/r1 > for an OpenVox card, or > MOBILE=DAHDI/r1 > for other makes. Now you need your Dial() statements to be something like > Dial(${MOBILE}/${EXTEN},180 > > Calls will then be made by trying each span in turn until an available one is > found. So if you have an incoming call on span 1, Asterisk will try spans 2, > 3 and 4 in turn before giving up. It also will remember which span it used > last, and start with the next one next time; so the calls should be > distributed roughly evenly across your SIMs. > > For more information about this (and some other modes you can use which do > slightly different things than "r"), see > http://www.voip-info.org/wiki/view/Asterisk+ZAP+channels > (yes, it refers to Zaptel; but the syntax is the same for DAHDI and EXTRA > channels). >Hi A J , I have a sangoma gsm gateway "4"channels , not use chan dahdi http://gnuforever.homelinux.com
A J Stiles
2015-Feb-27 16:25 UTC
[asterisk-users] situation with ivr and four-channel gateway
On Thursday 26 Feb 2015, ricky gutierrez wrote:> Hi A J , I have a sangoma gsm gateway "4"channels , not use chan dahdiO.K. So what does your existing Dial() statement in extensions.conf look like? -- AJS Note: Originating address only accepts e-mail from list! If replying off- list, change address to asterisk1list at earthshod dot co dot uk .
ricky gutierrez
2015-Feb-27 23:00 UTC
[asterisk-users] situation with ivr and four-channel gateway
2015-02-27 10:25 GMT-06:00 A J Stiles <asterisk_list at earthshod.co.uk>:> O.K. So what does your existing Dial() statement in extensions.conf look > like? >apology, put the gateway was sangoma but is a openvox , all my outgoing calls out for this context: [my-mobile-out] exten => _NXXXXXXX,n,Dial(SIP/1003/${EXTEN},55,rT) exten => _NXXXXXXX,n,Dial(SIP/1004/${EXTEN},55,rT) exten => _NXXXXXXX,n,Dial(SIP/1001/${EXTEN},55,rT) exten => _NXXXXXXX,n,Dial(SIP/1002/${EXTEN},55,rT) exten => _NXXXXXXX,n,Playback(all-circuits-busy-now) exten => _NXXXXXXX,n,Hangup() my main number is registered on "1002" channel gsm 1 the problem is that my pbx all incoming calls using only the channel gsm 1 , the idea is that an incoming call to channel 1 is passed to channel 2 regardss. -- rickygm http://gnuforever.homelinux.com