Re: [Asterisk-Users] Multiple gateways for same dial pattern

2005-01-12 Thread Andrew Kohlsmith
On January 10, 2005 03:09 pm, Adi Linden wrote: > How can I setup Asterisk to place calls if the same dial pattern can be > routed through several PRI gateways. I have one way that I tried: > > So what happens is that if all channels on 172.17.99.5 are in use calls > are routed to 172.17.99.6 and i

Re: [Asterisk-Users] Multiple gateways for same dial pattern

2005-01-12 Thread Adi Linden
Hi, I just tried this using a couple of iax peers and it works quite well. But I did have to alter my dialplan. In my iax.conf I added 'qualify=5000' for the nufone and voipjet peers. [macro-gw-voipjet] ; ; This is the VoipJet IAX peer ; ; Use: Macro(gw-voipjet,${EXTEN})) ; Requires 'qualify=' st

Re: [Asterisk-Users] Multiple gateways for same dial pattern

2005-01-10 Thread Matt Hess
Just a thought I had on this.. Why not setup a sip peer entry in sip.conf with a qualify statement in it and send the call to the peer entry? That way asterisk will know if the peer is alive or not and I would think it would skip that particular peer accordingly.. that or it's really late and I

RE: [Asterisk-Users] Multiple gateways for same dial pattern

2005-01-10 Thread Adi Linden
> I have a similar problem. I asked the same question in a message to the > list a few days ago titles "IAX outgoing redundancy". It would seem > app_dial would need to have some code added to it to have two different > kind of timeouts, one an answer timeout (which is the current timeout in > the

RE: [Asterisk-Users] Multiple gateways for same dial pattern

2005-01-10 Thread Nabeel Jafferali
> But this also means that after 20 seconds of ringing it goes > on the next dialpeer. I would like to be able to set the > timeout Asterisk wait to establish a connection, any > connection, with the gateway to something much shorter than it is now. I have a similar problem. I asked the same quest

Re: [Asterisk-Users] Multiple gateways for same dial pattern

2005-01-10 Thread Rich Adamson
> > I can do the dial command like this to give me a 20 second timeout > > > > exten => _9737,1,Dial(SIP/${EXTEN:[EMAIL PROTECTED],20) > > > > But this also means that after 20 seconds of ringing it goes on the next > > dialpeer. I would like to be able to set the timeout Asterisk wait to

Re: [Asterisk-Users] Multiple gateways for same dial pattern

2005-01-10 Thread Eric Wieling
Adi Linden wrote: I can do the dial command like this to give me a 20 second timeout exten => _9737,1,Dial(SIP/${EXTEN:[EMAIL PROTECTED],20) But this also means that after 20 seconds of ringing it goes on the next dialpeer. I would like to be able to set the timeout Asterisk wait to establi

RE: [Asterisk-Users] Multiple gateways for same dial pattern

2005-01-10 Thread Adi Linden
I can do the dial command like this to give me a 20 second timeout exten => _9737,1,Dial(SIP/${EXTEN:[EMAIL PROTECTED],20) But this also means that after 20 seconds of ringing it goes on the next dialpeer. I would like to be able to set the timeout Asterisk wait to establish a connection,

RE: [Asterisk-Users] Multiple gateways for same dial pattern

2005-01-10 Thread Paul Rodan
What do you mean "it also applies to busy signal"? Can you elaborate? My dial-plan is something similar, I have like BroadVoice/VoipJet/NuFone/LookieLoo and if I set them in order of my preference, I've never had the primary fail so I've never witnessed this 60 second delay. But am interested in w