SOLVED

Siptesterclient.ps1 change output to 0 or 1

Brass Contributor

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

1 Reply
best response confirmed by ezJurgen (Brass Contributor)
Solution

Hi All,

 

@SharonZhao-MSFT at MS Q&A had given me the answer and now it works

 

here is how

Change output of siptesterclient.ps1 to 0 or 1 - Microsoft Q&A

 

 

1 best response

Accepted Solutions
best response confirmed by ezJurgen (Brass Contributor)
Solution

Hi All,

 

@SharonZhao-MSFT at MS Q&A had given me the answer and now it works

 

here is how

Change output of siptesterclient.ps1 to 0 or 1 - Microsoft Q&A

 

 

View solution in original post