[asterisk-users] SIP Trunk groups

Tarek Sawah tareksawah at hotmail.com
Fri May 29 08:50:39 CDT 2009


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: mlecuona at gmail.com
Date: Wed, 27 May 2009 14:17:23 -0300
To: asterisk-users at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090529/9cb418a4/attachment.htm 


More information about the asterisk-users mailing list