The moose likes Android and the fly likes how to make calls from SIP server? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Mobile » Android
Reply Bookmark "how to make calls from SIP server?" Watch "how to make calls from SIP server?" New topic
Author

how to make calls from SIP server?

Karuna chauhan
Greenhorn

Joined: Oct 11, 2007
Posts: 13

Hi,

I want write code to register with the Sip server and then to make call on press of 'Back' button.
I already have done with the registration part but not sure how should I proceed to make call from my registered SIP Account!
I tried do it using Intent, it displayed the window calling the number...but without ringing back.

Code that I tried to make call on Back press is here:


Please guide me for the right approach!

Thanks!
Swastik Dey
Ranch Hand

Joined: Jan 08, 2009
Posts: 990

Instead of Intent.ACTION_DIAL, does it work if you use Intent.ACTION_CALL? However it needs the following permission

<uses-permission android:name="android.permission.CALL_PHONE"></uses-permission>


Swastik
Karuna chauhan
Greenhorn

Joined: Oct 11, 2007
Posts: 13


Thanks for reply Swastik....

Yes! I tried Intent.ACTION_CALL too but that also didn't helped m...actually, I also want to know if only use of 'Intent' will work in SIP application or I should do somthingelse to listen to the other side??

Thanks!
 
 
subject: how to make calls from SIP server?
 
Threads others viewed
android uncaught handler: thread main exiting due to uncaught exception
url error ,please help
Not Registering -4
how to send multiple images to server
making phone call using SIP
IntelliJ Java IDE