I am developing a simple sip-based voip app for android.
I used this sample but there were some problems and I decided to write it step-by-step.
First I want to do registration on server. I do:
SipManager manager = SipManager.newInstance(this);
SipProfile.Builder builder = new SipProfile.Builder(number, server);
builder.setPassword(password);
SipProfile me = builder.build();
And it works fine. But when I do
manager.register(me, 1000, null);
or
manager.open(me)
my app crashed. I test this on Samsung i9000.
I think a problem is somewhere in wifi connection.
Any advices how to fix?
Try to check with SipManager.isApiSupported() and SipManager.isVoipSupported() is SIP is supported on your device. Perhaps Samsung disabled the SIP API.