Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video codec is not sent to A-leg in reinvite from B-leg #2491

Open
admin-toneca opened this issue Jun 19, 2024 · 0 comments
Open

Video codec is not sent to A-leg in reinvite from B-leg #2491

admin-toneca opened this issue Jun 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@admin-toneca
Copy link

admin-toneca commented Jun 19, 2024

Describe the bug
Freeswitch remove video media from SDP when B-leg send reinvite to A-leg with change video mode. But it works normal when A-leg send to B-leg.

To Reproduce
Steps to reproduce the behavior:

  1. Set vars in dialplan:
<action application="set" data="rtp_pass_codecs_on_stream_change=true" inline="true"/>
<action application="export" data="rtp_pass_codecs_on_stream_change=true"/>
  1. Make call (audio or video does not matter)
  2. Send reinvite with video in SDP from B-leg
  3. Receive reinvite on A-leg without video.

Package version or git hash

  • Version 1.10.7, 1.10.9, 1.10.11

Trace logs
Receive re-INVITE from B-leg:
v=0
o=1670 4045 2380 IN IP4 10.20.0.231
s=Talk
c=IN IP4 10.20.0.231
b=AS:1152
t=0 0
a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics
m=audio 37228 RTP/AVP 0 8 101
a=rtcp-fb:* trr-int 1000
a=rtcp-fb:* ccm tmmbr
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=sendrecv
a=rtcp:37229
a=ptime:20
m=video 37264 RTP/AVP 96
a=rtcp-fb:* trr-int 1000
a=rtcp-fb:* ccm tmmbr
a=rtpmap:96 H264/90000
a=fmtp:96 profile-level-id=42801F
a=rtcp-fb:96 nack pli
a=rtcp-fb:96 ccm fir
a=sendrecv
a=rtcp:37265

Send re-INVITE to A-leg:
v=0
o=Demo 1718781266 1718781269 IN IP4 10.20.20.51
s=Demo
c=IN IP4 10.20.20.51
t=0 0
m=audio 30696 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=rtcp:30697 IN IP4 10.20.20.51
a=ptime:20
a=sendrecv

sip log.txt

@admin-toneca admin-toneca added the bug Something isn't working label Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant