- 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/src/pjsip/sip_ua_layer.c
r4537 r5513 278 278 /* 279 279 * Register new dialog. Called by pjsip_dlg_create_uac() and 280 * pjsip_dlg_create_uas ();280 * pjsip_dlg_create_uas_and_inc_lock(); 281 281 */ 282 282 PJ_DEF(pj_status_t) pjsip_ua_register_dlg( pjsip_user_agent *ua, … … 411 411 { 412 412 return (pjsip_dialog*) rdata->endpt_info.mod_data[mod_ua.mod.id]; 413 } 414 415 PJ_DEF(pjsip_dialog*) pjsip_tdata_get_dlg( pjsip_tx_data *tdata ) 416 { 417 return (pjsip_dialog*) tdata->mod_data[mod_ua.mod.id]; 413 418 } 414 419 … … 480 485 481 486 /* Dialog has been found. It SHOULD have the right Call-ID!! */ 482 PJ_ASSERT_ON_FAIL(pj_strcmp(&dlg->call_id->id, call_id)==0, 483 {pj_mutex_unlock(mod_ua.mutex); return NULL;}); 487 if (pj_strcmp(&dlg->call_id->id, call_id)!=0) { 488 489 PJ_LOG(6, (THIS_FILE, "Dialog not found: local and remote tags " 490 "matched but not call id")); 491 492 pj_mutex_unlock(mod_ua.mutex); 493 return NULL; 494 } 484 495 485 496 if (lock_dialog) {
Note: See TracChangeset
for help on using the changeset viewer.