Changeset 324 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
- Timestamp:
- Mar 17, 2006 5:57:52 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
r323 r324 191 191 /* Send initial INVITE: */ 192 192 193 status = pjsip_inv_send_msg(inv, tdata , NULL);193 status = pjsip_inv_send_msg(inv, tdata); 194 194 if (status != PJ_SUCCESS) { 195 195 pjsua_perror(THIS_FILE, "Unable to send initial INVITE request", … … 375 375 376 376 } else { 377 status = pjsip_inv_send_msg(inv, response , NULL);377 status = pjsip_inv_send_msg(inv, response); 378 378 if (status != PJ_SUCCESS) 379 379 pjsua_perror(THIS_FILE, "Unable to send 100 response", status); … … 837 837 status = pjsip_inv_end_session(inv, st_code, NULL, &tdata); 838 838 if (status == PJ_SUCCESS) 839 status = pjsip_inv_send_msg(inv, tdata , NULL);839 status = pjsip_inv_send_msg(inv, tdata); 840 840 841 841 if (status != PJ_SUCCESS) { … … 871 871 inv->state != PJSIP_INV_STATE_CONFIRMED) 872 872 { 873 call_disconnect(inv, PJSIP_SC_UNSUPPORTED_MEDIA_TYPE);873 //call_disconnect(inv, PJSIP_SC_UNSUPPORTED_MEDIA_TYPE); 874 874 } 875 875 return; … … 892 892 "Unable to retrieve currently active local SDP", 893 893 status); 894 call_disconnect(inv, PJSIP_SC_UNSUPPORTED_MEDIA_TYPE);894 //call_disconnect(inv, PJSIP_SC_UNSUPPORTED_MEDIA_TYPE); 895 895 return; 896 896 } … … 902 902 "Unable to retrieve currently active remote SDP", 903 903 status); 904 call_disconnect(inv, PJSIP_SC_UNSUPPORTED_MEDIA_TYPE);904 //call_disconnect(inv, PJSIP_SC_UNSUPPORTED_MEDIA_TYPE); 905 905 return; 906 906 } … … 920 920 pjsua_perror(THIS_FILE, "Unable to create media session", 921 921 status); 922 call_disconnect(inv, PJSIP_SC_UNSUPPORTED_MEDIA_TYPE);922 //call_disconnect(inv, PJSIP_SC_UNSUPPORTED_MEDIA_TYPE); 923 923 return; 924 924 } … … 950 950 pjmedia_session_destroy(call->session); 951 951 call->session = NULL; 952 call_disconnect(inv, PJSIP_SC_INTERNAL_SERVER_ERROR);952 //call_disconnect(inv, PJSIP_SC_INTERNAL_SERVER_ERROR); 953 953 return; 954 954 } … … 1080 1080 return; 1081 1081 1082 status = pjsip_inv_send_msg(call->inv, tdata , NULL);1082 status = pjsip_inv_send_msg(call->inv, tdata); 1083 1083 if (status != PJ_SUCCESS) { 1084 1084 pjsua_perror(THIS_FILE, … … 1123 1123 } 1124 1124 1125 status = pjsip_inv_send_msg( call->inv, tdata , NULL);1125 status = pjsip_inv_send_msg( call->inv, tdata); 1126 1126 if (status != PJ_SUCCESS) { 1127 1127 pjsua_perror(THIS_FILE, "Unable to send re-INVITE", status); … … 1170 1170 } 1171 1171 1172 status = pjsip_inv_send_msg( call->inv, tdata , NULL);1172 status = pjsip_inv_send_msg( call->inv, tdata); 1173 1173 if (status != PJ_SUCCESS) { 1174 1174 pjsua_perror(THIS_FILE, "Unable to send re-INVITE", status); … … 1353 1353 if (pjsip_inv_end_session(call->inv, st_code, NULL, &tdata)==0) { 1354 1354 if (tdata) 1355 pjsip_inv_send_msg(call->inv, tdata , NULL);1355 pjsip_inv_send_msg(call->inv, tdata); 1356 1356 } 1357 1357 } … … 1374 1374 1375 1375 /* Initialize invite session module: */ 1376 status = pjsip_inv_usage_init(pjsua.endpt, & pjsua.mod, &inv_cb);1376 status = pjsip_inv_usage_init(pjsua.endpt, &inv_cb); 1377 1377 1378 1378 return status;
Note: See TracChangeset
for help on using the changeset viewer.