mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-18 20:57:56 +00:00
Fixes #42 - VoMP session ID allocation
This commit is contained in:
parent
e2d8ca1e66
commit
07dfc42f8f
2
vomp.c
2
vomp.c
@ -355,7 +355,7 @@ static int vomp_generate_session_id()
|
||||
/* reject duplicate call session numbers */
|
||||
for(i=0;i<vomp_call_count;i++)
|
||||
if (session_id==vomp_call_states[i].local.session
|
||||
||session_id==vomp_call_states[i].local.session){
|
||||
||session_id==vomp_call_states[i].remote.session){
|
||||
session_id=0;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user