[sr-dev] setting traced_user_avp after calling sip_trace()
Daniel-Constantin Mierla
miconda at gmail.com
Sun Feb 22 12:13:27 CET 2015
sip_trace() stores the message at the moment of execution, if the avp is
not set at that moment, it is not found, thus not used.
There is a flag that can be set and the message is stored at the moment
of delivery.
Cheers,
Daniel
On 22/02/15 02:07, Juha Heinanen wrote:
> i would prefer to call sip_trace() up front in the script in order to
> avoid calling it many places. currently, however, looks like setting of
> traced_user_avp after sip_trace() is called has no effect.
>
> how about if i add a module var delayed_avp_trace (or something) so that if
> it has value 1, trusted_user_avp value is checked when the message is
> actually stored by sip_trace_store_db function?
>
> -- juha
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com
More information about the sr-dev
mailing list