<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">It is not. But you can do this via any template system such as Jinja2, or a hand-rolled substitution script.<br><br><div dir="ltr">—<div>Sent from mobile, with due apologies for brevity and errors.</div></div><div dir="ltr"><br><blockquote type="cite">On Oct 24, 2019, at 2:02 AM, Gaurav Bmotra <saigauravmehra91@gmail.com> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="ltr">hi <div>i using kamailio 5.2 </div><div>is it possible to use environmental variables value in kamailio.cfg <br>like i want to use local ip and public ip in config file </div><div><br></div><div> listen=udp:$(local_ip):5060 advertise $(public_ip):5060<br clear="all"><div>if iti is possible then how i can use this </div><div><br></div><div><br></div><div>thank you </div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><br><br><br><br><br><br><br><br><font color="#999999"><b>Regards:</b><br>Gaurav Kumar</font><br></div></div><div><br></div></div></div></div></div></div></div></div></div></div></div>
<span>_______________________________________________</span><br><span>Kamailio (SER) - Users Mailing List</span><br><span>sr-users@lists.kamailio.org</span><br><span>https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</span><br></div></blockquote></body></html>