Changeset 5241 for pjproject/trunk/pjsip-apps/src/samples/siprtp.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/siprtp.c
r5170 r5241 638 638 639 639 /* Create UAS dialog */ 640 status = pjsip_dlg_create_uas ( pjsip_ua_instance(), rdata,641 640 status = pjsip_dlg_create_uas_and_inc_lock( pjsip_ua_instance(), rdata, 641 &app.local_contact, &dlg); 642 642 if (status != PJ_SUCCESS) { 643 643 const pj_str_t reason = pj_str("Unable to create dialog"); … … 656 656 pjsip_dlg_create_response(dlg, rdata, 500, NULL, &tdata); 657 657 pjsip_dlg_send_response(dlg, pjsip_rdata_get_tsx(rdata), tdata); 658 pjsip_dlg_dec_lock(dlg); 658 659 return; 659 660 } 660 661 662 /* Invite session has been created, decrement & release dialog lock */ 663 pjsip_dlg_dec_lock(dlg); 661 664 662 665 /* Attach call data to invite session */
Note: See TracChangeset
for help on using the changeset viewer.