Grandstream HT812 / HT814 - MAC request
Download Grandstreamht812814.xml
From Derek on the forum:
I ended up making a template, here it is. You'll have to replace 'yourdomain.com' with your domain name. Also this is set to work with DNS SRV. If you want A record, you'll need to read the notes and modify P103. The ATA will look to Grandstreams server on each boot to check for firmware updates.
This is for HT814. IF you want it to work on HT812, just remove the settings for FXS Ports 3 and 4.
Grandstreamht812814.xml
Provisioning template
<?xml version="1.0" encoding="UTF-8"?>
<!-- HT81X XML Provisioning Configuration -->
<gs_provision version="1">
<config version="2">
<!-- ################################### -->
<!-- # System-Wide Values ## -->
<!-- ################################### -->
<!-- Firmware Update URL -->
<P192>firmware.grandstream.com</P192>
<!-- Auto-Provisioning URL -->
<P237>yourdomain.com/autoprovision/{$provisioning_password}</P237>
<!-- # Allow Incoming SIP Messages from SIP Proxy Only. 0 - No, 1 - Yes -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P243>1</P243>
<!-- # Check SIP UserID for incoming INVITE. 0 - No, 1 - Yes (no direct IP calling if Yes) -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P258>1</P258>
<!-- ################################### -->
<!-- # Network Configuration ## -->
<!-- ################################### -->
<!-- # IP Address. 0 - DHCP, 2 - PPPoE, 1 - Static IP -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P8>{$connection_type|0|radio|DHCP=0,Static IP=1}</P8>
<!-- # Static IP -->
<!-- # IP Address. Ignore if DHCP or PPPoE is used -->
<P9>{$gs_ip_part1|0}</P9>
<P10>{$gs_ip_part2|0}</P10>
<P11>{$gs_ip_part3|0}</P11>
<P12>{$gs_ip_part4|0}</P12>
<!-- # Subnet mask. Ignore if DHCP or PPPoE is used -->
<!-- # Number: 0 to 255 -->
<P13>{$gs_mask_part1|255}</P13>
<P14>{$gs_mask_part2|255}</P14>
<P15>{$gs_mask_part3|255}</P15>
<P16>{$gs_mask_part4|0}</P16>
<!-- # Router. Ignore if DHCP or PPPoE is used -->
<!-- # Number: 0 to 255 -->
<P17>{$gs_gateway_part1|0}</P17>
<P18>{$gs_gateway_part2|0}</P18>
<P19>{$gs_gateway_part3|0}</P19>
<P20>{$gs_gateway_part4|0}</P20>
<!-- # DNS 1. Ignore if DHCP or PPPoE is used -->
<!-- # Number: 0 to 255 -->
<P21>{$gs_dns_part1|8}</P21>
<P22>{$gs_dns_part2|8}</P22>
<P23>{$gs_dns_part3|8}</P23>
<P24>{$gs_dns_part4|8}</P24>
<!-- ################################### -->
<!-- # Profile 1 Settings ## -->
<!-- ################################### -->
<!-- SIP Server Address -->
<P47>pbx.yourdomain.com</P47>
<!-- # DNS Mode. 0 - A Record, 1 - SRV, 2 - NAPTR/SRV. -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P103>1</P103>
<!-- # Register Expiration (in minutes. default 1 hour, max 45 days) -->
<!-- # Number: 1 to 64800 -->
<!-- # Mandatory -->
<P32>1</P32>
<!-- ################################### -->
<!-- # FXS Port 1 Settings ## -->
<!-- ################################### -->
<!-- SIP User ID -->
<P4060>{$username#1}</P4060>
<!-- SIP Authenticate ID -->
<P4090>{$authname#1}</P4090>
<!-- SIP Password -->
<P4120>{$secret#1}</P4120>
<!-- Extension/Display Name -->
<P4080>{$displayname#1}</P4080>
<!-- ################################### -->
<!-- # FXS Port 2 Settings ## -->
<!-- ################################### -->
<!-- SIP User ID -->
<P4061>{$username#2}</P4061>
<!-- SIP Authenticate ID -->
<P4091>{$authname#2}</P4091>
<!-- SIP Password -->
<P4121>{$secret#2}</P4121>
<!-- Extension/Display Name -->
<P4081>{$displayname#2}</P4081>
<!-- ################################### -->
<!-- # FXS Port 3 Settings ## -->
<!-- ################################### -->
<!-- SIP User ID -->
<P4062>{$username#3}</P4062>
<!-- SIP Authenticate ID -->
<P4092>{$authname#3}</P4092>
<!-- SIP Password -->
<P4122>{$secret#3}</P4122>
<!-- Extension/Display Name -->
<P4082>{$displayname#3}</P4082>
<!-- ################################### -->
<!-- # FXS Port 4 Settings ## -->
<!-- ################################### -->
<!-- SIP User ID -->
<P4063>{$username#4}</P4063>
<!-- SIP Authenticate ID -->
<P4093>{$authname#4}</P4093>
<!-- SIP Password -->
<P4123>{$secret#4}</P4123>
<!-- Extension/Display Name -->
<P4083>{$displayname#4}</P4083>
</config>
</gs_provision>