Hi, <div><br></div><div>One of the best ways to solve it is to include the DID in an extra header. We usually include something such as X-DID: did_number. Then in the Asterisk/Freeswitch PBX server you can recover this DID reading this header and routing internally. Many ITSPs implement in this way. Thus, you can have a single registration but multiple DIDs. </div>
<div> <br clear="all"><div>Flavio E. Goncalves</div><div><br></div><div> </div><br>
<br><br><div class="gmail_quote">2012/10/17 Kevin Sandy <span dir="ltr"><<a href="mailto:kevin@digitallotus.com" target="_blank">kevin@digitallotus.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Then the other providers are doing something similar to the prior suggestion - replacing $rU with $tU before relaying.<br>
<br>
One registration = one contact URI. So, multiple registrations, rewrite the user, or ditch the registrations and route to them by IP or host name.<br>
<div class="im HOEnZb"><br>
<br>
--<br>
kevin sandy, dcap, mcp<br>
<br>
</div><div class="HOEnZb"><div class="h5">On Oct 17, 2012, at 6:49 AM, Mike O'Connor <<a href="mailto:mike@oeg.com.au">mike@oeg.com.au</a>> wrote:<br>
<br>
> Hi Kevin<br>
><br>
> Surely there is a better solution than this, because all the Asterisk<br>
> systems I've seen have inbound routing without a registration for each DID.<br>
><br>
> The supplier of the commercially support Asterisk would need to make<br>
> changes which they are this point are not prepared to support, when<br>
> every other ITSP they have connected to in the USA and Europe, has<br>
> supported the one registration and more than one DID.<br>
><br>
> So I really need to understand what the standard should be and how my<br>
> config is incorrect.<br>
><br>
> Cheers<br>
> Mike<br>
><br>
> On 17/10/12 8:54 PM, Kevin Sandy wrote:<br>
>> We resolved a similar issue by having Asterisk register once for each DID. Alternatively, you could modify their dial plan to take the To header into account, but I'd go the multiple registrations route if possible.<br>
>><br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>