<!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. </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>> 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>> 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, </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. </span></p>
<p><span class=rvts13>If dialplans is: </span></p>
<p><span class=rvts13><extension name="fail_balance"></span></p>
<p><span class=rvts13><condition field="${blabla}" expression="^\-1$"></span></p>
<p><span class=rvts13><action application="pre_answer"/></span></p>
<p><span class=rvts13><action application="sleep" data="1000"/></span></p>
<p><span class=rvts13><action application="playback" data="elight/neg_balance.wav"/></span></p>
<p><span class=rvts13><action application="hangup" data="BEARERCAPABILITY_NOTAUTH"/></span></p>
<p><span class=rvts13></condition></span></p>
<p><span class=rvts13></extension></span></p>
<p><span class=rvts13>then work's fine, no problems (bypass_media=true not set). </span></p>
<p><br></p>
<p><span class=rvts12>> change your pre-answer before the playback to answer to verify. </span></p>
<p><br></p>
<p>If set <span class=rvts13>answer, problem disappears. But answer it's not for my case. </span></p>
<p><br></p>
<p><span class=rvts12>> 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 </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>-- </span></p>
<p><span class=rvts10>Regard's </span></p>
<p><span class=rvts10>Sergey Scheglov</span></p>
</body></html>