Changeset 3990
- Timestamp:
- Mar 28, 2012 9:05:34 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
r3982 r3990 1205 1205 } 1206 1206 1207 /* Create and attach pjsua_var data to the dialog :*/1207 /* Create and attach pjsua_var data to the dialog */ 1208 1208 call->inv = inv; 1209 dlg->mod_data[pjsua_var.mod.id] = call;1210 inv->mod_data[pjsua_var.mod.id] = call;1211 1209 1212 1210 /* Store variables required for the callback after the async … … 1283 1281 * callback is called, which is not right). 1284 1282 */ 1285 status = pjsip_inv_initial_answer(inv, rdata, 1283 status = pjsip_inv_initial_answer(inv, rdata, 1286 1284 100, NULL, NULL, &response); 1287 1285 if (status != PJ_SUCCESS) { … … 1293 1291 } else { 1294 1292 pjsip_inv_send_msg(inv, response); 1295 pjsip_inv_terminate(inv, response->msg->line.status.code, 1293 pjsip_inv_terminate(inv, response->msg->line.status.code, 1296 1294 PJ_FALSE); 1297 1295 } … … 1306 1304 } 1307 1305 } 1306 1307 /* Only do this after sending 100/Trying (really! see the long comment 1308 * above) 1309 */ 1310 dlg->mod_data[pjsua_var.mod.id] = call; 1311 inv->mod_data[pjsua_var.mod.id] = call; 1308 1312 1309 1313 ++pjsua_var.call_cnt;
Note: See TracChangeset
for help on using the changeset viewer.