aspose file tools*
The moose likes Android and the fly likes how to make calls from SIP server? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Mobile » Android
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
Rancher

Joined: Jan 08, 2009
Posts: 1400
    
    6

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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to make calls from SIP server?
 
Similar Threads
url error ,please help
Not Registering -4
making phone call using SIP
android uncaught handler: thread main exiting due to uncaught exception
how to send multiple images to server