On Mon, Sep 12, 2011 at 8:30 AM, Brtantunes <brtantunes@gmail.com> wrote:
I want to create a bridge between two users, something like this:
originate {ringback=c:/teste.wav}sofia/DOMAIN/1001 &bridge(sofia/DOMAIN/1002)
This works fine. But now i want to add a timeout message if the second user don't answer (a sound played to the first user cause of the no_answer of se second user). Is that possible?
http://wiki.freeswitch.org/wiki/Mod_commands#originate Note the timeout option. The args are positional, so because timeout_sec is last, you have to provide all of the other options. Then have a look at something like failover: http://wiki.freeswitch.org/wiki/FreeSwitch_Dialplan_XML#Example_7:_Action_fa... I don't know if that gets you all the way there, but it should get you close (or at least get you pointed in the right direction). Gabe