#!defenv HOSTNAME Should work.
Ben Kaufman From: sr-users <[email protected]> On Behalf Of David VILLAUME Sent: Wednesday, April 6, 2022 2:00 PM To: Kamailio (SER) - Users Mailing List <[email protected]> Subject: [SR-Users] Kamailio preprocessor to get hostname Hello all , Do you know any way to get the hostname of my server at kamailio runtime ? The simple idea behind this would be ton import a specific environment file base on hostname. Regards, David
__________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions * [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
