<h3>Description</h3>
<p>Could you extend <code>import_file</code> directive to support wildcards like</p>
<pre><code>import_file "/run/kamailio/cfg/*"
</code></pre>
<p>This will allow place runtime config files with public IP of VM. Useful for cloud installation.</p>
<pre><code>listen=udp:eth0 advertise 52.24.72.57:5060
listen=tcp:eth0 advertise 52.24.72.57:5060
</code></pre>
<h3>Expected behavior</h3>
<p>All files matched to wildcard included into config</p>
<h4>Actual observed behavior</h4>
<p>wildcard ignored</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2125?email_source=notifications&email_token=ABO7UZKY74UGDVE75RGSNVTQTDTQHA5CNFSM4JLQW5JKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HYJ6NEA">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZLMLTUTS6A6QTO5CT3QTDTQHANCNFSM4JLQW5JA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZITJ6K72OUEH4OTWZTQTDTQHA5CNFSM4JLQW5JKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HYJ6NEA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2125?email_source=notifications\u0026email_token=ABO7UZKY74UGDVE75RGSNVTQTDTQHA5CNFSM4JLQW5JKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HYJ6NEA",
"url": "https://github.com/kamailio/kamailio/issues/2125?email_source=notifications\u0026email_token=ABO7UZKY74UGDVE75RGSNVTQTDTQHA5CNFSM4JLQW5JKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HYJ6NEA",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>