<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Courier New, Courier, monospace">Hi.<br>
I'm newbie in FreeSwitch and I'm trying to develop an application
using mod_socket interface.<br>
First, I configured the FreeSwitch to answer any call coming from
my gateway:<br>
<br>
(dialplan/public.xml) <br>
<include><br>
<extension name="from_my_gateway"><br>
<condition field="network_addr"
expression="192\.231\.7\.123" ><br>
<action application="answer"/><br>
<action application="sleep" data="50000"/><br>
</condition><br>
</extension><br>
</include><br>
<br>
After that I could play an audio in a call via mod_socket
interface:<br>
<br>
api uuid_broadcast b5bd30fb-cd3e-4f13-a975-5be0aef6a0f7
/usr/local/freeswitch/sounds/music/8000/danza-espanola-op-37-h-142-xii-arabesca.wav
both<br>
<br>
So far so good ...<br>
Than I would like to stop the current audio file and play
something else.<br>
How could I do that?<br>
<br>
I already tried to play another audio file before the first one
stop. Nothing happened.<br>
I tried to stop the current audio using:<br>
api uuid_fileman b5bd30fb-cd3e-4f13-a975-5be0aef6a0f7 stop<br>
but the call was HANGUP<br>
<br>
Thanks in advance,<br>
Leo<br>
<br>
</font><br>
<div class="moz-signature">-- <br>
<meta http-equiv="CONTENT-TYPE" content="text/html;
charset=ISO-8859-1">
<title></title>
<meta name="GENERATOR" content="OpenOffice.org 3.2 (Linux)">
<meta name="AUTHOR" content="Leonardo Pereira">
<meta name="CREATED" content="20110607;10262400">
<meta name="CHANGEDBY" content="Leonardo Pereira">
<meta name="CHANGED" content="20110607;10272000">
<style type="text/css">
        <!--
                @page { margin: 0.79in }
                P { margin-bottom: 0.08in }
                A:link { so-language: zxx }
        -->
        </style>
<p style="margin-bottom: 0in"><font color="#242d65">Leonardo N. S.
Pereira, </font><font color="#7f7f7f"><i>Software
Engineer</i></font><br>
<font color="#7f7f7f"><font size="2">T:</font></font><font
color="#000000"><font size="2">+55.19.3112-1200
ext. 1283</font></font><font color="#f7a429"><font size="2"><b>|</b></font></font><font
color="#7f7f7f"><font size="2">F:</font></font><font
color="#000000"><font size="2">+55.19.3207-1437</font></font><br>
<font color="#242d65"><font size="4"><b>Daitan</b></font></font><font
color="#457fba"><font size="4"><b>Group</b></font></font><font
color="#f7a429"><b>|</b></font><a
href="http://www.daitangroup.com/"><font color="#0000ff"><u>www.daitangroup.com</u></font></a><font
color="#f7a429"><b>|</b></font><font color="#7f7f7f"><i>Highly
Reliable Outsourcing. Value Added Services Worldwide.</i></font><br>
<font color="#242d65"><font size="2"><i>Privileged
and confidential. If this message has been received in
error, please
notify sender and delete it immediately.</i></font></font><br>
<font color="#242d65"><font size="2"><i>Conteúdo
confidencial. Se esta mensagem foi recebida por engano,
favor avisar
o remetente e apagá-la imediatamente.</i></font></font></p>
</div>
<br>
<br>
</body>
</html>