load also dialog.so module and call create_dialog()(not sure if need, because for invite the dialog is automatic created)<div><br></div><div>dani<br><br><div class="gmail_quote">On Wed, Jul 13, 2011 at 12:11 AM,  <span dir="ltr">&lt;<a href="mailto:duane.larson@gmail.com" target="_blank">duane.larson@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">
You need to have the following
<br>
<br>if(is_method(&quot;INVITE&quot;) &amp;&amp; !has_totag())
<br>        trace_dialog();
<br>
<br>
<br>But I don&#39;t think that is your issue.  I am not sure why trace_dialog(); isn&#39;t logging all the sip messages.  You don&#39;t see any errors in your syslog?
<br><div><div></div><div>
<br>On Jul 12, 2011 4:06pm, <a href="mailto:duane.larson@gmail.com" target="_blank">duane.larson@gmail.com</a> wrote:
<br>&gt; Sorry my gmail was hiding some of your text.  I see that you have siptrace.so loaded.
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; On Jul 12, 2011 4:05pm, <a href="mailto:duane.larson@gmail.com" target="_blank">duane.larson@gmail.com</a> wrote:
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; Do you not have the following in your config?
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; loadmodule &quot;siptrace.so&quot;
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; On Jul 12, 2011 4:00pm, Diego Barberio <a href="mailto:diego.barberio@redmondsoftware.com" target="_blank">diego.barberio@redmondsoftware.com</a>&gt; wrote:
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; &gt; Hi Duane, Thanks for you quick response. I tried using trace_dialog() but it doesn’t log any message. Below is the new version of my configuration script:BTW: This is my opensips version:opensips -Vversion: opensips 1.6.4-2-notls (i386/linux)flags: STATS: Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAITADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.svnrevision: unknown@(#) $Id: main.c 7530 2010-12-13 19:07:53Z bogdan_iancu $main.c compiled on 14:20:52 May  2 2011 with gcc 4.1.2 ##Global Parameters ######### debug=3#log_facility=LOG_LOCAL6 fork=yeschildren=4 /* uncomment the following lines to enable debugging */#debug=6#fork=no#log_stderror=yes /* uncomment the next line to disable TCP (default on) */disable_tcp=yes port=5060 /* uncomment and configure the following line if you want opensips to   bind on a specific interface/port/proto (default bind on all available) */listen=udp:<a href="http://192.168.2.154:5060" target="_blank">192.168.2.154:5060</a> # ------------------ module loading ----------------------------------mpath=&quot;/usr/local/lib/opensips/modules/&quot;loadmodule &quot;maxfwd.so&quot;loadmodule &quot;sl.so&quot;loadmodule &quot;tm.so&quot;loadmodule &quot;dispatcher.so&quot;loadmodule &quot;mi_fifo.so&quot;loadmodule &quot;signaling.so&quot;loadmodule &quot;options.so&quot;loadmodule &quot;textops.so&quot;loadmodule &quot;db_mysql.so&quot;loadmodule &quot;siptrace.so&quot;loadmodule &quot;acc.so&quot;loadmodule &quot;dialog.so&quot;loadmodule &quot;rr.so&quot;# ----------------- setting module-specific parameters ---------------# -- dispatcher params --modparam(&quot;mi_fifo&quot;, &quot;fifo_name&quot;, &quot;/tmp/opensips_fifo&quot;) modparam(&quot;dispatcher&quot;, &quot;ds_ping_from&quot;, &quot;sip:proxy@192.1.8.2.154&quot;)modparam(&quot;dispatcher&quot;, &quot;ds_ping_interval&quot;, 30)modparam(&quot;dispatcher&quot;, &quot;ds_probing_threshhold&quot;, 2)modparam(&quot;dispatcher&quot;, &quot;ds_probing_mode&quot;, 1)modparam(&quot;dispatcher&quot;, &quot;list_file&quot;, &quot;/usr/local/etc/opensips/dispatcher.list&quot;)# modparam(&quot;dispatcher&quot;, &quot;force_dst&quot;, 1) modparam(&quot;siptrace&quot;, &quot;db_url&quot;, &quot;mysql://root:Viamonte1621@localhost/opensips&quot;)#modparam(&quot;siptrace&quot;, &quot;enable_ack_trace&quot;, 1)modparam(&quot;siptrace&quot;, &quot;trace_on&quot;, 1)modparam(&quot;siptrace&quot;, &quot;table&quot;, &quot;sip_trace&quot;)#modparam(&quot;siptrace&quot;, &quot;trace_flag&quot;, 22) #modparam(&quot;acc&quot;, &quot;log_level&quot;, 1)#modparam(&quot;acc&quot;, &quot;log_flag&quot;, 1)#modparam(&quot;acc&quot;, &quot;db_url&quot;, &quot;mysql://root:Viamonte1621@localhost/opensips&quot;) route{                if ( !mf_process_maxfwd_header(&quot;10&quot;) )                {                                sl_send_reply(&quot;483&quot;,&quot;To Many Hops&quot;);                                drop();                };         if (is_method(&quot;OPTIONS&quot;)) {                options_reply();                exit;        }                if(is_method(&quot;INVITE&quot;))                               trace_dialog();                                ds_select_dst(&quot;1&quot;, &quot;0&quot;);                                if ($retcode                               xlog(&quot;[Redmond] Service full\n&quot;);                               sl_send_reply(&quot;500&quot;,&quot;Service full&quot;);                               exit;        }                        forward();} ThanksDiegoFrom: <a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a> [mailto:<a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>] On Behalf Of <a href="mailto:duane.larson@gmail.com" target="_blank">duane.larson@gmail.com</a>
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; &gt; Sent: martes, 12 de julio de 2011 05:01 p.m.
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; &gt; To: OpenSIPS users mailling list
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; &gt; Subject: Re: [OpenSIPS-Users] Problem with siptrace module
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; &gt;  Not sure what version of OpenSIPS you are using but you might want to use this instead of sip_trace() 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; &gt; <a href="http://www.opensips.org/html/docs/modules/1.7.x/siptrace.html#id250195" target="_blank">http://www.opensips.org/html/docs/modules/1.7.x/siptrace.html#id250195</a> 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; &gt; On Jul 12, 2011 1:09pm, Diego Barberio <a href="mailto:diego.barberio@redmondsoftware.com" target="_blank">diego.barberio@redmondsoftware.com</a>&gt; wrote: 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; &gt; &gt; Hi All, I’m having a minnor configuration problem with the siptrace.I’m trying to trace all the messages and their responses, but I’m only able to log the methods (INVITE, ACK and BYE) but not the responses.This is my configuration script. ##Global Parameters ######### debug=3#log_facility=LOG_LOCAL6 fork=yeschildren=4 /* uncomment the following lines to enable debugging */#debug=6#fork=no#log_stderror=yes /* uncomment the next line to disable TCP (default on) */disable_tcp=yes port=5060 /* uncomment and configure the following line if you want opensips to   bind on a specific interface/port/proto (default bind on all available) */listen=udp:<a href="http://192.168.2.154:5060" target="_blank">192.168.2.154:5060</a> # ------------------ module loading ----------------------------------mpath=&quot;/usr/local/lib/opensips/modules/&quot;loadmodule &quot;maxfwd.so&quot;loadmodule &quot;sl.so&quot;loadmodule &quot;tm.so&quot;loadmodule &quot;dispatcher.so&quot;loadmodule &quot;mi_fifo.so&quot;loadmodule &quot;signaling.so&quot;loadmodule &quot;options.so&quot;loadmodule &quot;textops.so&quot;loadmodule &quot;db_mysql.so&quot;loadmodule &quot;siptrace.so&quot;#loadmodule &quot;acc.so&quot;# ----------------- setting module-specific parameters ---------------# -- dispatcher params --modparam(&quot;mi_fifo&quot;, &quot;fifo_name&quot;, &quot;/tmp/opensips_fifo&quot;) modparam(&quot;dispatcher&quot;, &quot;ds_ping_from&quot;, &quot;sip:proxy@192.1.8.2.154&quot;)modparam(&quot;dispatcher&quot;, &quot;ds_ping_interval&quot;, 30)modparam(&quot;dispatcher&quot;, &quot;ds_probing_threshhold&quot;, 2)modparam(&quot;dispatcher&quot;, &quot;ds_probing_mode&quot;, 1)modparam(&quot;dispatcher&quot;, &quot;list_file&quot;, &quot;/usr/local/etc/opensips/dispatcher.list&quot;)# modparam(&quot;dispatcher&quot;, &quot;force_dst&quot;, 1) modparam(&quot;siptrace&quot;, &quot;db_url&quot;, &quot;mysql://root:Viamonte1621@localhost/opensips&quot;)modparam(&quot;siptrace&quot;, &quot;enable_ack_trace&quot;, 1)modparam(&quot;siptrace&quot;, &quot;trace_on&quot;, 1)modparam(&quot;siptrace&quot;, &quot;table&quot;, &quot;sip_trace&quot;)modparam(&quot;siptrace&quot;, &quot;trace_flag&quot;, 22) #modparam(&quot;acc&quot;, &quot;log_level&quot;, 1)#modparam(&quot;acc&quot;, &quot;log_flag&quot;, 1)#modparam(&quot;acc&quot;, &quot;db_url&quot;, &quot;mysql://root:Viamonte1621@localhost/opensips&quot;) route{        setflag(22);        setbflag(22);        sip_trace();                if ( !mf_process_maxfwd_header(&quot;10&quot;) )        {               sl_send_reply(&quot;483&quot;,&quot;To Many Hops&quot;);               drop();        };         if (is_method(&quot;OPTIONS&quot;)) {                options_reply();                exit;        }                ds_select_dst(&quot;1&quot;, &quot;0&quot;);                if ($retcode                xlog(&quot;[Redmond] Service full\n&quot;);                sl_send_reply(&quot;500&quot;,&quot;Service full&quot;);                exit;        }                forward();        #t_relay();        #sip_trace();} failure_route[1] {        if (t_check_status(&quot;(408)|(5[0-9][0-9])&quot;)) {                ds_mark_dst();                if (ds_select_dst(&quot;1&quot;, &quot;0&quot;)) {                        forward();                } else {                       t_reply(&quot;503&quot;, &quot;Service Unavailable&quot;);                }        }} onreply_route {        setflag(22);        setflag(22);        sip_trace();} ThanksDiego 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; &gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; &gt; &gt;
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; &gt;</div></div><br>_______________________________________________<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 clear="all"><br>-- <br>Dani Popa<br>
</div>