$response = new Twilio\Twiml(); $dial = $response->dial(['callerId' => '+14155551212']); $dial->client('jenny'); echo $response;
$response = new Twilio\Twiml(); $dial = $response->dial(['callerId' => '+14155551212']); $dial->number('+14155551234'); echo $response;In this example, a new Dial element is created and a phone number is specified using the `number` method. The `callerId` parameter is used to set the caller ID of the caller. The package library used in this example is the Twilio PHP SDK.