<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Dear Alex,<div><br></div><div>Thanks for the answer. Will it work in the trunk failover mode. I mean if trunk1 fails, the call will go through trunk2. Also I have another problem that my provider needs P-Preffered-Identity Header to be added for each trunk. So how can I add this header to each appropriate trunk with that trunks User name in Preferred-Identity header.</div><div><br></div><div>Regards</div><div>---------------</div><div>Abid Saleem<br><br><div>> Date: Wed, 18 May 2011 10:07:03 -0400<br>> From: abalashov@evaristesys.com<br>> To: asterisk-users@lists.digium.com<br>> Subject: Re: [asterisk-users] Failover trunks<br>> <br>> On 05/18/2011 10:05 AM, Abid Saleem wrote:<br>> <br>> > Could you please help me with my following Scenario. I have a<br>> > softswitch where my carriers send calls from International to my<br>> > country for local termination. I route these calls to my Asterisk 1.8<br>> > which has a number of registered trunks from our SIP Provider. Please<br>> > guide me how should I configure extensions.conf for calls to be sent<br>> > to the next available trunk.<br>> <br>> exten => ...,1,Dial(SIP/${EXTEN}@trunk1,...)<br>> exten => ...,n,Dial(SIP/${EXTEN}@trunk2,...)<br>> exten => ...,n,Dial(SIP/${EXTEN}@trunk3,...)<br>> <br>> ?<br>> <br>> -- <br>> Alex Balashov - Principal<br>> Evariste Systems LLC<br>> 260 Peachtree Street NW<br>> Suite 2200<br>> Atlanta, GA 30303<br>> Tel: +1-678-954-0670<br>> Fax: +1-404-961-1892<br>> Web: http://www.evaristesys.com/<br>> <br>> --<br>> _____________________________________________________________________<br>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --<br>> New to Asterisk? Join us for a live introductory webinar every Thurs:<br>> http://www.asterisk.org/hello<br>> <br>> asterisk-users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> http://lists.digium.com/mailman/listinfo/asterisk-users<br></div></div>                                            </div></body>
</html>