<div><font face="verdana,sans-serif">Thanks Bogdan, </font></div>
<p><font face="verdana,sans-serif">But what about the Remote-Party-ID? as this headers help to link SIP identitys to PSTN numbers?</font><br></p>
<div class="gmail_quote">2011/3/1 Bogdan-Andrei Iancu <span dir="ltr">&lt;<a href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>&gt;</span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hi Toyima,<br><br>you have 2 things here:<br>  - domain routing - this is automatically done via DNS based forwarding<br>
  - username routing - not sure why you want to change the dialed username, but if there is not mapping logic for (B-&gt;12345 , C-&gt;47896, etc) you can use aliases or dialplan module for translating these usernames.<br>
<br>Regards,<br>Bogdan<br><br>Toyima Dias wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="im">Hello,<br> I&#39;m having doubts with the following architecture:<br> A---PROXY_A---PROXY_B---B<br></div> A calls B with the R-URI: B@PROXY_B &lt;mailto:<a href="mailto:B@PROXY_B" target="_blank">B@PROXY_B</a>&gt; 
<div class="im"><br> This will reach at PROXY_A; but here i need to make some dinamic changes...<br></div> if the destiny is B@PROXY_B &lt;mailto:<a href="mailto:B@PROXY_B" target="_blank">B@PROXY_B</a>&gt; i must set the R-URI with a number: 12345@PROXY_B &lt;mailto:<a href="mailto:12345@PROXY_B" target="_blank">12345@PROXY_B</a>&gt;<br>
 If the destiny is C@PROXY_B &lt;mailto:<a href="mailto:C@PROXY_B" target="_blank">C@PROXY_B</a>&gt; i must set the R-URI like this: 47896@PROXY_B &lt;mailto:<a href="mailto:47896@PROXY_B" target="_blank">47896@PROXY_B</a>&gt; 
<div class="im"><br> Setting different routes on the script is not the best way, bacause i won&#39;t define routes for every destination at the same domain. Dinamyc routing should help and also avps i guess, am i right? what should i check to accomplish this?<br>
 Using Remote-Party-ID or/and P-Asserted-Identity will also help?<br> Any clarification will be much appreciated!<br><br></div>------------------------------------------------------------------------<br><br>_______________________________________________<br>
Users mailing list<br><a href="mailto:Users@lists.opensips.org" target="_blank">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></blockquote><br><br>-- <br>Bogdan-Andrei Iancu<br>OpenSIPS eBootcamp - 28th February 2011<br>OpenSIPS solutions and &quot;know-how&quot;<br><br><br>_______________________________________________<br>Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">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>
</blockquote></div><br>