[SR-Users] Change Calling Number

Duarte Rocha duarterocha91 at gmail.com
Mon Dec 11 19:36:49 CET 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20171211/65f8a754/attachment.html>


More information about the sr-users mailing list