[Kamailio-Users] using "substr()" function from TEXTOPS in "onreply_route" block
Alex R.S.M
alex_rsm at hotmail.com
Wed Nov 26 20:27:44 CET 2008
Hi,
I was wondering if anyone has used "substr()" function from TEXTOPS in "onreply_route" block. This function works fine in "route" and "branch_route" blocks. However, it creates duplicate fields (instead of substituting) when being used in "onreply_route" blocks.
I need to modify FROM field in "onreply_route" block. As far as I know, "uac_replace_from()" function works only in request_route block, so my only option is to use "substr()".
Thanks,
Alex R
_________________________________________________________________
Proud to be a PC? Show the world. Download the “I’m a PC” Messenger themepack now.
hthttp://clk.atdmt.com/MRT/go/119642558/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20081126/2fcceb4d/attachment.htm
More information about the Users
mailing list