account->calls->create( $CallerID, // Caller ID you have previously validated with Twilio $call_phone_number, // The phone number you wish to dial $Url . "intro_twiml.php"); // the URL that will handle the call $msg = urlencode("Calling... ".$call_phone_number); header("Location: control_panel.php?msg=$msg&CallSid=".$call->sid); } catch (Exception $e) { $err = urlencode($e->getMessage()); header("Location: index.php?msg=$err"); } } ?>