>
> Continue_on_fail and hangup_after_bridge like tony pointed out are what you
> want if you don’t want to use the | delimiting ... I use these all the time
> with gateway counts > 10 just stacking additional actions for each bridge
> line

Let's imagine that I need to call 1000,1001,1002 via  gw1,gw2,gw3 by
choosing first available. How dialplan would look like?

continue_on_fail=True
hangup_after_bridge=True
bridge gw1/1000
bridge gw1/1001
bridge gw1/1002
bridge gw2/1000
bridge gw2/1001
bridge gw2/1002
bridge gw3/1000
bridge gw3/1001
bridge gw3/1002

Is it easy to understand? From my point of view it's not. Compare to this:
continue_on_fail=True
hangup_after_bridge=True
bridge ${get_avail_gw(gw1,gw2,gw3)}/1000
bridge ${get_avail_gw(gw1,gw2,gw3)}/1001
bridge ${get_avail_gw(gw1,gw2,gw3)}/1002

_______________________________________________
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to