<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
ser 0.9.6 freebsd <br>
<br>
No custom modules<br>
<br>
I will open a bug report with the core,<br>
<br>
Cheers,<br>
<br>
Olivier<br>
<br>
Weiter Leiter a &eacute;crit&nbsp;:
<blockquote cite="mid44A693A3.3030301@gmail.com" type="cite">
  <pre wrap="">Hi Oliver,

What version are you using?
Actually, the parser had been rock solid so far. Anyway, if the header
can not be dealt with, the processing of the packet resumes. Maybe it
would be worth posting the whole log of packet processing.
If you don't have any customized module and are convinced it's ser's
fault, it might be good to open a bug report and attach the core.

WL.

ps. The instance from iptel.org seems to survive pretty well ;).

olivier.taylor wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">When there is a space between sip: and the uri in the headers, I get a core dump.
I have patch my ser.cfg and it's ok now, but I think this is a bug, even if the 
headers are incorrects.

Olivier

    if (method =="REGISTER")
     {
      if (search("^From: &lt;sip:[ ].*"))  {       
            xlog("L_NOTICE", "Bad From Header...Express Talk");
            break;
        };
    };
solve the problem, but...



REGISTER sip:brol.com SIP/2.0.
Via: SIP/2.0/UDP xx.xx.148.109:63521;rport;branch=z9hG4bK422760.
Max-Forwards: 20.
To: &lt;sip: <a class="moz-txt-link-abbreviated" href="mailto:990005180@brol.com">990005180@brol.com</a>&gt;.
From: &lt;sip: <a class="moz-txt-link-abbreviated" href="mailto:990005180@brol.com">990005180@brol.com</a>&gt;;tag=8312.
Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:1151739691-2760-PHOTO@192.168.0.11">1151739691-2760-PHOTO@192.168.0.11</a>.
CSeq: 39 REGISTER.
Contact: &lt;sip: <a class="moz-txt-link-abbreviated" href="mailto:990005180@xx.xx.148.109:63521">990005180@xx.xx.148.109:63521</a>&gt;;expires=3600;q=0.90.
User-Agent: Express Talk 1.04.
Content-Length: 0.


Jul  1 13:32:04 finalcut ser[44275]: ERROR: get_hdr_field: bad to header
Jul  1 13:32:04 finalcut ser[44275]: find_first_route: Error while parsing headers
Jul  1 13:32:04 finalcut ser[44275]: ERROR: get_hdr_field: bad to header
Jul  1 13:32:04 finalcut ser[44275]: ERROR:parse_from_header: bad msg or missing 
FROM header
Jul  1 13:32:05 finalcut kernel: pid 44275 (ser), uid 0: exited on signal 11 
(core dumped)

  
------------------------------------------------------------------------

_______________________________________________
Serusers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Serusers@lists.iptel.org">Serusers@lists.iptel.org</a>
<a class="moz-txt-link-freetext" href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a>
  
    </pre>
  </blockquote>
  <pre wrap=""><!---->

  </pre>
</blockquote>
</body>
</html>