<p>So what I first sent will analyze the from header.  Problem 1 solved for you.  Next you will want to look at opensips documentation and then click on the version of opensips you are using and then click in the transformation or manipulation functions link to figure out how to manipulate the To: RURI.</p>

<p>What you want to do is possible.</p>
<div class="gmail_quote">On Nov 28, 2011 5:41 PM, &quot;spady&quot; &lt;<a href="mailto:spady77@gmail.com">spady77@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Osiris, thanks for reply.<br>
I need to modify TO field because this Fax Server has to be used by several<br>
companies. Each company should use own lines. This Fax server cannot do that<br>
for example by setting a profile and assign to that profile a specific<br>
outbound lines.. So, what i should do, is pass to PBX a prefix ( es: 87019 )<br>
that is specific for a outbound line. ( &quot;0&quot; is a common prefix for all... so<br>
I cannot pass it to PBX. In this case will be used always same lines. Hope<br>
it&#39;s more clear now ).<br>
<br>
Btw  what [hidden mail] stand for?<br>
So done this, I will have a new INVITE with TO modified, right?<br>
Mmmm I realized right now that the real SIP trace will not be like posted.<br>
What I posted is taken without OPENSIPS. In my scenario, into TO filed there<br>
will be,for istance,<br>
To: <a href="http://sip:00522375568@10.9.6.3:5060" target="_blank">sip:00522375568@10.9.6.3:5060</a> but &quot; 10.9.6.3&quot; is OpenSIPS server, and<br>
not PBX.<br>
Can I also change it with PBX&#39;s IP???? because at the end the fax call has<br>
to be processed by PBX ( T38 stream ).<br>
<br>
Best regards<br>
<br>
--<br>
View this message in context: <a href="http://opensips-open-sip-server.1449251.n2.nabble.com/Modify-To-s-field-and-forward-tp7040781p7040886.html" target="_blank">http://opensips-open-sip-server.1449251.n2.nabble.com/Modify-To-s-field-and-forward-tp7040781p7040886.html</a><br>

Sent from the OpenSIPS - Users mailing list archive at Nabble.com.<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>
</blockquote></div>