Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] Passing custom sip headers using re-invite


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





PostPosted: Tue Oct 12, 2021 5:48 am    Post subject: [Freeswitch-users] Passing custom sip headers using re-invit Reply with quote

HiI need to pass some custom sip headers between 2 fs boxes after the call is established. To do this I'm using "uuid_setvar sip_h_X-myvar=value" on the channel and calling    uuid_media_reneg to create a re-invite, fs is sending out the re-invite with new custom headers but the other fs box is not adding these new custom sip headers to the channel. How can I make fs  to set new custom headers on the receiving side of the re-invite?
fs1 ----invite---> fs2
.... call is established
fs1 <---re-invite--- fs2 (re-invite with new custom sip X headers)

fs1 ... not adding new headers to channel


thanks
Back to top
dragos at freeswitch.org
Guest





PostPosted: Tue Oct 12, 2021 6:09 am    Post subject: [Freeswitch-users] Passing custom sip headers using re-invit Reply with quote

The custom header name, is it prefixed with "X-" ? 

On Tue, Oct 12, 2021 at 1:11 PM Babak Yakhchali <babak.yakhchali@gmail.com (babak.yakhchali@gmail.com)> wrote:

Quote:
HiI need to pass some custom sip headers between 2 fs boxes after the call is established. To do this I'm using "uuid_setvar sip_h_X-myvar=value" on the channel and calling    uuid_media_reneg to create a re-invite, fs is sending out the re-invite with new custom headers but the other fs box is not adding these new custom sip headers to the channel. How can I make fs  to set new custom headers on the receiving side of the re-invite?
fs1 ----invite---> fs2
.... call is established
fs1 <---re-invite--- fs2 (re-invite with new custom sip X headers)

fs1 ... not adding new headers to channel


thanks

_________________________________________________________________________

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
babak.yakhchali at gma...
Guest





PostPosted: Tue Oct 12, 2021 8:15 am    Post subject: [Freeswitch-users] Passing custom sip headers using re-invit Reply with quote

yes

On Tue, Oct 12, 2021 at 2:48 PM Dragos Oancea <dragos@freeswitch.org (dragos@freeswitch.org)> wrote:

Quote:
The custom header name, is it prefixed with "X-" ? 

On Tue, Oct 12, 2021 at 1:11 PM Babak Yakhchali <babak.yakhchali@gmail.com (babak.yakhchali@gmail.com)> wrote:

Quote:
HiI need to pass some custom sip headers between 2 fs boxes after the call is established. To do this I'm using "uuid_setvar sip_h_X-myvar=value" on the channel and calling    uuid_media_reneg to create a re-invite, fs is sending out the re-invite with new custom headers but the other fs box is not adding these new custom sip headers to the channel. How can I make fs  to set new custom headers on the receiving side of the re-invite?
fs1 ----invite---> fs2
.... call is established
fs1 <---re-invite--- fs2 (re-invite with new custom sip X headers)

fs1 ... not adding new headers to channel


thanks

_________________________________________________________________________

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
Back to top
david.villasmil.work a...
Guest





PostPosted: Tue Oct 12, 2021 9:08 am    Post subject: [Freeswitch-users] Passing custom sip headers using re-invit Reply with quote

How are you trying to use the header on the other side?



On Tue, 12 Oct 2021 at 14:07, Babak Yakhchali <babak.yakhchali@gmail.com (babak.yakhchali@gmail.com)> wrote:

Quote:
yes

On Tue, Oct 12, 2021 at 2:48 PM Dragos Oancea <dragos@freeswitch.org (dragos@freeswitch.org)> wrote:

Quote:
The custom header name, is it prefixed with "X-" ? 

On Tue, Oct 12, 2021 at 1:11 PM Babak Yakhchali <babak.yakhchali@gmail.com (babak.yakhchali@gmail.com)> wrote:

Quote:
HiI need to pass some custom sip headers between 2 fs boxes after the call is established. To do this I'm using "uuid_setvar sip_h_X-myvar=value" on the channel and calling    uuid_media_reneg to create a re-invite, fs is sending out the re-invite with new custom headers but the other fs box is not adding these new custom sip headers to the channel. How can I make fs  to set new custom headers on the receiving side of the re-invite?
fs1 ----invite---> fs2
.... call is established
fs1 <---re-invite--- fs2 (re-invite with new custom sip X headers)

fs1 ... not adding new headers to channel


thanks

_________________________________________________________________________

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

_________________________________________________________________________

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


--
Regards,


David Villasmilemail: david.villasmil.work@gmail.com (david.villasmil.work@gmail.com)
phone: +34669448337
Back to top
babak.yakhchali at gma...
Guest





PostPosted: Tue Oct 12, 2021 11:53 am    Post subject: [Freeswitch-users] Passing custom sip headers using re-invit Reply with quote

I have a lua script as an event hook on sofia::reinvite, I want to get the variable in the handler and do some logic on it.

On Tue, Oct 12, 2021 at 5:40 PM David Villasmil <david.villasmil.work@gmail.com (david.villasmil.work@gmail.com)> wrote:

Quote:


How are you trying to use the header on the other side?



On Tue, 12 Oct 2021 at 14:07, Babak Yakhchali <babak.yakhchali@gmail.com (babak.yakhchali@gmail.com)> wrote:

Quote:
yes

On Tue, Oct 12, 2021 at 2:48 PM Dragos Oancea <dragos@freeswitch.org (dragos@freeswitch.org)> wrote:

Quote:
The custom header name, is it prefixed with "X-" ? 

On Tue, Oct 12, 2021 at 1:11 PM Babak Yakhchali <babak.yakhchali@gmail.com (babak.yakhchali@gmail.com)> wrote:

Quote:
HiI need to pass some custom sip headers between 2 fs boxes after the call is established. To do this I'm using "uuid_setvar sip_h_X-myvar=value" on the channel and calling    uuid_media_reneg to create a re-invite, fs is sending out the re-invite with new custom headers but the other fs box is not adding these new custom sip headers to the channel. How can I make fs  to set new custom headers on the receiving side of the re-invite?
fs1 ----invite---> fs2
.... call is established
fs1 <---re-invite--- fs2 (re-invite with new custom sip X headers)

fs1 ... not adding new headers to channel


thanks

_________________________________________________________________________

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

_________________________________________________________________________

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


--
Regards,


David Villasmilemail: david.villasmil.work@gmail.com (david.villasmil.work@gmail.com)
phone: +34669448337


_________________________________________________________________________

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
david.villasmil.work a...
Guest





PostPosted: Tue Oct 12, 2021 5:40 pm    Post subject: [Freeswitch-users] Passing custom sip headers using re-invit Reply with quote

again, exactly how are you trying to read the header?Regards,


David Villasmilemail: david.villasmil.work@gmail.com (david.villasmil.work@gmail.com)
phone: +34669448337







On Tue, Oct 12, 2021 at 5:45 PM Babak Yakhchali <babak.yakhchali@gmail.com (babak.yakhchali@gmail.com)> wrote:

Quote:
I have a lua script as an event hook on sofia::reinvite, I want to get the variable in the handler and do some logic on it.

On Tue, Oct 12, 2021 at 5:40 PM David Villasmil <david.villasmil.work@gmail.com (david.villasmil.work@gmail.com)> wrote:

Quote:


How are you trying to use the header on the other side?



On Tue, 12 Oct 2021 at 14:07, Babak Yakhchali <babak.yakhchali@gmail.com (babak.yakhchali@gmail.com)> wrote:

Quote:
yes

On Tue, Oct 12, 2021 at 2:48 PM Dragos Oancea <dragos@freeswitch.org (dragos@freeswitch.org)> wrote:

Quote:
The custom header name, is it prefixed with "X-" ? 

On Tue, Oct 12, 2021 at 1:11 PM Babak Yakhchali <babak.yakhchali@gmail.com (babak.yakhchali@gmail.com)> wrote:

Quote:
HiI need to pass some custom sip headers between 2 fs boxes after the call is established. To do this I'm using "uuid_setvar sip_h_X-myvar=value" on the channel and calling    uuid_media_reneg to create a re-invite, fs is sending out the re-invite with new custom headers but the other fs box is not adding these new custom sip headers to the channel. How can I make fs  to set new custom headers on the receiving side of the re-invite?
fs1 ----invite---> fs2
.... call is established
fs1 <---re-invite--- fs2 (re-invite with new custom sip X headers)

fs1 ... not adding new headers to channel


thanks

_________________________________________________________________________

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

_________________________________________________________________________

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


--
Regards,


David Villasmilemail: david.villasmil.work@gmail.com (david.villasmil.work@gmail.com)
phone: +34669448337


_________________________________________________________________________

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
Back to top
babak.yakhchali at gma...
Guest





PostPosted: Wed Oct 13, 2021 7:43 am    Post subject: [Freeswitch-users] Passing custom sip headers using re-invit Reply with quote

Hi again
sorry for the delay.I need to forward client ip address to an upstream server,but the problem is client ip address is determined after the call is  answered , for example when client is a call center agent, in this case I need to somehow pass the header mid call after an agent  answers the call.thanks


On Wed, Oct 13, 2021 at 2:13 AM David Villasmil <david.villasmil.work@gmail.com (david.villasmil.work@gmail.com)> wrote:

Quote:
again, exactly how are you trying to read the header?Regards,


David Villasmilemail: david.villasmil.work@gmail.com (david.villasmil.work@gmail.com)
phone: +34669448337







On Tue, Oct 12, 2021 at 5:45 PM Babak Yakhchali <babak.yakhchali@gmail.com (babak.yakhchali@gmail.com)> wrote:

Quote:
I have a lua script as an event hook on sofia::reinvite, I want to get the variable in the handler and do some logic on it.

On Tue, Oct 12, 2021 at 5:40 PM David Villasmil <david.villasmil.work@gmail.com (david.villasmil.work@gmail.com)> wrote:

Quote:


How are you trying to use the header on the other side?



On Tue, 12 Oct 2021 at 14:07, Babak Yakhchali <babak.yakhchali@gmail.com (babak.yakhchali@gmail.com)> wrote:

Quote:
yes

On Tue, Oct 12, 2021 at 2:48 PM Dragos Oancea <dragos@freeswitch.org (dragos@freeswitch.org)> wrote:

Quote:
The custom header name, is it prefixed with "X-" ? 

On Tue, Oct 12, 2021 at 1:11 PM Babak Yakhchali <babak.yakhchali@gmail.com (babak.yakhchali@gmail.com)> wrote:

Quote:
HiI need to pass some custom sip headers between 2 fs boxes after the call is established. To do this I'm using "uuid_setvar sip_h_X-myvar=value" on the channel and calling    uuid_media_reneg to create a re-invite, fs is sending out the re-invite with new custom headers but the other fs box is not adding these new custom sip headers to the channel. How can I make fs  to set new custom headers on the receiving side of the re-invite?
fs1 ----invite---> fs2
.... call is established
fs1 <---re-invite--- fs2 (re-invite with new custom sip X headers)

fs1 ... not adding new headers to channel


thanks

_________________________________________________________________________

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

_________________________________________________________________________

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


--
Regards,


David Villasmilemail: david.villasmil.work@gmail.com (david.villasmil.work@gmail.com)
phone: +34669448337


_________________________________________________________________________

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

_________________________________________________________________________

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
babak.yakhchali at gma...
Guest





PostPosted: Wed Oct 13, 2021 8:06 am    Post subject: [Freeswitch-users] Passing custom sip headers using re-invit Reply with quote

by answer I mean the call is really bridged to an endpoint, not answered by IVR or by calling dialplan answer application.

On Wed, Oct 13, 2021 at 3:51 PM Babak Yakhchali <babak.yakhchali@gmail.com (babak.yakhchali@gmail.com)> wrote:

Quote:
Hi again
sorry for the delay.I need to forward client ip address to an upstream server,but the problem is client ip address is determined after the call is  answered , for example when client is a call center agent, in this case I need to somehow pass the header mid call after an agent  answers the call.thanks


On Wed, Oct 13, 2021 at 2:13 AM David Villasmil <david.villasmil.work@gmail.com (david.villasmil.work@gmail.com)> wrote:

Quote:
again, exactly how are you trying to read the header?Regards,


David Villasmilemail: david.villasmil.work@gmail.com (david.villasmil.work@gmail.com)
phone: +34669448337







On Tue, Oct 12, 2021 at 5:45 PM Babak Yakhchali <babak.yakhchali@gmail.com (babak.yakhchali@gmail.com)> wrote:

Quote:
I have a lua script as an event hook on sofia::reinvite, I want to get the variable in the handler and do some logic on it.

On Tue, Oct 12, 2021 at 5:40 PM David Villasmil <david.villasmil.work@gmail.com (david.villasmil.work@gmail.com)> wrote:

Quote:


How are you trying to use the header on the other side?



On Tue, 12 Oct 2021 at 14:07, Babak Yakhchali <babak.yakhchali@gmail.com (babak.yakhchali@gmail.com)> wrote:

Quote:
yes

On Tue, Oct 12, 2021 at 2:48 PM Dragos Oancea <dragos@freeswitch.org (dragos@freeswitch.org)> wrote:

Quote:
The custom header name, is it prefixed with "X-" ? 

On Tue, Oct 12, 2021 at 1:11 PM Babak Yakhchali <babak.yakhchali@gmail.com (babak.yakhchali@gmail.com)> wrote:

Quote:
HiI need to pass some custom sip headers between 2 fs boxes after the call is established. To do this I'm using "uuid_setvar sip_h_X-myvar=value" on the channel and calling    uuid_media_reneg to create a re-invite, fs is sending out the re-invite with new custom headers but the other fs box is not adding these new custom sip headers to the channel. How can I make fs  to set new custom headers on the receiving side of the re-invite?
fs1 ----invite---> fs2
.... call is established
fs1 <---re-invite--- fs2 (re-invite with new custom sip X headers)

fs1 ... not adding new headers to channel


thanks

_________________________________________________________________________

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

_________________________________________________________________________

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


--
Regards,


David Villasmilemail: david.villasmil.work@gmail.com (david.villasmil.work@gmail.com)
phone: +34669448337


_________________________________________________________________________

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

_________________________________________________________________________

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