Closed KARTIKNISHAD204 closed 3 years ago
Cant find any example code to register a user
We have tutorials available here: https://gitlab.linphone.org/BC/public/tutorials
the linphone-android have registration from phone number and remote configuration only .
No, you can login any SIP account in linphone-android app.
Your issue seems to be you don't add the proxy config to the Core. Make the following changes:
val proxyConfig = accountCreator.createProxyConfig()
core.addProxyConfig(proxyConfig)
core.defaultProxyConfig = proxyConfig
Hi , Is I am doing it right , do I have to initialize linphone core by fetching rar resource file ie-: linphonerc_default ,linphonerc_factory . adding proxy config is not helping , Do i have to add sleep to wait for registration , I have seen so many deprecated codes for registration , nothing is working , please share the steps or example code to register a user by email on linphone sip server , same as https://www.linphone.org/freesip/home
On Thu, Sep 16, 2021 at 12:32 PM Sylvain Berfini @.***> wrote:
Cant find any example code to register a user
We have tutorials available here: https://gitlab.linphone.org/BC/public/tutorials
the linphone-android have registration from phone number and remote configuration only .
No, you can login any SIP account in linphone-android app.
Your issue seems to be you don't add the proxy config to the Core. Make the following changes:
val proxyConfig = accountCreator.createProxyConfig() core.addProxyConfig(proxyConfig) core.defaultProxyConfig = proxyConfig
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BelledonneCommunications/liblinphone/issues/187#issuecomment-920632062, or unsubscribe https://github.com/notifications/unsubscribe-auth/AITJ2EG5YKH2Z2DLYXOIR3DUCGI7PANCNFSM5ECZGAMQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
This only work for login , if you have pre registered credentials , I can not create subscription from this code , please see this code , [image: Screenshot from 2021-09-20 16-00-26.png][image: Screenshot from 2021-09-20 16-03-19.png]
On Tue, Sep 21, 2021 at 3:46 PM Sylvain Berfini @.***> wrote:
Here's the best sample for that: https://gitlab.linphone.org/BC/public/tutorials/-/blob/master/android/kotlin/1-AccountLogin/app/src/main/java/org/linphone/accountlogin/AccountLoginActivity.kt
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BelledonneCommunications/liblinphone/issues/187#issuecomment-923838009, or unsubscribe https://github.com/notifications/unsubscribe-auth/AITJ2ECNALWA3Y5VRFQEDTTUDBLQ3ANCNFSM5ECZGAMQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Then check how we create account on our free sip from our apps using AccountCreator object: https://github.com/BelledonneCommunications/linphone-android/blob/master/app/src/main/java/org/linphone/activities/assistant/viewmodels/EmailAccountCreationViewModel.kt
HI , Thank you for your response, Now I am able to Register a user on linphone , but after receiving a email , On tapping authentication link , it is creating server error, Is it necessary to open authentication link from email , I want to register a user with that authentication button click , what things i have to do to authenticate a register user directly without link click
On Tue, Sep 21, 2021 at 4:33 PM Sylvain Berfini @.***> wrote:
Then check how we create account on our free sip from our apps using AccountCreator object: https://github.com/BelledonneCommunications/linphone-android/blob/master/app/src/main/java/org/linphone/activities/assistant/viewmodels/EmailAccountCreationViewModel.kt
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BelledonneCommunications/liblinphone/issues/187#issuecomment-923872720, or unsubscribe https://github.com/notifications/unsubscribe-auth/AITJ2ECR6UJ3BCXWPTBG6ALUDBRAVANCNFSM5ECZGAMQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Is it necessary to open authentication link from email , I want to register a user with that authentication button click , what things i have to do to authenticate a register user directly without link click
You can't do that using our accounts database, but if you set up your own SIP server with your own accounts you will be able to do it.
I will set up my own flexisip server. please help me with the documentation or any guide which i need to follow , please note - right now i have implemented all the functionality using linphone sdk with open flexisp server of yours .I am in doubt if setting up my server will work the same as your live server.
On Thu, Sep 23, 2021 at 4:57 PM Sylvain Berfini @.***> wrote:
Is it necessary to open authentication link from email , I want to register a user with that authentication button click , what things i have to do to authenticate a register user directly without link click
You can't do that using our accounts database, but if you set up your own SIP server with your own accounts you will be able to do it.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BelledonneCommunications/liblinphone/issues/187#issuecomment-925725353, or unsubscribe https://github.com/notifications/unsubscribe-auth/AITJ2EBTKSM5YFCGJLRNGA3UDMFLRANCNFSM5ECZGAMQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
please help me with the documentation or any guide which i need to follow
Between the wiki and the account manager README you should manage to install and configure your own.
I am in doubt if setting up my server will work the same as your live server.
Why would it be different? We are using flexisip as well for our sip.linphone.org service.
I/Register Linphone: LinphoneAccount[0x7630b76008] created with params I/Register Linphone: LinphoneAccount[0x75be6f7808] created with params LinphoneAccount[0x75be6f7808] created with proxy config LinphoneAccount[0x75d81ba508] created with params LinphoneAccount[0x75d81ba508] created with proxy config W/Register Linphone: Bad proxy address: it is not in the list ! I/Register Linphone: Core callbacks [0x75be9b0140] registered on core [0x7630f84600] I/Register Linphone: LinphoneAccount[0x75d81ba508] destroyed I/Register Linphone: LinphoneAccount[0x75be6f7808] destroyed
. I am trying to register a user on linphone sip account from same credential as in my app as we register on @@https://www.linphone.org/freesip/home . I have wasted 3 days on registration process . Cant find any example code to register a user , the linphone-android have registration from phone number and remote configuration only . I have implemented example code from this https://linphone.org/releases/docs/liblinphone/3.11.1/c/group__registration__tutorials.html link but it have totally deprecated code . I have used below code to register a user , but It is showing Bad Sip address . If any of you have implemented registration on linphone sip account from same email and password from your app .Please help @Viish
Major issue is Linphone didn't provide example code for user registration from email , docs are unclear, and example codes are deprecated , Please provide code for registration same as incoming call , and outgoing ie:- https://gitlab.linphone.org/BC/public/tutorials `
public fun stackRegistartion(callback: Activity){