<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>&gt; Date: Wed, 18 May 2011 10:07:03 -0400<br>&gt; From: abalashov@evaristesys.com<br>&gt; To: asterisk-users@lists.digium.com<br>&gt; Subject: Re: [asterisk-users] Failover trunks<br>&gt; <br>&gt; On 05/18/2011 10:05 AM, Abid Saleem wrote:<br>&gt; <br>&gt; &gt; Could you please help me with my following Scenario. I have a<br>&gt; &gt; softswitch where my carriers send calls from International to my<br>&gt; &gt; country for local termination. I route these calls to my Asterisk 1.8<br>&gt; &gt; which has a number of registered trunks from our SIP Provider. Please<br>&gt; &gt; guide me how should I configure extensions.conf for calls to be sent<br>&gt; &gt; to the next available trunk.<br>&gt; <br>&gt;     exten =&gt; ...,1,Dial(SIP/${EXTEN}@trunk1,...)<br>&gt;     exten =&gt; ...,n,Dial(SIP/${EXTEN}@trunk2,...)<br>&gt;     exten =&gt; ...,n,Dial(SIP/${EXTEN}@trunk3,...)<br>&gt; <br>&gt; ?<br>&gt; <br>&gt; -- <br>&gt; Alex Balashov - Principal<br>&gt; Evariste Systems LLC<br>&gt; 260 Peachtree Street NW<br>&gt; Suite 2200<br>&gt; Atlanta, GA 30303<br>&gt; Tel: +1-678-954-0670<br>&gt; Fax: +1-404-961-1892<br>&gt; Web: http://www.evaristesys.com/<br>&gt; <br>&gt; --<br>&gt; _____________________________________________________________________<br>&gt; -- Bandwidth and Colocation Provided by http://www.api-digital.com --<br>&gt; New to Asterisk? Join us for a live introductory webinar every Thurs:<br>&gt;                http://www.asterisk.org/hello<br>&gt; <br>&gt; asterisk-users mailing list<br>&gt; To UNSUBSCRIBE or update options visit:<br>&gt;    http://lists.digium.com/mailman/listinfo/asterisk-users<br></div></div>                                               </div></body>
</html>