fusionpbx/resources/templates/provision/grandstream/gxp2160
David Jacob f0c1ebd3a1
Provisioning template changes (#6588)
* Provisioning template changes

Grandstream
GAC2500 - Added account sip port to grandstream template after account server name
GRP2612 - Added Variable for grandstream dial timeout
GRP2612 - Added Variable for grandstream lock volume
GRP2612w - Added Variable for grandstream dial timeout
GRP2612w - Added Variable for grandstream lock volume
GRP2613 - Added Variable for grandstream lock volume
GRP2614 - Added Variable for grandstream dial timeout
GRP2614 - Added Variable for grandstream lock volume
GRP2614 - Added Variable for granstream call popup enabled
GRP2615 - Added Variable for grandstream dial timeout
GRP2615 - Added Variable for grandstream lock volume
GRP2616 - Added Variable for grandstream lock volume
GRP26xx - Added Variable for grandstream lock volume
GXP2160 - Changed template to default enable options keepalive
GXP2160 - Added option for multicast listen address with "if isset" for variable on P1569
GXP2160 - Added Variable for grandstream lock volume
GXP2160 - added variable grandstream_weather_enable to enable/disable weather function in phones
GXP2170 - Added Variable for grandstream dial timeout
GXP2170 - Added Variable for grandstream lock volume
GXP2170 - Added Variable for grandstream stun server
GXP2170 - Added Variable for granstream call popup enabled
GXP2170 - Added option for multicast listen address with "if isset" for variable on P1569
GXP2170 - added variable grandstream_weather_enable to enable/disable weather function in phones
GXP3240 - Added account sip port to grandstream template after account server name

HTek
UC903 - Added account sip port to htek template after account server name
UC903 - Added variable to specify account 1 ringtone
UC903 - Added ** as pickup code - Not defined
UC903 - Added variable for screen timeout
UC903 - Enabled call waiting tone P8850 - its off by default for some reason
UC903 - fixed variable P2 to set the admin password on the phone from default settings, was not defined
UC903 - Added variable to change the pc port mode if expansion module needed P231
UC903 - Fixed expansion module key types - not defined
UC923 - Added variable to specify account 1 ringtone
UC923 - Added variable to change the pc port mode if expansion module needed P231
UC923 - Added ** as pickup code - Not defined
UC923 - Added variable for screen timeout
UC923 - Enabled call waiting tone P8850 - its off by default for some reason
UC923 - fixed variable P2 to set the admin password on the phone from default settings, was not defined
UC923 - Fixed expansion module key types - not defined
UC924 - Added variable to specify account 1 ringtone
UC924 - Added variable to change the pc port mode if expansion module needed P231
UC924 - Added ** as pickup code - Not defined
UC924 - Added variable for screen timeout
UC924 - Enabled call waiting tone P8850 - its off by default for some reason
UC924 - fixed variable P2 to set the admin password on the phone from default settings, was not defined
UC924 - Fixed expansion module key types - not defined
UC926 - Added variable to specify account 1 ringtone
UC926 - Added variable to change the pc port mode if expansion module needed P231
UC926 - Added ** as pickup code - Not defined
UC926 - Added variable for screen timeout
UC926 - Enabled call waiting tone P8850 - its off by default for some reason
UC926 - fixed variable P2 to set the admin password on the phone from default settings, was not defined
UC926 - Fixed expansion module key types - not defined

Snom
D735 - Added code given to use by snom to light the BLF green when avail and red when in use

Fanvil

X210 - Added default setting for fanvil blf pickup code
X210 - Added if exist in template for fanvil x210 the pickup code var

* grandstream_stun_server variable already exists

---------

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-04-02 22:12:13 -06:00
..
README.txt Update README.txt 2017-07-29 00:59:39 -04:00
gxp2160_labels.ott Update Grandstream provisioning (#2652) 2017-06-08 16:21:47 -06:00
label.txt Update Grandstream provisioning (#2652) 2017-06-08 16:21:47 -06:00
phonebook.xml Update phonebook.xml (#4898) 2019-11-22 19:36:13 -07:00
{$mac}.xml Provisioning template changes (#6588) 2023-04-02 22:12:13 -06:00

README.txt

======================
Provision
======================
Grandstream looks for {$mac}, then cfg{$mac}.xml.
I've added symlinks so you can download both files for upload to the phone if auto-provision isn't working.

 - auto provision requires
	nginx rewrite rules
	provision enabled text true
	provision granstream_config_server_path text mydomain.com/provision
	# to enable phonebook contacts see below...

======================
label.txt - is a phone label for gxp2160 memory keys
======================
Plain text is copy/pasted into openoffice template that formats the label.


======================
phonebook.xml
======================
This provisions the phonebook button and the phone's display for incoming/outgoing calls.

 - requires nginx rewrite rules
	rewrite "^.*/provision/pb([A-Fa-f0-9-]{12,17})/phonebook\.xml$" /app/provision/?mac=$1&file=phonebook.xml;

 - requires Default Settings:
	provision enabled text true
	provision contact_extensions boolean false
	provision contact_grandstream text true
	provision granstream_phonebook_xml_server_path text mydomain.com/provision/pb  # note provision template adds {$mac} on the end
		 handled by nginx (above).
	provision granstream_config_server_path text mydomain.com/provision
	provision granstream_phonebook_download_interval text 720
	provision granstream_global_contact_groups text contacts_it,contacts_finance  # these are setup in Group Manager (see below).
		 Comma seperated groups listed here will be on all phones, saving the need to add these groups to every user. 


 - Grandstream and FusionPBX supports contact groups.  To setup groups
	1) Advanced=>Group Manager=> Add
	2) Group NAME is prefixed with "contacts_".  eg. contacts_it contacts_finance contacts_purchasing
	3) Group DESCRIPTION is what appears on the Phone's display.  Best view is 1 word 10 characters max width.


 - Contacts can be two types:
 A) User/Extention local to Fusionpbx
 B) Customer/External phone number.

 A) Setup User/Extension contact
	1) Create a new user Accounts=>Users
	2) Assign contact_GROUPS (above) to that user will be assigned to on the phone's group display.
	2) Create a new extension and assign it to that user Accounts=>Extensions ( this auto adds user's extention to the phonebook )
	3) Create a new device and assign it to that user Accounts=>Devices ( this tells device which phonebook contacts to download )
	4) Apps=>Contacts
		- Type "User"
		- Organization - Appears on phone.  e.g.  School Board Office,   Aberdeen Elementary
		- First Name
		- Last Name
		- Category - is used for "Department".  e.g. IT,   Finance,  Purchasing
		- Roll - Roll in the company.  e.g. Network Support Technitian,   Teacher,   Stenno1.
		- Users - Users who can see this contact on their phone.
		- Groups - Groups that can see this contact on their phone.
		- Extensions - this is the default "Work" number that appears on the phone.
		- Numbers - make sure they are type "Voice"
			- "Work" can be assigned
			- "Home"
			- "Mobile"
			- Some want their extension shown but restrict their cell number to certain users.
				This may be done by Numbers Description field  allow:username1,username2
				( NOTE private cell numbers, could be better coded )

  B) Setup Costomer/External phone numbers similar to step #4) Apps=>Contacts
		- Type "Customer"
		- Fill in Organiation, First Name, Last Name, Category, Roll, Users, Groups
		- Numbers - Add "Work" "Voice" number