D devpialkt Member Licensed User Longtime User Aug 24, 2016 #1 Hi erel if end/close SIP calling as normally, it will remove SIP account profile at settings> call settings> SIP Account but when the application closed with force closed, make SIP account is not deleted in the SIP Account settings. so, next SIP registration (with others acoount) become fail .. is there a away to remove current SIP account profile on SIP Account with B4A ?? Thanks *)sorry for my bad english
Hi erel if end/close SIP calling as normally, it will remove SIP account profile at settings> call settings> SIP Account but when the application closed with force closed, make SIP account is not deleted in the SIP Account settings. so, next SIP registration (with others acoount) become fail .. is there a away to remove current SIP account profile on SIP Account with B4A ?? Thanks *)sorry for my bad english
Erel B4X founder Staff member Licensed User Longtime User Aug 25, 2016 #2 devpialkt said: Hi erel Click to expand... Please don't limit your questions to a single member. You can try to unregister before you register again: https://www.b4x.com/android/forum/threads/android-sip-voip-tutorial.13088/page-8#post-438933 Upvote 0
devpialkt said: Hi erel Click to expand... Please don't limit your questions to a single member. You can try to unregister before you register again: https://www.b4x.com/android/forum/threads/android-sip-voip-tutorial.13088/page-8#post-438933
D devpialkt Member Licensed User Longtime User Aug 25, 2016 #3 i'm sorry tried but error with the code Code: Dim r As Reflector r.Target = SIP Dim manager As JavaObject = r.GetField("manager") Dim profile As JavaObject = r.GetField("me") manager.RunMethod("unregister", Array(profile, Null)) Spoiler: [B][U]here's debug app:[/U][/B] Spoiler: [B][U]Error Log :[/U][/B] Spoiler: [B][U]the line :[/U][/B] Spoiler: [B][U]profile SIP still available [/U][/B] any idea ? Upvote 0
i'm sorry tried but error with the code Code: Dim r As Reflector r.Target = SIP Dim manager As JavaObject = r.GetField("manager") Dim profile As JavaObject = r.GetField("me") manager.RunMethod("unregister", Array(profile, Null)) Spoiler: [B][U]here's debug app:[/U][/B] Spoiler: [B][U]Error Log :[/U][/B] Spoiler: [B][U]the line :[/U][/B] Spoiler: [B][U]profile SIP still available [/U][/B] any idea ?
Erel B4X founder Staff member Licensed User Longtime User Aug 26, 2016 #4 The spoiler tags only makes it more difficult to read your post. Try to call this code from RegistrationFailed event. Upvote 0
The spoiler tags only makes it more difficult to read your post. Try to call this code from RegistrationFailed event.