<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=us-ascii">
<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE-CH" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi Guys,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">I’m Looking for a possibility to set the payload type for “DTMF via RFC2833” on the b-leg (bridge) per Call.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Overwriting the “rfc2833-pt” setting from the Outbound profile.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I can’t find any variable doing this. I tried to export “rfc2833_pt” on a call, once with “rfc2833-pt” set to “101” in the profile and once without setting the “rfc2833-pt” parameter at all.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">If “rfc2833-pt” is not set in the profile FreeSwitch just defaults to 101 rather than taking it from the a-leg (what I was hoping for).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">A variable to instruct Freeswitch to take the same “RFC2833 Payload type” on the B-Leg (bridge) as on the a-leg would also be fine, as this is finally the goal.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The reason I need this is:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">We found that if we use Bypass_media_after_brdige with bypass_media_after_bridge_oldscool
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">and the a-leg uses RFC2833 DTMF with any other payload type than 101, DTMFs don’t work after the reInvite. (we have to use oldscool as the not oldscool one isn’t working, because the SoftSwitch isn’t fetching the sdp
and sending it to the end device and not all end-devices handle this properly)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">For tests we then changed the “rfc2833-pt” to always the value we knew the call will have as pt 96, 100, …
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Then all worked fine.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The best solution would be to have a variable doing: “useSamePayloadTypeForRfc2833OnBrdige” = “true”. Is there any such variable ?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The second best Solution would be to parse it out of the m_sdp variable and then have a variable “rfc2833_pt” = “xxx” (using the “export” application to set it on b-leg (bridge)). Is there any such variable ?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The only current possible solution I could think is to make Outpundprofiles for all possible PaylaodTypes 96-127 and maybe call them “Outbound96” – “Outbound127”, parse the PT from m_sdp and use the proper profile. But
this is very ugly :o<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Any other solutions/suggestions ?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Kindly<o:p></o:p></span></p>
</div>
</body>
</html>