title: How to hang up outgoing call in Android?
body: <p>I am developing an application where one of the things we need is to control the outgoing call, at least to be able to stop it from our application. </p>
  
  <p>I've tried using <code>Intent.ACTION_CALL</code> from an existing activity:</p>
  
  <pre><code>Intent callIntent = new Intent(Intent.ACTION_CALL, Uri.parse("tel:" + phoneNumber)); 
  startActivity(callIntent); 
  </code></pre>
  
  <p>But stopping the call seems to be disallowed through the API.</p>
  
  <p>Can you suggest some workaround?</p>
  
  <p>For example: enabling airplane mode during the call? Just an example; this hack didn't work for me.</p>