Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linphone crashes if connecting to sip account via TLS #574

Open
Daniele-Tentoni opened this issue Sep 13, 2019 · 1 comment
Open

linphone crashes if connecting to sip account via TLS #574

Daniele-Tentoni opened this issue Sep 13, 2019 · 1 comment

Comments

@Daniele-Tentoni
Copy link

Daniele-Tentoni commented Sep 13, 2019

Hi all,
I've cloned this repo 2 days ago, builded it with Xcode 10.3 after the correction of all deprecated method errors. I actually use the current version Linphone iOS 4.2(8) and Linphone SDK 4.2. The problem I have is when i try to use an external sip account, with a username, password and domain, on the TLS protocol, the app dosen't connect.
We are pretty sure that the authentication work correctly, do you have any idea about?

We need to connect with sip accounts with TLS for security reason, and that seem to be the only issue at the moment. At the successive login, linphone load automatically the main view without going directly to the assistant view for the login. So it crashes and for me is very very difficult try to reproduce the error and send the error log. The email sending seem to doesn't work too :(. But if you wanna have the test credential for the test server i can send you with a private message. We need the login to be every time required to use the application.

Sorry for the very bad english.

I don't know the real point where the application crashes, but i cannot stop the debugger inside the button click event - (IBAction)onLoginClick:(id)sender;, and when i try to move the debugger in i get the error:

EXC_BAD_ACCESS (code=1, address=0x45bb32ffd8)

I'm facing the same error when I try to access to auth_info in static void linphone_iphone_popup_password_request(LinphoneCore *lc, LinphoneAuthInfo *auth_info, LinphoneAuthMethod method)

EXC_BAD_ACCESS (code=EXC_I386_GPFLT)

Anyway, i can't find the code where the login to the external service is done, inside the click event i find only methods to linphone core about setting some auth info or configs. Where i have to watch if it's a problem between linphone core and my company authentication service.

I can follow the flow until void popup_link_account_cb(LinphoneAccountCreator *creator, LinphoneAccountCreatorStatus status, const char *resp), after that i don't know where it go and produce this output:
output.txt.zip

This is one log that i try to post here, hoping to be useful:
linphone_log.zip

This issue can be related to #576 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant