The following content only applies to FreePBX and PBXact platforms

How to Collect Sangoma Phone Desktop Client logs

 

Enabling the Debugger log viewer on the Sangoma Phone desktop client

  • After the client application is installed on the desktop, a modified shortcut can be used to launch it with the debugger enabled.

  • For MacOS

    • Launch the "Script Editor" app, Click on "New Document" and paste the following line into the editor:

      • do shell script "open -a /Applications/Sangoma\\ Phone.app --args --DEV"
    • Click File | Export and then where it says "Export As", enter "Sangoma Phone - DEV"

    • Where it says "Where", select "Desktop"

    • Where it says "File Format", select '"Application"

    • Under "options", check "Run-only"

    • Click Save

    • Quit the Script Editor app (no need to save the script; it's already been exported)

    • Double-clicking the newly created ".app" file will launch the app in "debug" mode

  • For Windows

    • Right-click on the Windows desktop

    • Click New > Shortcut in the popup menu

    • Where it says "Type the location of the item", click the "Browse..." button

    • Navigate to

      • <your_user_name>\AppData\Local\Programs\com.sangoma.switchvox.desktopsoftphone\Sangoma Phone.exe"

    • Click OK

    • Click Next

    • Where it says "Type a name for this shortcut", enter "Sangoma Phone - QA"

    • Click Finish

    • Right-click on the newly created shortcut, and click Properties

    • In the "Target" field, go all the way to end and add a space and then --DEV --PRERELEASE

    • Click OK

    • Double-clicking on this new shortcut will launch the app in "debug" and "prerelease" mode

 

Above will open the browser console as well so share the browser console full logs along with network tab flow for further debugging.

Return to Documentation Home I Return to Sangoma Support