Closed vdharashive closed 7 months ago
On inactive media in rtp recording is sending recvonly and media is getting recorded, the recording server needs to send inactive too
INVITE sip:44.217.32.184:5060 SIP/2.0 Via: SIP/2.0/UDP 35.153.90.242:5070;branch=z9hG4bKac1356091624;rport=5070 Max-Forwards: 70 From: <sip:172.31.146.45;user=phone>;tag=1c1442095253 To: <sip:44.217.32.184;user=phone>;tag=v0UD8He9FmjKg Call-ID: 88224407922122023105920@35.153.90.242 CSeq: 2 INVITE Contact: ;src Supported: sdp-anat Require: siprec User-Agent: Mediant VE SBC/v.7.40A.500.357 Content-Type: multipart/mixed;boundary=boundary_ac18ff Content-Length: 2343
--boundary_ac18ff Content-Type: application/sdp
v=0 o=AudiocodesGW 51603343 1530397018 IN IP4 35.153.90.242 s=SBC-Call c=IN IP4 35.153.90.242 t=0 0 m=audio 11096 RTP/AVP 0 8 111 126 c=IN IP4 35.153.90.242 a=ptime:20 a=inactive a=label:1 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:111 OPUS/48000/2 a=fmtp:111 minptime=20; maxplaybackrate=8000; maxaveragebitrate=50000; useinbandfec=1 a=rtpmap:126 telephone-event/8000 a=fmtp:126 0-15,16 m=audio 11100 RTP/AVP 0 8 111 126 c=IN IP4 35.153.90.242 a=ptime:20 a=inactive a=label:2 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:111 OPUS/48000/2 a=fmtp:111 minptime=20; maxplaybackrate=8000; maxaveragebitrate=50000; useinbandfec=1 a=rtpmap:126 telephone-event/8000 a=fmtp:126 0-15,16
--boundary_ac18ff Content-Type: application/rs-metadata Content-Disposition: recording-session
<?xml version="1.0" encoding="UTF-8"?>
--boundary_ac18ff--
SIP/2.0 200 OK Call-ID: 88224407922122023105920@35.153.90.242 cseq: 2 INVITE from: <sip:172.31.146.45;user=phone>;tag=1c1442095253 to: <sip:44.217.32.184;user=phone>;tag=v0UD8He9FmjKg Content-Length: 747 contact: content-type: application/sdp
v=0 o=AudiocodesGW 51603343 1530397017 IN IP4 44.217.32.184 s=SBC-Call c=IN IP4 44.217.32.184 t=0 0 m=audio 40044 RTP/AVP 0 8 111 126 c=IN IP4 44.217.32.184 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:111 OPUS/48000/2 a=rtpmap:126 telephone-event/8000 a=fmtp:111 useinbandfec=1; maxplaybackrate=8000; maxaveragebitrate=50000; minptime=20 a=fmtp:126 0-15,16 a=rtcp:40045 a=ptime:20 a=recvonly a=label:1 m=audio 40318 RTP/AVP 0 8 111 126 c=IN IP4 44.217.32.184 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:111 OPUS/48000/2 a=rtpmap:126 telephone-event/8000 a=fmtp:111 useinbandfec=1; maxplaybackrate=8000; maxaveragebitrate=50000; minptime=20 a=fmtp:126 0-15,16 a=rtcp:40319 a=ptime:20 a=recvonly a=label:2
its working
On inactive media in rtp recording is sending recvonly and media is getting recorded, the recording server needs to send inactive too
INVITE sip:44.217.32.184:5060 SIP/2.0 Via: SIP/2.0/UDP 35.153.90.242:5070;branch=z9hG4bKac1356091624;rport=5070 Max-Forwards: 70 From: <sip:172.31.146.45;user=phone>;tag=1c1442095253 To: <sip:44.217.32.184;user=phone>;tag=v0UD8He9FmjKg Call-ID: 88224407922122023105920@35.153.90.242 CSeq: 2 INVITE Contact:;src
Supported: sdp-anat
Require: siprec
User-Agent: Mediant VE SBC/v.7.40A.500.357
Content-Type: multipart/mixed;boundary=boundary_ac18ff
Content-Length: 2343
--boundary_ac18ff Content-Type: application/sdp
v=0 o=AudiocodesGW 51603343 1530397018 IN IP4 35.153.90.242 s=SBC-Call c=IN IP4 35.153.90.242 t=0 0 m=audio 11096 RTP/AVP 0 8 111 126 c=IN IP4 35.153.90.242 a=ptime:20 a=inactive a=label:1 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:111 OPUS/48000/2 a=fmtp:111 minptime=20; maxplaybackrate=8000; maxaveragebitrate=50000; useinbandfec=1 a=rtpmap:126 telephone-event/8000 a=fmtp:126 0-15,16 m=audio 11100 RTP/AVP 0 8 111 126 c=IN IP4 35.153.90.242 a=ptime:20 a=inactive a=label:2 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:111 OPUS/48000/2 a=fmtp:111 minptime=20; maxplaybackrate=8000; maxaveragebitrate=50000; useinbandfec=1 a=rtpmap:126 telephone-event/8000 a=fmtp:126 0-15,16
--boundary_ac18ff Content-Type: application/rs-metadata Content-Disposition: recording-session
<?xml version="1.0" encoding="UTF-8"?>
--boundary_ac18ff--
SIP/2.0 200 OK Call-ID: 88224407922122023105920@35.153.90.242 cseq: 2 INVITE from: <sip:172.31.146.45;user=phone>;tag=1c1442095253 to: <sip:44.217.32.184;user=phone>;tag=v0UD8He9FmjKg Content-Length: 747 contact:
content-type: application/sdp
v=0 o=AudiocodesGW 51603343 1530397017 IN IP4 44.217.32.184 s=SBC-Call c=IN IP4 44.217.32.184 t=0 0 m=audio 40044 RTP/AVP 0 8 111 126 c=IN IP4 44.217.32.184 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:111 OPUS/48000/2 a=rtpmap:126 telephone-event/8000 a=fmtp:111 useinbandfec=1; maxplaybackrate=8000; maxaveragebitrate=50000; minptime=20 a=fmtp:126 0-15,16 a=rtcp:40045 a=ptime:20 a=recvonly a=label:1 m=audio 40318 RTP/AVP 0 8 111 126 c=IN IP4 44.217.32.184 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:111 OPUS/48000/2 a=rtpmap:126 telephone-event/8000 a=fmtp:111 useinbandfec=1; maxplaybackrate=8000; maxaveragebitrate=50000; minptime=20 a=fmtp:126 0-15,16 a=rtcp:40319 a=ptime:20 a=recvonly a=label:2