<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>In that case, you’re going to have to talk to your provider.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>They SHOULD be able to easily send the DID with the call…<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>-Dave<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <b>On Behalf Of </b>John
Taylor<br>
<b>Sent:</b> Tuesday, December 15, 2009 5:17 AM<br>
<b>To:</b> Asterisk Users Mailing List - Non-Commercial Discussion<br>
<b>Subject:</b> Re: [asterisk-users] multiple sip trunks<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal style='margin-bottom:12.0pt'>I thought so- the fact the
server has 20 different registry entries to 20 different account all at the
same ITSP shouldn't matter?<br>
<br>
Can't see any DDI info in the SIP headers unfortunately :(<br>
<br>
John<o:p></o:p></p>
<div>
<p class=MsoNormal>2009/12/14 meetmecall <<a href="mailto:info@meetmecall.nl">info@meetmecall.nl</a>><o:p></o:p></p>
<p class=MsoNormal>The easiest solution to deal with this is to have one
context with<br>
different extensions for the different numbers and route the incoming<br>
calls from there. It should look something like this (not a tested<br>
piece of asterisk script, just an example to give the idea).<br>
<br>
Hope it helps :-)<br>
<br>
<br>
Erik de Wild<br>
<br>
[all_trunks]<br>
<br>
exten => 31592123456,1,Goto(trunk1,s,1)<br>
exten => 31592123457,1,Goto(trunk1,s,1)<br>
exten => 31592123458,1,Goto(trunk1,s,1)<br>
<br>
exten => 31592123333,1,Goto(trunk2,s,1)<br>
exten => 31592123334,1,Goto(trunk2,s,1)<br>
exten => 31592123335,1,Goto(trunk2,s,1)<o:p></o:p></p>
<div>
<div>
<p class=MsoNormal><br>
<br>
<br>
On 14 dec 2009, at 10:39, Olle E. Johansson wrote:<br>
<br>
><br>
> 11 dec 2009 kl. 23.21 skrev John Taylor:<br>
><br>
>> I have multiple trunks to the same ITSP. Incoming calls to any trunk<br>
>> go to the last "incoming" label defined in those trunks'
contexts in<br>
>> sip.conf.<br>
>><br>
>> My ITSP insists on insecure=very in the trunk context; is this the<br>
>> cause?<br>
>><br>
> This is an effect of the Asterisk architecture. We've had many<br>
> discussions on how to change it, but right now the peer matching on<br>
> IP/Port can't separate various instances from each other, since they<br>
> all have the same IP/port. Asterisk simply goes for the first match,<br>
> which happens to be the last entry with the IP/port in the sip.conf<br>
> file.<br>
><br>
> /Olle<br>
> _______________________________________________<br>
> -- Bandwidth and Colocation Provided by <a
href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a>
--<br>
><br>
> asterisk-users mailing list<br>
> To UNSUBSCRIBE or update options visit:<br>
> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users"
target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
<br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com"
target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users"
target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><o:p></o:p></p>
</div>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>