Author Message
Sacrifar
Joined: Feb 20, 2018
Messages: 18
Offline
Hi,

We were trying to login with a wrong extension/password to see what kind of error we get back, so we can handle it accordingly.

According to the documentation we were expecting that we would get a RegistrationFailed event, but after receiving a RegistrationInProgress event nothing happens.
The .NET sample application provided with the SDK also did not raise any event after RegistrationInProgress when using a wrong extension/password.
ware16.avaya.com
Joined: Sep 23, 2019
Messages: 80
Offline
Thanks for posting your query!

Please attach log for further investigation.

User should get RegistrationFailed() on user object. Are you getting RegistrationFailed() in SDKManager.cs in sample app?

Thanks,
Avaya DevConnect support team
Sacrifar
Joined: Feb 20, 2018
Messages: 18
Offline
I am not getting RegistrationFailed(). There is no event incoming after RegistrationInProgress.

Same goes for the SDKManager.cs in the sample.
Filename SipPhone.log [Disk] Download
ware16.avaya.com
Joined: Sep 23, 2019
Messages: 80
Offline
We are not able to see any CSDK logs here.

Please set LogLevel to Debug (3) and provide log file to investigate further.
Is it possible to share SIP logs (Wireshark)?

Thanks,
Avaya DevConnect support team
Sacrifar
Joined: Feb 20, 2018
Messages: 18
Offline
Here is the debug log:
Filename SIPPhoneDebug.log [Disk] Download
ware16.avaya.com
Joined: Sep 23, 2019
Messages: 80
Offline
Thanks for the logs!

Looks like you are not handling the 'OnAuthenticationChallenge' event. Return null credentials to CredentialCallback and it should work.


Thanks,
Avaya DevConnect support team
Sacrifar
Joined: Feb 20, 2018
Messages: 18
Offline
Now we are getting the failed event.
Thanks a lot.
Go to:   
Mobile view