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<br><br>
<div class="gmail_quote">2009/12/14 meetmecall <span dir="ltr"><<a href="mailto:info@meetmecall.nl">info@meetmecall.nl</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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)<br>
<div><div></div><div class="h5"><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><br>
</div></div></blockquote></div><br>