Hi all,
I am usingĀ uac_replace_to to replace the TO header on requests. I understand it can only be called once per message and the recommendation is to store the updated value in a pvar and apply it in the branch route.
However in my scenario I wish to first try one endpoint and then if it gets a 4XX response forward it to another UAC, and update the TO accordingly.
Currently trying to callĀ
uac_replace_to twice shows an error and corrupts the TO header. Is there a work around for this?
Thanks again
Matthew