<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>Modified Files:<BR>chan_sip.c <BR>Log Message:<BR>Enable support for 
RFC3581 (bug #1862)<BR></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>bkw</FONT></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=toddg@nohype.net href="mailto:toddg@nohype.net">Todd Graham</A> 
</DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=asterisk-users@lists.digium.com 
  href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, June 18, 2004 11:05 
PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [Asterisk-Users] current code 
  release &amp; chan_sip problem/question rport</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=Arial size=2>Updated to the latest code release of * 
  today.&nbsp; After compiling and reinstalling the SIP dialout connections 
  through our media gateway stopped working.&nbsp;&nbsp;&nbsp; Finally tracked 
  down the issue.&nbsp; In chan_sip.c in transmit_invite there was ;rport added 
  to the INVITE via line of the msg:</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>snprintf(p-&gt;via, sizeof(p-&gt;via), 
  "SIP/2.0/UDP %s:%d;branch=z9hG4bK%08x;rport", inet_ntoa(p-&gt;ourip), ourport, 
  p-&gt;branch);</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>The old code did not have that ;rport, it ends 
  with the branch&nbsp;.&nbsp;&nbsp;&nbsp; Can anyone explain what that 
  does?&nbsp;&nbsp; I have taken it out, recompiled and can now make outbound 
  calls again.&nbsp;&nbsp;&nbsp; </FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Todd</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>