Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] How to copy from header


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
csadi at hotmail.com
Guest





PostPosted: Thu Feb 17, 2022 12:24 pm    Post subject: [Freeswitch-users] How to copy from header Reply with quote

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@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@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
Back to top
csadi at hotmail.com
Guest





PostPosted: Fri Feb 18, 2022 7:49 am    Post subject: [Freeswitch-users] How to copy from header Reply with quote

Hello FS experts

Can someone please help me with this?


Thanks


Adi

Sent from my iPhone

Quote:
On Feb 17, 2022, at 12:05 PM, Adiseshu Channasamudhram <csadi@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@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@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

Back to top
csadi at hotmail.com
Guest





PostPosted: Tue Feb 22, 2022 11:51 am    Post subject: [Freeswitch-users] How to copy from header Reply with quote

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

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

 Hello FS experts

Can someone please help me with this?


Thanks


Adi

Sent from my iPhone

Quote:
On Feb 17, 2022, at 12:05 PM, Adiseshu Channasamudhram <csadi@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@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@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



Back to top
dragos at freeswitch.org
Guest





PostPosted: Wed Feb 23, 2022 6:09 am    Post subject: [Freeswitch-users] How to copy from header Reply with quote

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@hotmail.com (csadi@hotmail.com)> wrote:

Quote:
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

Quote:
On Feb 18, 2022, at 7:23 AM, Adiseshu Channasamudhram <csadi@hotmail.com (csadi@hotmail.com)> wrote:

 Hello FS experts

Can someone please help me with this?


Thanks


Adi

Sent from my iPhone

Quote:
On Feb 17, 2022, at 12:05 PM, Adiseshu Channasamudhram <csadi@hotmail.com (csadi@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@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@18.1.8.19 ([email]sip%3A%2B11234567788@18.1.8.19[/email])>;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@freeswitch.com (sales@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@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
Back to top
kaduww at gmail.com
Guest





PostPosted: Wed Feb 23, 2022 10:43 am    Post subject: [Freeswitch-users] How to copy from header Reply with quote

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@freeswitch.org (dragos@freeswitch.org)> escreveu:

Quote:
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@hotmail.com (csadi@hotmail.com)> wrote:

Quote:
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

Quote:
On Feb 18, 2022, at 7:23 AM, Adiseshu Channasamudhram <csadi@hotmail.com (csadi@hotmail.com)> wrote:

 Hello FS experts

Can someone please help me with this?


Thanks


Adi

Sent from my iPhone

Quote:
On Feb 17, 2022, at 12:05 PM, Adiseshu Channasamudhram <csadi@hotmail.com (csadi@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@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@18.1.8.19 ([email]sip%3A%2B11234567788@18.1.8.19[/email])>;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@freeswitch.com (sales@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@lists.freeswitch.org (FreeSWITCH-users@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@freeswitch.com (sales@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@lists.freeswitch.org (FreeSWITCH-users@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

[b]Fone: +55 48 99981-0894
[/b]
E-mail: kaduww@gmail.com (kaduww@gmail.com)

LinkedIn: https://www.linkedin.com/in/carlos-eduardo-wagner-96bbb433/

Back to top
freeswitch-users at li...
Guest





PostPosted: Wed Feb 23, 2022 10:47 am    Post subject: [Freeswitch-users] How to copy from header Reply with quote

------ Start of attached email. Subject: Re: [Freeswitch-users] How to copy from header ------
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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com

------ End of attached email ------
_________________________________________________________________________

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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
Back to top
csadi at hotmail.com
Guest





PostPosted: Wed Feb 23, 2022 11:56 am    Post subject: [Freeswitch-users] How to copy from header Reply with quote

Thank you very mush - this helped

Sent from my iPhone

Quote:
On Feb 23, 2022, at 10:13 AM, Carlos Eduardo <kaduww@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@freeswitch.org (dragos@freeswitch.org)> escreveu:

Quote:
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@hotmail.com (csadi@hotmail.com)> wrote:

Quote:
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

Quote:
On Feb 18, 2022, at 7:23 AM, Adiseshu Channasamudhram <csadi@hotmail.com (csadi@hotmail.com)> wrote:

 Hello FS experts

Can someone please help me with this?


Thanks


Adi

Sent from my iPhone

Quote:
On Feb 17, 2022, at 12:05 PM, Adiseshu Channasamudhram <csadi@hotmail.com (csadi@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@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@18.1.8.19 ([email]sip%3A%2B11234567788@18.1.8.19[/email])>;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@freeswitch.com (sales@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@lists.freeswitch.org (FreeSWITCH-users@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@freeswitch.com (sales@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@lists.freeswitch.org (FreeSWITCH-users@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

[b]Fone: +55 48 99981-0894
[/b]
E-mail: kaduww@gmail.com (kaduww@gmail.com)

LinkedIn: https://www.linkedin.com/in/carlos-eduardo-wagner-96bbb433/












Back to top
botelist at gmail.com
Guest





PostPosted: Wed Feb 23, 2022 12:20 pm    Post subject: [Freeswitch-users] How to copy from header Reply with quote

Perhaps there is an answer on this wiki page:
https://freeswitch.org/confluence/display/FREESWITCH/Sofia+SIP+Stack

John Boteler
Bote Communications



From: Carlos Eduardo
Sent: Wednesday, 23 February, 2022 10:14
Subject: Re: [Freeswitch-users] How to copy from header


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@freeswitch.org (dragos@freeswitch.org)> escreveu:
Quote:

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@hotmail.com (csadi@hotmail.com)> wrote:
Quote:

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



Quote:

On Feb 18, 2022, at 7:23 AM, Adiseshu Channasamudhram <csadi@hotmail.com (csadi@hotmail.com)> wrote:
 Hello FS experts


Can someone please help me with this?



Thanks



Adi
Sent from my iPhone



Quote:

On Feb 17, 2022, at 12:05 PM, Adiseshu Channasamudhram <csadi@hotmail.com (csadi@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" <[url=sip:+11234567788;cpc=ordinary@12.18.10.15:5060;user=phone;isup-oli=0]sip:+11234567788;cpc=ordinary@12.18.10.15:5060;user=phone;isup-oli=0[/url]>;tag=2bf345ee



but the outgoing INVITE has the from header as below



From: "123-456-7788" <sip:+11234567788@18.1.8.19 ([email]sip%3A%2B11234567788@18.1.8.19[/email])>;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@freeswitch.com (sales@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@lists.freeswitch.org (FreeSWITCH-users@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@freeswitch.com (sales@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@lists.freeswitch.org (FreeSWITCH-users@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@gmail.com (kaduww@gmail.com)

LinkedIn: https://www.linkedin.com/in/carlos-eduardo-wagner-96bbb433/
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services