diff --git a/src/switch.c b/src/switch.c index 5bd6308f0a..41b0d170c8 100644 --- a/src/switch.c +++ b/src/switch.c @@ -81,7 +81,7 @@ int main(int argc, char *argv[]) SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS); #else int pid; - //nice(-20); + nice(-20); #endif #ifdef HAVE_MLOCKALL diff --git a/src/switch_ivr.c b/src/switch_ivr.c index eead4fc272..f46b524998 100644 --- a/src/switch_ivr.c +++ b/src/switch_ivr.c @@ -1123,6 +1123,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_multi_threaded_bridge(switch_core_ses switch_channel_get_name(caller_channel), switch_channel_get_name(peer_channel) ); + switch_channel_hangup(peer_channel, SWITCH_CAUSE_NO_ANSWER); } return status;