summaryrefslogtreecommitdiff
path: root/pjsip/include/pjsua-lib/pjsua_internal.h
diff options
context:
space:
mode:
authorLiong Sauw Ming <ming@teluu.com>2011-10-03 02:04:36 +0000
committerLiong Sauw Ming <ming@teluu.com>2011-10-03 02:04:36 +0000
commitdd10c1af79c2a0d4d4720245b7f5d28a63a5292c (patch)
tree89efde612812bee65dd3541f5f6c9c364d1761f1 /pjsip/include/pjsua-lib/pjsua_internal.h
parent21bee233619f1e2187345efd4eaed85e49facc5b (diff)
Closed #1266:
Handle incoming calls when media transport is created asynchronously. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3777 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include/pjsua-lib/pjsua_internal.h')
-rw-r--r--pjsip/include/pjsua-lib/pjsua_internal.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua_internal.h b/pjsip/include/pjsua-lib/pjsua_internal.h
index 162758ea..0b65a7f0 100644
--- a/pjsip/include/pjsua-lib/pjsua_internal.h
+++ b/pjsip/include/pjsua-lib/pjsua_internal.h
@@ -100,6 +100,16 @@ struct pjsua_call_media
*/
#define PJSUA_MAX_CALL_MEDIA PJMEDIA_MAX_SDP_MEDIA
+/* Call answer's list. */
+typedef struct call_answer
+{
+ PJ_DECL_LIST_MEMBER(struct call_answer);
+ pjsua_msg_data *msg_data; /**< Answer's headers list. */
+ pj_str_t *reason; /**< Answer's reason phrase. */
+ unsigned code; /**< Answer's status code. */
+} call_answer;
+
+
/**
* Structure to be attached to invite dialog.
* Given a dialog "dlg", application can retrieve this structure
@@ -151,6 +161,9 @@ struct pjsua_call
unsigned options; /**< Outgoing call options. */
pjsua_msg_data *msg_data;/**< Headers for outgoing INVITE. */
} out_call;
+ struct {
+ call_answer answers;/**< A list of call answers. */
+ } inc_call;
} call_var;
} async_call; /**< Temporary storage for async
outgoing/incoming call. */