Getting MAC address as a variable in provisioning template

I wish to have a custom user-agent on phones which includes the MAC address of the device. Is there a variable that contains the MAC address of the device being provisioned?

account.1.custom_ua = {{$macaddress}}

This has been very helpful to me over the years when resolving end user headaches.

{{ $filename }}

Contains the MAC address.

You can use

{{ explode('.', $filename)[0] }}
1 Like

That was exactly what I needed. Thank you, Sama.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.