Hi Thomas, I could make it as you suggested. Thank you very much for your response.
Adelson. On Sun, Apr 18, 2010 at 2:09 PM, Thomas Gelf <[email protected]> wrote: > Just add another AVP, for example $avp(s:new_user). Set it to > $var(pre_to_user) in your pre-routing code, to $var(post_to_user) > in your post-routing code - change it as many times as you want. > > An then, at the end of your branch_route, call uac_replace_to with the > new_user value (if such value is set) - that's all. > > Cheers, > Thomas > > Adelson O. Junior wrote: >> We are implementing a solution using opensips which I have to replace >> the To header in a "Pre_routing" scenario and, depending of the >> routing, I have to replace the To header again, "Post routing" >> scenario. > > -- > mail: [email protected] > web: http://thomas.gelf.net/ > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -- Adelson _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
