VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
babak.yakhchali at gma... Guest
|
Posted: Tue Oct 12, 2021 5:48 am Post subject: [Freeswitch-users] Passing custom sip headers using re-invit |
|
|
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
|
Posted: Tue Oct 12, 2021 6:09 am Post subject: [Freeswitch-users] Passing custom sip headers using re-invit |
|
|
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:
|
|
Back to top |
|
|
babak.yakhchali at gma... Guest
|
Posted: Tue Oct 12, 2021 8:15 am Post subject: [Freeswitch-users] Passing custom sip headers using re-invit |
|
|
yes
On Tue, Oct 12, 2021 at 2:48 PM Dragos Oancea <dragos@freeswitch.org (dragos@freeswitch.org)> wrote:
|
|
Back to top |
|
|
david.villasmil.work a... Guest
|
|
Back to top |
|
|
babak.yakhchali at gma... Guest
|
Posted: Tue Oct 12, 2021 11:53 am Post subject: [Freeswitch-users] Passing custom sip headers using re-invit |
|
|
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:
|
|
Back to top |
|
|
david.villasmil.work a... Guest
|
|
Back to top |
|
|
babak.yakhchali at gma... Guest
|
Posted: Wed Oct 13, 2021 7:43 am Post subject: [Freeswitch-users] Passing custom sip headers using re-invit |
|
|
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:
|
|
Back to top |
|
|
babak.yakhchali at gma... Guest
|
Posted: Wed Oct 13, 2021 8:06 am Post subject: [Freeswitch-users] Passing custom sip headers using re-invit |
|
|
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:
|
|
|
Back to top |
|
|
|
|
|
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
|