<div dir="ltr"><div><div><div>Hi,<br></div>it&#39;s OK ;)<br></div>indeed, enable trace_flag it&#39;s good.<br><br></div>thanks<br><div><div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/6 Bogdan-Andrei Iancu <span dir="ltr">&lt;<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div><tt>Hi Mickael,<br>
        <br>
        I see you commented the &quot;trace_flag&quot; parameter in your modparm
        section - please enable it back. Even if you do not use it from
        script, it is internally used by the module.<br>
        <br>
        Best regards,<br>
      </tt><div class="im">
      <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre></div><div><div class="h5">
      On 06.12.2013 09:56, Mickael Hubert wrote:<br>
    </div></div></div>
    <blockquote type="cite"><div><div class="h5">
      <div dir="ltr">
        <div>
          <div>Hi Bigdan,<br>
          </div>
          thanks for your answer.<br>
          <br>
        </div>
        <div>I have modify my opensips code:<br>
        </div>
        <div><br>
        </div>
        <div><u>my conf:</u><br>
                  setdebug(6);<br>
                  trace_dialog();<br>
                  setdebug();<br>
          <br>
        </div>
        <div><u><br>
          </u></div>
        <u>see below my opensips.log</u><br>
        <br>
        <i>Dec  6 08:38:22 core-sip-2 /usr/local/sbin/opensips[2054]:
          DBG:dialog:build_new_dlg: new dialog 0x806aee888
          (<a href="mailto:c=1104374-3595304320-30853@asbc1b.hexavoip.local,f=" target="_blank">c=1104374-3595304320-30853@asbc1b.hexavoip.local,f=</a><a href="mailto:sip%3A%2B33310368002@10.84.8.10" target="_blank">sip:+33310368002@10.84.8.10</a>,t=<a href="mailto:sip%3A%2B33XXXXXXX@10.84.8.21" target="_blank">sip:+33XXXXXXX@10.84.8.21</a>;user=phone,ft=3595304320-30953)
          on hash 558<br>
          Dec  6 08:38:22 core-sip-2 /usr/local/sbin/opensips[2054]:
          DBG:core:parse_headers: flags=ffffffffffffffff<br>
          Dec  6 08:38:22 core-sip-2 /usr/local/sbin/opensips[2054]:
          DBG:dialog:init_leg_info: route_set , contact <a href="http://sip:+33XXXXXX@10.84.8.10:5060" target="_blank">sip:+33XXXXXX@10.84.8.10:5060</a>,
          cseq 1 and bind_addr udp:<a href="http://10.84.8.21:5060" target="_blank">10.84.8.21:5060</a><br>
          Dec  6 08:38:22 core-sip-2 /usr/local/sbin/opensips[2054]:
          DBG:dialog:dlg_add_leg_info: set leg 0 for 0x806aee888:
          tag=&lt;3595304320-30953&gt; rcseq=&lt;0&gt;<br>
          Dec  6 08:38:22 core-sip-2 /usr/local/sbin/opensips[2054]:
          DBG:dialog:link_dlg: ref dlg 0x806aee888 with 4 -&gt; 4 in
          h_entry 0x806adf248 - 558 <br>
          Dec  6 08:38:22 core-sip-2 /usr/local/sbin/opensips[2054]:
          DBG:rr:add_rr_param: adding (;xyz=e22.25982815) 0x80146c5e8<br>
          Dec  6 08:38:22 core-sip-2 /usr/local/sbin/opensips[2054]: <b>DBG:siptrace:sip_trace:
            nothing to trace...</b></i><br>
        <br>
        <div>
          <div>
            <div>
              <div class="gmail_extra">I don&#39;t understand this result ;)<br>
                <br>
              </div>
              <div class="gmail_extra">Have you an idea ?<br>
              </div>
              <div class="gmail_extra"><br>
                <div class="gmail_quote">2013/12/5 Bogdan-Andrei Iancu <span dir="ltr">&lt;<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>&gt;</span><br>
                  <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                    <div bgcolor="#FFFFFF" text="#000000">
                      <div><tt>Hello Mickael,<br>
                          <br>
                          Try to place the trace_dialog() between a
                          set_debug(6) and set_debug(), to see what is
                          going on inside the function. Maybe the debug
                          logs will give you an idea.<br>
                          <br>
                          Best regards,<br>
                        </tt>
                        <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
                        <div>
                          <div> On 05.12.2013 09:47, Mickael
                            Hubert wrote:<br>
                          </div>
                        </div>
                      </div>
                      <blockquote type="cite">
                        <div>
                          <div>
                            <div dir="ltr">
                              <div>
                                <div>
                                  <div>Hi list,<br>
                                  </div>
                                  <div>I have an issue with my siptrace
                                    module.<br>
                                  </div>
                                  <div>see below my extract of
                                    opensips.cfg.<br>
                                    <br>
                                  </div>
                                  <div>I want duplicate  dialogs&#39;s
                                    messages to the other server
                                    (10.84.8.201), no DB.<br>
                                  </div>
                                  But, it doesn&#39;t work... no sip message
                                  in my wireshark trace.<br>
                                  <br>
                                </div>
                                Have you an idea ?<br>
                                <br>
                              </div>
                              Thanks in advance<br>
                              <div>
                                <div>
                                  <div><br>
                                    <br>
                                    <i># ----------------- module
                                      siptrace.so -----------<br>
                                      loadmodule &quot;siptrace.so&quot;<br>
                                      # ----- siptrace params -----<br>
                                      modparam(&quot;siptrace&quot;, &quot;db_url&quot;, &quot;&quot;)<br>
                                      modparam(&quot;siptrace&quot;,
                                      &quot;duplicate_uri&quot;,&quot;sip:<a href="http://10.84.8.201:9060" target="_blank">10.84.8.201:9060</a>&quot;)<br>
                                      modparam(&quot;siptrace&quot;,
                                      &quot;duplicate_with_hep&quot;, 1)<br>
                                      modparam(&quot;siptrace&quot;,
                                      &quot;enable_ack_trace&quot;, 1)<br>
                                      modparam(&quot;siptrace&quot;,
                                      &quot;hep_version&quot;, 2)<br>
                                      modparam(&quot;siptrace&quot;,
                                      &quot;trace_to_database&quot;, 0)<br>
                                      #modparam(&quot;siptrace&quot;,
                                      &quot;trace_flag&quot;, 22)<br>
                                      modparam(&quot;siptrace&quot;,
                                      &quot;hep_capture_id&quot;, 2)<br>
                                      modparam(&quot;siptrace&quot;, &quot;trace_on&quot;,
                                      1)</i><br>
                                    <br>
                                    .....<br>
                                    <br>
                                  </div>
                                  in my code:<br>
                                  <br clear="all">
                                  <div>
                                    <div><i> if (is_method(&quot;INVITE&quot;))<br>
                                            {<br>
                                                trace_dialog();</i><br>
                                      <br>
                                      ......<br>
                                      <br>
                                      -- <br>
                                      <div dir="ltr">Cordialement<br>
                                        <br>
                                        HUBERT Mickaël<br>
                                        Ingénieur VOIP - Hexanet<br>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                            <br>
                          </div>
                        </div>
                        <img><br>
                        <fieldset></fieldset>
                        <br>
                        <pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
                      </blockquote>
                      <br>
                    </div>
                  </blockquote>
                </div>
                <br>
                <br clear="all">
                <br>
                -- <br>
                <div dir="ltr">Cordialement<br>
                  <br>
                  HUBERT Mickaël<br>
                  Ingénieur VOIP - Hexanet<br>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      </div></div><img></blockquote>
    <br>
  </div>

</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Cordialement<br><br>HUBERT Mickaël<br>Ingénieur VOIP - Hexanet<br></div>
</div></div></div></div></div></div>

<br>
<img src="http://www.hexanet.fr/sites/files/hexanet/files/20130205_signature_hexanet.gif">