Skinny: MODSKINNY-14 The Cisco 7910 phone is no tone when I try to make a call and hang up.

Thanks to Sergio
This commit is contained in:
Mathieu Parent 2010-08-24 22:38:57 +02:00
parent f34b76c5e6
commit 2aac00ef81
1 changed files with 2 additions and 0 deletions

View File

@ -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) {