Hi, I am developing an App with SIP features (for calling and handle incoming calls) When I close the app I want to programatically unregister from the network.
I have some questions about that: A scenario: If I perform a 'manager.close(me.getUriString());' this closes my profiles and when someone calls me a 'timeOut' is triggered. OK But I have doubts if I have successfully unregistered from the server. B scenario: I have also tried to open my SipSession with 'autoRegistration = false' and call unregister using 'manager.unregister(me,listener);' but I always get a null pointer exception: 04-15 17:20:32.567: W/con.gmv.siplib(3774): SipLibraryService: onDestroy - Failed to close local profile. SipService.createSession() returns null 04-15 17:20:32.567: W/System.err(3774): android.net.sip.SipException: SipService.createSession() returns null So the big question is: Will a 'manager.close(sipUri)' invocation unregister my sip account from the server? Or have I to do some extra work with the sip account? If I have to do more actions with my account for un registering it, could you provide me some examples of how to do it in a proper way? Kind Regards and thanks in advance! -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

