From 1b55a67083887b25d34bb89a1a23043ce93d0a45 Mon Sep 17 00:00:00 2001 From: Nathan Neulinger Date: Fri, 21 Jun 2013 14:48:49 -0500 Subject: [PATCH] FS-5532 - workaround to improve behavior, but not correct fix --- src/mod/endpoints/mod_skinny/mod_skinny.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_skinny/mod_skinny.c b/src/mod/endpoints/mod_skinny/mod_skinny.c index defbf915f9..d37c728cb9 100644 --- a/src/mod/endpoints/mod_skinny/mod_skinny.c +++ b/src/mod/endpoints/mod_skinny/mod_skinny.c @@ -802,7 +802,10 @@ int channel_on_hangup_callback(void *pArg, int argc, char **argv, char **columnN send_select_soft_keys(listener, line_instance, call_id, SKINNY_KEY_SET_ON_HOOK, 0xffff); send_define_current_time_date(listener); if((call_state == SKINNY_PROCEED) || (call_state == SKINNY_RING_OUT) || (call_state == SKINNY_CONNECTED)) { /* calling parties */ - send_set_speaker_mode(listener, SKINNY_SPEAKER_OFF); + // This is NOT correct, but results in slightly better behavior than before + // leaving note here to revisit. + + //send_set_speaker_mode(listener, SKINNY_SPEAKER_OFF); } send_set_ringer(listener, SKINNY_RING_OFF, SKINNY_RING_FOREVER, 0, call_id); }