mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-10 01:03:20 +00:00
supress error message
This commit is contained in:
parent
015bcaf671
commit
c98b863181
@ -2818,6 +2818,7 @@ static switch_call_cause_t user_outgoing_channel(switch_core_session_t *session,
|
|||||||
myflags |= SOF_NOBLOCK;
|
myflags |= SOF_NOBLOCK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
switch_snprintf(stupid, sizeof(stupid), "user/%s", user);
|
switch_snprintf(stupid, sizeof(stupid), "user/%s", user);
|
||||||
if (switch_stristr(stupid, d_dest)) {
|
if (switch_stristr(stupid, d_dest)) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_WARNING, "Waddya Daft? You almost called '%s' in an infinate loop!\n",
|
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_WARNING, "Waddya Daft? You almost called '%s' in an infinate loop!\n",
|
||||||
@ -2829,6 +2830,11 @@ static switch_call_cause_t user_outgoing_channel(switch_core_session_t *session,
|
|||||||
const char *context;
|
const char *context;
|
||||||
switch_caller_profile_t *cp;
|
switch_caller_profile_t *cp;
|
||||||
|
|
||||||
|
if (var_event) {
|
||||||
|
switch_event_del_header(var_event, "origination_uuid");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
new_channel = switch_core_session_get_channel(*new_session);
|
new_channel = switch_core_session_get_channel(*new_session);
|
||||||
|
|
||||||
if ((context = switch_channel_get_variable(new_channel, "user_context"))) {
|
if ((context = switch_channel_get_variable(new_channel, "user_context"))) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user