[Freeswitch-users] How to copy from header

Adiseshu Channasamudhram csadi at hotmail.com
Fri Feb 18 12:23:29 UTC 2022


Hello FS experts

Can someone please help me with this?

Thanks

Adi

Sent from my iPhone

On Feb 17, 2022, at 12:05 PM, Adiseshu Channasamudhram <csadi at hotmail.com> wrote:


Hello Team

I have a requirement to copy from header from the incoming INVITE to the outgoing INVITE

right now, below is the from header from incomign invite

From: "123-456-7788" <sip:+11234567788;cpc=ordinary at 12.18.10.15:5060;user=phone;isup-oli=0>;tag=2bf345ee

but the outgoing INVITE has the from header as below

From: "123-456-7788" <sip:+11234567788 at 18.1.8.19>;tag=yaXFUFjD666ym

How can i copy the cpc and isup-oli from the incoming from header to the outgoing header?

Thanks in advance

Regards

Adi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20220218/7f607e9a/attachment.html>


More information about the FreeSWITCH-users mailing list