[Freeswitch-users] How to copy from header

kaiduan xie kaiduanx at yahoo.ca
Wed Feb 23 15:08:19 UTC 2022


 Adiseshu,
If you want to copy the cpc and isup-oli part from the incoming From header to outgoing From header, you have to change source code.
Regards,
/Kaiduan
    On Wednesday, February 23, 2022, 05:21:06 a.m. EST, Dragos Oancea <dragos at freeswitch.org> wrote:  
 
 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> 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> 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> 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

_________________________________________________________________________

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
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
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
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
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20220223/8c5ddb6b/attachment.html>


More information about the FreeSWITCH-users mailing list