Re: [Freeswitch-dev] Doubt on bridge programatically

2010-06-27 Thread Juan Antonio Ibañez Santorum
Thank you Mathieu! 2010/6/28 Mathieu Rene > If you set continue_on_fail to true (or to a coma-separated list of hangup > causes) or failure_causes (continue_on_fail's opposite, same syntax), the > dialplan will keep being executed even though the first attempt fails. > > As for point 1: > > /*!

Re: [Freeswitch-dev] Doubt on bridge programatically

2010-06-27 Thread Mathieu Rene
If you set continue_on_fail to true (or to a coma-separated list of hangup causes) or failure_causes (continue_on_fail's opposite, same syntax), the dialplan will keep being executed even though the first attempt fails. As for point 1: /*! \brief Make an outgoing call \param session origina

Re: [Freeswitch-dev] Doubt on bridge programatically

2010-06-26 Thread João Mesquita
I think you can check the cause from one of the function parameters. Check the function signature or look atthe bridge application on mod_dptools. JM On Saturday, June 26, 2010, Juan Antonio Ibañez Santorum wrote: > The problem of 3rd option is that a need to use one or more failover trunk if >

Re: [Freeswitch-dev] Doubt on bridge programatically

2010-06-26 Thread Juan Antonio Ibañez Santorum
The problem of 3rd option is that a need to use one or more failover trunk if main trunk fails. At point 1, how can I get if originate was ok, busy, congestioned? Is possible getting originate result when switch_ivr_originate() returns? or may I need make use of events? Regards 2010/6/26 Mathieu

Re: [Freeswitch-dev] Doubt on bridge programatically

2010-06-25 Thread Mathieu Rene
Hi, >From a module you have a few choices: 1- Call switch_ivr_originate() to establish a new session, then call switch_ivr_uuid_bridge() with both uuids (you can get the uuid using switch_core_session_get_uuid()) 2- Execute the "bridge" application directly with switch_core_session_execute_appl

Re: [Freeswitch-dev] Doubt on bridge programatically

2010-06-25 Thread Arturo Monroy
Hi Juam , you could try it using the own bridge API, chek out http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bridge if possible to reach more than one endpoint at same time using ",", or using "|" to call to call each by each Saludos Arturo Monroy El 25/06/2010 05:11 p.m., Juan Antonio

[Freeswitch-dev] Doubt on bridge programatically

2010-06-25 Thread Juan Antonio Ibañez Santorum
Hello! I am working on a module having this doubt: Once a call reachs to dialplan I call my app and I don't know which is the best way (if more than one exits) to bridge that call to an onbound provider controlling failed connections to try with a failure trunk. Is there any way to get call co