diff options
author | Benny Prijono <bennylp@teluu.com> | 2007-10-03 18:28:49 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2007-10-03 18:28:49 +0000 |
commit | 3112361512e913a6ce28a9253a6d45434b975505 (patch) | |
tree | 914e356e5b5e2cf05c17c1177589064773638d20 /pjsip/src/pjsua-lib/pjsua_call.c | |
parent | e2f5c2d529ae091a65c73f86ab60f4fc251645dc (diff) |
Ticket 5: Support for SIP UPDATE (RFC 3311) and fix the offer/answer negotiation
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1469 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/src/pjsua-lib/pjsua_call.c')
-rw-r--r-- | pjsip/src/pjsua-lib/pjsua_call.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pjsip/src/pjsua-lib/pjsua_call.c b/pjsip/src/pjsua-lib/pjsua_call.c index 22a11053..ac5db1dd 100644 --- a/pjsip/src/pjsua-lib/pjsua_call.c +++ b/pjsip/src/pjsua-lib/pjsua_call.c @@ -195,6 +195,8 @@ PJ_DEF(pj_status_t) pjsua_enum_calls( pjsua_call_id ids[], } +#define LATE_SDP 0 + /* * Make outgoing call to the specified URI using the specified account. */ @@ -312,11 +314,15 @@ PJ_DEF(pj_status_t) pjsua_call_make_call( pjsua_acc_id acc_id, } /* Create SDP offer */ +#if LATE_SDP + offer = NULL; +#else status = pjsua_media_channel_create_sdp(call->index, dlg->pool, &offer); if (status != PJ_SUCCESS) { pjsua_perror(THIS_FILE, "pjmedia unable to create SDP", status); goto on_error; } +#endif /* Create the INVITE session: */ #if PJSIP_HAS_100REL |