]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
skypopen: sk list the DEAD state
authorGiovanni Maruzzelli <gmaruzz@gmail.com>
Thu, 28 Oct 2010 18:47:15 +0000 (13:47 -0500)
committerGiovanni Maruzzelli <gmaruzz@gmail.com>
Thu, 28 Oct 2010 18:47:15 +0000 (13:47 -0500)
src/mod/endpoints/mod_skypopen/mod_skypopen.c
src/mod/endpoints/mod_skypopen/skypopen.h

index 9d4c270e6e53bb49fb0866196ca1ef2cbff2b592..4d02d3a2829e9b196b6cd909c4ab9a57aaafda1f 100644 (file)
@@ -109,7 +109,8 @@ char *interface_status[] = {        /* should match SKYPOPEN_STATE_xxx in skypopen.h */
        "DOUBLE",
        "SELECTD",
        "HANG_RQ",
-       "PREANSW"
+       "PREANSW",
+       "DEAD"
 };
 char *skype_callflow[] = {             /* should match CALLFLOW_XXX in skypopen.h */
        "CALL_IDLE",
index ddeebdfae7e04a269b17835d9d5f16ba8008b453..ccff65b0afe1efab61a8633263eda027329a29b4 100644 (file)
@@ -132,7 +132,7 @@ typedef enum {
 #define                SKYPOPEN_STATE_SELECTED                         9
 #define        SKYPOPEN_STATE_HANGUP_REQUESTED         10
 #define                SKYPOPEN_STATE_PREANSWER                                11
-#define                SKYPOPEN_STATE_DEAD                             99
+#define                SKYPOPEN_STATE_DEAD                             12
 /*********************************/
 /* call flow from the device */
 #define        CALLFLOW_CALL_IDLE                                      0