Picture of Wim 4127
Registered 6 years 245 days
Wim 4127 Monday, 16 May 2022, 12:49 PM
How to find out PBX is running in test mode
Hi, 

what is the best way (in the C++ service) to find out if the PBX is running in the 8 hour test mode? 

Kind regards, 

Wim
Andreas Fink
Moderator Registered 13 years 45 days
Andreas Fink (innovaphone) Tuesday, 24 May 2022, 12:42 PM
Re: How to find out PBX is running in test mode
Hello Wim,

there is no direct way via a WebSocket API to get this information.

The XML document /CMD0/box_info.xml could be used to test if the attribute 'test-mode' exists.

Best Regards
Andreas Fink
← You can define your color theme preference here