Changeset 201 for pjproject/trunk/pjsip/src/pjsua/pjsua_inv.c
- Timestamp:
- Feb 19, 2006 3:37:19 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua/pjsua_inv.c
r197 r201 54 54 &dlg); 55 55 if (status != PJ_SUCCESS) { 56 pjsua_perror( "Dialog creation failed", status);56 pjsua_perror(THIS_FILE, "Dialog creation failed", status); 57 57 return status; 58 58 } … … 63 63 1, &pjsua.med_skinfo, &offer); 64 64 if (status != PJ_SUCCESS) { 65 pjsua_perror( "pjmedia unable to create SDP", status);65 pjsua_perror(THIS_FILE, "pjmedia unable to create SDP", status); 66 66 goto on_error; 67 67 } … … 71 71 status = pjsip_inv_create_uac( dlg, offer, 0, &inv); 72 72 if (status != PJ_SUCCESS) { 73 pjsua_perror( "Invite session creation failed", status);73 pjsua_perror(THIS_FILE, "Invite session creation failed", status); 74 74 goto on_error; 75 75 } … … 100 100 status = pjsip_inv_invite(inv, &tdata); 101 101 if (status != PJ_SUCCESS) { 102 pjsua_perror("Unable to create initial INVITE request", status); 102 pjsua_perror(THIS_FILE, "Unable to create initial INVITE request", 103 status); 103 104 goto on_error; 104 105 } … … 109 110 status = pjsip_inv_send_msg(inv, tdata, NULL); 110 111 if (status != PJ_SUCCESS) { 111 pjsua_perror("Unable to send initial INVITE request", status); 112 pjsua_perror(THIS_FILE, "Unable to send initial INVITE request", 113 status); 112 114 goto on_error; 113 115 } … … 302 304 if (status != PJ_SUCCESS) { 303 305 304 pjsua_perror( "SDP negotiation has failed", status);306 pjsua_perror(THIS_FILE, "SDP negotiation has failed", status); 305 307 return; 306 308 … … 319 321 status = pjmedia_sdp_neg_get_active_local(inv->neg, &local_sdp); 320 322 if (status != PJ_SUCCESS) { 321 pjsua_perror("Unable to retrieve currently active local SDP", status); 323 pjsua_perror(THIS_FILE, 324 "Unable to retrieve currently active local SDP", 325 status); 322 326 return; 323 327 } … … 326 330 status = pjmedia_sdp_neg_get_active_remote(inv->neg, &remote_sdp); 327 331 if (status != PJ_SUCCESS) { 328 pjsua_perror("Unable to retrieve currently active remote SDP", status); 332 pjsua_perror(THIS_FILE, 333 "Unable to retrieve currently active remote SDP", 334 status); 329 335 return; 330 336 } … … 341 347 &inv_data->session ); 342 348 if (status != PJ_SUCCESS) { 343 pjsua_perror("Unable to create media session", status); 349 pjsua_perror(THIS_FILE, "Unable to create media session", 350 status); 344 351 return; 345 352 }
Note: See TracChangeset
for help on using the changeset viewer.