Author Message
Supreeth_Maveric
Joined: Oct 29, 2020
Messages: 3
Offline
1) We are trying to do SIP registration from the mobile app to ASM Server. Certificate is installed in the mobile device for the respective Server. Getting CONNECTION_ERROR from CSDK.

Please advise if something we are missing to set/enable in Mobile SDK. However the same setup is working with Avaya Collaborator Lab.
The values we are passing to SDK are,

sipUsername = "Desk phone Extension"
sipPassword = "Extension password"
sipProxyAddress = "proxy address"
sipDomain = "domain"
sipProxyPort = 5061

2) Complete app is wrapped within Blackberry Dynamics SDK. We are able to receive response from other internal systems but not from ASM server. Blackberry dynamics SDK is used to consume Company's internal/intranet API's/servers.

for Blackberry enabled with Collaboratory lab details. Able to register but looks like avaya calls not passing through Blackberry dynamics.

for Blackberry enabled with Internal ASM server details. Not able to register and looks like avaya calls not passing through Blackberry dynamics.

Note: Android Blackberry Dynamics does not work with Retrofit/HTTPClient. We are using GDHTTPClient provided from Dynamics SDK for other network calls. However for iOS default NRSURLSession works with iOS Blackberry Dynamics.

We also checked with Avaya system manager traces, call from our app is not being logged there.
ware16.avaya.com
Joined: Sep 23, 2019
Messages: 80
Offline
Hi,

Thanks for your query!

There are multiple reasons for connection error. Can you please provide debug logs so that we can investigate further?


Thanks,
Avaya DevConnect Team
Supreeth_Maveric
Joined: Oct 29, 2020
Messages: 3
Offline
please find the attached logs.
Filename SD-AvayaBBDMasked.txt [Disk] Download
Filename SD-AvayaBBDCitiServerMaksed.txt [Disk] Download
Filename SD-logs_avaya_collaboratory.masked.txt [Disk] Download
Supreeth_Maveric
Joined: Oct 29, 2020
Messages: 3
Offline
Also looks like Avaya calls not going through Blackberry dynamics. Can you please on these please so that it will help us trouble shooting

1) What are the methods being used for HTTPS calls, could you confirm? Is it DefaultHTTPClient for Android and NSURLSession for iOS?
2) I am able to see calls like “tls://xxx.xxxx“ in iOS logs butt Https calls in Android logs. Will actual calls be in format tls:// or https:// in iOS?
3) Can you please confirm, is there any way we can intercept https calls from Android SDK
ware16.avaya.com
Joined: Sep 23, 2019
Messages: 80
Offline
Hi,

I have gone through the logs (SD-AvayaBBDMasked.txt) and it looks like registration is getting successful and infact App has already consumed OnRegistrationSuccessful() callback.

2020-10-28 10:09:40.433156+0530 XXXXXXX MY[13132:4575325] CUserImpl::OnRegistrationSuccessful()sm-121.collaboratory.avaya.com
2020-10-28 10:09:40.433321+0530 XXXXXXX MY[13132:4574508] CCallbackManager::ProcessNext(): Invoking OnUserRegistrationSuccessful

Regarding your new queries:

1. Call object and related methods are being used for call control. You need to change in the CallType in the CallCreationInfo for HTTP calls. You can find the APIs for
Android: https://www.devconnectprogram.com/site/global/products_resources/avaya_client_sdk/programming_docs/current/android/communication/api_refs/index.html
iOS: https://www.devconnectprogram.com/site/global/products_resources/avaya_client_sdk/programming_docs/current/ios/communication/api_refs/index.html

2/3: you can check if you can find "CCallServiceImpl::CreateCall" in the debug logs. Here is where the call is getting created.

Hope this will help!

Thanks,
Avaya DevConnect Team
Go to:   
Mobile view