[OpenSIPS-Users] Replacing From Number

Johan De Clercq Johan at democon.be
Tue Mar 8 14:39:50 UTC 2022


;-)

On Tue, Mar 8, 2022, 15:39 Alain Bieuzent <alain.bieuzent at free.fr> wrote:

> 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
> _______________________________________________
> 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/905b1b7d/attachment.html>


More information about the Users mailing list