Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to make calls from SIP server?

 
Karuna chauhan
Greenhorn
Posts: 13
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1603
5
Android Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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>
 
Karuna chauhan
Greenhorn
Posts: 13
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic