<!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><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I got the said error&nbsp; on a 
REGISTER.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>And i'm using the standar nathelper.cfg (modified 
with mediaproxy commands).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Ri Liang</FONT></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=ag@ag-projects.com href="mailto:ag@ag-projects.com">Adrian 
  Georgescu</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=rliang@callmyway.com 
  href="mailto:rliang@callmyway.com">Ri Liang</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=tjapko@xeloq.com 
  href="mailto:tjapko@xeloq.com">tjapko@xeloq.com</A> ; <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, June 03, 2004 1:52 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Serusers] ser stable + 
  mediaproxy</DIV>
  <DIV><BR></DIV>You should apply the functions from the module to INVITE and 
  REGISTER only. Messages having no contact header will give the warning which 
  is harmless but your config needs some tuning.<BR><BR>Adrian<BR><BR>On Jun 3, 
  2004, at 9:23 AM, Ri Liang wrote:<BR><BR>
  <BLOCKQUOTE><?fontfamily><?param Arial><?smaller>Thanks a lot,<?/smaller><?/fontfamily><BR>&nbsp;<BR><?fontfamily><?param Arial><?smaller>I'm 
    now using lates ser stable 
    CVS+mediaproxy.<?/smaller><?/fontfamily><BR>&nbsp;<BR>But in the register 
    process i got this error (the user get successfully register), please advise 
    if this is a normal messsage.<BR>&nbsp;<BR><?fontfamily><?param Arial><?smaller>....<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    error: mediaproxy/getContactURI(): error parsing Contact body<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>....<?/smaller><?/fontfamily><BR>&nbsp;<BR>&nbsp;<BR><?fontfamily><?param Arial><?smaller>Ri 
    Liang<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>------------------------------------------------------------------------------------------------------<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]:&nbsp; 
    method:&nbsp; &lt;REGISTER&gt;<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]:&nbsp; 
    uri:&nbsp;&nbsp;&nbsp;&nbsp; &lt;sip:192.168.2.3&gt;<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]:&nbsp; 
    version: &lt;SIP/2.0&gt;<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    parse_headers: flags=1<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    Found param type 232, &lt;branch&gt; = &lt;z9hG4bK3e28f0599ccb9b4a&gt;; 
    state=16<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    end of header reached, state=5<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    parse_headers: Via found, flags=1<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    parse_headers: this is the first via<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    After parse_msg...<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    preparing to run routing scripts...<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    DEBUG : is_maxfwd_present: searching for max_forwards header<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    parse_headers: flags=128<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    end of header reached, state=9<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    DEBUG: get_hdr_field: &lt;To&gt; [35]; uri=[sip:2222@192.168.2.3;user=phone]<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    DEBUG: to body [&lt;sip:2222@192.168.2.3;user=phone&gt;^M ]<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    get_hdr_field: cseq &lt;CSeq&gt;: &lt;100&gt; &lt;REGISTER&gt;<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    DEBUG: is_maxfwd_present: value = 70<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    parse_headers: flags=64<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    error: mediaproxy/getContactURI(): error parsing Contact body<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    check_via_address(192.168.2.22, 192.168.2.22, 
0)<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    parse_headers: flags=256<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    DEBUG: get_hdr_body : content_length=0<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    found end of header<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    find_first_route(): No Route headers found<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    loose_route(): There is no Route HF<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    check_self - checking if host==us: 11==9 &amp;&amp;&nbsp; [192.168.2.3] == 
    [127.0.0.1]<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    check_self - checking if port 5060 matches port 5060<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    check_self - checking if host==us: 11==11 &amp;&amp;&nbsp; [192.168.2.3] == 
    [192.168.2.3]<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    check_self - checking if port 5060 matches port 5060<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    check_self - checking if host==us: 11==9 &amp;&amp;&nbsp; [192.168.2.3] == 
    [127.0.0.1]<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    check_self - checking if port 5060 matches port 5060<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    check_self - checking if host==us: 11==11 &amp;&amp;&nbsp; [192.168.2.3] == 
    [192.168.2.3]<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    check_self - checking if port 5060 matches port 5060<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    parse_headers: flags=4096<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    pre_auth(): Credentials with given realm not 
    found<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    build_auth_hf(): 'WWW-Authenticate: Digest realm="sip.callmyway.net", 
    nonce="40bec3e4d09adf671de759a294bcdca543de6efc"^M '<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    parse_headers: flags=-1<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    check_via_address(192.168.2.22, 192.168.2.22, 
0)<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8813]: 
    receive_msg: cleaning up<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?smaller>/ser[8811]: 
    SIP Request:<?/smaller><?/fontfamily><BR>&nbsp;<BR><?fontfamily><?param Arial><?smaller>------------------------------------------------------------------------------------------------------<?/smaller><?/fontfamily><BR><?fontfamily><?param Arial><?x-tad-bigger>----- 
    Original Message -----<?/x-tad-bigger><?/fontfamily><BR><?fontfamily><?param Arial><?x-tad-bigger><?/x-tad-bigger><B><?x-tad-bigger>From:<?/x-tad-bigger></B><?x-tad-bigger> 
<?/x-tad-bigger><?color><?param 0000,0000,EEEE><?x-tad-bigger>Tjapko ITS 
    Consult@ncy<?/x-tad-bigger><?/color><?x-tad-bigger> <?/x-tad-bigger><?/fontfamily><BR><B><?fontfamily><?param Arial><?x-tad-bigger>To:<?/x-tad-bigger><?/fontfamily></B><?fontfamily><?param Arial><?x-tad-bigger> 
<?/x-tad-bigger><?color><?param 0000,0000,EEEE><?x-tad-bigger>Adrian 
    Georgescu<?/x-tad-bigger><?/color><?x-tad-bigger> ; <?/x-tad-bigger><?color><?param 0000,0000,EEEE><?x-tad-bigger>rliang@callmyway.com<?/x-tad-bigger><?/color><?x-tad-bigger> 
<?/x-tad-bigger><?/fontfamily><BR><B><?fontfamily><?param Arial><?x-tad-bigger>Cc:<?/x-tad-bigger><?/fontfamily></B><?fontfamily><?param Arial><?x-tad-bigger> 
<?/x-tad-bigger><?color><?param 0000,0000,EEEE><?x-tad-bigger>serusers@lists.iptel.org<?/x-tad-bigger><?/color><?x-tad-bigger> 
<?/x-tad-bigger><?/fontfamily><BR><B><?fontfamily><?param Arial><?x-tad-bigger>Sent:<?/x-tad-bigger><?/fontfamily></B><?fontfamily><?param Arial><?x-tad-bigger> 
    Tuesday, June 01, 2004 5:24 AM<?/x-tad-bigger><?/fontfamily><BR><B><?fontfamily><?param Arial><?x-tad-bigger>Subject:<?/x-tad-bigger><?/fontfamily></B><?fontfamily><?param Arial><?x-tad-bigger> 
    RE: [Serusers] ser stable + mediaproxy<?/x-tad-bigger><?/fontfamily><BR><BR><?fontfamily><?param Arial><?color><?param 0000,0000,FFFF><?smaller>Hello, 
    I&nbsp;had same problem. Use stable 0.8.12 SER from latest CVS and 
    mediaproxy from latest CVS head. Recompile this and it should work. Do not 
    use rpm or tarball to create your SER. Hope this helps. I 
    have&nbsp;discovered more things that are causing problems implementing SER 
    with Mediaproxy. &nbsp;Tjapko.<?/smaller><?/color><?/fontfamily><BR><?fontfamily><?param Arial><?color><?param 0000,0000,FFFF><?smaller><?/smaller><?/color><?/fontfamily><?fontfamily><?param Tahoma><?smaller>-----Original 
    Message-----<?/smaller><?/fontfamily><BR><B><?fontfamily><?param Tahoma><?smaller>From:<?/smaller><?/fontfamily></B><?fontfamily><?param Tahoma><?smaller> 
<?color><?param 0000,0000,EEEE>serusers-bounces@lists.iptel.org<?/color> 
    [mailto:serusers-bounces@lists.iptel.org]<B>On Behalf Of </B>Adrian Georgescu<?/smaller><?/fontfamily><BR><B><?fontfamily><?param Tahoma><?smaller>Sent:<?/smaller><?/fontfamily></B><?fontfamily><?param Tahoma><?smaller> 
    Martes, 01 de Junio de 2004 03:38 a.m.<?/smaller><?/fontfamily><BR><B><?fontfamily><?param Tahoma><?smaller>To:<?/smaller><?/fontfamily></B><?fontfamily><?param Tahoma><?smaller> 
<?color><?param 0000,0000,EEEE>rliang@callmyway.com<?/color><?/smaller><?/fontfamily><BR><B><?fontfamily><?param Tahoma><?smaller>Cc:<?/smaller><?/fontfamily></B><?fontfamily><?param Tahoma><?smaller> 
    serusers@lists.iptel.org<?/smaller><?/fontfamily><BR><B><?fontfamily><?param Tahoma><?smaller>Subject:<?/smaller><?/fontfamily></B><?fontfamily><?param Tahoma><?smaller> 
    [Serusers] ser stable + mediaproxy<?/smaller><?/fontfamily><BR><BR>Hi 
    Ri,<BR><BR>We use successfully mediaproxy with both stable and unstable 
    branches of ser on Debian systems. There is no known reason it should crash, 
    maybe IPTEL guys would have more clues as I saw this problem being reported 
    several time.<BR><BR>Adrian<BR><BR><BR>--<BR>Hello,<BR><BR>I'm using lates 
    ser CVS stable with mediaproxy (from unstable ser directory<BR>and also 
    using the mysql create with unstable ser_mysql.sh).<BR><BR>SER crash in the 
    same moment when a sip cliente get register with the<BR>correct user and 
    password, i have attach the syslog.<BR><BR>Am I using the right combination 
    of SER+mediaproxy ? or do i need to use<BR>only the unstable ser (with it's 
    mediaproxy include).<BR></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>