drachtio / drachtio-siprec-recording-server

SIPREC recording server based on drachtio and rtpengine
MIT License
81 stars 31 forks source link

SRC send invite with "a=sendonly" attribute but drachtio does not send back any attribute #56

Closed denialhaq closed 1 year ago

denialhaq commented 1 year ago

Hi,

Everything was running well between SRC, drachtio and rtpengine and can get recording file. But we have question from our observation, we found that drachtio does not send any attribute back when SRC send invite with "sendonly" attribute.

Screen Shot 2022-11-24 at 13 50 48 Screen Shot 2022-11-24 at 13 50 59

If we manipulated SDP on SRC to send with "sendrecv" attribute, drachtio will send back with same attribute ("sendrecv").

Screen Shot 2022-11-24 at 14 07 49 Screen Shot 2022-11-24 at 14 08 00

We are still learning about drachtio behavior and as far as we know when SRC send invite with "sendonly" attribute it should get response with "recvonly" attribute?

I have also attached log file from drachtio server. drachtio_siprec.log

denialhaq commented 1 year ago

we already can get response 'a=recvonly' by add 'a=recvonly\r\n' to this file https://github.com/drachtio/drachtio-siprec-recording-server/blob/main/lib/payload-combiner.js, line 32