eXosip_eventCode.txt 4.21 KB
Newer Older
jpbl's avatar
jpbl committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
  typedef enum eXosip_event_type
    {
      /* REGISTER related events */
       0 EXOSIP_REGISTRATION_NEW,         /**< announce new registration.       */
       1 EXOSIP_REGISTRATION_SUCCESS,     /**< user is successfully registred.  */
       2 EXOSIP_REGISTRATION_FAILURE,     /**< user is not registred.           */
       3 EXOSIP_REGISTRATION_REFRESHED,   /**< registration has been refreshed. */
       4 EXOSIP_REGISTRATION_TERMINATED,  /**< UA is not registred any more.    */
      
      /* INVITE related events within calls */
       5 EXOSIP_CALL_INVITE,          /**< announce a new call                   */
       6 EXOSIP_CALL_REINVITE,        /**< announce a new INVITE within call     */

       7 EXOSIP_CALL_NOANSWER,        /**< announce no answer within the timeout */
       8 EXOSIP_CALL_PROCEEDING,      /**< announce processing by a remote app   */
       9 EXOSIP_CALL_RINGING,         /**< announce ringback                     */
      10 EXOSIP_CALL_ANSWERED,        /**< announce start of call                */
      11 EXOSIP_CALL_REDIRECTED,      /**< announce a redirection                */
      12 EXOSIP_CALL_REQUESTFAILURE,  /**< announce a request failure            */
      13 EXOSIP_CALL_SERVERFAILURE,   /**< announce a server failure             */
      14 EXOSIP_CALL_GLOBALFAILURE,   /**< announce a global failure             */
      15 EXOSIP_CALL_ACK,             /**< ACK received for 200ok to INVITE      */
      
      16 EXOSIP_CALL_CANCELLED,       /**< announce that call has been cancelled */
      17 EXOSIP_CALL_TIMEOUT,         /**< announce that call has failed         */

      /* request related events within calls (except INVITE) */
      18 EXOSIP_CALL_MESSAGE_NEW,            /**< announce new incoming MESSAGE. */
      19 EXOSIP_CALL_MESSAGE_PROCEEDING,     /**< announce a 1xx for MESSAGE. */
      20 EXOSIP_CALL_MESSAGE_ANSWERED,       /**< announce a 200ok  */
      21 EXOSIP_CALL_MESSAGE_REDIRECTED,     /**< announce a failure. */
      22 EXOSIP_CALL_MESSAGE_REQUESTFAILURE, /**< announce a failure. */
      23 EXOSIP_CALL_MESSAGE_SERVERFAILURE,  /**< announce a failure. */
      24 EXOSIP_CALL_MESSAGE_GLOBALFAILURE,  /**< announce a failure. */

      25 EXOSIP_CALL_CLOSED,          /**< a BYE was received for this call      */

      /* for both UAS & UAC events */
      26 EXOSIP_CALL_RELEASED,           /**< call context is cleared.            */
      
      /* response received for request outside calls */
      27 EXOSIP_MESSAGE_NEW,            /**< announce new incoming MESSAGE. */
      28 EXOSIP_MESSAGE_PROCEEDING,     /**< announce a 1xx for MESSAGE. */
      29 EXOSIP_MESSAGE_ANSWERED,       /**< announce a 200ok  */
      30 EXOSIP_MESSAGE_REDIRECTED,     /**< announce a failure. */
      31 EXOSIP_MESSAGE_REQUESTFAILURE, /**< announce a failure. */
      32 EXOSIP_MESSAGE_SERVERFAILURE,  /**< announce a failure. */
      33 EXOSIP_MESSAGE_GLOBALFAILURE,  /**< announce a failure. */
      
      /* Presence and Instant Messaging */
      34 EXOSIP_SUBSCRIPTION_UPDATE,       /**< announce incoming SUBSCRIBE.      */
      35 EXOSIP_SUBSCRIPTION_CLOSED,       /**< announce end of subscription.     */
      
      36 EXOSIP_SUBSCRIPTION_NOANSWER,        /**< announce no answer              */
      37 EXOSIP_SUBSCRIPTION_PROCEEDING,      /**< announce a 1xx                  */
      38 EXOSIP_SUBSCRIPTION_ANSWERED,        /**< announce a 200ok                */
      39 EXOSIP_SUBSCRIPTION_REDIRECTED,      /**< announce a redirection          */
      40 EXOSIP_SUBSCRIPTION_REQUESTFAILURE,  /**< announce a request failure      */
      41 EXOSIP_SUBSCRIPTION_SERVERFAILURE,   /**< announce a server failure       */
      42 EXOSIP_SUBSCRIPTION_GLOBALFAILURE,   /**< announce a global failure       */
      43 EXOSIP_SUBSCRIPTION_NOTIFY,          /**< announce new NOTIFY request     */
      
      44 EXOSIP_SUBSCRIPTION_RELEASED,        /**< call context is cleared.        */
      
      45 EXOSIP_IN_SUBSCRIPTION_NEW,          /**< announce new incoming SUBSCRIBE.*/
      46 EXOSIP_IN_SUBSCRIPTION_RELEASED,     /**< announce end of subscription.   */
      
      47 EXOSIP_EVENT_COUNT                /**< MAX number of events              */
    } eXosip_event_type_t;