<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>Re[2]: [Freeswitch-users] Don't work playback after bypass media mode.</title>
<META http-equiv=Content-Type content="text/html; charset=koi8-r">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
body {
  margin: 5px 5px 5px 5px;
  background-color: #ffffff;
}
/* ========== Text Styles ========== */
hr { color: #000000}
body, table /* Normal text */
{
 font-size: 9pt;
 font-family: 'Courier New';
 font-style: normal;
 font-weight: normal;
 color: #000000;
 text-decoration: none;
}
span.rvts1 /* Heading */
{
 font-size: 10pt;
 font-family: 'Arial';
 font-weight: bold;
 color: #0000ff;
}
span.rvts2 /* Subheading */
{
 font-size: 10pt;
 font-family: 'Arial';
 font-weight: bold;
 color: #000080;
}
span.rvts3 /* Keywords */
{
 font-size: 10pt;
 font-family: 'Arial';
 font-style: italic;
 color: #800000;
}
a.rvts4, span.rvts4 /* Jump 1 */
{
 font-size: 10pt;
 font-family: 'Arial';
 color: #008000;
 text-decoration: underline;
}
a.rvts5, span.rvts5 /* Jump 2 */
{
 font-size: 10pt;
 font-family: 'Arial';
 color: #008000;
 text-decoration: underline;
}
span.rvts6
{
 font-size: 8pt;
 font-family: 'tahoma';
 color: #19232d;
}
a.rvts7, span.rvts7
{
 font-size: 8pt;
 font-family: 'tahoma';
 color: #0000ff;
 text-decoration: underline;
}
span.rvts8
{
 font-size: 8pt;
 font-family: 'tahoma';
 color: #888888;
}
a.rvts9, span.rvts9
{
 font-size: 8pt;
 font-family: 'tahoma';
 color: #888888;
 text-decoration: underline;
}
span.rvts10
{
 font-size: 8pt;
 font-family: 'arial';
 font-style: italic;
 color: #c0c0c0;
}
a.rvts11, span.rvts11
{
 font-size: 8pt;
 font-family: 'arial';
 color: #0000ff;
 text-decoration: underline;
}
span.rvts12
{
 color: #19232d;
}
span.rvts13
{
 color: #19232d;
}
span.rvts14
{
 color: #0000ff;
 text-decoration: underline;
}
/* ========== Para Styles ========== */
p,ul,ol /* Paragraph Style */
{
 text-align: left;
 text-indent: 0px;
 padding: 0px 0px 0px 0px;
 margin: 0px 0px 0px 0px;
}
.rvps1 /* Centered */
{
 text-align: center;
}
--></style>
</head>
<body>

<p>Hi, Anthony.</p>
<p><br></p>
<p>You wrote 27 may 2010 Ç., 20:34:15:</p>
<p><br></p>
<div><table border=0 cellpadding=1 cellspacing=2 style="background-color: #ffffff;">
<tr valign=top>
<td width=1 style="background-color: #0000ff;"><br>
</td>
<td width=1110>
<p><span class=rvts6>playback executes on line 87 of your trace.</span></p>
<p><br></p>
<p><span class=rvts6>If you do not hear the audio, It means the re-establishment of media fails somehow based on your topology or</span></p>
<p><span class=rvts6>the phone you are on does not support early media, change your pre-answer before the playback to answer to verify.&nbsp;</span></p>
<p><br></p>
<p><span class=rvts6>Try adding sofia profile internal siptrace on to see the sip traffic too.</span></p>
<p><br></p>
</td>
</tr>
</table>
</div>
<p><br></p>
<p><br></p>
<p><span class=rvts12>&gt; playback executes on line 87 of your trace.</span></p>
<p><br></p>
<p>yes, but executed by log after 30 seconds after line 84 and immediately hangup.</p>
<p>Note, duration wav file - 4 sec.</p>
<p><br></p>
<p><span class=rvts12>&gt; If you do not hear the audio, It means the re-establishment of media fails somehow based on your topology or</span></p>
<p><span class=rvts13>the phone you are on does not support early media,&nbsp;</span></p>
<p><br></p>
<p><span class=rvts13>I don't hear the audio, because FS don't send RTP traffic to my phone in early media mode (checked sniffers) in my case.&nbsp;</span></p>
<p><span class=rvts13>If dialplans is:&nbsp;</span></p>
<p><span class=rvts13>&lt;extension name="fail_balance"&gt;</span></p>
<p><span class=rvts13>&lt;condition field="${blabla}" expression="^\-1$"&gt;</span></p>
<p><span class=rvts13>&lt;action application="pre_answer"/&gt;</span></p>
<p><span class=rvts13>&lt;action application="sleep" data="1000"/&gt;</span></p>
<p><span class=rvts13>&lt;action application="playback" data="elight/neg_balance.wav"/&gt;</span></p>
<p><span class=rvts13>&lt;action application="hangup" data="BEARERCAPABILITY_NOTAUTH"/&gt;</span></p>
<p><span class=rvts13>&lt;/condition&gt;</span></p>
<p><span class=rvts13>&lt;/extension&gt;</span></p>
<p><span class=rvts13>then work's fine, no problems (bypass_media=true not set).&nbsp;</span></p>
<p><br></p>
<p><span class=rvts12>&gt; change your pre-answer before the playback to answer to verify.&nbsp;</span></p>
<p><br></p>
<p>If set&nbsp;<span class=rvts13>answer, problem disappears. But answer it's not for my case.&nbsp;</span></p>
<p><br></p>
<p><span class=rvts12>&gt; Try adding sofia profile internal siptrace on to see the sip traffic too.</span></p>
<p><br></p>
<p><span class=rvts13>Call log with sip trace&nbsp;</span><span class=rvts14>http://pastebin.freeswitch.org/13065</span></p>
<p><br></p>
<p>Thanks again :)</p>
<p><br></p>
<p><br></p>
<p><span class=rvts10>--&nbsp;</span></p>
<p><span class=rvts10>Regard's&nbsp;</span></p>
<p><span class=rvts10>Sergey Scheglov</span></p>

</body></html>