Merged revisions 114100 via svnmerge from
authorJoshua Colp <jcolp@digium.com>
Mon, 14 Apr 2008 13:53:33 +0000 (13:53 +0000)
committerJoshua Colp <jcolp@digium.com>
Mon, 14 Apr 2008 13:53:33 +0000 (13:53 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r114100 | file | 2008-04-14 10:52:49 -0300 (Mon, 14 Apr 2008) | 4 lines

Don't change the SSRC when a new source comes into play, this might happen quite often and depending on the remote side... they might not like this.
(closes issue #12353)
Reported by: dimas

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@114101 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/rtp.c

index ee8bc47..64080a9 100644 (file)
@@ -2333,7 +2333,6 @@ int ast_rtp_setqos(struct ast_rtp *rtp, int tos, int cos, char *desc)
 void ast_rtp_new_source(struct ast_rtp *rtp)
 {
        rtp->set_marker_bit = 1;
-       rtp->ssrc = ast_random();
        return;
 }