[OpenSIPS-Users] Header manipulation

Alain Bieuzent alain.bieuzent at free.fr
Tue Mar 8 10:51:45 UTC 2022


Hi Vinayak,

 

Try with uac_replace_from([display],uri)

 

Ragards

 

De : Users <users-bounces at lists.opensips.org> au nom de Vinayak Makwana <vinayak.makwana at ecosmob.com>
Répondre à : OpenSIPS users mailling list <users at lists.opensips.org>
Date : mardi 8 mars 2022 à 11:43
À : <users at lists.opensips.org>
Objet : [OpenSIPS-Users] Header manipulation

 

Hello All,

I want to replace uri-display in the FROM header using the avp_subst function. So, can anyone suggest a solution ?

Here's My scenario:
Main:->  From:"abc"<sip:username at x.x.x.x;transport=UDP>;tag=6a8eda3f 
After Changes ->  From:"pqrs"<sip:username at x.x.x.x;transport=UDP>;tag=6a8eda3f

Many Thanks
Vinayak Makwana

 

Disclaimer

In addition to generic Disclaimer which you have agreed on our website, any views or opinions presented in this email are solely those of the originator and do not necessarily represent those of the Company or its sister concerns. Any liability (in negligence, contract or otherwise) arising from any third party taking any action, or refraining from taking any action on the basis of any of the information contained in this email is hereby excluded.

 

Confidentiality

This communication (including any attachment/s) is intended only for the use of the addressee(s) and contains information that is PRIVILEGED AND CONFIDENTIAL. Unauthorized reading, dissemination, distribution, or copying of this communication is prohibited. Please inform originator if you have received it in error.

 

Caution for viruses, malware etc.

This communication, including any attachments, may not be free of viruses, trojans, similar or new contaminants/malware, interceptions or interference, and may not be compatible with your systems. You shall carry out virus/malware scanning on your own before opening any attachment to this e-mail. The sender of this e-mail and Company including its sister concerns shall not be liable for any damage that may incur to you as a result of viruses, incompleteness of this message, a delay in receipt of this message or any other computer problems. 

_______________________________________________ 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/75aa149d/attachment.html>


More information about the Users mailing list