Ignore:
Timestamp:
Apr 24, 2012 1:09:14 PM (13 years ago)
Author:
bennylp
Message:

Re #1474: merged r4054-r4079

Location:
pjproject/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk

  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c

    r4071 r4082  
    12701270    if (status != PJ_SUCCESS) { 
    12711271        pjsua_perror(THIS_FILE, "Session Timer init failed", status); 
    1272         status = pjsip_inv_end_session(inv, PJSIP_SC_INTERNAL_SERVER_ERROR, 
    1273                                        NULL, &response); 
    1274         if (status == PJ_SUCCESS && response) 
    1275             status = pjsip_inv_send_msg(inv, response); 
     1272        pjsip_dlg_respond(dlg, rdata, PJSIP_SC_INTERNAL_SERVER_ERROR, NULL, NULL, NULL); 
     1273        pjsip_inv_terminate(inv, PJSIP_SC_INTERNAL_SERVER_ERROR, PJ_FALSE); 
    12761274 
    12771275        pjsua_media_channel_deinit(call->index); 
Note: See TracChangeset for help on using the changeset viewer.