Occasional Contributor


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;



best response confirmed by ezJurgen (Occasional Contributor)

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



We support Ukraine and condemn war. Push Russian government to act against war. Be brave, vocal and show your support to Ukraine. Follow the latest news HERE