I'm beginner to android, I'm trying to make a small application for making calls (on press of a 'Back button') from my SIP account to mobile number with the help of a "SIP Demo" and documentation provided on "developer.android.com/" website. After following all the necessary steps of registering with the server I'm facing error of "Not Registering" (Error Code is -4 ) and "no data connection" (Error Code -10) alternatively while registration process on a button click.
Kindly correct me for all my mistakes in the code...
I guess you right Jaikiran...because the code was really lengthy to post...now i'll try to make it clear and brief here -
In my application, I am registring with the SIP Server and after registration making an 'Outgoing Call' to any random number on press of 'Back Button'. Registration has been done successfully but not getting any response while calling to the number (except the dialer window is displayed).
Here's my code below for making call on 'Back Press' ...hoping to get the reason and solution for this issue -