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