Getting the current number of active calls with PHP
Make sure you've installed php-soap
<?php $client = new SoapClient(NULL, array('cache_wsdl' => WSDL_CACHE_NONE, 'location' => "http://IP.ADDR.OF.SIPX:8130", 'uri' => "urn:CdrService")); print "Number of Active Calls:\n"; print count($client->__soapCall("getActiveCalls", array(), array('soapaction' => "getActiveCalls"))); print "\n"; ?>