Hello,

double check if the function is actually executed, in case it depends on if conditions. You can set debug=3 in kamailio.cfg or load debugger module and enable cfgtrace feature via modparam.

Cheers,
Daniel

On 30.09.20 11:35, Andy Kama wrote:
Hi Guys

I am trying to add a custom record route so i have added

record_route_preset("mydomain:5061;transport=tls", "myip:5060");

yet kamailio is still not adding it in the sip message

what am i doing wrong?


_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla