Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Configuring PhonerLite with a side software (Read 6936 times)
vxz
YaBB Newbies
*
Offline


Phoner is great!

Posts: 1
Joined: 14. Feb 2017
Configuring PhonerLite with a side software
14. Feb 2017 at 08:00
Print Post  
Hello, we've been testing PhonerLite for quite a while with Asterisk running as a PBX. 
It works perfect, but we've encountered one problem- we have around 100 machines - and even more users (let's call it a CallCenter). We have a database of their Asterisk phone numbers, their logins and passwords. 
The problem is - how can we automate the setup of the program - so you run a script or something else, and all you need is to know your login and password - all other settings will be automatically inserted into the PhonerLite.
The scenario is like this:
1. User enters the system, using domain credentials
2. Runs the script or a program on his desktop
3. Enters the credentials
4. Runs the phonerLite - and it's been pre-setup for this user (his own phone number is beeing configured)
What files should we modify?
Simply copying the sipper.ini doesn't work, so as we tested.
  
Back to top
 
IP Logged
 
Phoner Admin
YaBB Administrator
*****
Offline



Posts: 11558
Location: Germany
Joined: 12. Oct 2003
Gender: Male
Re: Configuring PhonerLite with a side software
Reply #1 - 14. Feb 2017 at 13:16
Print Post  
All SIP related settings are saved as pure text file in "Sipper.ini".
The password is saved encrypted in the key "PWD". Instead of "PWD" you can use the "Password" key and the value is unencrypted then.
Code
Select All
Password=mysecret 

.
So you can create script generated settings. They relevant keys are "UserName", "Password" and "Gateway". All other keys/values ignored and must not exists - they are generated automatically if the user changes the config. Default values are used so long.

Does this help you?
  
Back to top
WWW  
IP Logged
 
Yuri_9
YaBB Newbies
*
Offline


Phoner is great!

Posts: 9
Joined: 16. Nov 2016
Re: Configuring PhonerLite with a side software
Reply #2 - 25. Feb 2017 at 16:14
Print Post  
Vxz, I use one file with settings for all sip numbers. My users just run .bat, which replaces existing sipper.ini with that one, prepared earlier..
Also it depends where to put the file sipper.ini:
- to %userprofile%\appdata\phonerlite\..
- to %programmfiles%\phonerlite\..
- to %programmfiles32%\phonerlite\..
  
Back to top
 
IP Logged
 
Phoner Admin
YaBB Administrator
*****
Offline



Posts: 11558
Location: Germany
Joined: 12. Oct 2003
Gender: Male
Re: Configuring PhonerLite with a side software
Reply #3 - 27. Feb 2017 at 08:52
Print Post  
There are only two possibilities where PhonerLite looks for settings:
  • Local folder: This one is used if write permissions are available. If you install PhonerLite below "C:\Program Files (x86)" on newer Windows versions, the application itself has NO permissions to write in their own folder.
  • %APPDATA%\PhonerLite
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint