<html><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:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@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;}
span.EmailStyle17
        {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:72.0pt 72.0pt 72.0pt 72.0pt;}
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]-->
<style type="text/css">.style1 {font-family: "Times New Roman";}</style></head><body lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Trying to use early media with prack support and rtpengine without success.<o:p></o:p></p>
<p class="MsoNormal">INVITE(no SDP)<span style="font-family:Wingdings">à</span><o:p></o:p></p>
<p class="MsoNormal">183(SDP)<span style="font-family:Wingdings">ß</span><o:p></o:p></p>
<p class="MsoNormal">PRACK(SDP)<span style="font-family:Wingdings">à</span><o:p></o:p></p>
<p class="MsoNormal">200ok(no SDP)<span style="font-family:Wingdings">ß</span><o:p></o:p></p>
<p class="MsoNormal">ACK(no SDP)<span style="font-family:Wingdings">à</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Looking at the code it does not seem to allow for PRACK in the methods it supports.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">In the rtpengine_manage code…<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">              if (!(method==METHOD_INVITE || method==METHOD_ACK || method==METHOD_CANCEL<o:p></o:p></p>
<p class="MsoNormal">                                           || method==METHOD_BYE || method==METHOD_UPDATE))<o:p></o:p></p>
<p class="MsoNormal">                             return -1;<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">In the rtpengine_answer code…<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">rtpengine_answer1_f(struct sip_msg *msg, char *str1, char *str2)<o:p></o:p></p>
<p class="MsoNormal">{<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">              if (msg->first_line.type == SIP_REQUEST)<o:p></o:p></p>
<p class="MsoNormal">                             if (msg->first_line.u.request.method_value != METHOD_ACK)<o:p></o:p></p>
<p class="MsoNormal">                                           return -1;<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">              return rtpengine_rtpp_set_wrap_fparam(msg, rtpengine_answer_wrap, str1, 2, OP_ANSWER);<o:p></o:p></p>
<p class="MsoNormal">}<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Returns -1 no matter what function you use.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have checked code all the way up to 5.3 and on the master.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I may be looking at this wrong and it is supported, but it doesn’t look like it.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Could you please advise if this is a oversight or if there is a specific reason it is not included.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Chris<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="background:white;border-collapse:collapse">
<tbody>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt"></td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<table style="max-width: 490px; font-size: 13pt; font-family: calibri,sans-serif; color: #4d4d4d;">
<tbody>
<tr>
<td valign="top">
<div style="margin-bottom: 10px;"><strong>Chris Martineau</strong> <span style="color: #808080;">
| Senior Telephony Engineer</span></div>
<table style="font-family: calibri,sans-serif; color: #4d4d4d; margin-bottom: 5px; font-size: 13px;">
<tbody>
<tr>
<td><img style="border: none;" src="https://semafone.com/resources/signature/2017/video.png" alt="vid" width="20" height="20"></td>
<td width="5"> </td>
<td style="vertical-align: middle;" valign="middle"><strong><a style="color: #de1921; text-decoration: none;" href="https://www.semafone.com/our-solution/how-it-works/demo/">See how Semafone works</a></strong></td>
</tr>
</tbody>
</table>
<table style="font-family: calibri,sans-serif; color: #4d4d4d; margin-bottom: 5px; font-size: 13px;">
<tbody>
<tr>
<td><img style="border: none;" src="https://semafone.com/resources/signature/2017/blog.png" alt="b" width="20" height="20"></td>
<td width="5"> </td>
<td style="vertical-align: middle;" valign="middle"><a style="color: #5bccf5; text-decoration: none;" href="https://semafone.com/media-centre/blog/"><strong>Read our insightful blog</strong></a></td>
</tr>
</tbody>
</table>
<table style="font-family: calibri,sans-serif; color: #4d4d4d; margin-bottom: 5px; font-size: 13px;">
<tbody>
<tr>
<td><img style="border: none;" src="https://semafone.com/resources/signature/2017/phone.png" alt="p" width="20" height="20"></td>
<td width="5"> </td>
<td style="vertical-align: middle;" valign="middle"><strong>Switchboard:</strong> 0845 543 0822 /
<strong>Mobile:</strong> </td>
</tr>
</tbody>
</table>
<table style="font-family: calibri,sans-serif; color: #4d4d4d; margin-bottom: 5px; font-size: 13px;">
<tbody>
<tr>
<td><img style="border: none;" src="https://semafone.com/resources/signature/2017/mail.png" alt="e" width="20" height="20"></td>
<td width="5"> </td>
<td style="vertical-align: middle;" valign="middle"><strong><a style="color: #4d4d4d; text-decoration: none;" href="mailto:Chris.Martineau@semafone.com">Chris.Martineau@semafone.com</a></strong></td>
</tr>
</tbody>
</table>
<table style="font-family: calibri,sans-serif; color: #4d4d4d; margin-bottom: 5px; font-size: 13px;">
<tbody>
<tr>
<td><img style="border: none;" src="https://semafone.com/resources/signature/2017/web.png" alt="w" width="20" height="20"></td>
<td width="5"> </td>
<td style="vertical-align: middle;" valign="middle"><strong>Web:</strong> <a style="color: #4d4d4d; text-decoration: none;" href="https://semafone.com">
semafone.com</a> / <strong>Twitter:</strong> <a style="color: #4d4d4d; text-decoration: none;" href="https://twitter.com/semafone">
@semafone</a> / <strong>LinkedIn:</strong> <a style="color: #4d4d4d; text-decoration: none;" href="https://uk.linkedin.com/company/semafone">
Semafone</a></td>
</tr>
</tbody>
</table>
<table style="font-family: calibri,sans-serif; color: #4d4d4d; font-size: 13px;">
<tbody>
<tr>
<td><img style="border: none;" src="https://semafone.com/resources/signature/2017/address.png" alt="a" width="20" height="20"></td>
<td width="5"> </td>
<td style="vertical-align: middle;" valign="middle"><strong>SEMAFONE</strong>, Pannell House, Park Street, Guildford, Surrey GU1 4HN</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<p><a href="https://www.semafone.com"><img style="border: none;" src="https://semafone.com/resources/signature/2019/Relay.png" alt="Semafone" width="600" height="151"></a></p>
</td>
</tr>
<tr>
<td style="color: #aaa;">
<p style="font-size: 9px; font-family: Calibri,sans-serif; color: #4d4d4d;"></p>
</td>
</tr>
</tbody>
</table>


<br><br><p style="font-family: Verdana; font-size:10pt; color:#666666;"><b>Disclaimer</b></p><p style="font-family: Verdana; font-size:8pt; color:#666666;">Semafone is a limited company, registered in England, with registered number 06963868. Our registered office is at Pannell House, Park Street, Guildford, Surrey, GU1 4HN, United Kingdom.
The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful. If you have received this email in error, please send it back to us, and immediately and permanently delete it.<br><br>This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast Ltd, an innovator in Software as a Service (SaaS) for business. Providing a safer and more useful place for your human generated data. Specializing in; Security, archiving and compliance. To find out more Click Here (https://protect-eu.mimecast.com/s/6sS0CE8WmI1xZECyHvaY?domain=linkprotect.cudasvc.com) 

Although Semafone has taken reasonable precautions to ensure no viruses are present in this email, Semafone cannot accept responsibility for any loss or damage sustained as a result of computer viruses and the recipient must ensure that the email (and any attachments) are virus free.</p></body></html>