P.S.
I realise that one logical possibility is to store the desired value in a variable, manipulate it as needed throughout the request processing flow, and just call uac_replace_from() once, at the end.
However, the problem in this case is that I am doing multiple branches -- first to a directory service provider that replies with redirects, and then onward to the desired endpoint. These endpoints require different From domain values from me. So, I cannot do that.
-- Alex
On 03/07/2013 06:11 AM, Alex Balashov wrote:
Forgive me if I failed to follow a recent discussion to its conclusion, but what is the bottom line on calling uac_replace_from() consecutively, in the course of processing one request?
Is it possible, while using restore_mode 'auto'? Is there a correct way to do it, such as calling msg_apply_changes() after the first call but not the second one?
If not, what is the alternative?
-- Alex