Changeset 1564


Ignore:
Timestamp:
Nov 8, 2007 9:56:50 AM (16 years ago)
Author:
bennylp
Message:

Remove SDP from 487 response when incoming INVITE comes without SDP and we are sending offer in 18x response

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip-ua/sip_inv.c

    r1563 r1564  
    20762076 
    20772077        status = pjsip_dlg_modify_response(inv->dlg, tdata, 487, NULL); 
    2078         if (status == PJ_SUCCESS) 
     2078        if (status == PJ_SUCCESS) { 
     2079            /* Remove the message body */ 
     2080            tdata->msg->body = NULL; 
    20792081            pjsip_dlg_send_response(inv->dlg, invite_tsx, tdata); 
     2082        } 
    20802083    } 
    20812084 
Note: See TracChangeset for help on using the changeset viewer.