<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hello!<br>
<br>
I am still experiencing two problem with siptrace modul:<br>
<br>
<ol>
  <li>If i set <br>
    <pre class="programlisting">modparam("siptrace", "trace_sl_acks", 1)

    </pre>
Then kamailio is crashing.<br>
Please see this log:<br>
    <br>
    <br>
    <tt>Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: tm
[t_hooks.c:374]: DBG: trans=0xb2a719f4, callback type 1, id 0 entered <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: tm
[t_funcs.c:351]: SER: new INVITE <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: &lt;core&gt;
[msg_translator.c:207]: check_via_address(193.6.222.35, 193.6.222.35,
0) <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: &lt;core&gt;
[mem/shm_mem.c:105]: WARNING:vqm_resize: resize(0) called <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: tm
[t_hooks.c:288]: DBG: trans=0xb2a719f4, callback type 2097152, id 0
entered <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: siptrace
[siptrace.c:530]: storing info... <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24745]: DEBUG: &lt;core&gt;
[parser/parse_to.c:803]: end of header reached, state=29 <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24745]: DEBUG: &lt;core&gt;
[parser/msg_parser.c:185]: DEBUG: get_hdr_field: &lt;To&gt; [70];
uri=[<a class="moz-txt-link-freetext" href="sip:9999@mgc.vvc.niif.hu">sip:9999@mgc.vvc.niif.hu</a>]&nbsp; <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24745]: DEBUG: &lt;core&gt;
[parser/msg_parser.c:187]: DEBUG: to body
[<a class="moz-txt-link-rfc2396E" href="sip:9999@mgc.vvc.niif.hu">&lt;sip:9999@mgc.vvc.niif.hu&gt;</a>] <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24745]: DEBUG: sl
[sl_funcs.c:326]: SL local ACK found -&gt; dropping it! <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24764]: : &lt;core&gt;
[pass_fd.c:293]: ERROR: receive_fd: EOF on 15 <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24764]: DEBUG: &lt;core&gt;
[tcp_main.c:3551]: DBG: handle_ser_child: dead child 2, pid 24745
(shutting down?) <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24764]: DEBUG: &lt;core&gt;
[io_wait.h:617]: DBG: io_watch_del (0x82491c0, 15, -1, 0x0) fd_no=24
called <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: siptrace
[siptrace.c:548]: storing info... <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: ALERT: &lt;core&gt;
[main.c:741]: child process 24745 exited by a signal 11 <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: ALERT: &lt;core&gt;
[main.c:744]: core was not generated <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: INFO: &lt;core&gt;
[main.c:756]: INFO: terminating due to SIGCHLD <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24760]: INFO: &lt;core&gt;
[main.c:807]: INFO: signal 15 received <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24749]: INFO: &lt;core&gt;
[main.c:807]: INFO: signal 15 received <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24748]: INFO: &lt;core&gt;
[main.c:807]: INFO: signal 15 received <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24752]: INFO: &lt;core&gt;
[main.c:807]: INFO: signal 15 received <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24751]: INFO: &lt;core&gt;
[main.c:807]: INFO: signal 15 received <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24750]: INFO: &lt;core&gt;
[main.c:807]: INFO: signal 15 received <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24759]: INFO: &lt;core&gt;
[main.c:807]: INFO: signal 15 received <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24756]: INFO: &lt;core&gt;
[main.c:807]: INFO: signal 15 received <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24762]: INFO: &lt;core&gt;
[main.c:807]: INFO: signal 15 received <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24761]: INFO: &lt;core&gt;
[main.c:807]: INFO: signal 15 received <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24763]: INFO: &lt;core&gt;
[main.c:807]: INFO: signal 15 received <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: INFO: &lt;core&gt;
[main.c:807]: INFO: signal 15 received <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24764]: INFO: &lt;core&gt;
[main.c:807]: INFO: signal 15 received <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24753]: INFO: &lt;core&gt;
[main.c:807]: INFO: signal 15 received <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24746]: INFO: &lt;core&gt;
[main.c:807]: INFO: signal 15 received <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24747]: INFO: &lt;core&gt;
[main.c:807]: INFO: signal 15 received <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: DEBUG: presence_xml
[presence_xml.c:329]: start <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: DEBUG: &lt;core&gt;
[db_pool.c:102]: removing connection from the pool <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: DEBUG: tm
[t_funcs.c:122]: DEBUG: tm_shutdown : start <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: DEBUG: tm
[t_funcs.c:125]: DEBUG: tm_shutdown : emptying hash table <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: DEBUG: tm
[t_funcs.c:127]: DEBUG: tm_shutdown : removing semaphores <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: DEBUG: tm
[t_funcs.c:129]: DEBUG: tm_shutdown : destroying tmcb lists <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: DEBUG: tm
[t_funcs.c:132]: DEBUG: tm_shutdown : done <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: DEBUG: tls
[tls_init.c:657]: tls module final tls destroy <br>
Oct 13 07:25:40 hal /usr/sbin/kamailio[24416]: DEBUG: &lt;core&gt;
[mem/shm_mem.c:236]: shm_mem_destroy <br>
Oct 13 07:25:40 hal /usr/sbin/kamailio[24416]: DEBUG: &lt;core&gt;
[mem/shm_mem.c:239]: destroying the shared memory lock <br>
Oct 13 07:25:40 hal /usr/sbin/kamailio[24416]: DEBUG: &lt;core&gt;
[main.c:760]: terminating due to SIGCHLD </tt><br>
    <br>
    <br>
  </li>
  <li>Every transaction is duplicated in database<br>
    <tt>*************************** 16. row ***************************<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; id: 5802<br>
&nbsp;time_stamp: 2010-10-13 07:37:41<br>
&nbsp;&nbsp;&nbsp;&nbsp; callid: <a class="moz-txt-link-abbreviated" href="mailto:iopigdkukalnese@alma.ki.iif.hu">iopigdkukalnese@alma.ki.iif.hu</a><br>
traced_user: <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; msg: SIP/2.0 200 OK<br>
Via: SIP/2.0/TCP
195.111.192.7;branch=z9hG4bK2a5a.9059e944.0,SIP/2.0/UDP
193.6.222.35;rport=5060;branch=z9hG4bKyfuozdvf<br>
From: "misi" <a class="moz-txt-link-rfc2396E" href="sip:misi@vvc.niif.hu">&lt;sip:misi@vvc.niif.hu&gt;</a>;tag=lwuen<br>
To: <a class="moz-txt-link-rfc2396E" href="sip:9999@mgc.vvc.niif.hu">&lt;sip:9999@mgc.vvc.niif.hu&gt;</a>;tag=mgc_1755674323-3222852<br>
Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:iopigdkukalnese@alma.ki.iif.hu">iopigdkukalnese@alma.ki.iif.hu</a><br>
CSeq: 453 BYE<br>
Contact: <a class="moz-txt-link-rfc2396E" href="sip:195.111.192.29:5060;transport=tcp">&lt;sip:195.111.192.29:5060;transport=tcp&gt;</a>;isfocus<br>
Allow:
REGISTER,INFO,MESSAGE,SUBSCRIBE,NOTIFY,UPDATE,REFER,INVITE,ACK,OPTIONS,CANCEL,BYE<br>
Content-Length: 0<br>
    <br>
    <br>
&nbsp;&nbsp;&nbsp;&nbsp; method: BYE<br>
&nbsp;&nbsp;&nbsp;&nbsp; status: 200<br>
&nbsp;&nbsp;&nbsp;&nbsp; fromip: tcp:195.111.192.29:5060<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; toip: tcp:195.111.192.7:0<br>
&nbsp;&nbsp;&nbsp; fromtag: lwuen<br>
&nbsp; direction: in<br>
*************************** 17. row ***************************<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; id: 5803<br>
&nbsp;time_stamp: 2010-10-13 07:37:41<br>
&nbsp;&nbsp;&nbsp;&nbsp; callid: <a class="moz-txt-link-abbreviated" href="mailto:iopigdkukalnese@alma.ki.iif.hu">iopigdkukalnese@alma.ki.iif.hu</a><br>
traced_user: <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; msg: SIP/2.0 200 OK<br>
Via: SIP/2.0/UDP 193.6.222.35;rport=5060;branch=z9hG4bKyfuozdvf<br>
From: "misi" <a class="moz-txt-link-rfc2396E" href="sip:misi@vvc.niif.hu">&lt;sip:misi@vvc.niif.hu&gt;</a>;tag=lwuen<br>
To: <a class="moz-txt-link-rfc2396E" href="sip:9999@mgc.vvc.niif.hu">&lt;sip:9999@mgc.vvc.niif.hu&gt;</a>;tag=mgc_1755674323-3222852<br>
Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:iopigdkukalnese@alma.ki.iif.hu">iopigdkukalnese@alma.ki.iif.hu</a><br>
CSeq: 453 BYE<br>
Contact: <a class="moz-txt-link-rfc2396E" href="sip:195.111.192.29:5060;transport=tcp">&lt;sip:195.111.192.29:5060;transport=tcp&gt;</a>;isfocus<br>
Allow:
REGISTER,INFO,MESSAGE,SUBSCRIBE,NOTIFY,UPDATE,REFER,INVITE,ACK,OPTIONS,CANCEL,BYE<br>
Content-Length: 0<br>
    <br>
    <br>
&nbsp;&nbsp;&nbsp;&nbsp; method: BYE<br>
&nbsp;&nbsp;&nbsp;&nbsp; status: 200<br>
&nbsp;&nbsp;&nbsp;&nbsp; fromip: tcp:195.111.192.7:5060<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; toip: udp:193.6.222.35:5060<br>
&nbsp;&nbsp;&nbsp; fromtag: lwuen<br>
&nbsp; direction: out</tt><br>
  </li>
</ol>
Can you please help me?<br>
<br>
Many Thanks,<br>
Misi<br>
<br>
2010-10-11 20:27 keltez&eacute;ssel, Daniel-Constantin Mierla &iacute;rta:
<blockquote cite="mid:4CB356FD.5010203@gmail.com" type="cite"><br>
  <br>
On 10/11/10 8:20 PM, M&Eacute;SZ&Aacute;ROS Mih&aacute;ly wrote:
  <br>
  <blockquote type="cite">2010-10-11 17:56 keltez&eacute;ssel,
Daniel-Constantin Mierla &iacute;rta:
    <br>
    <blockquote type="cite"><br>
      <br>
On 10/11/10 4:18 PM, M&Eacute;SZ&Aacute;ROS Mih&aacute;ly wrote:
      <br>
      <blockquote type="cite">Hello,
        <br>
        <blockquote type="cite">is there any other error message before
this one. Siptrace module prints its own messages in error cases.
          <br>
          <br>
        </blockquote>
No!
        <br>
      </blockquote>
The only error return without message was related to trace flag that
looks ok. I added a log message for it. Also, I discovered an issue in
binding to sl module API, but the symptoms should have been different.
      <br>
      <br>
Please pull last 3.1 branch and try again. Let me know if it still
fails to load. I tested and starts ok.
      <br>
      <br>
    </blockquote>
Many thanks Daniel!
    <br>
    <br>
I followed your instructions, so it is working now. (compiled from
latest 3.1 git head)
    <br>
    <br>
Could you please update the debian repository too correct this issue?
    <br>
    <br>
deb <a class="moz-txt-link-freetext" href="http://deb.kamailio.org/kamailio31">http://deb.kamailio.org/kamailio31</a> lenny main
    <br>
  </blockquote>
Thanks for testing.
  <br>
  <br>
Jon Bonilla is working to update the nightly deb building system for
3.1 as well, should be available soon.
  <br>
  <br>
You can build debian locally, I do it with:
  <br>
  <br>
make FLAVOUR=kamailio modules_dirs="modules modules_k" deb
  <br>
  <br>
But you need to install all dependencies or remove those packages you
don't need from deb control files.
  <br>
  <br>
Cheers,
  <br>
Daniel
  <br>
  <br>
</blockquote>
<br>
</body>
</html>