Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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";
?>
  • No labels