]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Skinny: MODSKINNY-14 The Cisco 7910 phone is no tone when I try to make a call and...
authorMathieu Parent <math.parent@gmail.com>
Tue, 24 Aug 2010 20:38:57 +0000 (22:38 +0200)
committerMathieu Parent <math.parent@gmail.com>
Tue, 24 Aug 2010 20:38:57 +0000 (22:38 +0200)
Thanks to Sergio

src/mod/endpoints/mod_skinny/mod_skinny.c

index d231d822d4765be4a39b91702b814f6214ccfdb6..0c955884f1455d2658ee7ee3e3741f3cd3ac4a1c 100644 (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) {