1eXosip2 SUBSCRIBE and incoming seuXboslsciirbpie2pXtoSisUoiBnpSs2C(R3I)BE and incoming subscriptions(3)
2
3
4
6 eXosip2 SUBSCRIBE and incoming subscriptions -
7
8 Functions
9 int eXosip_insubscription_build_answer (int tid, int status,
10 osip_message_t **answer)
11 int eXosip_insubscription_send_answer (int tid, int status,
12 osip_message_t *answer)
13 int eXosip_insubscription_build_request (int did, const char *method,
14 osip_message_t **request)
15 int eXosip_insubscription_build_notify (int did, int
16 subscription_status, int subscription_reason, osip_message_t
17 **request)
18 int eXosip_insubscription_send_request (int did, osip_message_t
19 *request)
20 int eXosip_insubscription_remove (int did)
21
23 int eXosip_insubscription_build_answer (int tid, int status, osip_message_t
24 ** answer)
25 Build answer for an SUBSCRIBE request.
26
27 Parameters:
28 tid id of SUBSCRIBE transaction.
29 status status for SIP answer to build.
30 answer The SIP answer to build.
31
32 int eXosip_insubscription_send_answer (int tid, int status, osip_message_t
33 * answer)
34 Send answer for an SUBSCRIBE request.
35
36 Parameters:
37 tid id of SUBSCRIBE transaction.
38 status status for SIP answer to send.
39 answer The SIP answer to send. (default will be sent if NULL)
40
41 int eXosip_insubscription_build_request (int did, const char * method,
42 osip_message_t ** request)
43 Build a request within subscription.
44
45 Parameters:
46 did id of incoming subscription.
47 method request method to build.
48 request The SIP request to build.
49
50 int eXosip_insubscription_build_notify (int did, int subscription_status,
51 int subscription_reason, osip_message_t ** request)
52 Build a NOTIFY request within subscription.
53
54 Parameters:
55 did id of incoming subscription.
56 subscription_status subscription status (pending, active,
57 terminated)
58 subscription_reason subscription reason
59 request The SIP request to build.
60
61 int eXosip_insubscription_send_request (int did, osip_message_t * request)
62 Send a request within subscription.
63
64 Parameters:
65 did id of incoming subscription.
66 request The SIP request to send.
67
68 int eXosip_insubscription_remove (int did)
69 Remove incoming subscription context.
70
71 Parameters:
72 did identifier of the subscription.
73
74Version 3.0.1 eXo3s0ipA2ugSU2B0S0C7RIBE and incoming subscriptions(3)