提交 2aac00ef authored 作者: Mathieu Parent's avatar Mathieu Parent

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

Thanks to Sergio
上级 f34b76c5
...@@ -759,6 +759,8 @@ int channel_on_hangup_callback(void *pArg, int argc, char **argv, char **columnN ...@@ -759,6 +759,8 @@ int channel_on_hangup_callback(void *pArg, int argc, char **argv, char **columnN
if(listener) { if(listener) {
if((call_state == SKINNY_PROCEED) || (call_state == SKINNY_CONNECTED)) { /* calling parties */ if((call_state == SKINNY_PROCEED) || (call_state == SKINNY_CONNECTED)) { /* calling parties */
send_stop_tone(listener, line_instance, call_id); 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); send_set_lamp(listener, SKINNY_BUTTON_LINE, line_instance, SKINNY_LAMP_OFF);
switch (helper->cause) { switch (helper->cause) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论