<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV>Ricardo and Alberto,</DIV>
<DIV>The ser.cfg from onsip.org works fine with reinvites to nat'ed endpoints. 
However, Ricardo, you have a corner case where the logic does not work (Asterisk 
is reinviting with another public media ip).&nbsp; We are looking at how we can 
update the ONsip.org config files to also handle this special case.&nbsp; I'm in 
the process of reviewing Ricardo's latest experiences and will get back to you 
as soon as I can.</DIV>
<DIV>g-)</DIV>
<DIV>&nbsp;</DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=rmartinez@redvoiss.net href="mailto:rmartinez@redvoiss.net">Ricardo 
  Martinez</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=acruz@tekbrain.com 
  href="mailto:acruz@tekbrain.com">'Alberto Cruz'</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=serusers@lists.iptel.org 
  href="mailto:'serusers@lists.iptel.org'">'serusers@lists.iptel.org'</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, July 27, 2005 11:27 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [Serusers] Problem : Can SER 
  process the reINVITE messages properly?</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face="Lucida Sans Unicode" color=#0000ff size=2><SPAN 
  class=915582021-27072005>Thanks again Alberto.</SPAN></FONT></DIV>
  <DIV><FONT face="Lucida Sans Unicode" color=#0000ff size=2><SPAN 
  class=915582021-27072005>&nbsp;&nbsp;&nbsp; Are you using the ser.cfg from 
  onsip.org?&nbsp; I'm using it, and i can't make it work with reinvite to a 
  nat'd endpoints.&nbsp; Can you give me some hints here?.</SPAN></FONT></DIV>
  <DIV><FONT face="Lucida Sans Unicode" color=#0000ff size=2><SPAN 
  class=915582021-27072005>&nbsp;&nbsp;&nbsp; For example what version of 
  mediaproxy are you using?.&nbsp; If you're using the onsip.org configuration, 
  Did you modified this configuration to make it work for 
  reINVITE's?</SPAN></FONT></DIV>
  <DIV><FONT face="Lucida Sans Unicode" color=#0000ff size=2><SPAN 
  class=915582021-27072005>Hope you can help me</SPAN></FONT><FONT 
  face="Lucida Sans Unicode" color=#0000ff size=2><SPAN 
  class=915582021-27072005>,</SPAN></FONT></DIV>
  <DIV><FONT face="Lucida Sans Unicode" color=#0000ff size=2><SPAN 
  class=915582021-27072005></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face="Lucida Sans Unicode" color=#0000ff size=2><SPAN 
  class=915582021-27072005>Thanks again</SPAN></FONT></DIV>
  <DIV><FONT face="Lucida Sans Unicode" color=#0000ff size=2><SPAN 
  class=915582021-27072005>Regards,</SPAN></FONT></DIV>
  <DIV><FONT face="Lucida Sans Unicode" color=#0000ff size=2></FONT>&nbsp;</DIV>
  <DIV><SPAN class=915582021-27072005><FONT face="Lucida Sans Unicode" 
  color=#0000ff size=2>Ricardo Martinez.-</FONT></SPAN></DIV>
  <BLOCKQUOTE dir=ltr 
  style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
    <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
    size=2>-----Mensaje original-----<BR><B>De:</B> Alberto Cruz 
    [mailto:acruz@tekbrain.com]<BR><B>Enviado el:</B> Miércoles, 27 de Julio de 
    2005 16:50<BR><B>Para:</B> Ricardo Martinez<BR><B>CC:</B> 
    'serusers@lists.iptel.org'<BR><B>Asunto:</B> Re: [Serusers] Problem : Can SER 
    process the reINVITE messages pr operly?<BR><B>Importancia:</B> 
    Alta<BR><BR></FONT></DIV>Yes it is working 
    fine.<BR><BR>Regards<BR><BR>Ricardo Martinez wrote:<BR>
    <BLOCKQUOTE cite=mid2b13732c9df8189a5071eb14d0c0990c42e7f0f0@magenta.cl 
    type="cite">
      <META content="MSHTML 6.00.2900.2668" name=GENERATOR>
      <DIV>
      <DIV><SPAN class=899562120-27072005><FONT face="Lucida Sans Unicode" 
      color=#0000ff size=2>Alberto.</FONT></SPAN></DIV>
      <DIV><SPAN class=899562120-27072005><FONT face="Lucida Sans Unicode"><FONT 
      color=#0000ff size=2>&nbsp;&nbsp;&nbsp; Thanks for your answer.&nbsp; You 
      mean that your platform work<SPAN class=727462520-27072005>s</SPAN> well 
      with the reINVITE's to a NAT'd endpoint?.</FONT></FONT></SPAN></DIV>
      <DIV>&nbsp;</DIV>
      <DIV><SPAN class=899562120-27072005><FONT face="Lucida Sans Unicode" 
      color=#0000ff size=2>Regards,</FONT></SPAN></DIV>
      <DIV><SPAN class=899562120-27072005><FONT face="Lucida Sans Unicode" 
      color=#0000ff size=2>Ricardo.-</FONT></SPAN></DIV></DIV>
      <BLOCKQUOTE dir=ltr 
      style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,255) 2px solid; MARGIN-RIGHT: 0px">
        <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
        size=2>-----Mensaje original-----<BR><B>De:</B> Alberto Cruz [<A 
        class=moz-txt-link-freetext 
        href="mailto:acruz@tekbrain.com">mailto:acruz@tekbrain.com</A>]<BR><B>Enviado 
        el:</B> Miércoles, 27 de Julio de 2005 16:12<BR><B>Para:</B> Ricardo 
        Martinez<BR><B>CC:</B> 'Greger V. Teigre'; '<A 
        class=moz-txt-link-abbreviated 
        href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</A>'<BR><B>Asunto:</B> 
        Re: [Serusers] Problem : Can SER process the reINVITE messages pr 
        operly?<BR><B>Importancia:</B> Alta<BR><BR></FONT></DIV>Ricardo this 
        block is working fine to 
        me:<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        #-------------------------------------------------<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        # subsequent messages withing a dialog should take 
        the<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # path determined by 
        record-routing<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        #-------------------------------------------------<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        if (loose_route()) 
        {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        append_hf("P-hint: 
        rr-enforced\r\n");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        # The following lines are added due media 
        proxy<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        if (has_totag()&amp;&amp;(method=="INVITE" || method=="ACK")) 
        {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        if (client_nat_test("3") || search("^Route:.*;nat=yes")) 
        {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        # Mark as 
        NAT'ed<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        setflag(6);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        use_media_proxy();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        };<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        };<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        if ((method=="BYE") &amp;&amp; ((client_nat_test("3") || 
        search("^Route:.*;nat=yes")))) 
        {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        fix_nated_contact();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        force_rport();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        };<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        # end media session for BYE and CANCEL is done 
        above<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        # before entering the loose route. no need to call it 
        here<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        route(1);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<BR><BR>Maybe you 
        have something wrong at your mediaproxy.ini 
        file.<BR><BR>Regards<BR><BR>Alberto Cruz<BR>
        <BLOCKQUOTE cite=midc5fa40e48ad7b787e1578812002147b942e7e137@magenta.cl 
        type="cite"><PRE wrap="">&nbsp;</PRE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Serusers mailing 
  list<BR>serusers@lists.iptel.org<BR>http://lists.iptel.org/mailman/listinfo/serusers<BR></BLOCKQUOTE></BODY></HTML>