<!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.2900.2769" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV>Rajesh,</DIV>
<DIV>Again, copy the list. The config you sent&nbsp;is NOT the onsip.org config 
and as I have said: You call force_rtp_proxy several times.&nbsp; </DIV>
<DIV>g-)</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=rajesh_mid@yahoo.co.in href="mailto:rajesh_mid@yahoo.co.in">rajesh 
  volluru</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=greger@teigre.com 
  href="mailto:greger@teigre.com">Greger V. Teigre</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, November 10, 2005 10:52 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Serusers] problem with 
  rtpproxy</DIV>
  <DIV><BR></DIV>
  <DIV>hi</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>I see that ser is appending to new IP address multiple times in the 
  Invite message instead of rewriting the address. I had copied entire ser.cfg 
  iam using. Please look at it and let me know if anything is wrong.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>sdpData arg - v=0<BR>o=Rajesh 0 0 IN IP4 
  192.168.1.223<BR>s=-<BR><STRONG>c=IN IP4 
  68.225.20.25069.229.23.5769.229.23.5769.229.23.57<BR></STRONG>t=0 
  0<BR><STRONG>m=audio 351843518435236 RTP/AVP 0 3 4 5 6 8 15 
  18<BR></STRONG>m=video 35238 RTP/AVP 26 34 
  31<BR>a=recvonly<BR>a=direction:active<BR>a=oldmediaip:192.168.1.223<BR>a=nortpproxy:yes<BR>a=nortpproxy:yes</DIV>
  <DIV><STRONG>java.lang.NumberFormatException: For input string: 
  "351843518435236"<BR></STRONG></DIV>
  <DIV>Thanks</DIV>
  <DIV>Rajesh</DIV>
  <DIV>&nbsp;</DIV>
  <DIV># $Id: nat-rtpproxy.cfg 9 2005-08-19 15:30:55Z /CN=Greger V. <A 
  href="mailto:Teigre/emailAddress=greger@onsip.org">Teigre/emailAddress=greger@onsip.org</A> 
  $<BR>debug=9<BR>fork=yes<BR>log_stderror=yes</DIV>
  <DIV>listen=69.229.23.57&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  # INSERT YOUR IP ADDRESS HERE<BR>port=5060<BR>children=4</DIV>
  <DIV>dns=no<BR>rev_dns=no<BR>fifo="/tmp/ser_fifo"<BR>fifo_db_url="mysql://ser:heslo@localhost/ser"</DIV>
  <DIV>loadmodule "/usr/local/lib/ser/modules/mysql.so"<BR>loadmodule 
  "/usr/local/lib/ser/modules/sl.so"<BR>loadmodule 
  "/usr/local/lib/ser/modules/tm.so"<BR>loadmodule 
  "/usr/local/lib/ser/modules/rr.so"<BR>loadmodule 
  "/usr/local/lib/ser/modules/maxfwd.so"<BR>loadmodule 
  "/usr/local/lib/ser/modules/usrloc.so"<BR>loadmodule 
  "/usr/local/lib/ser/modules/registrar.so"<BR>loadmodule 
  "/usr/local/lib/ser/modules/auth.so"<BR>loadmodule 
  "/usr/local/lib/ser/modules/auth_db.so"<BR>loadmodule 
  "/usr/local/lib/ser/modules/uri.so"<BR>loadmodule 
  "/usr/local/lib/ser/modules/uri_db.so"<BR>loadmodule 
  "/usr/local/lib/ser/modules/domain.so"<BR>loadmodule 
  "/usr/local/lib/ser/modules/mediaproxy.so"<BR>loadmodule 
  "/usr/local/lib/ser/modules/nathelper.so"<BR>loadmodule 
  "/usr/local/lib/ser/modules/textops.so"</DIV>
  <DIV>modparam("auth_db|uri_db|usrloc", "db_url", 
  "mysql://ser:heslo@localhost/ser")<BR>modparam("auth_db", "calculate_ha1", 
  1)<BR>modparam("auth_db", "password_column", "password")</DIV>
  <DIV>modparam("nathelper", "natping_interval", 60)<BR>modparam("nathelper", 
  "ping_nated_only", 1)<BR>modparam("nathelper", "rtpproxy_sock", 
  "unix:/var/run/rtpproxy.sock")<BR>modparam("mediaproxy","mediaproxy_socket", 
  "/var/run/mediaproxy.sock")<BR>modparam("mediaproxy","sip_asymmetrics","/usr/local/etc/ser/sip-clients")<BR>modparam("mediaproxy","rtp_asymmetrics","/usr/local/etc/ser/rtp-clients")</DIV>
  <DIV>modparam("usrloc", "db_mode", 2)</DIV>
  <DIV>modparam("registrar", "nat_flag", 6)</DIV>
  <DIV>modparam("rr", "enable_full_lr", 1)</DIV>
  <DIV>route {<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # 
  -----------------------------------------------------------------<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  # Sanity Check Section<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # 
  -----------------------------------------------------------------<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  if (!mf_process_maxfwd_header("10")) 
  {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  sl_send_reply("483", "Too Many 
  Hops");<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; };</DIV>
  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (msg:len &gt; max_len) 
  {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  sl_send_reply("513", "Message 
  Overflow");<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; };</DIV>
  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # 
  -----------------------------------------------------------------<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  # Record Route Section<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # 
  -----------------------------------------------------------------<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  if (method=="INVITE" &amp;&amp; 
  client_nat_test("3"))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  # INSERT YOUR IP ADDRESS 
  HERE<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  record_route_preset("69.229.23.57:5060;nat=yes");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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  {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  record_route();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };</DIV>
  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (method=="BYE" || 
  method=="CANCEL")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  unforce_rtp_proxy();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  end_media_session();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</DIV>
  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # 
  -----------------------------------------------------------------<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  # Loose Route Section<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # 
  -----------------------------------------------------------------<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  if (loose_route()) {</DIV>
  <DIV>&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;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sp;&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; 
  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; };</DIV>
  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # 
  -----------------------------------------------------------------<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  # Call Type Processing Section<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # 
  -----------------------------------------------------------------<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  if (uri!=myself) 
  {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  route(4);<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; };</DIV>
  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (method=="CANCEL") 
  {<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; } else if 
  (method=="INVITE") 
  {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  route(3);<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; } else&nbsp; if 
  (method=="REGISTER") 
  {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  route(2);<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; };</DIV>
  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  lookup("aliases");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if 
  (uri!=myself) 
  {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  route(4);<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; };</DIV>
  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!lookup("location")) 
  {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  sl_send_reply("404", "User Not 
  Found");<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; };</DIV>
  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; route(1);<BR>}</DIV>
  <DIV>route[1] {<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # 
  -----------------------------------------------------------------<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  # Default Message Handler<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # 
  -----------------------------------------------------------------</DIV>
  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t_on_reply("1");</DIV>
  <DIV>&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sp;&nbsp;&nbsp;&nbsp;&nbsp; };<BR>}</DIV>
  <DIV>route[2] {</DIV>
  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # 
  -----------------------------------------------------------------<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  # REGISTER Message Handler<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # 
  ----------------------------------------------------------------</DIV>
  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!search("^Contact:[ ]*\*") 
  &amp;&amp; nat_uac_test("19")) 
  {<BR>&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; 
  fix_nated_register();<BR>&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; };</DIV>
  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sl_send_reply("100", 
  "Trying");</DIV>
  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if 
  (!www_authorize("adsl-69-229-23-57.dsl.irvnca.pacbell.net","subscriber")) 
  {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  www_challenge("adsl-69-229-23-57.dsl.irvnca.pacbell.net","0");<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; };</DIV>
  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!check_to()) 
  {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  sl_send_reply("401", 
  "Unauthorized");<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; };</DIV>
  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; consume_credentials();</DIV>
  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!save("location")) 
  {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  sl_reply_error();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  };<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sl_send_reply("100", 
  "Trying");<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  if (!search("^Contact:[ ]*\*") &amp;&amp; client_nat_test("7")) 
  {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs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nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # 
  -----------------------------------------------------------------<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  # INVITE Message Handler<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # 
  -----------------------------------------------------------------</DIV>
  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if 
  (!proxy_authorize("adsl-69-229-23-57.dsl.irvnca.pacbell.net","subscriber")) 
  {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  proxy_challenge("adsl-69-229-23-57.dsl.irvnca.pacbell.net","0");<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; } else if (!check_from()) 
  {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  sl_send_reply("403", "Use 
  From=ID");<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; };</DIV>
  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  consume_credentials();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if 
  (client_nat_test("3")) 
  {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };</DIV>
  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!lookup("location")) 
  {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  sl_send_reply("404", "User Not 
  Found");<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; };</DIV>
  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  route(4);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; route(1);<BR>}</DIV>
  <DIV>route[4] {</DIV>
  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # 
  -----------------------------------------------------------------<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  # NAT Traversal Section<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # 
  -----------------------------------------------------------------</DIV>
  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (isflagset(6)) 
  {<BR>&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; 
  fix_nated_contact();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  force_rtp_proxy();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  };<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (isflagset(6) || 
  isflagset(7)) 
  {<BR>&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; };<BR>}</DIV>
  <DIV>onreply_route[1] {</DIV>
  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (isflagset(6) &amp;&amp; 
  status=~"(180)|(183)|2[0-9][0-9]") 
  {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  if (!search("^Content-Length:[ ]*0")) 
  {<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_rtp_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; 
  use_media_proxy();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  };<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };</DIV>
  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (nat_uac_test("1")) 
  {<BR>&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; 
  };<BR>}<BR><BR><BR><B><I>"Greger V. Teigre" &lt;greger@teigre.com&gt;</I></B> 
  wrote:</DIV>
  <BLOCKQUOTE class=replbq 
  style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
    <META content="MSHTML 6.00.2900.2769" name=GENERATOR>
    <DIV>Please copy the list.</DIV>
    <DIV>&nbsp;</DIV>
    <DIV>If you use a vanilla onsip.org config, it's pretty thoroughly tested by 
    now, so I would be tempted to say that there is something wrong with the 
    client or the setup of the client.</DIV>
    <DIV>g-)</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=rajesh_mid@yahoo.co.in 
      href="mailto:rajesh_mid@yahoo.co.in">rajesh volluru</A> </DIV>
      <DIV style="FONT: 10pt arial"><B>To:</B> <A title=greger@teigre.com 
      href="mailto:greger@teigre.com">Greger V. Teigre</A> </DIV>
      <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, November 09, 2005 
      2:04 AM</DIV>
      <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Serusers] problem with 
      rtpproxy</DIV>
      <DIV><BR></DIV>
      <DIV>hi</DIV>
      <DIV>&nbsp;</DIV>
      <DIV>Thanks for your reply. I did configure ser.cfg as said at onsip.org 
      for rtp proxy. But, i still get below exception when I am behind 
NAT.</DIV>
      <DIV>&nbsp;</DIV>
      <DIV>net.java.sip.communicator.media.MediaException: Incorrect SDP 
      data!<BR>&nbsp;at 
      net.java.sip.communicator.media.MediaManager.openMediaStreams(MediaManager.java:307)<BR>&nbsp;at 
      net.java.sip.communicator.SipCommunicator.callStateChanged(SipCommunicator.java:758)<BR>&nbsp;at 
      net.java.sip.communicator.sip.Call.fireCallStatusChangedEvent(Call.java:250)<BR>&nbsp;at 
      net.java.sip.communicator.sip.Call.setState(Call.java:156)<BR>&nbsp;at 
      net.java.sip.communicator.sip.CallProcessing.processAck(CallProcessing.java:566)<BR>&nbsp;at 
      net.java.sip.communicator.sip.SipManager.processRequest(SipManager.java:1532)<BR>&nbsp;at 
      gov.nist.javax.sip.EventScanner.deliverEvent(EventScanner.java:204)<BR>&nbsp;at 
      gov.nist.javax.sip.EventScanner.run(EventScanner.java:352)<BR>&nbsp;at 
      java.lang.Thread.run(Unknown Source)<BR>Caused by: 
      javax.sdp.SdpParseException: Could not parse message<BR>&nbsp;at 
      javax.sdp.SdpFactory.createSessionDescription(SdpFactory.java:114)<BR>&nbsp;at 
      net.java.sip.communicator.media.MediaManager.openMediaStreams(MediaManager.java:302)<BR>&nbsp;... 
      8 more<BR></DIV>
      <DIV>Please let me know the possible reason for this error. When I start 
      ser, it shows the message ' RTP proxy found. support for RTP 
      enabled'.</DIV>
      <DIV>&nbsp;</DIV>
      <DIV>Thanks</DIV>
      <DIV>Rajesh</DIV>
      <DIV><BR><BR><B><I>"Greger V. Teigre" &lt;greger@teigre.com&gt;</I></B> 
      wrote:</DIV>
      <BLOCKQUOTE class=replbq 
      style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
        <META content="MSHTML 6.00.2900.2769" name=GENERATOR>
        <STYLE></STYLE>

        <DIV>Are you using the configs from onsip.org? If not, you may find some 
        help there ;-)</DIV>
        <DIV>g-)</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=rajesh_mid@yahoo.co.in 
          href="mailto:rajesh_mid@yahoo.co.in">rajesh volluru</A> </DIV>
          <DIV style="FONT: 10pt arial"><B>To:</B> <A title=serusers@lists.iptel.org 
          href="mailto:serusers@lists.iptel.org">Sip Users</A> </DIV>
          <DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, November 08, 2005 
          12:37 AM</DIV>
          <DIV style="FONT: 10pt arial"><B>Subject:</B> [Serusers] problem with 
          rtpproxy</DIV>
          <DIV><BR></DIV>
          <DIV>hi</DIV>
          <DIV>&nbsp;</DIV>
          <DIV>I had installed ser with media and rtp proxy. Below is the output 
          that i get when I start ser. However, iam not able receive any audio 
          transmission when I connect through sip communicator when iam behind 
          NAT. I am able to register with the server.</DIV>
          <DIV>&nbsp;</DIV>
          <DIV>0(0) fixing /usr/local/lib/ser/modules/maxfwd.so 
          mf_process_maxfwd_header<BR>&nbsp;0(0) fixing 
          /usr/local/lib/ser/modules/sl.so sl_send_reply<BR>&nbsp;0(0) fixing 
          /usr/local/lib/ser/modules/sl.so sl_send_reply<BR>&nbsp;0(0) fixing 
          /usr/local/lib/ser/modules/mediaproxy.so client_nat_test<BR>&nbsp;0(0) 
          fixing /usr/local/lib/ser/modules/textops.so search<BR>&nbsp;0(0) 
          module - fixing ^Record-Route:<BR>&nbsp;0(0) fixing 
          /usr/local/lib/ser/modules/mediaproxy.so fix_contact<BR>&nbsp;0(0) 
          fixing /usr/local/lib/ser/modules/nathelper.so 
          fix_nated_sdp<BR>&nbsp;0(0) fixing /usr/local/lib/ser/modules/rr.so 
          record_route<BR>&nbsp;0(0) fixing /usr/local/lib/ser/modules/rr.so 
          loose_route<BR>&nbsp;0(0) fixing /usr/local/lib/ser/modules/textops.so 
          append_hf<BR>&nbsp;0(0) fixing /usr/local/lib/ser/modules/textops.so 
          append_hf<BR>&nbsp;0(0) fixing /usr/local/lib/ser/modules/registrar.so 
          lookup<BR>&nbsp;0(0) get_connection(): Connection not found in the 
          pool<BR>&nbsp;0(0) preload_udomain():! ! Table is empty<BR>&nbsp;0(0) 
          release_connection(): Removing connection from the pool<BR>&nbsp;0(0) 
          fixing /usr/local/lib/ser/modules/auth_db.so 
          www_authorize<BR>&nbsp;0(0) get_connection(): Connection not found in 
          the pool<BR>&nbsp;0(0) release_connection(): Removing connection from 
          the pool<BR>&nbsp;0(0) fixing /usr/local/lib/ser/modules/auth.so 
          www_challenge<BR>&nbsp;0(0) fixing 
          /usr/local/lib/ser/modules/registrar.so save<BR>&nbsp;0(0) 
          get_connection(): Connection not found in the pool<BR>&nbsp;0(0) 
          release_connection(): Removing connection from the pool<BR>&nbsp;0(0) 
          fixing /usr/local/lib/ser/modules/textops.so append_hf<BR>&nbsp;0(0) 
          fixing /usr/local/lib/ser/modules/registrar.so lookup<BR>&nbsp;0(0) 
          fixing /usr/local/lib/ser/modules/sl.so sl_send_reply<BR>&nbsp;0(0) 
          fixing /usr/local/lib/ser/modules/textops.so append_hf<BR>&nbsp;0(0) 
          fixing /usr/local/lib/ser/modules/textops.so search<BR>&nbsp;0(0) 
          module - fixing ^Route:<BR>&nbsp;0(0) fixing 
          /usr/local/lib/ser/modules/sl.so sl_send_reply<BR>&nbsp;0(0) fixing 
          /usr/local/lib/ser/modules/mediaproxy.so use_media_proxy<BR>&nbsp;0(0) 
          fixing /usr/local/lib/ser/modules/tm.so t_on_reply<BR>&nbsp;0(0) 
          fixing /usr/local/lib/ser/modules/tm.so t_relay<BR>&nbsp;0(0) fixing 
          /usr/local/lib/ser/modules/sl.so sl_reply_error<BR>&nbsp;0(0) fixing 
          /usr/local/lib/ser/modules/mediaproxy.so fix_contact<BR>&nbsp;0(0) 
          fixing /usr/local/lib/ser/modules/mediaproxy.so 
          use_media_proxy<BR>&nbsp;0(0) fixing 
          /usr/local/lib/ser/modules/mediaproxy.so client_nat_test<BR>&nbsp;0(0) 
          fixing /usr/local/lib/ser/modules/mediaproxy.so 
          fix_contact<BR>&nbsp;0(0) INFO: udp_init: SO_RCVBUF is initially 
          110592<BR>&nbsp;0(0) DEBUG: udp_init: trying SO_RCVBUF: 
          221184<BR>&nbsp;0(0) DEBUG: setting SO_RCVBUF; 
          set=221184,verify=221184<BR>&nbsp;0(0) DEBUG: udp_init: trying 
          SO_RCVBUF: 223232<BR>&nbsp;0(0) DEBUG: setting SO_RCVBUF; 
          set=223232,verify=221184<BR>&nbsp;0(0) DEBUG: setting SO_RCVBUF has no 
          effect<BR>&nbsp;0(0) INFO: udp_init: SO_RCVBUF i! ! s finally 
          221184<BR>&nbsp;0(0) DBG: open_uac_fifo: opening fifo...<BR>&nbsp;0(0) 
          DEBUG: FIFO created @ /tmp/ser_fifo<BR>&nbsp;0(0) DEBUG: fifo 
          /tmp/ser_fifo opened, mode=432<BR>&nbsp;0(0) init_unixsock_socket: No 
          unix domain socket will be opened<BR>&nbsp;2(0) INFO: fifo process 
          starting: 19946<BR>&nbsp;2(0) DEBUG: init_mod_child (-2): 
          tm<BR>&nbsp;2(0) DEBUG: callid: <A 
          href="mailto:'57b7f7f7-0@69.229.23.57'">'57b7f7f7-0@69.229.23.57'</A><BR>&nbsp;2(0) 
          DEBUG: init_mod_child (-2): usrloc<BR>&nbsp;2(0) get_connection(): 
          Connection not found in the pool<BR>&nbsp;0(19941) DEBUG: 
          init_mod_child (1): tm<BR>&nbsp;0(19941) DEBUG: callid: <A 
          href="mailto:'57b7f7f7-19941@69.229.23.57'">'57b7f7f7-19941@69.229.23.57'</A><BR>&nbsp;0(19941) 
          DEBUG: init_mod_child (1): usrloc<BR>&nbsp;0(19941) get_connection(): 
          Connection not found in the pool<BR>&nbsp;1(0) DEBUG: init_mod_child 
          (-1): tm<BR>&nbsp;1(19945) DEBUG: callid: <A 
          href="mailto:'57b7f7f7-19945@69.229.23.57'">'57b7f7f7-19945@69.229.23.57'</A><BR>&nbsp;1(19945) 
          DEBUG: init_mod_child (-1): usrloc<BR>&nbsp;1(19945) get_connection(): 
          Connection not found in the pool<BR>&nbsp;0(19941) DEBUG: 
          init_mod_child (1): auth_db<BR>&nbsp;0(19941) get_connection(): 
          Connection not found in the pool<BR>&nbsp;1(19945) DEBUG: 
          init_mod_child (-1): auth_db<BR>&nbsp;1(19945) get_connection(): 
          Connection not found in the pool<BR>&nbsp;0(19941) DEBUG: 
          init_mod_child (1): domain<BR>&nbsp;0(19941) get_connection(): 
          Connection found in the pool<BR>&nbsp;0(19941) DEBUG: init_mod_child 
          (1): nathelper<BR>&nbsp;2(19946) DEBUG: init_mod_child (-2): 
          auth_db<BR>&nbsp;2(19946) get_connection(): Connection not found in 
          the pool<BR>&nbsp;1(19945) DEBUG: init_mod_child (-1): 
          domain<BR>&nbsp;1(19945) DEBUG: init_mod_child (-1): 
          nathelper<BR>&nbsp;0(19941) rtpp_test: RTP proxy found, support for it 
          enabled<BR>&nbsp;1(19945) rtpp_test: RTP proxy found, support for it 
          enabled<BR>&nbsp;2(19946) DEBUG: init_mod_child (-2): 
          domain<BR>&nbsp;2(19946) DEBUG: init_mod_child (-2): 
          nathelper<BR>&nbsp;2(19946) rtpp_test: RTP proxy found, support for it 
          enabled<BR>&nbsp;2(19946) SER: open_uac_fifo: fifo server up at 
          /tmp/ser_fifo...<BR>&nbsp;2(19946) DEBUG: register_fifo_cmd: new 
          command (print) registered<BR>&nbsp;2(19946) DEBUG: register_fifo_cmd: 
          new command (uptime) registered<BR>&nbsp;2(19946) DEBUG: 
          register_fifo_cmd: new command (version) registered<BR>&nbsp;2(19946) 
          DEBUG: register_fifo_cmd: new command (pwd) 
          registered<BR>&nbsp;2(19946) DEBUG: register_fifo_cmd: new command 
          (arg) registered<BR>&nbsp;2(19946) DEBUG: register_fifo_cmd: new 
          command (which) registered<BR>&nbsp;2(19946) DEBUG: register_fifo_cmd: 
          new command (ps) registered<BR>&nbsp;2(19946) DEBUG: 
          register_fifo_cmd: new command (kill) registered<BR>&nbsp;2(19946) 
          WARNING: no fifo_db_url given - fifo DB commands disabled!<BR></DIV>
          <DIV>Let me know if&nbsp;you find any configuration error in 
SER.</DIV>
          <DIV>Please let me if you need any more information. I am trying to 
          configure SER from long time. Please help me.</DIV>
          <DIV>&nbsp;</DIV>
          <DIV>Thanks</DIV>
          <DIV>Rajesh</DIV>
          <DIV>&nbsp;</DIV>
          <P>
          <HR SIZE=1>
          Enjoy this Diwali with Y! India <A 
          href="http://in.promos.yahoo.com/fabmall/index.html">Click here</A> 
          <P>
          <HR SIZE=1>
          Enjoy this Diwali with Y! India <A 
          href="http://in.promos.yahoo.com/fabmall/index.html">Click here</A> 
          <P>
          <HR>

          <P></P>_______________________________________________<BR>Serusers 
          mailing 
          list<BR>serusers@lists.iptel.org<BR>http://lists.iptel.org/mailman/listinfo/serusers<BR></BLOCKQUOTE></BLOCKQUOTE>
      <P>
      <HR SIZE=1>
      Enjoy this Diwali with Y! India <A 
      href="http://in.promos.yahoo.com/fabmall/index.html">Click 
    here</A></BLOCKQUOTE></BLOCKQUOTE>
  <P>
  <HR SIZE=1>
  Enjoy this Diwali with Y! India <A 
  href="http://in.promos.yahoo.com/fabmall/index.html">Click 
here</A></BLOCKQUOTE></BODY></HTML>