Hi Alan, Normally (using only sip_trace fct), the tracing can be activated by flags (no username in sip_trace table) or by avp_traced_user (with name in sip_trace table) - of course, using them both will generate multiple records for the same SIP message.
But looking at the trace_dialog() function, I see it forces all the time the flag (for the sequential requests), even if it was or not originally set. So, you will get the non-username records all the time. But in any case, you should get a complete set (with and/or without username) for the records. Regards, Bogdan Alan Frisch wrote: > Been pulling out what's left of my hair on this one... > > I'm trying to get the siptrace module to record calls only using the > trace_dialog() command at the initial invite. When I put the command > in the invite route, everything works as it should. > > Now I am trying to get OpenSIPs to use the avp_traced_user parameter, > so that it inserts the username where it can (even if not > authenticated yet). But combination I try, using flags/not using > flags, sip_trace() or dialog_trace() ends up with incomplete or > duplicate entries with the username/no username in the sip_trace > table. > > Is there a simple way of getting trace_dialog like output (initial > invite to final BYEs, including ACKS), but have the traced_user field > user set (even if the from user hasn't been authenticated yet)? > > Many thanks. > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > -- Bogdan-Andrei Iancu www.voice-system.ro _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
