I would suggest you at least look into DIALSTATUS.

Guys:

The dialplan is not a toy. You need to consider with care the results
of your actions. What Mike posted is an example of a bad dialplan in
the works.

On 5/11/07, Mike <[EMAIL PROTECTED]> wrote:


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.

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

Reply via email to