Hello,
I set duplicate_uri to store sip messages in an external server
#!ifdef WITH_SIPTRACE
modparam("siptrace", "db_url", mysql_conn_data)
modparam("siptrace", "traced_user_avp", "$avp(s:traced_user)")
modparam("siptrace", "trace_on",1) # disable siptrace
modparam("siptrace", "trace_flag",FLT_SIPTRACE)
modparam("siptrace", "trace_to_database", 0)
modparam("siptrace", "duplicate_uri", "sip:siptracesrv:6060")
#!endif
In the route section