<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2722" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>:-) Thanks, now I understand. See inline.<BR></DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff 
  size=2>ok,</FONT></SPAN></DIV>
  <DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff 
  size=2>Thanks for answering ;)</FONT></SPAN></DIV>
  <DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff size=2>I 
  will reformulate</FONT></SPAN></DIV>
  <DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff 
  size=2>Using ser.cfg from onsip.org version 5.</FONT></SPAN></DIV>
  <DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff size=2>When 
  Uas register to ser, they are register with their privates IPs 
  (192.168.xxx.xxx), not with the public Ip of the natted 
  network.</FONT></SPAN></DIV></BLOCKQUOTE>
<DIV dir=ltr><SPAN class=796111112-06102005><FONT color=#0000ff size=2>So serctl 
ul show will show the private address for the UA?&nbsp; If so, for some reason 
the client_nat_test does not detect the NATed client, an ngrep of the 
registration will help.</FONT></SPAN></DIV>
<DIV dir=ltr><SPAN class=796111112-06102005><FONT color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff 
  size=2>Making a call requires proxy authentification but ser WWW-Challenge 
  never arrives to UA(wrong adress).</FONT></SPAN></DIV>
  <DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff 
  size=2>Register works, even with 
authentification.</FONT></SPAN></DIV></BLOCKQUOTE>
<DIV dir=ltr><SPAN class=796111112-06102005><FONT color=#0000ff size=2>The 
challenge is not sent to the registered address, but rather to the originator of 
the request. An ngrep trace of the INVITE will again help.&nbsp; The challenge 
response will normally be sent to the source ip and port, not the contact (which 
BTW also should be fixed by calling fix_nated_contact())</FONT></SPAN></DIV>
<DIV dir=ltr><SPAN class=796111112-06102005><FONT color=#0000ff 
size=2>g-)</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff size=2>Any 
  idea</FONT></SPAN></DIV>
  <DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff size=2>In 
  tha cfg, I have :</FONT></SPAN></DIV>
  <DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff 
  size=2>&nbsp;if (method=="INVITE" &amp;&amp; client_nat_test("7")) 
  {<BR>&nbsp;&nbsp;# INSERT YOUR IP ADDRESS 
  HERE<BR>&nbsp;&nbsp;record_route_preset("82.146.xxx.xxx:5060;nat=yes");<BR>&nbsp;} 
  else if (method!="REGISTER") 
  {&nbsp;<BR>&nbsp;&nbsp;record_route();&nbsp;<BR>&nbsp;};<BR>&nbsp;and also 
  :</FONT></SPAN></DIV>
  <DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff 
  size=2>&nbsp;if (!search("^Contact:[ ]*\*") &amp;&amp; client_nat_test("7")) 
  {<BR>&nbsp;&nbsp;setflag(6);<BR>&nbsp;&nbsp;fix_nated_register();<BR>&nbsp;&nbsp;force_rport();<BR>&nbsp;};</FONT></SPAN></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff 
  size=2>&nbsp;if (!www_authorize("finalcut.be","subscriber")) 
  {<BR>&nbsp;&nbsp;www_challenge("finalcut.be","0");<BR>&nbsp;&nbsp;break;<BR>&nbsp;};<BR></FONT></SPAN></DIV>
  <DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
    <DIV></DIV>
    <DIV class=OutlookMessageHeader lang=fr dir=ltr align=left><FONT face=Tahoma 
    size=2>-----Message d'origine-----<BR><B>De&nbsp;:</B> Greger V. Teigre 
    [mailto:greger@teigre.com] <BR><B>Envoyé&nbsp;:</B> jeudi 6 octobre 2005 
    14:10<BR><B>À&nbsp;:</B> Olivier Taylor; 
    serusers@lists.iptel.org<BR><B>Objet&nbsp;:</B> Re: [Serusers] mediaproxy and 
    private ip<BR><BR></FONT></DIV>
    <DIV>Olivier,</DIV>
    <DIV>You complained about no one answering your questions.&nbsp; An advise: 
    When writing a question, please state clearly what you want to accomplish, 
    what the problem is, and as much information about the problem as 
    possible.</DIV>
    <DIV>I have rechecked some of your recent posts, they are all in telegraph 
    language, and I find it very hard to understand what your question really 
    is.</DIV>
    <DIV>To be honest, the below question really makes no sense to me.</DIV>
    <DIV>g-)</DIV>
    <DIV>&nbsp;</DIV>
    <BLOCKQUOTE 
    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=olivier.taylor@gmail.com 
      href="mailto:olivier.taylor@gmail.com">Olivier Taylor</A> </DIV>
      <DIV style="FONT: 10pt arial"><B>To:</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> Thursday, October 06, 2005 
      01:44 PM</DIV>
      <DIV style="FONT: 10pt arial"><B>Subject:</B> [Serusers] mediaproxy and 
      private ip</DIV>
      <DIV><BR></DIV>
      <DIV><FONT face=Arial size=2><SPAN class=093154211-06102005>Using the last 
      cfg from onsip.org, i just see that now Uas are registered with their 
      private Ip when using mediaproxy.</SPAN></FONT></DIV>
      <DIV><FONT face=Arial size=2><SPAN class=093154211-06102005>Mediaproxy 
      seems the best solution for scalability, that's why I want to test 
      it.</SPAN></FONT></DIV>
      <DIV><FONT face=Arial size=2><SPAN 
      class=093154211-06102005></SPAN></FONT>&nbsp;</DIV>
      <DIV><FONT face=Arial size=2><SPAN class=093154211-06102005>Any 
      Idea?</SPAN></FONT></DIV>
      <P>
      <HR>

      <P></P>_______________________________________________<BR>Serusers mailing 
      list<BR><A href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</A><BR><A 
      href="http://lists.iptel.org/mailman/listinfo/serusers">http://mail.iptel.org/mailman/listinfo/serusers</A><BR></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>