<html><head><base href="x-msg://189/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Also, make sure you did <action application="answer" /> at some point before starting to play the file. If you start to play a file without answering first, the first bit of the file is cut off. Best practice seems to be something like:<div><br></div><div><action application="answer" /></div><div><action applicatino="sleep" data="1000"/></div><div><action application="playback" data="sounds/soundfile.wav"/></div><div><br></div><div>-Troy</div><div><br></div><div><div>
<style type="text/css">
a { color: black; }
a:visited { color: black; }
a:active { color: black; }
a:hover { color: orange; }
a { text-decoration: none; }
.tagline { font-size:11;}
.bignbold { font-size: 16; font-weight: bold;}
.outer_table {width: 600px;}
.bordered {
        text-align: center;
        margin: 6px auto;
        padding: 8px 8px 8px 8px;
        border-top: 1px dotted rgb(153, 153, 153);
        border-bottom: 1px dotted rgb(153, 153, 153); ;
        font-family: 'Lucida Grande', Verdana, Arial, sans-serif;
        font-size: 12px;
        position: relative;
}
.logo, .name
{
        text-align: left;
}
.logo
{
        position: absolute;
        right: 15px;
        width: 267px;
        height: 73px;
        background-image: url(<a href="http://www.revolutionpbx.com/images/logo-block.png">http://www.revolutionpbx.com/images/logo-block.png</a>);
}
.logo a
{
        width: 267px;
        height: 73px;
        display: block;
}
.name p
{
        padding: 0;
        margin: 0;
}
.name label
{
        color: #E59F20;
}
</style>
</div>
<br><div><div>On Apr 9, 2010, at 8:27 AM, CHU, XINGJUN (XINGJUN) wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div lang="EN-US" link="blue" vlink="purple"><div class="Section1"><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">I don't see how this is relevant to the problem?<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p> </o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p> </o:p></span></div><div style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-width: initial; border-color: initial; border-left-style: solid; border-left-color: blue; border-left-width: 1.5pt; padding-top: 0in; padding-right: 0in; padding-bottom: 0in; padding-left: 4pt; "><div><div style="border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-top-style: solid; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding-top: 3pt; padding-right: 0in; padding-bottom: 0in; padding-left: 0in; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><b><span style="font-size: 10pt; font-family: Tahoma, sans-serif; ">From:</span></b><span style="font-size: 10pt; font-family: Tahoma, sans-serif; "><span class="Apple-converted-space"> </span><a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" style="color: blue; text-decoration: underline; ">freeswitch-users-bounces@lists.freeswitch.org</a><span class="Apple-converted-space"> </span>[mailto:freeswitch-users-bounces@lists.freeswitch.org]<span class="Apple-converted-space"> </span><b>On Behalf Of<span class="Apple-converted-space"> </span></b>Milena<br><b>Sent:</b><span class="Apple-converted-space"> </span>Thursday, April 08, 2010 9:57 AM<br><b>To:</b><span class="Apple-converted-space"> </span><a href="mailto:freeswitch-users@lists.freeswitch.org" style="color: blue; text-decoration: underline; ">freeswitch-users@lists.freeswitch.org</a><br><b>Subject:</b><span class="Apple-converted-space"> </span>Re: [Freeswitch-users] An issue when attended transfer to fs<o:p></o:p></span></div></div></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div><div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; ">hi,<o:p></o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; ">put an <action application="sleep" data="2000"/> before the instruction to play something<o:p></o:p></div><div><p class="MsoNormal" style="margin-top: 0in; margin-right: 0in; margin-bottom: 12pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></p><div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; ">2010/4/7 CHU, XINGJUN (XINGJUN) <<a href="mailto:jasonchu@avaya.com" style="color: blue; text-decoration: underline; ">jasonchu@avaya.com</a>><o:p></o:p></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; ">Hi,<br><br>I have Freeswitch and other two SIP sets all registered with a SIP proxy/registry, and I am writing a control software to control the freeswitch via event socket. Baisically the control software tells freeswitch when someone calls it, what action to take, for example, acts as Auto attendant and play prompt. Etc.<br><br>Now I got a problem when A calls B then attended transfer B to freeswitch,<br>The prompt B hear is not from the beginning, it actually hears the trailing part of the prompt played to A when A called freeswitch in the beginning of the transfer. I understand that's because nobody tell freeswitch to stop and start from the beginning. I am looking for what event should the control software monitor for the replaced session (the transfer is done via "invite replaces" ) and how to cancel the current prompt and start from beginning.<br><br>Any suggestions are greatly appreciated.<br><br>Thanks<br>Xingjun<br><br>_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" style="color: blue; text-decoration: underline; ">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank" style="color: blue; text-decoration: underline; ">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank" style="color: blue; text-decoration: underline; ">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank" style="color: blue; text-decoration: underline; ">http://www.freeswitch.org</a><o:p></o:p></div></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div></div></div></div>_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" style="color: blue; text-decoration: underline; ">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" style="color: blue; text-decoration: underline; ">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br><a href="http://www.freeswitch.org" style="color: blue; text-decoration: underline; ">http://www.freeswitch.org</a><br></div></span></blockquote></div><br></div></body></html>