Rolling out 3CX phone to 80 workstations

Discussion in '3CX Phone System - General' started by King Computer, Nov 18, 2009.

Thread Status:
Not open for further replies.
  1. King Computer

    Joined:
    Jul 5, 2009
    Messages:
    8
    Likes Received:
    0
    Is there a way to script a mass rollout of the 3cx softphone, and configure the extension details for each computer?
    Is there an ini or registry entry that can be pushed out to set the extension details?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. LeonidasG

    LeonidasG Support Team
    Staff Member 3CX Support

    Joined:
    Nov 19, 2008
    Messages:
    1,458
    Likes Received:
    92
    There is no script but you can make one.

    I've got a script that i've been using for some other operations that can be modified to suit your needs. Personally i dont have the time to modify it for this kind of thing.
    Want me to PM it to you? You need to have some knowledge of msdos scripting though.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Vali_3CX

    Vali_3CX Well-Known Member
    Staff Member 3CX Support

    Joined:
    Dec 12, 2008
    Messages:
    1,477
    Likes Received:
    67
    Hi
    You may try to install 3CXPhone on a shared machine providing read/execute rights to its install folder to be accessed by Windows clients machines. Then, these machines may have only a shortcut to the 3CXPhone to run it. However, there is a drawback - loading (or starting) time increase, since audio files and skin will be loaded over network, from the shared machine. Another side-effect is phone uninstalling/updating: this operation could not be performed while files are in use - that means, you will have to stop ALL "clients".

    For extension details is not possible such deployment, since such kind of settings are user-specific, and are stored and maintained by 3CXPhone on local machine's logged user's profile.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. pjr

    pjr New Member

    Joined:
    Oct 5, 2009
    Messages:
    154
    Likes Received:
    0
    Hi Leonidas -I would like a copy of that if you could PM it?

    Thanks

    Paul
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. LeonidasG

    LeonidasG Support Team
    Staff Member 3CX Support

    Joined:
    Nov 19, 2008
    Messages:
    1,458
    Likes Received:
    92
    Sent.

    Keep in mind that with minor configuration you can make it to set up your Assistants as well automatically.
    Cant help you with the editing of the script at the moment because i'm pretty busy here.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. comresource

    comresource Member

    Joined:
    May 22, 2009
    Messages:
    303
    Likes Received:
    0
    This would be pretty easy with Autoit. Just create a spreadsheet (or use the one you created to import extensions into 3CX) and create a script to pull the parameters and run the install.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. King Computer

    Joined:
    Jul 5, 2009
    Messages:
    8
    Likes Received:
    0
    Would love a copy of the script. Please send it through. We'll work out how to modify it.

    We found the ini file for each user in C:\Users\%username%\AppData\Local\3CX VoIP Phone (documents and settings on xp systems)

    So we will work out a batch way to write & push out each extensions details to that ini file.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. LeonidasG

    LeonidasG Support Team
    Staff Member 3CX Support

    Joined:
    Nov 19, 2008
    Messages:
    1,458
    Likes Received:
    92
    Sent it already, did you get it?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. Vali_3CX

    Vali_3CX Well-Known Member
    Staff Member 3CX Support

    Joined:
    Dec 12, 2008
    Messages:
    1,477
    Likes Received:
    67
    Hi

    Personally, I'm not in favour of such kind of deploying, due to the fact that configuration files contain machine-specific informations (such as audio device, local network interface, local ports and so on) which may not be valid on another machine. However, if you want to deploy ONLY a profile, you may try something like this

    - on your phone, create a working profile.
    - open phone's configuration file and find the profile you created, say [PROFILE10]
    - copy the whole [PROFILE10] block into a separate UNICODE file.
    - in this copy, edit the sensitive field which is NetInterface - set it to 127.0.0.1
    - now, for each machine, open its phone's configuration file
    - search for latest [PROFILExx] section, say [PROFILE02]
    - append the block you kept and rename it to the next index here, that means [PROFILE10] will become [PROFILE03]
    - on this new block, edit AuthUser, AuthID, AuthPass according to extension you want
    - before saving, check if the Name you given is unique among PROFILE's Names.
    - save phone's configuration file.

    I repeat, since we don't provide such kind of deployment, you're on your own doing this.

    Regards
    vali
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. King Computer

    Joined:
    Jul 5, 2009
    Messages:
    8
    Likes Received:
    0
    I didn't get a private message in my forum inbox, and didn't see something by email.
    Where was it meant to turn up? You could just post the script on the forum?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. LeonidasG

    LeonidasG Support Team
    Staff Member 3CX Support

    Joined:
    Nov 19, 2008
    Messages:
    1,458
    Likes Received:
    92
    Sent it again, it seems i accidentally sent it to some other guy :p
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. DeWild1

    Joined:
    Oct 31, 2008
    Messages:
    86
    Likes Received:
    0
    Do you have a list of computer names or hard drive serial numbers for the 70 computers?
    If so, I could make you a script using http://www.autohotkey.com that would match up a computer name to an extension.
    Or, if all computers had R/W access to a shared drive, I could just make a script that just uses an extension, deletes it from the master list, makes a file that tells you what user name and computer name is using what extention.. (For the future, so you know who has what extension, so you can customize the extension on the 3cx server)
    Also, do you have XP and vista?
    They use different paths.

    If everyone is in a domain, you can run the script via log in.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. LeonidasG

    LeonidasG Support Team
    Staff Member 3CX Support

    Joined:
    Nov 19, 2008
    Messages:
    1,458
    Likes Received:
    92
    Ignore the PM i sent you, that was the wrong script.


    It would be better to use one of those automated applications that do everything.
    Though if you think of it, you would waste more time configuring that application to do it for you, than to just enter the settings yourself :p


    Anyway here's the Script, it's untested full of errors that you will have to fix if you wanna use it.

    Preferably install it on C:\VPC because all the paths are preconfigured there, or else you can just point to to anywehere else you want.


     

    Attached Files:

    • VPC.rar
      File size:
      2.2 KB
      Views:
      99
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Thread Status:
Not open for further replies.