From c26480656fa4fc7ebc19dd104d90ea0b3574846d Mon Sep 17 00:00:00 2001 From: Anthony Minessale <anthony.minessale@gmail.com> Date: Fri, 30 Jun 2006 21:45:29 +0000 Subject: [PATCH] minor adj git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1716 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch.c | 2 +- src/switch_ivr.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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;