Changeset 5937
- Timestamp:
- Feb 28, 2019 9:09:42 AM (6 years ago)
- Location:
- pjproject/trunk/pjsip/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip-ua/sip_inv.c
r5931 r5937 1182 1182 1183 1183 /* Local SDP must be valid! */ 1184 PJ_ASSERT_RETURN((status=pjmedia_sdp_validate(l_sdp))==PJ_SUCCESS, 1185 status); 1184 status = pjmedia_sdp_validate(l_sdp); 1185 if (status != PJ_SUCCESS) { 1186 pj_assert(!"Invalid local SDP"); 1187 code = PJSIP_SC_INTERNAL_SERVER_ERROR; 1188 goto on_return; 1189 } 1186 1190 1187 1191 /* Create SDP negotiator */ 1188 1192 status = pjmedia_sdp_neg_create_w_remote_offer( 1189 1193 tmp_pool, l_sdp, r_sdp, &neg); 1190 PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); 1194 if (status != PJ_SUCCESS) { 1195 pj_assert(!"Failed creating SDP negotiator"); 1196 code = PJSIP_SC_INTERNAL_SERVER_ERROR; 1197 goto on_return; 1198 } 1191 1199 1192 1200 /* Negotiate SDP */ -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
r5930 r5937 1241 1241 * No we can't handle the incoming INVITE request. 1242 1242 */ 1243 pjsua_perror(THIS_FILE, "Request verification failed", status); 1244 1243 1245 if (response) 1244 1246 err_code = (*response)->msg->line.status.code;
Note: See TracChangeset
for help on using the changeset viewer.