View previous topic :: View next topic |
Author |
Message |
alexanderhenryperkins ... Guest
|
Posted: Wed Mar 30, 2022 3:33 pm Post subject: [Freeswitch-users] Get a Header in Lua |
|
|
Hi All. I am trying to get one of the SIP headers in a Lua script. The header I am trying to get is X-AWSCONNECT-ID. I've tried to use session:getVariable("sip_X-AWSCONNECT-ID"), but no luck. What is the recommended approach to get this?
Thanks,
Alex |
|
Back to top |
|
|
ahrongreenberg at gmai... Guest
|
Posted: Wed Mar 30, 2022 9:01 pm Post subject: [Freeswitch-users] Get a Header in Lua |
|
|
Correct syntax is session:getVariable("sip_h_X-AWSCONNECT-ID")
Sent from Mail for Windows
From: Alexander Perkins (alexanderhenryperkins@gmail.com)
Sent: March 30, 2022 4:48 PM
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: [Freeswitch-users] Get a Header in Lua
Hi All. I am trying to get one of the SIP headers in a Lua script. The header I am trying to get is X-AWSCONNECT-ID. I've tried to use session:getVariable("sip_X-AWSCONNECT-ID"), but no luck. What is the recommended approach to get this?
Thanks,
Alex |
|
Back to top |
|
|
dujinfang at gmail.com Guest
|
|
Back to top |
|
|
|