react-native-pjsip icon indicating copy to clipboard operation
react-native-pjsip copied to clipboard

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

Open ftb2010 opened this issue 7 years ago • 15 comments

Did you provide a method for us to send a 183 request? no rings

ftb2010 avatar Jan 26 '18 09:01 ftb2010

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

datso avatar Jan 26 '18 13:01 datso

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

ftb2010 avatar Jan 30 '18 09:01 ftb2010

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.

datso avatar Jan 30 '18 12:01 datso

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

datso avatar Jan 30 '18 12:01 datso

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

lhg0302 avatar Feb 08 '18 08:02 lhg0302

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?

ftb2010 avatar Sep 20 '18 01:09 ftb2010

@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.

glocore avatar Dec 07 '18 06:12 glocore

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

cmendes0101 avatar Dec 07 '18 07:12 cmendes0101

@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.

glocore avatar Dec 07 '18 07:12 glocore

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

glocore avatar Dec 08 '18 07:12 glocore

@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.

glocore avatar Jan 22 '19 14:01 glocore

Same issue on Android :'(

yunhanxia avatar May 07 '19 08:05 yunhanxia

Same issue

Wachana avatar Jul 15 '19 11:07 Wachana

same issue on android

TechGuyVN avatar Mar 12 '20 07:03 TechGuyVN

same issue on android.Pls help.

csranasinghe avatar Jun 12 '20 15:06 csranasinghe