composer require freerkminnema/sip
$client = new \FreerkMinnema\Sip\Client([
'host' => 'pbx.example.com',
'username' => 'user',
'password' => 'pass',
]);
$client->call('[email protected]');
Once it starts the ringing, it won't cancel. You'll need to pick up the phone or wait for the time-out.