Merged revisions 338416 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r338416 | irroot | 2011-09-29 14:13:05 +0200 (Thu, 29 Sep 2011) | 12 lines
  
  The rtptimeout setting is ignored on a per peer basis.
  
  Not only is the rtptimeout ignored in some cases but 
  rtpkeepalive and rtpholdtimeout is affected.
  
  this commit also removes rtptimeout/rtpholdtimeout on
  text rtp.
  
  (closes issue ASTERISK-18559)
  
  Review: https://reviewboard.asterisk.org/r/1452
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@338417 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Gregory Nietsky
2011-09-29 12:16:42 +00:00
parent 5d5dc6650d
commit 540b7a38a9
2 changed files with 26 additions and 27 deletions

View File

@@ -1070,6 +1070,8 @@ struct sip_pvt {
time_t lastrtprx; /*!< Last RTP received */
time_t lastrtptx; /*!< Last RTP sent */
int rtptimeout; /*!< RTP timeout time */
int rtpholdtimeout; /*!< RTP timeout time on hold*/
int rtpkeepalive; /*!< RTP send packets for keepalive */
struct ast_ha *directmediaha; /*!< Which IPs are allowed to interchange direct media with this peer - copied from sip_peer */
struct ast_sockaddr recv; /*!< Received as */
struct ast_sockaddr ourip; /*!< Our IP (as seen from the outside) */