mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 12:42:02 +00:00
Rename sofia_glue_get_user_host to switch_split_user_domain
and move to switch_utils. To allow use by other modules.
This commit is contained in:
@@ -1038,7 +1038,7 @@ void event_handler(switch_event_t *event)
|
||||
if ((mwi_account = switch_event_get_header_nil(event, "orig-mwi-account"))) {
|
||||
dup_mwi_account = strdup(mwi_account);
|
||||
switch_assert(dup_mwi_account != NULL);
|
||||
sofia_glue_get_user_host(dup_mwi_account, &mwi_user, &mwi_host);
|
||||
switch_split_user_domain(dup_mwi_account, &mwi_user, &mwi_host);
|
||||
}
|
||||
|
||||
if (!mwi_user) {
|
||||
|
||||
Reference in New Issue
Block a user