From: Sean Bright Date: Tue, 14 Feb 2012 13:33:09 +0000 (+0000) Subject: Clear the high order bit from the destination call number before sending. X-Git-Tag: 1.8.11.0-rc1~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94ade43b564385004be12d86ba8d61367f85f6a1;p=thirdparty%2Fasterisk.git Clear the high order bit from the destination call number before sending. send_apathetic_reply takes the incoming frame's source call number as the destination call number for the outgoing frame. If the incoming frame was a full frame, then the high order bit of the source call number is set and will be interpreted as a retransmit when sent back out as the destination call number. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@355182 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index 8e43fd5ab2..0598aa868f 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -4699,7 +4699,7 @@ static int send_apathetic_reply(unsigned short callno, unsigned short dcallno, } data.f.scallno = htons(0x8000 | callno); - data.f.dcallno = htons(dcallno); + data.f.dcallno = htons(dcallno & ~IAX_FLAG_RETRANS); data.f.ts = htonl(ts); data.f.iseqno = seqno; data.f.oseqno = 0;