mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 00:22:35 +00:00
FS-6093 --resolve
This commit is contained in:
parent
35b0692c5a
commit
3eb645a336
@ -4967,17 +4967,17 @@ static void general_event_handler(switch_event_t *event)
|
|||||||
sofia_profile_t *profile;
|
sofia_profile_t *profile;
|
||||||
nua_handle_t *nh;
|
nua_handle_t *nh;
|
||||||
|
|
||||||
if (!profile_name || !(profile = sofia_glue_find_profile(profile_name))) {
|
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Can't find profile %s\n", profile_name);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (ct && user && host) {
|
if (ct && user && host) {
|
||||||
char *id = NULL;
|
char *id = NULL;
|
||||||
char *contact, *p;
|
char *contact, *p;
|
||||||
switch_console_callback_match_t *list = NULL;
|
switch_console_callback_match_t *list = NULL;
|
||||||
switch_console_callback_match_node_t *m;
|
switch_console_callback_match_node_t *m;
|
||||||
|
|
||||||
|
if (!profile_name || !(profile = sofia_glue_find_profile(profile_name))) {
|
||||||
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Can't find profile %s\n", profile_name);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (!(list = sofia_reg_find_reg_url_multi(profile, user, host))) {
|
if (!(list = sofia_reg_find_reg_url_multi(profile, user, host))) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Can't find registered user %s@%s\n", user, host);
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Can't find registered user %s@%s\n", user, host);
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user