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

Add 180 RINGING request in onCallReceived method #157

Closed
wants to merge 1 commit into from

Conversation

glocore
Copy link

@glocore glocore commented Dec 8, 2018

fixes #61
Wasn't able to hear a ringing tone when calling TO react-native-pjsip. Turns out that a 180 RINGING request was not being sent, and so the caller could not hear the ringing.

@datso
Copy link
Owner

datso commented Mar 14, 2019

This action should be optional, it would be better to have additional params in answerCall method where you can pass 180 code for ringing.

@csranasinghe
Copy link

I found a way to do the same in android. But have a question about state changes. In IOS also after we send the 180 answer, the state changes to PJSIP_INV_STATE_EARLY not to PJSIP_INV_STATE_INCOMING is it ok? In android actually I didnt get to PJSIP_INV_STATE_INCOMING state in any moment. But after sending 180 then I get the state change as PJSIP_INV_STATE_EARLY. Is this behavior normal? If that's normal then I can commit the android change.

@glocore glocore closed this Jun 14, 2020
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

Successfully merging this pull request may close these issues.

Did you provide a method for us to send a 183 request?
3 participants