Giter Site home page Giter Site logo

Comments (15)

datso avatar datso commented on May 19, 2024 1

Please describe your problem properly, what actually you want to reach ?
Describe the case please.

from react-native-pjsip.

glocore avatar glocore commented on May 19, 2024 1

@cmendes0101 @datso any updates on this? I figured it out for iOS and have sent out a PR for it, but couldn't figure it out for Android.

from react-native-pjsip.

ftb2010 avatar ftb2010 commented on May 19, 2024

I want to send a PJSIP_SC_RINGING / 180 request because there is no ring when i call,do you have a method?

from react-native-pjsip.

datso avatar datso commented on May 19, 2024

Currently you are not able to send "SIP packets" inside/outside the call session. To make the ringback working you probably should implement the middleware that will play the sound you want depending on the Call State.

from react-native-pjsip.

datso avatar datso commented on May 19, 2024

I guess sending a 180 request will not cause pjsip to playback a ringing sound. Did you test this ?

from react-native-pjsip.

lhg0302 avatar lhg0302 commented on May 19, 2024

I want to send a 180 to pjsip server how to send, it is now the calling party can not receive pjsip ring back tone

from react-native-pjsip.

ftb2010 avatar ftb2010 commented on May 19, 2024

I guess sending a 180 request will not cause pjsip to playback a ringing sound. Did you test this ?

how can i sending a 180 request?

from react-native-pjsip.

glocore avatar glocore commented on May 19, 2024

@datso I'm also stuck with the same issue, couldn't find anything upon grepping through the codebase. I'm able to answer calls no problem, just that the other party is not able to hear the ringing since they don't receive a 180 ringing request.

from react-native-pjsip.

cmendes0101 avatar cmendes0101 commented on May 19, 2024

What is receiving the call like is it another instance of your RN app? Do you have any SIP traces?

from react-native-pjsip.

glocore avatar glocore commented on May 19, 2024

@cmendes0101 Thanks for replying. I've tried calling from both the Telephone Mac app as well as the CSipSimple Android app, and I couldn't hear a ring in either of them. The call_received event is fired when the call is received, and so I am able to answer the call. It's just that the other end is not able to hear a ring.
Whereas it works the other way around: when calling from rn-pjsip to CSipSimple, I'm able to hear a ring no problem.
I can try and provide you with a SIP trace shortly.

Edit: Just to clarify: I'm facing this issue when calling from CSipSimple/Telephone to my RN app running in a simulator.

from react-native-pjsip.

glocore avatar glocore commented on May 19, 2024

@cmendes0101 Here are the PCAPs for both calling to CSipSimple and also to react-native-pjsip
https://gist.github.com/platonish/6439af23b9196e8d5bf136ba0e488924

from react-native-pjsip.

yunhanxia avatar yunhanxia commented on May 19, 2024

Same issue on Android :'(

from react-native-pjsip.

Wachana avatar Wachana commented on May 19, 2024

Same issue

from react-native-pjsip.

TechGuyVN avatar TechGuyVN commented on May 19, 2024

same issue on android

from react-native-pjsip.

csranasinghe avatar csranasinghe commented on May 19, 2024

same issue on android.Pls help.

from react-native-pjsip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.