1. Go to this page and download the library: Download odannyc/sipit library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
odannyc / sipit example snippets
use Sipit\SipitFactory as Sipit;
$destination_ip = '192.168.1.100';
$destination_port = 5060;
Sipit::ping($destination_ip, $destination_port);
{
""odannyc/sipit": "*"
}
}
use sipit\SipitFactory as Sipit;
Sipit::ping('192.168.1.10', 5060);