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