drachtio-siprec-recording-server icon indicating copy to clipboard operation
drachtio-siprec-recording-server copied to clipboard

Drachtio send "inactive" attribute back in SIP OK while he receives "sendonly" in SIP Invite

Open IdoMagor opened this issue 4 years ago • 11 comments

Hey Dave,

We're using Cisco SBC as our SRC and recently we updated with the upstream of this git repository in order to resolve an issue of the inactive which makes the application crash.

We've also recently experienced an issue that in a call scenario in which the callee hasn't answered yet, the SBC sends as expected a sendonly attribute and sending of course RTP data to the SIP-REC server.

When we actually experience a scenario that the SBC sends inactive at the start, there's no RTP data of course. But once he does send a sendonly attribute, the drachtio project actually sends back inactive in the OK response of the invite(Which has sendonly attribute).

For meanwhile, the call is ringing for the callee while the caller is talking and all packets are being received in the meanwhile.

Afterward, when the callee answers another Invite with inactive arrives, which after another few moments there is two more Invite with sendonly from the SBC. For all three of those SIP Invites, the drachtio project responds back with inactive while he receives sendonly.

Because the SBC receives back inactive instead of sendonly, at some point after the last described packets, he (SBC) then again sends two SIP Invites with inactive when he gets back OK with inactive again as expected. At the end of all of that scenario, a SIP Bye is being sent by the SBC because he keeps receiving inactive for the SIP-REC from drachtio.

Is it maybe a known issue? If not, is there a possibility to request to check that out? When possible of course.

Thanks

IdoMagor avatar Jul 29 '21 14:07 IdoMagor

can you send a sip trace showing the above

davehorton avatar Jul 29 '21 15:07 davehorton

Hey Dave,

Here's the PCAP of that description from above. Sorry for the late replay of it with the PCAP itself.

network_traffic_sip.zip

Thanks

IdoMagor avatar Aug 03 '21 07:08 IdoMagor

Hey @davehorton :)

Is there by any chance anything new regarding this issue?

Thanks :)

IdoMagor avatar Aug 09 '21 08:08 IdoMagor

Are you using freeswitch or rtpengine as the media proxy? It looks like the latter, but I just wanted to confirm

davehorton avatar Aug 09 '21 12:08 davehorton

We're using RTPEngine

IdoMagor avatar Aug 09 '21 12:08 IdoMagor

@davehorton Hey Dave sup? :)

Wanted to ask if there's an update by any chance?

Thanks!

IdoMagor avatar Aug 23 '21 07:08 IdoMagor

Would you be able to test a branch with a proposed fix?

davehorton avatar Aug 23 '21 16:08 davehorton

Hey @davehorton ,

Yes I can :)

Thanks!

IdoMagor avatar Sep 01 '21 07:09 IdoMagor

Hey @davehorton ,

Is there an update?

Thanks! :)

IdoMagor avatar Sep 19 '21 12:09 IdoMagor

Hey @davehorton ,

Just sending another message for notifying you of this issue again. Of course, when possible, wanted to ask again if is there an update?

Thanks! :)

IdoMagor avatar Oct 07 '21 07:10 IdoMagor

Hey @davehorton ,

Is there an update?

Thanks! :)

IdoMagor avatar Oct 21 '21 10:10 IdoMagor