Add this after the answer. <action application="park"/> -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org]On Behalf Of Leonardo Sent: Tuesday, July 03, 2012 10:23 AM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] How to keep one leg call in FreeSwitch Hi. I'm newbie in FreeSwitch and I'm trying to develop an application using mod_socket interface. First, I configured the FreeSwitch to answer any call coming from my gateway: (dialplan/public.xml) <include> <extension name="from_my_gateway"> <condition field="network_addr" expression="192\.231\.7\.123" > <action application="answer"/> </condition> </extension> </include> 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. 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) Thanks in advance, Leo -- Leonardo N. S. Pereira, Software Engineer T:+55.19.3112-1200 ext. 1283|F:+55.19.3207-1437 DaitanGroup| <http://www.daitangroup.com/> www.daitangroup.com|Highly Reliable Outsourcing. Value Added Services Worldwide. Privileged and confidential. If this message has been received in error, please notify sender and delete it immediately. Conteúdo confidencial. Se esta mensagem foi recebida por engano, favor avisar o remetente e apagá-la imediatamente.