[Freeswitch-users] How to keep one leg call in FreeSwitch

Ben Langfeld ben at langfeld.co.uk
Tue Jul 3 22:15:12 MSD 2012


You simply need to park the call:

<action application='park'/>

Regards,
Ben Langfeld


On 3 July 2012 18:09, Leonardo <leonardo at daitangroup.com> wrote:
> 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|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.
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list