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

Call failed : Decline #69

Open
tapannathvani opened this issue Jun 17, 2020 · 8 comments
Open

Call failed : Decline #69

tapannathvani opened this issue Jun 17, 2020 · 8 comments

Comments

@tapannathvani
Copy link

Hi,

We have installed react-native-demo in iOS & Android and setup scenarios & routing as per documentation but when we entered user name to call then its say call failed : Decline and we cant figure it out that what is the exact error? we are not able to see anything in log also.

Log looks like

2020-06-17 09:33:55 Unhandled CallAlerting event 2020-06-17 09:33:55 Executing JS command: HangupCall with params [{code = 603 ; headers = 59AC8D6DBEFF1E7E.1592386434.784682 ; id = 59AC8D6DBEFF1E7E.1592386434.784682 ; } ; ] 2020-06-17 09:33:55 Sent event to JS onPhoneEvent with params [{cost = 0 ; direction = ; duration = 0 ; headers = {Reason = ; } ; id = 59AC8D6DBEFF1E7E.1592386434.784682 ; name = Call.Disconnected ; } ; ] 2020-06-17 09:34:55 INFO: Session is stopping... 2020-06-17 09:34:55 Terminating (onClose) 2020-06-17 09:34:55 Executing JS command: close with params [{CpuMillis = 27 ; } ; ] 2020-06-17 09:34:55 Normal termination 2020-06-17 09:34:55 Session terminated

@YuliaGrigorieva
Copy link
Contributor

Hello @tapannathvani !

Is this the full session log?

Best regards,
Yulia Grigorieva

@tapannathvani
Copy link
Author

Here is the full session log.

2020-06-17 09:55:09 Loading scenario Rapidera 2020-06-17 09:55:09 Sent event to JS onPhoneEvent with params [{accessSecureURL = https://www-sg-05-211.voximplant.com:12093/request/731DF31DD96359BB.1592387708.761987_161.202.172.211/D7395F76071EA5C1 ; accessURL = http://161.202.172.211:12092/request/731DF31DD96359BB.1592387708.761987_161.202.172.211/D7395F76071EA5C1 ; accountId = 3657973 ; applicationId = 10111402 ; config = {acceptReInviteByDefault = true ; } ; initiatorCountry = IN ; logURL = https://storage-gw-in-01.voximplant.com/voxdata-in-logs-secure/2020/06/17/ZGZkZjdmMmUyZjk4Yjg3ZjkzZmMyYzM0YWQ0ODIwMWMvaHR0cDovL3d3dy1zZy0wNS0yMTEudm94aW1wbGFudC5jb206ODA4MC9sb2dzLzIwMjAvMDYvMTcvMDk1NTA4XzczMURGMzFERDk2MzU5QkIuMTU5MjM4NzcwOC43NjE5ODdfMTYxLjIwMi4xNzIuMjExLmxvZw--?sessionid=206674493 ; name = Application.Started ; sessionId = 206674493 ; userId = 1625333 ; } ; ] 2020-06-17 09:55:09 Sent event to JS onPhoneEvent with params [{callerid = tapan.nathvani ; destination = test1 ; displayName = Tapan ; fromURI = sip:[email protected] ; headers = {VI-Authenticated-Caller = tapan.nathvani ; VI-Browser = voxmobile ; VI-Client-Device = WebRTC ; VI-Client-IP = 157.32.148.210 ; VI-Client-Type = user ; VI-ClientVersion = android-2.16.1_react-1.18.0 ; } ; id = 64B8CECE010BE33D.1592387708.761986 ; name = Application.CallAlerting ; requestIP = 203.195.120.44:41109 ; scheme = {"" : {"audio" : [{"codecs" : [114,9,100,0,8,101] , "direction" : "sendrecv" , "flows" : [{"cname" : "KKONQdRw3mPZ/KSd" , "uniq" : 0}] , "msid" : "- f9cdceab-bcff-43d4-aceb-70a96d5f5f68" , "uniq" : 0}] , "place" : 0 , "type" : "call" , "video" : [{"ast" : true , "codecs" : [104,105,115,116,108,109,125] , "direction" : "sendrecv" , "flows" : [{"cname" : "KKONQdRw3mPZ/KSd" , "uniq" : 0},{"cname" : "KKONQdRw3mPZ/KSd" , "uniq" : 1}] , "msid" : "- f49056d3-39fa-4e54-ba79-913e4aa5d9c5" , "options" : {"115" : "level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f"} , "trcc" : true , "uniq" : 0}] , "vox-params" : ["platform android","clver android-2.16.1_react-1.18.0"]}} ; toURI = sip:[email protected] ; } ; ] 2020-06-17 09:55:09 Executing JS command: EnableMediaStatistics with params [{id = 64B8CECE010BE33D.1592387708.761986 ; } ; ] 2020-06-17 09:55:09 Enable media statistics for 64B8CECE010BE33D.1592387708.761986 : https://storage-gw-in-01.voximplant.com/voxdata-in-logs-secure/2020/06/17/ZTc3OTVhMzQ0YWQ2NDc1ZDMzOGYzZGRhZWM1NmZkM2YvaHR0cDovL3d3dy1zZy0wNS0yMTEudm94aW1wbGFudC5jb206ODA4MC9sb2dzLzIwMjAvMDYvMTcvNzMxREYzMUREOTYzNTlCQi4xNTkyMzg3NzA4Ljc2MTk4N18xNjEuMjAyLjE3Mi4yMTFfNjRCOENFQ0UwMTBCRTMzRC4xNTkyMzg3NzA4Ljc2MTk4Ni5jc3Y-?sessionid=206674493 2020-06-17 09:55:09 Unhandled CallAlerting event 2020-06-17 09:55:09 Executing JS command: HangupCall with params [{code = 603 ; headers = 64B8CECE010BE33D.1592387708.761986 ; id = 64B8CECE010BE33D.1592387708.761986 ; } ; ] 2020-06-17 09:55:09 Sent event to JS onPhoneEvent with params [{cost = 0 ; direction = ; duration = 0 ; headers = {Reason = ; } ; id = 64B8CECE010BE33D.1592387708.761986 ; name = Call.Disconnected ; } ; ] 2020-06-17 09:56:10 INFO: Session is stopping... 2020-06-17 09:56:10 Terminating (onClose) 2020-06-17 09:56:10 Executing JS command: close with params [{CpuMillis = 50 ; } ; ] 2020-06-17 09:56:10 Normal termination 2020-06-17 09:56:10 Session terminated

@YuliaGrigorieva
Copy link
Contributor

Hello @tapannathvani !

The issue is caused by this error:
2020-06-17 09:55:09 Unhandled CallAlerting event

It seems that your VoxEngine scenario is empty or has issues.
Please try the scenario provided in the Readme file.

Best regards,
Yulia Grigorieva

@tapannathvani
Copy link
Author

Thanks for the reply. We are able to do video call now but we have few questions..

  1. Even if we kill the app from background (android) then also i am able to hear the voice of 2nd person
  2. How to allow 3rd person to join like video conference if call is already running

@YuliaGrigorieva
Copy link
Contributor

  1. seems strange. Please provide the details (adb logcat logs, android os version, device model)
  2. you need a different VoxEngine scenario.
    Please take a look at the article about video conferences: https://voximplant.com/docs/tutorials/video-conference-through-voximplant-media-servers

@tapannathvani
Copy link
Author

@YuliaGrigorieva
Copy link
Contributor

  1. I need logs from sdk for this case, not the call session logs. Please collect adb logcat logs from the application
  2. VoxEngine scenario does not depend on the SDK. It works with any sdk, React Native has the similar API as web SDK, the difference exists only for video rendering.

@tapannathvani
Copy link
Author

Here is the logcat....

[Thu Jun 18 2020 10:40:05.900] LOG CallManager: addCall: 8Pe1hVLgj0kyymY9jh3xBJyS41wjYWwfisYJ [Thu Jun 18 2020 10:40:05.209] LOG CallScreen: _onCallEndpointAdded: callid: 8Pe1hVLgj0kyymY9jh3xBJyS41wjYWwfisYJ endpoint id: 8Pe1hVLgj0kyymY9jh3xBJyS41wjYWwfisYJ [Thu Jun 18 2020 10:40:05.251] LOG CallScreen: _onCallLocalVideoStreamAdded: 8Pe1hVLgj0kyymY9jh3xBJyS41wjYWwfisYJ, video stream id: 36b3c441-6649-467e-902d-cf51f25c93e1 [Thu Jun 18 2020 10:40:14.674] LOG CallScreen: _onEndpointInfoUpdated: callid: 8Pe1hVLgj0kyymY9jh3xBJyS41wjYWwfisYJ endpoint id: 8Pe1hVLgj0kyymY9jh3xBJyS41wjYWwfisYJ [Thu Jun 18 2020 10:40:14.802] LOG CallScreen: _onEndpointRemoteVideoStreamAdded: callid: 8Pe1hVLgj0kyymY9jh3xBJyS41wjYWwfisYJ endpoint id: 8Pe1hVLgj0kyymY9jh3xBJyS41wjYWwfisYJ, video stream id: 0addfd0a-59c7-4ff7-83ff-c08c71eb5627 [Thu Jun 18 2020 10:40:14.876] LOG CallScreen: _onCallConnected: 8Pe1hVLgj0kyymY9jh3xBJyS41wjYWwfisYJ [Thu Jun 18 2020 10:41:17.634] LOG CallManager: _handleAppStateChange: Current app state changed to background [Thu Jun 18 2020 10:41:18.345] LOG CallScreen: componentWillUnmount 8Pe1hVLgj0kyymY9jh3xBJyS41wjYWwfisYJ

Scenario : A person called to B (video call) and then A person killed the application without disconnecting the phone but B person still able to see live video of A and able to transfer voice also. A person clear cached memory of the application from device setting and then call disconnected

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

2 participants