Adi Linden wrote:

I can do the dial command like this to give me a 20 second timeout

    exten => _9737XXXX,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, any connection, with the gateway to something much
shorter than it is now.

Similar to what you stated, I use VoipJet/NuFone at home. The other day
VoipJet had problems and my calls didn't go through. I took the
opportunity to try configure some sort of failover configuration to
NuFone. Couldn't make it work in an acceptable manner and had to manually
change the dialplan.

You want to check the value of ${DIALSTATUS} in your priority 2. See asterisk/doc/README.variables and "show application gotoif"
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to