<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("10")) {</div>
<div> sl_send_reply("483","Too Many Hops");</div><div> exit;</div><div> };</div><div><br></div><div> if (msg:len > max_len) {</div><div> sl_send_reply("513","Message Too Big");</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("INVITE")) {</div><div> sip_trace();</div><div> ...</div><div><br></div><div> } else if (is_method("REGISTER")) {</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"><<a href="mailto:goup2010@gmail.com" target="_blank">goup2010@gmail.com</a>></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 <<a href="mailto:shaheryarkh@gmail.com">shaheryarkh@gmail.com</a>>:<br>
<div class="HOEnZb"><div class="h5">> How you are doing sip trace? Are you calling sip_trace method or setting sip<br>
> trace dialog flag in opensips.cfg?<br>
><br>
> <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>
><br>
> Thank you.<br>
><br>
><br>
> On Fri, Feb 8, 2013 at 11:31 PM, Dragomir Haralambiev <<a href="mailto:goup2010@gmail.com">goup2010@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Hello,<br>
>><br>
>> I have problem with siptrace in OpenSips 1.8.<br>
>><br>
>> OpenSips dumps only CANCEL which sends. It doesn't dump CANCEL which<br>
>> receive.<br>
>><br>
>> Here is an example for dump:<br>
>><br>
>> <a href="http://87.121.151.141/voipdump.htm" target="_blank">http://87.121.151.141/voipdump.htm</a><br>
>><br>
>> Best regards,:<br>
>> PlayMen<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>
><br>
><br>
><br>
><br>
> --<br>
> Muhammad Shahzad<br>
> -----------------------------------<br>
> CISCO Rich Media Communication Specialist (CRMCS)<br>
> CISCO Certified Network Associate (CCNA)<br>
> Cell: +49 176 99 83 10 85<br>
> MSN: <a href="mailto:shari_786pk@hotmail.com">shari_786pk@hotmail.com</a><br>
> Email: <a href="mailto:shaheryarkh@googlemail.com">shaheryarkh@googlemail.com</a><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>
><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>