Take a look at the following documentation.&nbsp; Take special note of 'substr'<br /><br /><a
href="http://openser.org/dokuwiki/doku.php/transformations:1.2.x">http://openser.org/dokuwiki/doku.php/transformations:1.2.x</a><br
/><br />Regards,<br />Norm<br /><br /><br />&gt; Hi all, <br />&gt; <br />&gt; I am trying to
re-write the from_uri ($fU) for all calls coming from my <br />&gt; Asterisk server before sending
it to the PSTN. I usually prefix the ANI in <br />&gt; asterisk with &quot;222&quot; to route it
to openser, and then openser simply <br />&gt; forwards the call to the PSTN. The problem is that
222+ANI appears as my <br />&gt; caller id and is unacceptable. Can anyone give me hint to strip
out this <br />&gt; prefix in openser. <br />&gt; <br />&gt; Thanks. <br />&gt; <br />&gt; Tolu
<br />&gt; _______________________________________________ <br />&gt; Users mailing list <br
/>&gt; Users@openser.org <br />&gt; http://openser.org/cgi-bin/mailman/listinfo/users <br />&gt;
<br /><br /><br />Global Online (GOES) <br />271 Main St., Suite C <br />Hackettstown, NJ
07840-2032 <br />(908) 813-0600 x8105