diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-02-09 01:26:14 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-02-09 01:26:14 +0000 |
commit | d6c11279e40c832480fe5712f9bda75685aaf668 (patch) | |
tree | 3ec1fa844d030304cffa9ae616981767f8995028 /pjsip/include/pjsip-ua/sip_inv.h | |
parent | 1a7571f62112ae25317663cba5df39c8ff1690c7 (diff) |
Done media integration in pjsua. Needs to do actual voice testing
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@163 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include/pjsip-ua/sip_inv.h')
-rw-r--r-- | pjsip/include/pjsip-ua/sip_inv.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pjsip/include/pjsip-ua/sip_inv.h b/pjsip/include/pjsip-ua/sip_inv.h index dbd2236f..b0dab63c 100644 --- a/pjsip/include/pjsip-ua/sip_inv.h +++ b/pjsip/include/pjsip-ua/sip_inv.h @@ -377,6 +377,24 @@ PJ_DECL(pj_status_t) pjsip_inv_answer( pjsip_inv_session *inv, pjsip_tx_data **p_tdata ); +#if 0 + If we implement this, we need to send SDP answer automatically on + subsequent request/response. Something like "has_answer" flag. + +/** + * Set local answer to respond to remote SDP offer. By calling this function, + * application can start SDP negotiation immediately without having to + * send any request or response message. This function is normally called + * when on_rx_offer() callback is called. + * + * @param inv The invite session. + * @param sdp The SDP description which will be set as answer + * to remote. + */ +PJ_DECL(pj_status_t) pjsip_inv_set_sdp_answer( pjsip_inv_session *inv, + const pjmedia_sdp_session *sdp ); +#endif + /** * Create a SIP message to initiate invite session termination. Depending on * the state of the session, this function may return CANCEL request, |