mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 13:12:03 +00:00
Two ways for forcing SIP username to be the same as the auth username - i.e. locking a user to an extension (MODENDP-68)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7188 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -123,7 +123,8 @@ typedef enum {
|
||||
PFLAG_GREEDY = (1 << 10),
|
||||
PFLAG_MULTIREG = (1 << 11),
|
||||
PFLAG_SUPRESS_CNG = (1 << 12),
|
||||
PFLAG_TLS = (1 << 13)
|
||||
PFLAG_TLS = (1 << 13),
|
||||
PFLAG_CHECKUSER = (1 << 14)
|
||||
} PFLAGS;
|
||||
|
||||
typedef enum {
|
||||
@@ -454,8 +455,8 @@ void sofia_presence_mwi_event_handler(switch_event_t *event);
|
||||
void sofia_presence_cancel(void);
|
||||
switch_status_t config_sofia(int reload, char *profile_name);
|
||||
void sofia_reg_auth_challange(nua_t *nua, sofia_profile_t *profile, nua_handle_t *nh, sofia_regtype_t regtype, const char *realm, int stale);
|
||||
auth_res_t sofia_reg_parse_auth(sofia_profile_t *profile, sip_authorization_t const *authorization,
|
||||
const char *regstr, char *np, size_t nplen, char *ip, switch_event_t **v_event, long exptime);
|
||||
auth_res_t sofia_reg_parse_auth(sofia_profile_t *profile, sip_authorization_t const *authorization, const char *regstr, char *np, size_t nplen,
|
||||
char *ip, switch_event_t **v_event, long exptime, sofia_regtype_t regtype, const char *to_user);
|
||||
void sofia_reg_handle_sip_r_challenge(int status,
|
||||
char const *phrase,
|
||||
nua_t *nua, sofia_profile_t *profile,
|
||||
|
||||
Reference in New Issue
Block a user