From: Mathieu Parent Date: Tue, 24 Aug 2010 20:38:57 +0000 (+0200) Subject: Skinny: MODSKINNY-14 The Cisco 7910 phone is no tone when I try to make a call and... X-Git-Tag: v1.2-rc1~467 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2aac00ef819361d25b4c3cbc21cd257c88db8f53;p=thirdparty%2Ffreeswitch.git Skinny: MODSKINNY-14 The Cisco 7910 phone is no tone when I try to make a call and hang up. Thanks to Sergio --- diff --git a/src/mod/endpoints/mod_skinny/mod_skinny.c b/src/mod/endpoints/mod_skinny/mod_skinny.c index d231d822d4..0c955884f1 100644 --- a/src/mod/endpoints/mod_skinny/mod_skinny.c +++ b/src/mod/endpoints/mod_skinny/mod_skinny.c @@ -759,6 +759,8 @@ int channel_on_hangup_callback(void *pArg, int argc, char **argv, char **columnN if(listener) { if((call_state == SKINNY_PROCEED) || (call_state == SKINNY_CONNECTED)) { /* calling parties */ send_stop_tone(listener, line_instance, call_id); + send_set_lamp(listener, SKINNY_BUTTON_LINE, line_instance, SKINNY_LAMP_OFF); + send_clear_prompt_status(listener, line_instance, call_id); } send_set_lamp(listener, SKINNY_BUTTON_LINE, line_instance, SKINNY_LAMP_OFF); switch (helper->cause) {