mirror of
https://github.com/RangeNetworks/openbts.git
synced 2025-11-02 12:53:15 +00:00
- make sure all RTP ports are unsigned
- prevents totally bogus SDP offers from being made due to conversion kabooms (m=audio 4294935774 RTP/AVP 3) (upstream r8160)
This commit is contained in:
@@ -251,7 +251,7 @@ class SipRtp {
|
||||
public:
|
||||
/**@name RTP state and parameters. */
|
||||
//@{
|
||||
short mRTPPort;
|
||||
unsigned mRTPPort;
|
||||
//short mRTPRemPort;
|
||||
//string mRTPRemIP;
|
||||
Control::CodecSet mCodec;
|
||||
@@ -275,7 +275,7 @@ class SipRtp {
|
||||
RtpSession * RTPSession() const { return mSession; }
|
||||
|
||||
/** Return the RTP Port being used. */
|
||||
short RTPPort() const { return mRTPPort; }
|
||||
unsigned RTPPort() const { return mRTPPort; }
|
||||
|
||||
bool txDtmf();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user