<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:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
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;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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=EN-US link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Dear Richard Fuchs,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>                Thanks for giving your valuable time.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>            I am newbie of kamailio<a name="_MailEndCompose"> and taking configuration file from kamailio mailing list.<br>I need to know where I am going to change for play hold music on ‘reconly’.<br>I am attaching kamailio.cfg file.<o:p></o:p></a></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Please guide me where I need to change.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Thanks <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Amit Pal<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b>From:</b> sr-users [mailto:sr-users-bounces@lists.kamailio.org] <b>On Behalf Of </b>Richard Fuchs<br><b>Sent:</b> Thursday, August 20, 2020 7:05 PM<br><b>To:</b> sr-users@lists.kamailio.org<br><b>Subject:</b> Re: [SR-Users] kamailio+rtpengine for media not playing media file while hold the call<o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On 20/08/2020 03.42, Amit Pal wrote:<span style='font-size:12.0pt'><o:p></o:p></span></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>Dear Team, <o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>   I am using kamailio with rtpengine  for media. <br>when call getting hold no media sound play (configure hold.mp3). <o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>From rtpengine gets following error.<o:p></o:p></p><p class=MsoNormal>rtpengine[624]: ERR:  No suitable SDP section for media playback<o:p></o:p></p><p class=MsoNormal>rtpengine[624]: WARNING:  Protocol error in packet from 127.0.0.1:46333: Failed to start media playback from file [d8:supportsl10:load limite4:file38:/home/coralswitch/queuesounds/hold.mp37:call-id60:89162207232fae50MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI.13:received-froml3:IP414:192.168.20.254e8:from-tag32:9f5288f14b704b28a1c2dfc2112250eb6:to-tag8:1e05e7577:command10:play mediae]<o:p></o:p></p><p class=MsoNormal>rtpengine[624]: INFO:  Received command 'offer' from 127.0.0.1:46333<o:p></o:p></p><p class=MsoNormal>rtpengine[624]: INFO: Replying to 'offer' from 127.0.0.1:46333 (elapsed time 0.000106 sec) <o:p></o:p></p><p class=MsoNormal> /usr/local/sbin/kamailio[9094]: ERROR:rtpengine [rtpengine.c:2619]: rtpp_function_call(): proxy replied with error: Failed to start media playback from file<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>Attached file show complete log of one call with hold /unhold actions.<o:p></o:p></p></blockquote><p>That's because you tried to play media towards a `sendonly` RTP client.<o:p></o:p></p><p>Cheers<o:p></o:p></p></div></body></html>