mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 13:12:03 +00:00
FS-11025 [mod_sofia] use ports for acl check
* optionally use port for acl check * optionally lookup acl token from header * optionally processed auth only by acl
This commit is contained in:
@@ -310,6 +310,8 @@ typedef enum {
|
||||
PFLAG_AUTO_INVITE_100,
|
||||
PFLAG_UPDATE_REFRESHER,
|
||||
PFLAG_AUTH_REQUIRE_USER,
|
||||
PFLAG_AUTH_CALLS_ACL_ONLY,
|
||||
PFLAG_USE_PORT_FOR_ACL_CHECK,
|
||||
|
||||
/* No new flags below this line */
|
||||
PFLAG_MAX
|
||||
@@ -787,6 +789,8 @@ struct sofia_profile {
|
||||
int bind_attempt_interval;
|
||||
char *proxy_notify_events;
|
||||
char *proxy_info_content_types;
|
||||
char *acl_inbound_x_token_header;
|
||||
char *acl_proxy_x_token_header;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user