You can declare a BroadcastReceiver to for the NEW_OUTGOING_CALL
intent such as:

<intent-filter android:priority="1">
 <action android:name="android.intent.action.NEW_OUTGOING_CALL" />
  <category android:name="android.intent.category.DEFAULT" />
</intent-filter>

That would intercept an outgoing call after it's dialed.

More on this:
http://developer.android.com/reference/android/content/Intent.html#ACTION_NEW_OUTGOING_CALL

I don't know how you would actually make the call go through a SIP
connection but I guess this is a good start.
There's an open source project called Sipdroid that does exactly that.
Maybe you can take a look at their source code to see how it's done.


On Jul 12, 3:46 am, Randall <randallnori...@gmail.com> wrote:
> I'd like to know this as well. Did you find out how to do it, yet?
>
> On Jun 30, 1:41 pm, Jaap <jaap.hait...@gmail.com> wrote:
>
>
>
> > Maybe I did not explain myself well. What I want is somebody to use
> > the defaultphoneapplication on Android but when the call button is
> > pressed my application gets thenumberand no call is being placed.
>
> > Jaap
>
> > On Jun 26, 10:30 pm, Jaap <jaap.hait...@gmail.com> wrote:
>
> > > Hi,
>
> > > There are some programs to make calls via SIP with android. Nice thing
> > > is that they work transparently. That is you can use the standard
> > > androidphonedialerbut the call goes via SIP.
>
> > > How can you use the androiddialerto do this?
>
> > > Thanks
>
> > > Jaap

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to