[Freeswitch-users] How to copy from header

Adiseshu Channasamudhram csadi at hotmail.com
Wed Feb 23 16:14:42 UTC 2022


Thank you very mush - this helped

Sent from my iPhone

On Feb 23, 2022, at 10:13 AM, Carlos Eduardo <kaduww at gmail.com> wrote:


you can try copying the from header received

export sip_from_uri=${sip_from_uri}

Em qua., 23 de fev. de 2022 às 07:20, Dragos Oancea <dragos at freeswitch.org<mailto:dragos at freeswitch.org>> escreveu:
maybe reading chan var "sip_full_from"  and putting its contents in a special sip "X-"  header.

On Tue, Feb 22, 2022 at 6:34 PM Adiseshu Channasamudhram <csadi at hotmail.com<mailto:csadi at hotmail.com>> wrote:
Hello Team

As I have not got any response, trying this a different way

How can I pass aniii to outgoing from header?

Regards

Adi

Sent from my iPhone

On Feb 18, 2022, at 7:23 AM, Adiseshu Channasamudhram <csadi at hotmail.com<mailto:csadi at hotmail.com>> wrote:

 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<mailto: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<mailto:sip%3A%2B11234567788 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
_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales at freeswitch.com<mailto:sales at freeswitch.com>
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales at freeswitch.com<mailto:sales at freeswitch.com>
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com


--
Carlos E. Wagner
Tecnólogo em Telecomunicações, Opensips Certified Professional

Fone: +55 48 99981-0894
E-mail: kaduww at gmail.com<mailto:kaduww at gmail.com>
LinkedIn: https://www.linkedin.com/in/carlos-eduardo-wagner-96bbb433/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20220223/dcdd3837/attachment-0001.html>


More information about the FreeSWITCH-users mailing list