Yeah ok. That doesn't help. What I mean is I want a call to go out on ProviderA, UNLESS it's down and then go to ProviderB.
I want it to ring 30 seconds and then Hangup if nobody has answers. I DON'T want to dial both, only one or the other. Mike -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yuan LIU Sent: Friday, May 11, 2007 17:03 To: asterisk-users@lists.digium.com Subject: RE: [asterisk-users] Dealing with 2 SIP providers >From: Mike <[EMAIL PROTECTED]> >Date: Fri, 11 May 2007 11:06:35 -0400 > >Hi, > >I have a question of using 2 SIP providers. Let's say I have provider >A and provider B, and I would like my calls to go to A, and then B if A >wasn`t available > >Something like this would work: >exten => 1234,1,Dial(SIP/providerA) >exten => 1234,2,Dial(providerB) >exten => 1234,3,Hangup > >But what if I want to put in a delay? If I put 30 seconds on each of >them, I'll wait a total of 60. I want to wait only 30 seconds before >the hang up. Like put 15 seconds on each? It's quite hard to understand what exactly the requirements are. Yuan Liu >Also, if ProviderA has a main server and a backup server, am I now >forced to have 3 Dial commands, or can I setup ProviderA with host and >backuphost in the same SIP entry? > >Mike _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users