i'm not so familiar with what youa re talking about .. but i beleive i've seen 
something like that in FreePBX where you can setup a failover trunk for a 
context.. try to have a look at it. and i hope it's what you are looking for

--
AHD Tarek Sawah

Integrated Digital Systems

CCNA, MCSE, RHCE, VoIP

Syria: +963 944 618286

USA: +1 347 562 2308






From: mlecu...@gmail.com
Date: Wed, 27 May 2009 14:17:23 -0300
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] SIP Trunk groups

Hey all,

I have 2 GSM to Voip gateways and  probably we will grow
up to 4 more gateways. I already created a macro to make failover
happen between gateways, but can imagine that everytime I add a new
gateway I will need to modify the macro. The initial intention of this
macro was to failover between different techonolgies.

So I was hoping to create a Sip Trunk group using the same idea as truckgroup 
under dahdi but for sip trunks.

Is that possible?, have you ever done this before?

My Idea is:

sip_trunk1 = SIP/gateway1



sip_trunk2 = SIP/gateway2
sip_trunk3 = SIP/gateway3

gsm_trunkgoup = sip_trunk1 ; sip_trunk2 ; sip_trunk3


[user]

exten = _0.,1,wait()
exten = _0.,n,Dial(gsm_trunkgoup/${

exten:1},30)
exten = _0.,n,Hangup


Thanks,
-- 
--
Mariano Lecuona

_________________________________________________________________
HotmailĀ® goes with you. 
http://windowslive.com/Tutorial/Hotmail/Mobile?ocid=TXT_TAGLM_WL_HM_Tutorial_Mobile1_052009
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Reply via email to