mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-15 07:44:13 +00:00
Allow access to headers from INVITE
This adds a sip profile parameter parse-all-invite-headers that when set parses all headers from an INVITE into channel variables. The headers are converted to lowercase, underscores are replaced with dashes, and the result is prefixed with sip_i_. Headers than exist more than once are set as arrays. FS-6075 --resolve Thanks-to: Peter Olsson <peter@olssononline.se>
This commit is contained in:
1 parent
eab969815a
commit
19dbd07ff8
2 files changed
+200
No files matched your search
@@ -271,6 +271,7 @@ typedef enum {
|
||||
PFLAG_TCP_PINGPONG,
|
||||
PFLAG_TCP_PING2PONG,
|
||||
PFLAG_MESSAGES_RESPOND_200_OK,
|
||||
PFLAG_PARSE_ALL_INVITE_HEADERS,
|
||||
/* No new flags below this line */
|
||||
PFLAG_MAX
|
||||
} PFLAGS;
|
||||
|
||||
Reference in new issue
Block a user