mirror of
https://github.com/PentHertz/OpenBTS.git
synced 2026-05-10 12:00:03 +00:00
Fixes #711 in private. We now check RTP ports before allocation, to ensure they're not already in use.
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@3225 19bc5d8c-e614-43d4-8b26-e1612bc8e597
This commit is contained in:
parent
56dd0dd9df
commit
3f264a9e86
5 changed files with 33 additions and 4 deletions
|
|
@ -121,6 +121,9 @@ SIPEngine::SIPEngine(const char* proxy, const char* IMSI)
|
|||
mMyTag=tmp;
|
||||
// set our CSeq in case we need one
|
||||
mCSeq = random()%600;
|
||||
|
||||
//to make sure noise doesn't magically equal a valid RTP port
|
||||
mRTPPort = 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue