[OpenSIPS-Users] Siptrace module

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Jan 5 15:07:46 CET 2016


Hi,

Use debug 4 and check the logs from the siptrace module, to understand 
why the messages are not stored in DB.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 22.12.2015 09:34, Siju Nair wrote:
> Hi team,
> Any  updates on this.?
>
> On Monday 21 December 2015 05:16 PM, Siju Nair wrote:
>> Hi Team,
>> I am using siptrace module in opensips, but i am unable to see the 
>> record in Opensips control panel My configuration is as below.... 
>> when i check in mysql db, i get an empty set. Please help me.
>>
>> #### Sip Trace Module
>> loadmodule "siptrace.so"
>> modparam("siptrace", "db_url", "mysql://user:pass/host:dbname")
>> modparam("siptrace", "trace_flag", 22)
>> modparam("siptrace", "traced_user_avp", "$avp(s:user)")
>> modparam("siptrace", "trace_on", 1)
>>
>>
>> My routing function is
>>    route{
>>        setflag(22);
>>        #Duplicate this sip message to Homer capture node
>>        sip_trace();
>>        route(1);
>>
>>         if (!mf_process_maxfwd_header("10")) {
>>                 sl_send_reply("483","Too Many Hops");
>>                 exit;
>>         }
>>
>>         #The function triggers the tracing of all messages belonging 
>> to a dialog
>>
>>         if(is_method("INVITE") && !has_totag())
>>         {
>>         trace_dialog();
>>         }
>>
>> route[1]{
>>         if (!t_relay()) {
>>         sl_reply_error();
>>         };
>>         exit;
>> }
>>
>>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>




More information about the Users mailing list