Changeset 5241 for pjproject/trunk/pjsip-apps/src/samples/pjsip-perf.c
- Timestamp:
- Feb 5, 2016 4:29:17 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/samples/pjsip-perf.c
r5170 r5241 476 476 477 477 /* Create UAS dialog */ 478 status = pjsip_dlg_create_uas ( pjsip_ua_instance(), rdata,479 478 status = pjsip_dlg_create_uas_and_inc_lock( pjsip_ua_instance(), rdata, 479 &app.local_contact, &dlg); 480 480 if (status != PJ_SUCCESS) { 481 481 const pj_str_t reason = pj_str("Unable to create dialog"); … … 503 503 pjsip_dlg_create_response(dlg, rdata, 500, NULL, &tdata); 504 504 pjsip_dlg_send_response(dlg, pjsip_rdata_get_tsx(rdata), tdata); 505 pjsip_dlg_dec_lock(dlg); 505 506 return PJ_TRUE; 506 507 } 507 508 509 /* Invite session has been created, decrement & release dialog lock. */ 510 pjsip_dlg_dec_lock(dlg); 511 508 512 /* Send 100/Trying if needed */ 509 513 if (app.server.send_trying) {
Note: See TracChangeset
for help on using the changeset viewer.