<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE></TITLE>
<META name=GENERATOR content="MSHTML 8.00.6001.19258"></HEAD>
<BODY bgColor=#ffffff text=#000000>
<DIV><PRE><SPAN class=232241918-03072012>Add this after the answer.</SPAN></PRE><PRE><SPAN class=232241918-03072012> </SPAN><action application="park"/></PRE><PRE> </PRE></DIV>
<BLOCKQUOTE>
<DIV dir=ltr class=OutlookMessageHeader align=left><FONT size=2
face=Tahoma>-----Original Message-----<BR><B>From:</B>
freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org]<B>On Behalf Of
</B>Leonardo<BR><B>Sent:</B> Tuesday, July 03, 2012 10:23 AM<BR><B>To:</B>
freeswitch-users@lists.freeswitch.org<BR><B>Subject:</B> [Freeswitch-users]
How to keep one leg call in FreeSwitch<BR><BR></FONT></DIV>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 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></BLOCKQUOTE></BODY></HTML>