Changeset 1379 for pjproject/trunk/pjsip/include/pjsip-ua/sip_inv.h
- Timestamp:
- Jun 20, 2007 10:03:46 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsip-ua/sip_inv.h
r1319 r1379 150 150 * This callback is called when the invite session has received 151 151 * new offer from peer. Application can inspect the remote offer 152 * in "offer". 152 * in "offer", and set the SDP answer with #pjsip_inv_set_sdp_answer(). 153 * When the application sends a SIP message to send the answer, 154 * this SDP answer will be negotiated with the offer, and the result 155 * will be sent with the SIP message. 153 156 * 154 157 * @param inv The invite session. … … 157 160 void (*on_rx_offer)(pjsip_inv_session *inv, 158 161 const pjmedia_sdp_session *offer); 162 163 /** 164 * This callback is optional, and it is used to ask the application 165 * to create a fresh offer, when the invite session has received 166 * re-INVITE without offer. This offer then will be sent in the 167 * 200/OK response to the re-INVITE request. 168 * 169 * If application doesn't implement this callback, the invite session 170 * will send the currently active SDP as the offer. 171 * 172 * @param inv The invite session. 173 * @param p_offer Pointer to receive the SDP offer created by 174 * application. 175 */ 176 void (*on_create_offer)(pjsip_inv_session *inv, 177 pjmedia_sdp_session **p_offer); 159 178 160 179 /**
Note: See TracChangeset
for help on using the changeset viewer.