Hi,

The problem occurs because setflag(22) only traces the requests after being
processed by the proxy while sip_trace traces the requests before.

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.



Flavio E. Goncalves

OpenSIPS Bootcamp – San Francisco – April 19-23




2010/4/7 CheeWii <[email protected]>

> Have a test as follows:
>  if(!(method == "REGISTER")){
>                     setflag(22);
>                     sip_trace();
> }
>
> 2010/4/7 Daniel Goepp <[email protected]>
>
>>  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 :)
>>
>> I have a pretty generic setup:
>>
>> # ----- sip_trace ------
>> modparam("siptrace", "db_url", "mysql://opensips:opensip...@localhost
>> /opensips")
>> modparam("siptrace", "trace_on", 1)
>> modparam("siptrace", "enable_ack_trace", 1)
>> modparam("siptrace", "table", "sip_trace")
>> modparam("siptrace", "trace_flag", 22)
>>
>> And then:
>>
>>         if(!(method == "REGISTER"))
>>                     setflag(22);
>>
>> Thoughts on why I'm not seeing inbound requests from the caller?
>>
>> Thanks
>>
>> -dg
>>
>> _______________________________________________
>> Users mailing list
>> [email protected]
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to