You can do anything before you call t_relay(). Some one can correct me if i am wrong. We use this for our calling card application where we need to send call to different context if they are calling from specific location. 
<br>Other thing you can do is add an entry in the LCR table and change the URI that way it will pick the right gateway in the first place. <br><br><br>Jai<br><a href="http://www.bingotelecom.com">http://www.bingotelecom.com
</a><br><br><br><br><br><div><span class="gmail_quote">On 8/22/07, <b class="gmail_sendername">Nhadie</b> &lt;<a href="mailto:nhadie@tbgi.net.ph">nhadie@tbgi.net.ph</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi All,<br><br>is it possible to add prefix after load_gw similar to prefix before<br>rewritehostport? my provider requires it to identify that calls came<br>from me.<br>TIA<br><br>Regards,<br>Nhadie<br><br>_______________________________________________
<br>Serusers mailing list<br><a href="mailto:Serusers@lists.iptel.org">Serusers@lists.iptel.org</a><br><a href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a><br></blockquote>
</div><br>