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

Hang-up button coming instead of call receive button and UI related issue #21

Open
sebubd10 opened this issue Jun 7, 2021 · 0 comments

Comments

@sebubd10
Copy link

sebubd10 commented Jun 7, 2021

After the SIP account register success, I made a SIP call, but the incoming call screen appearing a hang-up button instead of the incoming button.

After checking the , i found this code:
const answerable = call.getState() == "PJSIP_INV_STATE_INCOMING";
return false, original value is call.getState() == PJSIP_INV_STATE_NULL.
For testing, i manually add the answerable = true. after that incoming button is coming, but when i press the answer button the app is crashing.

I checked the log through adb logcat *:S ReactNative:V ReactNativeJS:V command.

after pressing the answer button no log to the console.
Also, top of the header's icons are not showing, getting this error when I click the header button.
undefined is not an object (evaluating '_this$props.tab')

image

Now, how can I receive the incoming call and fix the UI?

Thanks.

@sebubd10 sebubd10 changed the title Hang-up screen coming instead of call receive button and UI related issue Hang-up button coming instead of call receive button and UI related issue Jun 8, 2021
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