Invoke-snomControl PowerShell GUI

By | September 17, 2014

While rolling out snom IP phones for a recent Lync enterprise voice deployment, I needed a way to control a phone while working remotely. Snom’s FAQ: http://wiki.snom.com/FAQ/Can_I_control_my_snom_phone_remotely provides details on this built-in functionality using the snom phone’s Web User Interface: http://wiki.snom.com/Category:Web_User_Interface and command.htm to simulate key presses.

After entering a few control commands into a browser and monitoring the phone’s display with my Get-snomScreen PowerShell GUI: http://realtimeuc.com/2014/07/get-snomscreen/ I figured there must be a better way!

Invoke-snomControl.ps1 is a PowerShell GUI script which allows remote control of a snom IP phone. Script is Code Signed using DigiCert.

  • Connect: Enter the snom phone’s web user interface information, select zoom level, reload interval and click start.
    • Requires network connectivity from computer running script to snom phone’s IP.
    • Account used to authenticate to web interface requires Admin mode on: http://wiki.snom.com/FAQ/How_can_I_set_the_phone_back_to_admin_mode_or_factory_defaults_respectively
    • Recommend testing access to web interface prior to setting reload interval, reload set to “none” will make a single connection.
    • All parameters except reload interval can be adjusted while running.
    • Not limited to phones registered to Lync.
    • Includes the ability to reboot phone.

main

connected

  • Control: Using a mouse or keyboard to simulate phone’s keypad and a few function/feature keys.
    • Captures Keyboard: number, enter and delete keys. Sending the correct button command to the phone.
    • Changing focus to Control tab or pressing control buttons will invoke a single snom phone display refresh, set reload interval on Connect tab for best experience.
    • Commands:
      • Soft Keys 1-4
      • Programmable Function keys 1-6
      • Number Pad
      • Navigation Pad
      • Voice Mail
      • Confirm/Enter
      • Cancel/End
      • Do Not Disturb
      • Directory Lookup
      • Menu
      • Transfer
      • Hold
      • Redial
      • Mute
      • Volume Up/Down
      • Speaker
      • Headset

control

  • Info: Snom phone system information (Firmware/MAC/IP/Uptime/Identities/Ethernet & PC Port Status)
    • Changing focus to Info tab will invoke a single connection to snom phone to pull specific data.
    • Capture/Display data from http(s)://phoneIP/info.htm

info

  • Settings: Snom phone settings
    • Changing focus to Settings tab will invoke a single connection to snom phone to pull specific data.
    • Capture/Display data from http(s)://phoneIP/settings.htm

settings

  • Identities: Snom phone identities (Line ID/Sip URI/Active/Registration State/Presence)
    • Changing focus to Identities tab will invoke a single connection to snom phone to pull specific data.
    • Identities tab will refresh with connect reload interval if tab is currently active.
    • Capture/Display data from http(s)://phoneIP/state_of_identity.htm

identities

  • Media: Snom phone media statistics (Channels/Stats/Errors/Jitter/Loss)

media

  • Tool Tip: Graphic buttons on Connect and Control tabs include mouse hover tool tips explaining function.

tooltipcontrol

tooltipconnect

Snom phone models tested ( www.snom.com/products/ ):

  • 300, 710, 720, 760, 821, 870

Download: Invoke-snomControl: http://gallery.technet.microsoft.com/Control-snom-IP-Phone-703ac187

3 thoughts on “Invoke-snomControl PowerShell GUI

  1. Pingback: The UC Architects » Episode 43: Can you hear me now?

  2. Jeffrey Vermeulen

    Hi there, this is a really nice peace of scripting. im trying to deploy this in my company but i need some changes in the script, and i can’t get through with it.

    i want to add a texbox so users can copy and paste a phonenumber in the textbox and use this textbox to call the number. i have added the textbox but now i need to use it to read the phonenumber and dail the number.. can you please assist me with that part? cuz i really don’t know where he confirm the number you dailed with the numpad

    greetz

    Reply

Leave a Comment