Forum Discussion

ezJurgen's avatar
ezJurgen
Brass Contributor
Dec 19, 2020

Siptesterclient.ps1 change output to 0 or 1

Hi,

We use siptesterclient.ps1 to monitor sbc/pstn availability in Teams Voice by making a test call from one user in tenant A to the phone number of a teams user in tenant B.

 

It works great, it outputs true if the test worked, failed if not

But our monitoring software PRTG only understands integer as the result.

 

In the microsoft docs and the script itself, i cannot find how I could change the output to 0 or 1...

 

Any script guru's here who can?

 

Script info;
https://docs.microsoft.com/en-us/microsoftteams/sip-tester-powershell-script

 

thanks

Resources