Hello,

On 8/3/10 12:32 PM, alex pappas wrote:
Dear friends,

I'm using the sip_trace module in order to log into a mysql DB all the SIP messages that are passing from my kamailio. I have the setflag(4) on the top of the route[0] and I have all the sip messages logged in the mysql Db.
The problem is that I don't see the first INVITE of the call.

Scenario:

gateway1 --------------> kamailio ----------------> gateway2

The INVITE from gateway1 to kamailio is not logged. The trace is starting from the first 100 trying message.
Do you get the INVITE from Kamailio to gateway2?

The incoming INVITE  (or any request) can be indeed stored only upon function sip_trace()

Is anyone aware on where the problem is ?

It is no problem. Setting the flag instructs TM module to mark the transaction for tracing, resulting in storing outbound requests and the replies related to transaction, but incoming request is not handled there.

BTW, I assume is version 1.5.x?

Cheers,
Daniel


P.S. By using the sip_trace() method I get the first INVITE but not the rest of the trace in the way that setflag(4) is logging.


Thank you in advance

Alex


_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://www.asipto.com/