- Timestamp:
- Dec 28, 2016 3:40:07 AM (8 years ago)
- Location:
- pjproject/branches/projects/uwp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/uwp
- Property svn:mergeinfo changed
/pjproject/trunk (added) merged: 5209,5212-5234,5237-5253,5255,5257-5292,5294-5297,5299-5332,5334-5394,5396-5438,5440-5469,5471-5496,5498-5510
- Property svn:mergeinfo changed
-
pjproject/branches/projects/uwp/pjsip-apps/src/samples/sipecho.c
r4537 r5513 418 418 char temp[80], hostip[PJ_INET6_ADDRSTRLEN]; 419 419 pj_str_t local_uri; 420 pjsip_dialog *dlg ;420 pjsip_dialog *dlg = NULL; 421 421 pjsip_rdata_sdp_info *sdp_info; 422 422 pjmedia_sdp_session *answer = NULL; … … 499 499 local_uri = pj_str(temp); 500 500 501 status = pjsip_dlg_create_uas ( pjsip_ua_instance(), rdata,502 501 status = pjsip_dlg_create_uas_and_inc_lock( pjsip_ua_instance(), rdata, 502 &local_uri, &dlg); 503 503 504 504 if (status == PJ_SUCCESS) 505 505 answer = create_answer((int)(call-app.call), dlg->pool, sdp_info->sdp); 506 506 507 if (status == PJ_SUCCESS) 507 508 status = pjsip_inv_create_uas( dlg, rdata, answer, 0, &call->inv); 509 510 if (dlg) 511 pjsip_dlg_dec_lock(dlg); 512 508 513 if (status == PJ_SUCCESS) 509 514 status = pjsip_inv_initial_answer(call->inv, rdata, 100,
Note: See TracChangeset
for help on using the changeset viewer.