Mods to the GrandStream Provisioning script
I have added an extra column to the MAC.csv file for Accounts/Account 1/General Settings/Name and used it in the script
I have amended the script for the GPX2170
This adds:
Bluetooth ID name, Hostname and Username
It reads the username to make 'sip-user' and the mac number to create a bluetooth id gxp2170-aabbccddeeff
This ONLY works where it finds SIP User ID in the config.txt file
-e "/^/s:.:$user:g" -e "/^/s:.:$password:g" -e "/^/s:.:$authid:g" -e "/^/s:.:sip-$user:g" -e "/^/s:.:$username:g" -e "/^/s:.:gxp2170_$mac-0:g"