3CX Phone on Desktop for MULTIPLE users using SAME Extension

Discussion in 'Windows' started by kinetix, May 11, 2016.

Thread Status:
Not open for further replies.
  1. kinetix

    Joined:
    Jan 7, 2010
    Messages:
    22
    Likes Received:
    1
    Would like to see the ability to have ANY/ALL users logging into a SINGLE Desktop to have the 3CX Phone Configured for the same extension....

    Example - Desktop #123 - regardless of who logs in - receives a 3CXPhone Profile which has Ext#123
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. PatrickTodd

    Joined:
    Jan 12, 2016
    Messages:
    40
    Likes Received:
    5
    I feel this can be done via Group Policy and is more of a Windows issue, not a 3CX one.

    (Asking everyone) Does 3CX phone have a directory it looks to for a provisioning file on startup? If so, you could just push that file to all users via Group Policy in Windows so that even new users to that machine would automatically have the same extension.

    (I imagine you want this because the station needs to stay the same, part time workers, interns, call centers, etc, makes total sense)
     
  3. vikingmt

    Joined:
    May 23, 2016
    Messages:
    2
    Likes Received:
    0
    This would be tremendously helpful for us.I think this would be fairly simple from a coding perspective. Plenty of applications allow the configuration to be for each user or all users. It just depends on where the config file gets saved, in the program directory or user profile.

    I haven't seen anywhere that I can use group policy to accomplish this.

    Mike
     
  4. r.towle

    Joined:
    Apr 11, 2013
    Messages:
    67
    Likes Received:
    10
    We've done something very similar to this with Group Policy.

    We have written a script which is a logon script which basically does the following:

    - user logs in and starts script silently in the backgroun
    - script pauses for 20 seconds to ensure network is properly up
    - script checks the name of the computer
    - script puts the computer name as a variable
    - script then looks in \\DomainController\netlogon\ for a file called "cmoputername.cfg" and runs it
    - 3cx phone is then registered with this

    This more or less means that it doesnt matter what user logs in, they always get the 3cx config of the phone they are setting next to - although the script could be modified to do what you are trying to do....?

    If its helpful, I could dig out the script....?
    Ray
     
  5. r.towle

    Joined:
    Apr 11, 2013
    Messages:
    67
    Likes Received:
    10
    In fact, this is the script.
    Will need some modification to work in your environment and will need a logon GPO to run the script:


    # Runs and IF command to find the computer name and then goto sun routine called "pc name"
    if /i "%COMPUTERNAME%" == "ADMIN-PC" goto :ADMIN-PC

    # This line calls "failed" if no matching computer nane can be found (this needs to be after all the IF statements)
    goto :failed

    # Subroutine for ADMIN-PC. This runs and then jumps to :end
    :ADMIN-PC
    start "" "\\Server\Share\3CX Phone Config Files\Extension_100.3cxconfig"
    # Below line can be un-commented if you want a popup to say the config has applied - can be helpful for troubleshooting
    rem mshta "javascript:alert('3CX Phone Configuration Applied');close()"
    goto :end

    # Failed routine to alert the script has not run. Needs uncommenting if you want to see this.
    :failed
    rem mshta "javascript:alert('3CX Phone Configuration Failed');close()"

    # End routine - this ends the script.
    REM This and the below line need to be at the end of the file.
    :end
     
  6. uptime1

    uptime1 New Member

    Joined:
    Jan 13, 2012
    Messages:
    112
    Likes Received:
    28
    THANKS for sharing! :)
     
  7. NickD_3CX

    NickD_3CX Support Team
    Staff Member 3CX Support

    Joined:
    Jun 2, 2014
    Messages:
    1,255
    Likes Received:
    63
    This is indeed possible Group Policies.
    For the record, the config file for the 3CXPhone for Windows is located in %AppData%\3CXPhone for Windows\ .

    Given the above, moving this topic back to "3CXPhone for Windows" for further discussion.
     
  8. vikingmt

    Joined:
    May 23, 2016
    Messages:
    2
    Likes Received:
    0
    Excellent Ray! Thank you for posting the script.

    -Mike
     
Thread Status:
Not open for further replies.