<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<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;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 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;
        color:black;
        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;}
pre
        {mso-style-priority:99;
        mso-style-link:"Préformaté HTML Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;
        mso-fareast-language:FR-BE;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;
        mso-fareast-language:FR-BE;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.PrformatHTMLCar
        {mso-style-name:"Préformaté HTML Car";
        mso-style-priority:99;
        mso-style-link:"Préformaté HTML";
        font-family:Consolas;
        color:black;
        mso-fareast-language:EN-US;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle23
        {mso-style-type:personal-compose;
        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 70.85pt 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 bgcolor="white" lang="FR-BE" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:windowtext">Hello Daniel,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext">I can now modify the SDP but streaming the ringback tone seems not to work.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext">Where can I put the prompt ? I didn’t find the prompt directory of the rtpproxy on my server.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext">I also tried the “old” fashion.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext">Allow: INVITE,ACK,CANCEL,BYE,REGISTER,REFER,INFO,SUBSCRIBE,NOTIFY,PRACK,UPDATE,OPTIONS,MESSAGE,PUBLISH.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext">Content-Length: 182.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext">Content-Type: application/sdp.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext">Content-Type: Content-Type: application/sdp.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext">Server: Belcenter SIP Voice Gateway.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext">.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext">v=0.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext">o=XX 0 0 IN IP4 0.0.0.0.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext">s=XX.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext">c=IN IP4 0.0.0.0.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext">t=0 0.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext">m=audio 0 RTP/AVP 8 101.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext">a=rtpmap:8 PCMA/8000.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext">a=rtpmap:101 telephone-event/8000.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext">a=fmtp:101 0-15.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext">a=sendrecv.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext">a=ptime:20<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext">No ring back tone for the callee<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext">If you have any ideas,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="FR" style="color:windowtext;mso-fareast-language:FR-BE">De :</span></b><span lang="FR" style="color:windowtext;mso-fareast-language:FR-BE"> Daniel-Constantin Mierla [mailto:miconda@gmail.com]
<br>
<b>Envoyé :</b> jeudi 27 juillet 2017 11:41<br>
<b>À :</b> Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>; Nicolas Breuer <Nicolas.Breuer@belcenter.biz><br>
<b>Objet :</b> Re: [SR-Users] Add SDP Body<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p>Hello,<span style="font-size:12.0pt;mso-fareast-language:FR-BE"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On 27.07.17 09:57, Nicolas Breuer wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">I’m trying to add a SDP Body on 183 replies.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">From some carriers I don’t get any SDP.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">The goal is to add SDP , Engage PROXY & stream2uac on all 183 packets without SDP</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Do you think it’s possible ? </span><span lang="EN-US" style="font-family:Wingdings">J</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:FR-BE">it may be possible, if you try to combine adding content-type header and the sdp body, then use msg_apply_changes() inside reply_route{}. Later
 engage the rtpproxy. However, if you don't know the codecs of caller/callee, it may end in a mismatch.<br>
<br>
Just dropping such 183 is not ok? If not, what about turning 183 in an 180? Or setting an SDP with media IP 0.0.0.0 (old on hold style)?<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<o:p></o:p></span></p>
<pre>-- <o:p></o:p></pre>
<pre>Daniel-Constantin Mierla<o:p></o:p></pre>
<pre><a href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a><o:p></o:p></pre>
<pre>Kamailio Advanced Training - <a href="http://www.asipto.com">www.asipto.com</a><o:p></o:p></pre>
<pre>Kamailio World Conference - <a href="http://www.kamailioworld.com">www.kamailioworld.com</a><o:p></o:p></pre>
</div>
</body>
</html>