[OpenSER-Users] How do I re-write from_uri

Norman Brandinger norm at goes.com
Sat Aug 18 14:32:03 CEST 2007



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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20070818/c114df73/attachment.htm 


More information about the Users mailing list