<div>Use only one method, not both at the same time in opensips.cfg. For sip_trace method, use it immediately after sanity checks in main route, e.g.</div><div><br></div><div>route {</div><div><div>        if (!mf_process_maxfwd_header(&quot;10&quot;)) {</div>

<div>                sl_send_reply(&quot;483&quot;,&quot;Too Many Hops&quot;);</div><div>                exit;</div><div>        };</div><div><br></div><div>        if (msg:len &gt; max_len) {</div><div>                sl_send_reply(&quot;513&quot;,&quot;Message Too Big&quot;);</div>

<div>                exit;</div><div>        };</div><div><br></div><div>       sip_trace();</div></div><div>...</div><div><br></div><div>OK make sure you call it for each single SIP method you are interested in, whenever you are processing it opensips.cfg, e.g.</div>

<div><br></div><div>       ...</div><div><br></div><div>        if (is_method(&quot;INVITE&quot;)) {</div><div>                 sip_trace();</div><div>                 ...</div><div><br></div><div>        } else if (is_method(&quot;REGISTER&quot;)) {</div>

<div>                 sip_trace();</div><div>                 ...</div><div>        }        </div><div><br></div><div>       ...</div><div><br></div><div><br></div>This should work, if it does not then its most likely a bug. I remember somebody reported such bug in older opensips version (perhaps 1.7.x) and it was fixed by the dev team. So it should work..<br>

<br>Thank you.<br><br><br><div class="gmail_quote">On Sat, Feb 9, 2013 at 7:34 AM, Dragomir Haralambiev <span dir="ltr">&lt;<a href="mailto:goup2010@gmail.com" target="_blank">goup2010@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I try with both , results the same.<br>
<br>
2013/2/9 Muhammad Shahzad &lt;<a href="mailto:shaheryarkh@gmail.com">shaheryarkh@gmail.com</a>&gt;:<br>
<div class="HOEnZb"><div class="h5">&gt; How you are doing sip trace? Are you calling sip_trace method or setting sip<br>
&gt; trace dialog flag in opensips.cfg?<br>
&gt;<br>
&gt; <a href="http://www.opensips.org/html/docs/modules/1.8.x/siptrace.html#id248315" target="_blank">http://www.opensips.org/html/docs/modules/1.8.x/siptrace.html#id248315</a><br>
&gt;<br>
&gt; Thank you.<br>
&gt;<br>
&gt;<br>
&gt; On Fri, Feb 8, 2013 at 11:31 PM, Dragomir Haralambiev &lt;<a href="mailto:goup2010@gmail.com">goup2010@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hello,<br>
&gt;&gt;<br>
&gt;&gt; I have problem with siptrace in OpenSips 1.8.<br>
&gt;&gt;<br>
&gt;&gt; OpenSips dumps only CANCEL which sends. It doesn&#39;t dump CANCEL which<br>
&gt;&gt; receive.<br>
&gt;&gt;<br>
&gt;&gt; Here is an example for dump:<br>
&gt;&gt;<br>
&gt;&gt; <a href="http://87.121.151.141/voipdump.htm" target="_blank">http://87.121.151.141/voipdump.htm</a><br>
&gt;&gt;<br>
&gt;&gt; Best regards,:<br>
&gt;&gt; PlayMen<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Users mailing list<br>
&gt;&gt; <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
&gt;&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Muhammad Shahzad<br>
&gt; -----------------------------------<br>
&gt; CISCO Rich Media Communication Specialist (CRMCS)<br>
&gt; CISCO Certified Network Associate (CCNA)<br>
&gt; Cell: +49 176 99 83 10 85<br>
&gt; MSN: <a href="mailto:shari_786pk@hotmail.com">shari_786pk@hotmail.com</a><br>
&gt; Email: <a href="mailto:shaheryarkh@googlemail.com">shaheryarkh@googlemail.com</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Muhammad Shahzad</span><br style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

<span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">------------------------------</span><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">-----</span><br style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

<span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">CISCO Rich Media Communication Specialist (CRMCS)</span><br style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

<span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">CISCO Certified Network Associate (CCNA)</span><br style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

<span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Cell: +49 176 99 83 10 85</span><br style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

<span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">MSN: </span><a href="mailto:shari_786pk@hotmail.com" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)" target="_blank">shari_786pk@hotmail.com</a><br style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

<span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Email: </span><a href="mailto:shaheryarkh@googlemail.com" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)" target="_blank">shaheryarkh@googlemail.com</a>