On 5/29/15 1:16 PM, Ashwin Surendran wrote:
Hi,
I have multiple Asterisk servers in various parts of the world all
connected using dedicated VPN¹s.

Each of these servers have iax and dahdi TRUNK configured on them.

Occasionally the VPN¹s fail.

What I want to be able to do is on my dial plan, use IAX if the asterisk
server can reach the remote server using the internet OR, use TRUNK only
if it can¹t use IAX.

Any ideas on how this can be implemented on the dial plan?


Check the DIALSTATUS variable to see if the IAX trunk failed and then dial via DAHDI.

https://wiki.asterisk.org/wiki/display/AST/Dial+Channel+Variables

--
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
+52 (55)9116-91161


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to