Hello all,
I'm currently working on a proxy where I need to change To and From headers
in order to normalize the numbers to +E164.
I would like to be able to restore using and $avp() or $dlg_var() and
without writing parameters on the Record-Route headers.
I've tried to use restore_mode in auto mode and restore_dlg parameter with
value 1 but still got the parameters on the inserted Record-Route.
I've tried manual mode and using the configured $avp() to restore, but the
parameters still got written on the Request-URI.
I thought of using restore_mode with value "none" saving original values in
an $avvp() and doing the replace, however, uac_replace() on Request Route
or branch routes. That way i can't replace the values of To and From in the
replies.
That being said, my questions are :
- Is there a way to use manual or auto mode without writing info on the
Record-Route and only using $avp() ?
- Is there a way to make changes on the To and From header on replies?
Thanks in advance,
Best Regards,
Duarte Rocha
Show replies by date