<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Segoe UI";
panose-1:2 11 5 2 4 2 4 2 2 3;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.E-MailFormatvorlage19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="DE-AT" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">I don’t really see anything useful even if debug logs up to level 5.<br>
I do have a hypothesis though.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">When the call comes into Asterisk from client A it has (audio=sendrecv and video=inactive in sdp), however Asterisk starts call leg to client B with both audio and video with sendrecv.<br>
So I guess Asterisk when it gets a reinvite with video activated from A realizes I already have video active on leg B and then does nothing on leg B.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Is there any way to “enforce” Asterisk to setup the call leg to B with the same media directions it received from leg A? I don’t mind audio automatically being sendrecv, but video is
something else.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:12.0pt;font-family:"Segoe UI",sans-serif;color:#006ED2">FLORIAN FLOIMAIR</span></b><b><span lang="EN-US" style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#172B4D"><br>
</span></b><span lang="EN-US" style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#172B4D">Development<br>
<br>
</span><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#172B4D"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#172B4D">Commend International GmbH<br>
Saalachstrasse 51<br>
5020 Salzburg, Austria<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:7.5pt;background:white"><b><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#006ED2">commend.com</span></b><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#172B4D"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:7.5pt;background:white"><span style="font-size:9.0pt;font-family:"Segoe UI",sans-serif;color:#172B4D">LG Salzburg / FN 178618z</span><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#172B4D"><o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">Von: </span></b><span style="font-size:12.0pt;color:black">asterisk-dev <asterisk-dev-bounces@lists.digium.com> im Auftrag von "Joshua C. Colp" <jcolp@sangoma.com><br>
<b>Antworten an: </b>Asterisk Developers Mailing List <asterisk-dev@lists.digium.com><br>
<b>Datum: </b>Mittwoch, 12. Jänner 2022 um 16:00<br>
<b>An: </b>Asterisk Developers Mailing List <asterisk-dev@lists.digium.com><br>
<b>Betreff: </b>Re: [asterisk-dev] [External] Re: How to debug reinvites not getting forwarded to other call leg (pjsip)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div style="mso-element:para-border-div;border:solid #9C6500 1.0pt;padding:2.0pt 2.0pt 2.0pt 2.0pt;background:#FFEB9C">
<p style="background:#FFEB9C;border:none;padding:0cm"><b><span style="font-size:10.0pt;color:black">CAUTION:</span></b><span style="color:black">
</span><span style="font-size:10.0pt;color:black">This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.</span><o:p></o:p></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal">On Wed, Jan 12, 2022 at 10:57 AM Floimair Florian <<a href="mailto:f.floimair@commend.com">f.floimair@commend.com</a>> wrote:<o:p></o:p></p>
</div>
<div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">Hi Joshua!</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">No it does not concern audio in this case, it is a change in media for video. Initially the call is established with a=recvonly (or even a=inactive) that then
changes to a=sendrecv (when the camera is activated on the linphone).</span><o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">The debug log should tell you what is going on then with the handling of the streams. It's spread across res_pjsip_sdp_rtp, res_pjsip_session, and then the bridge modules. I don't have specific line numbers because there's lots and lots
involved. The "core show channel" CLI command can also provide insight.<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma",sans-serif;color:#073763">Joshua C. Colp</span><span style="font-family:"Tahoma",sans-serif"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma",sans-serif;color:#073763">Asterisk Technical Lead</span><span style="font-family:"Tahoma",sans-serif"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma",sans-serif;color:#073763">Sangoma Technologies</span><span style="font-family:"Tahoma",sans-serif"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma",sans-serif;color:#073763">Check us out at
<a href="https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.sangoma.com%2F&data=04%7C01%7Cf.floimair%40commend.com%7C4b1ff012a9ae4026dc0d08d9d5dc4a55%7C13b1ddb756454e7fbe663171548559da%7C0%7C0%7C637775964444664699%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=rrgZ0cvdPh%2FWJ%2ByuY1bJGVOp8e8P%2FAKGxf5J3ucHlGQ%3D&reserved=0" target="_blank">
www.sangoma.com</a> and <a href="https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.asterisk.org%2F&data=04%7C01%7Cf.floimair%40commend.com%7C4b1ff012a9ae4026dc0d08d9d5dc4a55%7C13b1ddb756454e7fbe663171548559da%7C0%7C0%7C637775964444664699%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=GG1W28r%2FF%2F97YK7Kdp2yeAcfAzHWUQV1WezSrq7VhE0%3D&reserved=0" target="_blank">
www.asterisk.org</a></span><span style="font-family:"Tahoma",sans-serif"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>