[OpenSIPS-Users] opensips 2.4 - Remove a fieled from the header From
Răzvan Crainea
razvan at opensips.org
Thu Jun 8 08:19:19 UTC 2023
Hi, Amel!
You must use the uac_replace_from() [1] function, replacing the URI with
a new one, that does not contain the field you want.
[1] https://opensips.org/docs/modules/3.3.x/uac.html#func_uac_replace_from
Best regards,
Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com
On 5/22/23 19:19, amel.guesmi at sofrecom.com wrote:
> Hello mates,
>
> I need your help please.
>
> I want to remove a field from the header « From »
>
> I can remove the whole header by loading the *sipmsgops* and the
> function Remove_hd
>
> But i did not find a way how to remove a specefic field in the From.
>
> Could you please help ?
>
> Thank you
>
> Best regards
>
> Amel
>
> _________________________________________________________________________________________________________________________
>
> Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
> Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
>
> This message and its attachments may contain confidential or privileged information that may be protected by law;
> they should not be distributed, used or copied without authorisation.
> If you have received this email in error, please notify the sender and delete this message and its attachments.
> As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
> Thank you.
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
More information about the Users
mailing list