Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] How to use TRUNK only if IAX fails?


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
Ashwin.Surendran at no...
Guest





PostPosted: Fri May 29, 2015 1:17 pm    Post subject: [asterisk-users] How to use TRUNK only if IAX fails? Reply with quote

Quote:
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?

Many Thanks,
Ashwin

This email (and any attachments or hyperlinks within it) may contain information that is confidential, legally privileged or otherwise protected from disclosure. If you are not the intended recipient of this email, you are not entitled to use, disclose, distribute, copy, print, disseminate or rely on this email in any way. If you have received this email in error, please notify the sender immediately by telephone or email and destroy it, and all copies of it. Thank you for your cooperation.

--
_____________________________________________________________________
-- 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
Back to top
cursor at telecomabmex...
Guest





PostPosted: Fri May 29, 2015 5:06 pm    Post subject: [asterisk-users] How to use TRUNK only if IAX fails? Reply with quote

On 5/29/15 1:16 PM, Ashwin Surendran wrote:
Quote:
Quote:
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
Back to top
Ashwin.Surendran at no...
Guest





PostPosted: Sat May 30, 2015 2:03 am    Post subject: [asterisk-users] How to use TRUNK only if IAX fails? Reply with quote

Many Thanks Carlos, I was hoping to check whether the remote server is
available before I issue the dial in my dial plan.

Is there a better way to do it in asterisk without using unix commands?


Many Thanks,
Ashwin

On 5/30/15, 2:06 AM, "Carlos Chavez" <cursor@telecomabmex.com> wrote:

Quote:
On 5/29/15 1:16 PM, Ashwin Surendran wrote:
Quote:
Quote:
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

This email (and any attachments or hyperlinks within it) may contain information that is confidential, legally privileged or otherwise protected from disclosure. If you are not the intended recipient of this email, you are not entitled to use, disclose, distribute, copy, print, disseminate or rely on this email in any way. If you have received this email in error, please notify the sender immediately by telephone or email and destroy it, and all copies of it. Thank you for your cooperation.
--
_____________________________________________________________________
-- 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
Back to top
lists at venturevoip.com
Guest





PostPosted: Sat May 30, 2015 7:55 am    Post subject: [asterisk-users] How to use TRUNK only if IAX fails? Reply with quote

The command he gave you was in Asterisk. Why do you not want to call it to try it?


Then you can fail over to the other trunk if the IAX link is down.

Kind regards,

Matt


On May 30, 2015, at 2:03 AM, Ashwin Surendran <Ashwin.Surendran@now-health.com (Ashwin.Surendran@now-health.com)> wrote:


Quote:
Many Thanks Carlos, I was hoping to check whether the remote server is
available before I issue the dial in my dial plan.

Is there a better way to do it in asterisk without using unix commands?


Many Thanks,
Ashwin

On 5/30/15, 2:06 AM, "Carlos Chavez" <cursor@telecomabmex.com (cursor@telecomabmex.com)> wrote:

Quote:
On 5/29/15 1:16 PM, Ashwin Surendran wrote:
Quote:
Quote:
Hi,
Quote:
I have multiple Asterisk servers in various parts of the world all
Quote:
connected using dedicated VPN¹s.
Quote:
Each of these servers have iax and dahdi TRUNK configured on them.
Quote:
Occasionally the VPN¹s fail.
Quote:
What I want to be able to do is on my dial plan, use IAX if the asterisk
Quote:
server can reach the remote server using the internet OR, use TRUNK only
Quote:
if it can¹t use IAX.
Quote:
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

This email (and any attachments or hyperlinks within it) may contain information that is confidential, legally privileged or otherwise protected from disclosure. If you are not the intended recipient of this email, you are not entitled to use, disclose, distribute, copy, print, disseminate or rely on this email in any way. If you have received this email in error, please notify the sender immediately by telephone or email and destroy it, and all copies of it. Thank you for your cooperation.
--
_____________________________________________________________________
-- 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
Back to top
Ashwin.Surendran at no...
Guest





PostPosted: Sat May 30, 2015 11:35 pm    Post subject: [asterisk-users] How to use TRUNK only if IAX fails? Reply with quote

Hi Matt,

I was a bit concerned on the delay if there might be any when my iax link is down?
It would be two dial steps right when my iax link is down.
But I’m more than happy to try.

Many Thanks,
Ashwin.
From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Matt Riddell (lists)
Sent: 30 May 2015 16:55
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] How to use TRUNK only if IAX fails?



The command he gave you was in Asterisk. Why do you not want to call it to try it?



Then you can fail over to the other trunk if the IAX link is down.

Kind regards,




Matt



On May 30, 2015, at 2:03 AM, Ashwin Surendran <Ashwin.Surendran@now-health.com (Ashwin.Surendran@now-health.com)> wrote:
Quote:

Many Thanks Carlos, I was hoping to check whether the remote server is
available before I issue the dial in my dial plan.

Is there a better way to do it in asterisk without using unix commands?


Many Thanks,
Ashwin

On 5/30/15, 2:06 AM, "Carlos Chavez" <cursor@telecomabmex.com (cursor@telecomabmex.com)> wrote:



On 5/29/15 1:16 PM, Ashwin Surendran wrote:
Quote:
Quote:
Quote:

Hi,
Quote:

I have multiple Asterisk servers in various parts of the world all
Quote:

connected using dedicated VPN¹s.
Quote:

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

Occasionally the VPN¹s fail.
Quote:

What I want to be able to do is on my dial plan, use IAX if the asterisk
Quote:

server can reach the remote server using the internet OR, use TRUNK only
Quote:

if it can¹t use IAX.
Quote:

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


This email (and any attachments or hyperlinks within it) may contain information that is confidential, legally privileged or otherwise protected from disclosure. If you are not the intended recipient of this email, you are not entitled to use, disclose, distribute, copy, print, disseminate or rely on this email in any way. If you have received this email in error, please notify the sender immediately by telephone or email and destroy it, and all copies of it. Thank you for your cooperation.
--
_____________________________________________________________________
-- 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

This email (and any attachments or hyperlinks within it) may contain information that is confidential, legally privileged or otherwise protected from disclosure. If you are not the intended recipient of this email, you are not entitled to use, disclose, distribute, copy, print, disseminate or rely on this email in any way. If you have received this email in error, please notify the sender immediately by telephone or email and destroy it, and all copies of it. Thank you for your cooperation.
Back to top
kctrey at gmail.com
Guest





PostPosted: Sun May 31, 2015 9:28 pm    Post subject: [asterisk-users] How to use TRUNK only if IAX fails? Reply with quote

I would especially look at the CHANUNAVAIL dial status Since it sounds like you are probably qualifying your IAX trunk, that status will be the quickest way to overflow from IAX to TDM.

On Sat, May 30, 2015, 11:35 PM Ashwin Surendran <Ashwin.Surendran@now-health.com (Ashwin.Surendran@now-health.com)> wrote:
Quote:

Hi Matt,
 
I was a bit concerned on the delay if there might  be any when my iax link is down?
It would be two dial steps right when my iax link is down.
But I’m more than happy to try.
 
Many Thanks,
Ashwin.
From: asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com) [mailto:asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com)] On Behalf Of Matt Riddell (lists)
Sent: 30 May 2015 16:55
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] How to use TRUNK only if IAX fails?




 
The command he gave you was in Asterisk. Why do you not want to call it to try it?

 

Then you can fail over to the other trunk if the IAX link is down. 

Kind regards,




Matt



On May 30, 2015, at 2:03 AM, Ashwin Surendran <Ashwin.Surendran@now-health.com (Ashwin.Surendran@now-health.com)> wrote:
Quote:

Many Thanks Carlos, I was hoping to check whether the remote server is
available before I issue the dial in my dial plan.

Is there a better way to do it in asterisk without using unix commands?


Many Thanks,
Ashwin

On 5/30/15, 2:06 AM, "Carlos Chavez" <cursor@telecomabmex.com (cursor@telecomabmex.com)> wrote:



On 5/29/15 1:16 PM, Ashwin Surendran wrote:
Quote:
Quote:
Quote:

Hi,
Quote:

I have multiple Asterisk servers in various parts of the world all
Quote:

connected using dedicated VPN¹s.
Quote:

 
Quote:

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

 
Quote:

Occasionally the VPN¹s fail.
Quote:

 
Quote:

What I want to be able to do is on my dial plan, use IAX if the asterisk
Quote:

server can reach the remote server using the internet OR, use TRUNK only
Quote:

if it can¹t use IAX.
Quote:

 
Quote:

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

 
Quote:

 

   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


This email (and any attachments or hyperlinks within it) may contain information that is confidential, legally privileged or otherwise protected from disclosure. If you are not the intended recipient of this email, you are not entitled to use, disclose, distribute, copy, print, disseminate or rely on this email in any way. If you have received this email in error, please notify the sender immediately by telephone or email and destroy it, and all copies of it. Thank you for your cooperation.
--
_____________________________________________________________________
-- 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


This email (and any attachments or hyperlinks within it) may contain information that is confidential, legally privileged or otherwise protected from disclosure. If you are not the intended recipient of this email, you are not entitled to use, disclose, distribute, copy, print, disseminate or rely on this email in any way. If you have received this email in error, please notify the sender immediately by telephone or email and destroy it, and all copies of it. Thank you for your cooperation.
--
_____________________________________________________________________
-- 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
Back to top
Ashwin.Surendran at no...
Guest





PostPosted: Sun May 31, 2015 11:32 pm    Post subject: [asterisk-users] How to use TRUNK only if IAX fails? Reply with quote

Many Thanks Trey! That’s what I need.
-Ashwin.
From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Trey Hilyard
Sent: 01 June 2015 06:28
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] How to use TRUNK only if IAX fails?

I would especially look at the CHANUNAVAIL dial status Since it sounds like you are probably qualifying your IAX trunk, that status will be the quickest way to overflow from IAX to TDM.

On Sat, May 30, 2015, 11:35 PM Ashwin Surendran <Ashwin.Surendran@now-health.com (Ashwin.Surendran@now-health.com)> wrote:
Hi Matt,

I was a bit concerned on the delay if there might be any when my iax link is down?
It would be two dial steps right when my iax link is down.
But I’m more than happy to try.

Many Thanks,
Ashwin.
From: asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com) [mailto:asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com)] On Behalf Of Matt Riddell (lists)
Sent: 30 May 2015 16:55
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] How to use TRUNK only if IAX fails?





The command he gave you was in Asterisk. Why do you not want to call it to try it?



Then you can fail over to the other trunk if the IAX link is down.

Kind regards,


Matt



On May 30, 2015, at 2:03 AM, Ashwin Surendran <Ashwin.Surendran@now-health.com (Ashwin.Surendran@now-health.com)> wrote:
Quote:

Many Thanks Carlos, I was hoping to check whether the remote server is
available before I issue the dial in my dial plan.

Is there a better way to do it in asterisk without using unix commands?


Many Thanks,
Ashwin

On 5/30/15, 2:06 AM, "Carlos Chavez" <cursor@telecomabmex.com (cursor@telecomabmex.com)> wrote:


On 5/29/15 1:16 PM, Ashwin Surendran wrote:
Quote:
Quote:
Quote:

Hi,
Quote:

I have multiple Asterisk servers in various parts of the world all
Quote:

connected using dedicated VPN¹s.
Quote:

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

Occasionally the VPN¹s fail.
Quote:

What I want to be able to do is on my dial plan, use IAX if the asterisk
Quote:

server can reach the remote server using the internet OR, use TRUNK only
Quote:

if it can¹t use IAX.
Quote:

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


This email (and any attachments or hyperlinks within it) may contain information that is confidential, legally privileged or otherwise protected from disclosure. If you are not the intended recipient of this email, you are not entitled to use, disclose, distribute, copy, print, disseminate or rely on this email in any way. If you have received this email in error, please notify the sender immediately by telephone or email and destroy it, and all copies of it. Thank you for your cooperation.
--
_____________________________________________________________________
-- 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



This email (and any attachments or hyperlinks within it) may contain information that is confidential, legally privileged or otherwise protected from disclosure. If you are not the intended recipient of this email, you are not entitled to use, disclose, distribute, copy, print, disseminate or rely on this email in any way. If you have received this email in error, please notify the sender immediately by telephone or email and destroy it, and all copies of it. Thank you for your cooperation.

--
_____________________________________________________________________
-- 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

This email (and any attachments or hyperlinks within it) may contain information that is confidential, legally privileged or otherwise protected from disclosure. If you are not the intended recipient of this email, you are not entitled to use, disclose, distribute, copy, print, disseminate or rely on this email in any way. If you have received this email in error, please notify the sender immediately by telephone or email and destroy it, and all copies of it. Thank you for your cooperation.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services