diff options
author | Nanang Izzuddin <nanang@teluu.com> | 2016-02-05 04:29:17 +0000 |
---|---|---|
committer | Nanang Izzuddin <nanang@teluu.com> | 2016-02-05 04:29:17 +0000 |
commit | 3985dd57937870f3d47a4ddd68b477a42ffddec1 (patch) | |
tree | 7cfd8a02592a91bbae1f72e1792bac0954a0e1db /pjsip-apps/src/samples/footprint.c | |
parent | 09977f8551064c5972ea5d23605bfd4adb886189 (diff) |
Fixed #1902:
- Crash when endpoint has multiple worker threads and SIP TCP transport is disconnected during incoming call handling.
- Deprecated pjsip_dlg_create_uas(), replaced by pjsip_dlg_create_uas_and_inc_lock().
- Serialized transaction state notifications (of 'terminated' and 'destroyed') in case of transport error.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5241 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps/src/samples/footprint.c')
-rw-r--r-- | pjsip-apps/src/samples/footprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pjsip-apps/src/samples/footprint.c b/pjsip-apps/src/samples/footprint.c index 9b666874..74e6be43 100644 --- a/pjsip-apps/src/samples/footprint.c +++ b/pjsip-apps/src/samples/footprint.c @@ -341,7 +341,7 @@ int dummy_function() pjsip_ua_init_module(NULL, NULL); pjsip_ua_destroy(); pjsip_dlg_create_uac(NULL, NULL, NULL, NULL, NULL, NULL); - pjsip_dlg_create_uas(NULL, NULL, NULL, NULL); + pjsip_dlg_create_uas_and_inc_lock(NULL, NULL, NULL, NULL); pjsip_dlg_terminate(NULL); pjsip_dlg_set_route_set(NULL, NULL); pjsip_dlg_create_request(NULL, NULL, -1, NULL); |