From: Joshua Colp Date: Tue, 4 Mar 2008 18:11:38 +0000 (+0000) Subject: Merged revisions 105676 via svnmerge from X-Git-Tag: 1.6.0-beta7~232 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b070a815d489936b4f3b6a18593e75da2d33836;p=thirdparty%2Fasterisk.git Merged revisions 105676 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r105676 | file | 2008-03-04 14:10:34 -0400 (Tue, 04 Mar 2008) | 2 lines In addition to setting the marker bit let's change our ssrc so they know for sure it is a different source. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@105677 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/rtp.c b/main/rtp.c index 5eed32207f..6e60045191 100644 --- a/main/rtp.c +++ b/main/rtp.c @@ -2329,6 +2329,7 @@ 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; }