[SR-Users] Better place to change the FROM header for every INVITE

Emanuele Gambaro emanuele.gambaro at pynlab.com
Thu Jun 22 16:33:51 CEST 2017


Hi
I need to change the FROM header for every invite and replace the caller username with another data taken from mysql database.
Which is the best place in kamailio routes to do a uac_replace_from ?

It is correct to change the FROM header before the dialog creation, in “RELAY” route, just before the t_relay()?

Thank you
--
Emanuele Gambaro
---
email: emanuele.gambaro at pynlab.com
skype: sarbyn_work
OpenPGP Key: https://goo.gl/fdeVnI

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170622/2ba49658/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170622/2ba49658/attachment.sig>


More information about the sr-users mailing list