<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
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>
</condition><br>
</extension><br>
</include><br>
<br>
I can make a call from my SIP phone in FreeSwitch to PSTN number
that is routed back to the FreeSwitch and the incoming call is
answered (due to dialplan above). The problem is that the call is
answered and right after hungup. <br>
Is there a way to tell to the FreeSwitch to keep this incoming call
active? I would like to be able to manipulate this call via
event_socket (play audio, detect digits or even do nothing)<br>
<br>
<br>
Thanks in advance,<br>
Leo<br>
<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>