<commit_before># kazoo-provision
Provision integration in monster-ui-voip

![screenshot1](https://raw.githubusercontent.com/urueedi/kazoo-provision/DEVELOP/screenshot1.png)
![screenshot2](https://raw.githubusercontent.com/urueedi/kazoo-provision/DEVELOP/screenshot2.png)

1. network settings will be local from router and never be part of this provision-solution.
2. cache-solution will be there, if this provisioner will fail
3. feel free to add more of ip-phones, because i don't have all the devices!

Install procedure
-----------------
1. INSTALL kazoo-platform (from this repository because of changes: use 3.20)
2. INSTALL monster-ui (from this repository because of adds in ui) AND php for webserver
4. INSTALL THIS in a WEBFOLDER where the monster-ui is, or on sep. domain
5. INSTALL with on console ./setup.php the database and add brand_provisioner to couchdb
6. Set in this folder config.php your cochdb nodes in $hosts="localhost domain2.com ..."
7. Then restart kazoo with: service kz-whistle_app restart or flush coucdb cache of kazoo
8. Set in monster-ui /js/config.js provisioner: "http://yourdomain.com/your_path_installed..."
   - check this by using the add sip-phone-button in (monster-ui)->voip->devices or (kazoo-ui)
9. Go to your account settings and enable (Automatic Devicesettings) in monster-ui
    - URL-Password => [your_<PASSWORD>] is used in GET-string of phone snom now only
    - Domainrestriction => [customer_home_domain] e.g. customer.domain.com (dyndns) only this domain will be able to consume provision if putin
    - Phone Admin Password => [<PASSWORD>] access password to local phone
    - Zoiper Token => [zoipertoken] This is used for autoprovision with smartphone with zoiper
    - Automatic Devicesetting => enable to allow this autoprovision features on this account for all his phones
    - User devicesetting => enable to allow devicesettings in the userportal
10. If you need plug&play support for ip-phones you need openwrt from this github site. To add for VoIP-Phones use e.g.
   - snom:  00:04:13:*:*:* http://[prov_domain]/prov/snom/settings.php?mac={mac}&pass=[PROVPASS_ACCOUT_UI]<commit_msg>correct screenshots<commit_after># kazoo-provision
Provision integration in monster-ui-voip

![screenshot1](https://raw.githubusercontent.com/urueedi/kazoo-provision/master/DEVELOP/screenshot1.png)
![screenshot2](https://raw.githubusercontent.com/urueedi/kazoo-provision/master/DEVELOP/screenshot2.png)

1. network settings will be local from router and never be part of this provision-solution.
2. cache-solution will be there, if this provisioner will fail
3. feel free to add more of ip-phones, because i don't have all the devices!

Install procedure
-----------------
1. INSTALL kazoo-platform (from this repository because of changes: use 3.20)
2. INSTALL monster-ui (from this repository because of adds in ui) AND php for webserver
4. INSTALL THIS in a WEBFOLDER where the monster-ui is, or on sep. domain
5. INSTALL with on console ./setup.php the database and add brand_provisioner to couchdb
6. Set in this folder config.php your cochdb nodes in $hosts="localhost domain2.com ..."
7. Then restart kazoo with: service kz-whistle_app restart or flush coucdb cache of kazoo
8. Set in monster-ui /js/config.js provisioner: "http://yourdomain.com/your_path_installed..."
   - check this by using the add sip-phone-button in (monster-ui)->voip->devices or (kazoo-ui)
9. Go to your account settings and enable (Automatic Devicesettings) in monster-ui
    - URL-Password => [your_pass] is used in GET-string of phone snom now only
    - Domainrestriction => [customer_home_domain] e.g. customer.domain.com (dyndns) only this domain will be able to consume provision if putin
    - Phone Admin Password => [<PASSWORD>] access password to local phone
    - Zoiper Token => [zoipertoken] This is used for autoprovision with smartphone with zoiper
    - Automatic Devicesetting => enable to allow this autoprovision features on this account for all his phones
    - User devicesetting => enable to allow devicesettings in the userportal
10. If you need plug&play support for ip-phones you need openwrt from this github site. To add for VoIP-Phones use e.g.
   - snom:  00:04:13:*:*:* http://[prov_domain]/prov/snom/settings.php?mac={mac}&pass=[PROVPASS_ACCOUT_UI]
{'fraction_non_alphanumeric': 0.09419953596287703, 'fraction_numerical': 0.012529002320185615, 'mean_word_length': 4.144391408114559, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 22, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1385914', 'n_tokens_mistral': 1346, 'n_tokens_neox': 1279, 'n_words': 510}