Call disconnecting just after dialing while using call intent from service
<p>I'm trying to initiate a call from background service. Its working fine on sony xperia p android ics. But in <code>samsung galaxy y android 2.3.3</code> call gets disconnected automatically just after initiating. </p>

<pre><code>String number=Utils.getNumber(this, "contact"+i); 

Intent intent = new Intent(Intent.ACTION_CALL);
    intent.setData(Uri.parse("tel:" + number));
    intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
     intent.addFlags(Intent.FLAG_FROM_BACKGROUND);
    startActivity(intent);
</code></pre>

<p>Note its working properly on sony xperia p</p>
