<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Hi, </span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<div style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">The problem occurs because setflag(22) only traces the requests after being processed by the proxy while sip_trace traces the requests before. </span></div>
<div style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"></span> </div>
<div style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">I’m using the sip trace combined with the dialog module. Try with trace_dialog() instead of setflag or sip_trace, the dialog module has to be loaded. There is a bit more overhead and you have to enable just in the initial request. As I use it sporadically, only for a few users and keep it deactivated most of the time, the additional overhead it is not causing any trouble. </span></div>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Flavio E. Goncalves</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">OpenSIPS Bootcamp – San Francisco – April 19-23</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p><br><br>
<div class="gmail_quote">2010/4/7 CheeWii <span dir="ltr"><<a href="mailto:quanwei87@gmail.com">quanwei87@gmail.com</a>></span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>Have a test as follows:</div>
<div>
<div class="im">if(!(method == "REGISTER")){<br> setflag(22);<br></div> sip_trace();</div>
<div>}<br><br></div>
<div class="gmail_quote">2010/4/7 Daniel Goepp <span dir="ltr"><<a href="mailto:dan@goepp.net" target="_blank">dan@goepp.net</a>></span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div></div>
<div class="h5">I'm having some trouble understanding why I'm not seeing all messages in the DB. All I see are messages back to the calling party, and the message to and from the called party, but I see nothing from the calling party. Making it a bit hard to tell what the initial request looked like :)<br>
<br>I have a pretty generic setup:<br><br># ----- sip_trace ------<br>modparam("siptrace", "db_url", "mysql://opensips:opensipsrw@localhost/opensips")<br>modparam("siptrace", "trace_on", 1)<br>
modparam("siptrace", "enable_ack_trace", 1)<br>modparam("siptrace", "table", "sip_trace")<br>modparam("siptrace", "trace_flag", 22)<br><br>And then:<br>
<br> if(!(method == "REGISTER"))<br> setflag(22);<br><br>Thoughts on why I'm not seeing inbound requests from the caller?<br><br>Thanks<br><font color="#888888"><br>-dg<br></font><br>
</div></div>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org" target="_blank">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></blockquote></div><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></blockquote></div><br>