userdoc:tt_ip_phoneprov_howto

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
userdoc:tt_ip_phoneprov_howto [2014/03/19 14:16]
abelbeck [Install Default Templates]
userdoc:tt_ip_phoneprov_howto [2022/01/16 21:09] (current)
abelbeck [IP Phone Provisioning Getting Started]
Line 8: Line 8:
 First time users will find this quick overview helpful.  It's easier than you might think ! First time users will find this quick overview helpful.  It's easier than you might think !
  
-!!Note: AstLinux 1.1.or later is required!! +!!Note: AstLinux 1.1.or later is required!!
 ===== Install Default Templates ===== ===== Install Default Templates =====
  
-Before we begin, the administrator must install "templates" before the PhoneProv tab can be enabled.  AstLinux comes with a default set of templates that can be installed as follows:+Before we begin, the administrator must install "templates" before the PhoneProv tab can be used.  AstLinux comes with a default set of templates that can be installed as follows to the default template location''/mnt/kd/phoneprov/templates/''
  
-  mkdir /mnt/kd/phoneprov+  mkdir -p /mnt/kd/phoneprov/templates
      
-  cp -a /stat/etc/phoneprov/* /mnt/kd/phoneprov/+  cp /stat/etc/phoneprov/templates/* /mnt/kd/phoneprov/templates/
  
-That is it !+That'it !
  
-Understand that in almost all cases the default templates will need to be customized for your particular application, but for the moment we will be happy with the defaults.+Understand that in almost all cases the default templates will need to be customized for your particular application, but for the moment we will utilize the defaults.
 ===== Getting Started How-To (GUI) ===== ===== Getting Started How-To (GUI) =====
  
 As a simple example, assume we have a SNOM 320 phone with a MAC address of ''00:04:13:12:aa:ff'' We want the phone to appear as extension 100 in Asterisk with Caller ID of "Test Phone". As a simple example, assume we have a SNOM 320 phone with a MAC address of ''00:04:13:12:aa:ff'' We want the phone to appear as extension 100 in Asterisk with Caller ID of "Test Phone".
  
-First, select the PhoneProv Tab in the web interface.\\+First enable "Show PhoneProv Tab" in the Prefs Tab.\\  
 +Next, select the PhoneProv Tab in the web interface.\\
 {{:userdoc:phoneprov-phoneprov-tab.png?nolink|PhoneProv Tab}} {{:userdoc:phoneprov-phoneprov-tab.png?nolink|PhoneProv Tab}}
  
Line 51: Line 51:
  
 Dialplan File: ''/mnt/kd/asterisk/includes/astlinux-phoneprov-exten.conf'' Dialplan File: ''/mnt/kd/asterisk/includes/astlinux-phoneprov-exten.conf''
 +
 +View using the Edit Tab...
  
 {{:userdoc:phoneprov-howto-dialplan.jpg?nolink|Dialplan File}} {{:userdoc:phoneprov-howto-dialplan.jpg?nolink|Dialplan File}}
  
 SIP File: ''/mnt/kd/asterisk/includes/astlinux-phoneprov-sip.conf'' SIP File: ''/mnt/kd/asterisk/includes/astlinux-phoneprov-sip.conf''
 +
 +View using the Edit Tab...
  
 {{:userdoc:phoneprov-howto-sip.jpg?nolink|SIP File}} {{:userdoc:phoneprov-howto-sip.jpg?nolink|SIP File}}
  
 SNOM provisioning file: ''/mnt/kd/phoneprov/snom/snom320-00041312AAFF.htm'' SNOM provisioning file: ''/mnt/kd/phoneprov/snom/snom320-00041312AAFF.htm''
 +
 +View using the command line...
  
   <?xml version="1.0" encoding="utf-8"?>   <?xml version="1.0" encoding="utf-8"?>
Line 64: Line 70:
   <phone-settings>   <phone-settings>
   <user_realname idx="1" perm="">100</user_realname>   <user_realname idx="1" perm="">100</user_realname>
-  <user_name idx="1" perm="">100_AAFF_snom320</user_name> +  <user_name idx="1" perm="">100_aaff_snom320</user_name> 
-  <user_pname idx="1" perm="">100_AAFF_snom320</user_pname>+  <user_pname idx="1" perm="">100_aaff_snom320</user_pname>
   <user_pass idx="1" perm="">gRoG51x00m48GmmV</user_pass>   <user_pass idx="1" perm="">gRoG51x00m48GmmV</user_pass>
   <user_host idx="1" perm="">192.168.101.1</user_host>   <user_host idx="1" perm="">192.168.101.1</user_host>
Line 72: Line 78:
   <phone_name perm="">snom-100</phone_name>   <phone_name perm="">snom-100</phone_name>
   </phone-settings>   </phone-settings>
 +  </settings>
  
-Finally, put your //thinking cap// on, and take a look at the ''snom320.conf'' template file.  Try to follow how the above three files got created, and named as the did.  Note that multiple extensions will be added to the same dialplan and sip files, but every MAC address will have it's own unique provisioning file.+Finally, put your //thinking cap// on, and take a look at the ''snom320.conf'' template file.  Try to follow how the above three files got created, and named as they did.  Note that multiple extensions will be added to the same dialplan and sip files, but every MAC address will have it's own unique provisioning file.
  
 For the template syntax, more info: **[[userdoc:tt_ip_phone_provisioning#phone_template_syntax|Phone Template Syntax]]** For the template syntax, more info: **[[userdoc:tt_ip_phone_provisioning#phone_template_syntax|Phone Template Syntax]]**
Line 81: Line 88:
 In summary, it's easier than you might think ! In summary, it's easier than you might think !
  
-Understand that these are just files at this point and does not effect your existing configuration.  To "activate" these files you must "''#include''" the Asterisk files into their respective primary configuration files and enable the provisioning file to be served to your phone.+!!Note ->!! Understand that these are just files at this point and does not effect your existing configuration.  To "activate" these files you must "''#include''" the Asterisk files into their respective primary configuration files and enable the provisioning file to be served to your phone.
  
 To understand this topic in more detail proceed to: To understand this topic in more detail proceed to:
 **[[userdoc:tt_ip_phone_provisioning|IP Phone Mass Deployment]]** **[[userdoc:tt_ip_phone_provisioning|IP Phone Mass Deployment]]**
- 
  • userdoc/tt_ip_phoneprov_howto.1395256566.txt.gz
  • Last modified: 2014/03/19 14:16
  • by abelbeck