Have you considered using the `uac` module's `uac_replace_from()`?
On Mon, Dec 11, 2017 at 06:36:49PM +0000, Duarte Rocha wrote:
Hey
I'm trying to do some normalization on my Calling Number after Kamailio
chooses the Gateway in which it will deliver the request. So, i'm trying to
do the operation in the DISPATCH route. However, in this route,
msg_apply_changes() doesn't work and returns (-1).
I've tried to do this on a Branch route but Kamailio doesn't allow me to
use msg_apply_changes() there and otherwise changes won't be persistent.
Is there a way to modify $fU at this stage?
Cheers
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Alex Balashov | Principal | Evariste Systems LLC
Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
Web:
http://www.evaristesys.com/,
http://www.csrpswitch.com/