<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 12 (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:Consolas;
        panose-1:2 11 6 9 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:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@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=blue vlink=purple><div class=WordSection1><p class=MsoNormal>FreeSWITCH Version 1.4.26~64bit ( 64bit)<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>We receive this error, &#8220;[ERR] switch_ivr_originate.c:224 sofia/sipinterface_1/&nbsp; Error Playing File!&#8221; whenever the leg receiving the call hangs up before the extant media can start playing.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>After looking through switch_ivr_originate.c, I tried setting the global variables playback_timeout_sec=10 and playback_timeout_as_success=true but did not see a change in behavior.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><span style='font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; status = switch_ivr_read(collect-&gt;session,<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  (uint32_t)len,<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  (uint32_t)len,<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  collect-&gt;file, NULL, buf, sizeof(buf), collect-&gt;confirm_timeout, NULL, 0);<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (status != SWITCH_STATUS_SUCCESS &amp;&amp; status != SWITCH_STATUS_BREAK &amp;&amp; status != SWITCH_STATUS_TOO_SMALL) {<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(collect-&gt;session), SWITCH_LOG_ERROR, &quot;%s <span style='background:yellow;mso-highlight:yellow'>Error Playing File</span>!\n&quot;,<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; switch_channel_get_name(channel));<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; switch_channel_hangup(channel, SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER);<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<o:p></o:p></span></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Is there some other setting that can inform switch_ivr_originate to not worry about having not played the media after the recipient has hung up?<o:p></o:p></p><p class=MsoNormal><b><span style='font-size:13.0pt;color:#E84A36'><o:p>&nbsp;</o:p></span></b></p><p class=MsoNormal><b><span style='font-size:13.0pt;color:#E84A36'>john nowlin<o:p></o:p></span></b></p><p class=MsoNormal><span style='color:#6A6A6A'>Senior Software Developer<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;color:#6A6A6A'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><b><span style='color:#E84A36'>Tresta<o:p></o:p></span></b></p><p class=MsoNormal><span style='font-size:10.0pt;color:#6A6A6A'>office: </span><span style='font-size:10.0pt;color:#9980CC'>850.383.7756<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#6A6A6A'>mobile: </span><span style='font-size:10.0pt;color:#9980CC'>850.294.5635<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#6A6A6A'><a href="www.tresta.com"><span style='color:#6A6A6A;text-decoration:none'>www.tresta.com</span></a><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;color:#797979'>&#8212;<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;color:#6A6A6A'>A Better Phone Experience</span><span style='font-size:8.0pt;color:black'><o:p></o:p></span></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><u><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#4F81BD'><o:p><span style='text-decoration:none'>&nbsp;</span></o:p></span></u></p><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></body></html>