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 > [email protected] > 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 _______________________________________________ sr-dev mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
