[OpenSIPS-Users] Problem with siptrace module

duane.larson at gmail.com duane.larson at gmail.com
Tue Jul 12 23:35:05 CEST 2011


Diego,

So I think your wanting to do Stateless routing. I just saw this posting  
of "Known Issues" under version 1.7. Not sure if it applies to your version  
also
http://www.opensips.org/html/docs/modules/1.7.x/siptrace.html#id250363

I see you are using sip_trace() in your script. I have personally never  
messed with stateless and siptrace. Might need someone else to weigh in on  
this.

On Jul 12, 2011 1:09pm, Diego Barberio <diego.barberio at redmondsoftware.com>  
wrote:
> 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:192.168.2.154:5060 # ------------------ module  
> loading  
> ----------------------------------mpath="/usr/local/lib/opensips/modules/"loadmodule "maxfwd.so"loadmodule "sl.so"loadmodule "tm.so"loadmodule "dispatcher.so"loadmodule "mi_fifo.so"loadmodule "signaling.so"loadmodule "options.so"loadmodule "textops.so"loadmodule "db_mysql.so"loadmodule "siptrace.so"#loadmodule "acc.so"#  
> ----------------- setting module-specific parameters ---------------# --  
> dispatcher params  
> --modparam("mi_fifo", "fifo_name", "/tmp/opensips_fifo")  
> modparam("dispatcher", "ds_ping_from", "sip:proxy at 192.1.8.2.154")modparam("dispatcher", "ds_ping_interval",  
> 30)modparam("dispatcher", "ds_probing_threshhold",  
> 2)modparam("dispatcher", "ds_probing_mode",  
> 1)modparam("dispatcher", "list_file", "/usr/local/etc/opensips/dispatcher.list")#  
> modparam("dispatcher", "force_dst", 1)  
> modparam("siptrace", "db_url", "mysql://root:Viamonte1621@localhost/opensips")modparam("siptrace", "enable_ack_trace",  
> 1)modparam("siptrace", "trace_on",  
> 1)modparam("siptrace", "table", "sip_trace")modparam("siptrace", "trace_flag",  
> 22) #modparam("acc", "log_level", 1)#modparam("acc", "log_flag",  
> 1)#modparam("acc", "db_url", "mysql://root:Viamonte1621@localhost/opensips")  
> route{ setflag(22); setbflag(22); sip_trace(); if  
> ( !mf_process_maxfwd_header("10") ) { sl_send_reply("483","To Many  
> Hops"); drop(); }; if (is_method("OPTIONS")) { options_reply(); exit; }  
> ds_select_dst("1", "0"); if ($retcode xlog("[Redmond] Service full\n");  
> sl_send_reply("500","Service full"); exit; } forward(); #t_relay();  
> #sip_trace();} failure_route[1] { if (t_check_status("(408)| 
> (5[0-9][0-9])")) { ds_mark_dst(); if (ds_select_dst("1", "0")) {  
> forward(); } else { t_reply("503", "Service Unavailable"); } }}  
> onreply_route { setflag(22); setflag(22); sip_trace();} ThanksDiego


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110712/21caf763/attachment.htm>


More information about the Users mailing list