diff options
author | Benny Prijono <bennylp@teluu.com> | 2008-02-26 10:31:28 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2008-02-26 10:31:28 +0000 |
commit | ac9e0860b5bec1043aafdde890882982a34117fb (patch) | |
tree | 00dc2d4b3dc55957b437f9bbeec32bff1a875712 /pjsip | |
parent | 1c2612cbc099985342db96ef1ecd191e7973a202 (diff) |
Fixed bug in ticket #455 in round-robin call ID allocation (thanks Truong Thanh Quang)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1821 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip')
-rw-r--r-- | pjsip/src/pjsua-lib/pjsua_call.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pjsip/src/pjsua-lib/pjsua_call.c b/pjsip/src/pjsua-lib/pjsua_call.c index 6cf63f00..ca787456 100644 --- a/pjsip/src/pjsua-lib/pjsua_call.c +++ b/pjsip/src/pjsua-lib/pjsua_call.c @@ -224,7 +224,7 @@ static pjsua_call_id alloc_call_id(void) if (pjsua_var.next_call_id >= (int)pjsua_var.ua_cfg.max_calls || pjsua_var.next_call_id < 0) { - cid = 0; + pjsua_var.next_call_id = 0; } for (cid=pjsua_var.next_call_id; |