summaryrefslogtreecommitdiff
path: root/pjsip/include/pjsua-lib/pjsua.h
diff options
context:
space:
mode:
authorLiong Sauw Ming <ming@teluu.com>2014-09-09 08:31:37 +0000
committerLiong Sauw Ming <ming@teluu.com>2014-09-09 08:31:37 +0000
commit0945eb513ed2cead6aa391b44cf998b8491d4c53 (patch)
tree233c36fc67d47a6843ea3f3d32c3786acd4d427f /pjsip/include/pjsua-lib/pjsua.h
parent1b25660f4fcab13f83c4b68cf92e21e2833bc32b (diff)
Fixed #1785: Add support for sending initial INVITE/re-INVITE/UPDATE without SDP
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4920 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include/pjsua-lib/pjsua.h')
-rw-r--r--pjsip/include/pjsua-lib/pjsua.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h
index 0787d416..3fa41a8f 100644
--- a/pjsip/include/pjsua-lib/pjsua.h
+++ b/pjsip/include/pjsua-lib/pjsua.h
@@ -870,7 +870,9 @@ typedef struct pjsua_callback
/**
* Notify application when call has received new offer from remote
- * (i.e. re-INVITE/UPDATE with SDP is received). Application can
+ * (i.e. re-INVITE/UPDATE with SDP is received, or from the
+ * INVITE response in the case that the initial outgoing INVITE
+ * has no SDP). Application can
* decide to accept/reject the offer by setting the code (default
* is 200). If the offer is accepted, application can update the
* call setting to be applied in the answer. When this callback is
@@ -4105,7 +4107,15 @@ typedef enum pjsua_call_flag
* (i.e when aud_cnt or vid_cnt is set to zero). This flag is only valid
* for #pjsua_call_make_call().
*/
- PJSUA_CALL_INCLUDE_DISABLED_MEDIA = 4
+ PJSUA_CALL_INCLUDE_DISABLED_MEDIA = 4,
+
+ /**
+ * Do not send SDP when sending INVITE or UPDATE. This flag is only valid
+ * for #pjsua_call_make_call(), #pjsua_call_reinvite()/reinvite2(), or
+ * #pjsua_call_update()/update2(). For re-invite/update, specifying
+ * PJSUA_CALL_UNHOLD will take precedence over this flag.
+ */
+ PJSUA_CALL_NO_SDP_OFFER = 8
} pjsua_call_flag;