title: Twilio programmable voice call android
body: <p>I just want to integrate twilio programmable voice on my project(android + PHP) so when i dial a VOIP call using android app than the person who will receive call will hear twiml programmable message on call.</p>
  
  <p>I have tried a lot and VOIP call is working fine but i want to add a programmable message when receiver will accept the call.</p>
  
  <pre><code>$callerNumber = '+123456789';
  
  $response = new Twilio\Twiml();
  
  if (!isset($to) || empty($to)) {
    $response-&gt;say('Congratulations! You have just made your first call! Good bye.');
  } else if (is_numeric($to)) {
  
  
    $dial = $response-&gt;dial(
      array(
        'callerId' =&gt; $callerNumber,
      ));
  
    $dial-&gt;number($to);
  } else {
    $dial = $response-&gt;dial(
      array(
         'callerId' =&gt; $callerId,
  
      ));
    $dial-&gt;client($to);
  
  
  }
  print $response;
  </code></pre>
  
  <p>I have used above code in the back-end and my VOIP call is working fine but i want to add a programmable message when receiver accept the call</p>