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
A J Stiles
2015-Mar-02 09:44 UTC
[asterisk-users] situation with ivr and four-channel gateway
On Friday 27 Feb 2015, ricky gutierrez wrote:> 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 2Ah. *Incoming* calls are not something that is within your control; they have already been routed onto a line by your telco. So you will need to speak to someone at your telco about doing this. As a temporary measure, you could try setting up divert-on-busy so SIM1 diverts to SIM2, SIM2 diverts to SIM3, SIM3 diverts to SIM4 and SIM4 diverts to SIM1. You can do this with specially-crafted Dial() statements, or by temporarily inserting the SIMs in an old mobile phone. See your telco's website for details of setting up call diversion. -- 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-Mar-03 04:30 UTC
[asterisk-users] situation with ivr and four-channel gateway
2015-03-02 3:44 GMT-06:00 A J Stiles <asterisk_list at earthshod.co.uk>:> Ah. *Incoming* calls are not something that is within your control; they have > already been routed onto a line by your telco. So you will need to speak to > someone at your telco about doing this. >Hi Aj, I call to telco and say they can not in GSM, only on lines are analogous> As a temporary measure, you could try setting up divert-on-busy so SIM1 > diverts to SIM2, SIM2 diverts to SIM3, SIM3 diverts to SIM4 and SIM4 diverts > to SIM1. You can do this with specially-crafted Dial() statements,With asterisk or the openvox gw? or by> temporarily inserting the SIMs in an old mobile phone. See your telco's > website for details of setting up call diversion.these guys do not help much! . the ivr worked perfect with DEVICE_STATE , thank john! exten => t,1,ExecIf($[ ${DEVICE_STATE(SIP/${EXTEN})} = INUSE ]?Busy) exten => t,n,Dial(SIP/110,38,t) same=> n,Dial(SIP/162,40,t) same=> n,Hangup() thnk for all help. -- rickygm http://gnuforever.homelinux.com