[OpenSIPS-Users] Replacing From Number
Alain Bieuzent
alain.bieuzent at free.fr
Tue Mar 8 14:37:41 UTC 2022
Hi Alex,
This the day of rewriting from ….
Try with uac_replace_from([display],uri)
Regards
De : Users <users-bounces at lists.opensips.org> au nom de Alexander Perkins <alexanderhenryperkins at gmail.com>
Répondre à : OpenSIPS users mailling list <users at lists.opensips.org>
Date : mardi 8 mars 2022 à 15:30
À : OpenSIPS users mailling list <users at lists.opensips.org>
Objet : [OpenSIPS-Users] Replacing From Number
Hi All. I am trying to replace the From Number to match that of our main office line, but I do not seem to be having luck with it. Here's what I am doing:
This is from the PCAP - From: 121255551212 <sip: 121255551212 at X.X.X.X>;tag=85698821
This is the part of my script I am using to try to replace it:
replace_body_all('$fU','19905551212');
However, the From Number is never replaced. What should I do?
Thank you,
Alex
_______________________________________________ Users mailing list Users at lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20220308/4841a829/attachment.html>
More information about the Users
mailing list