Hi all, 

I have a simple question regarding {}, [] and bridge application when using multiple groups/failover.

For example, saying the following bridge:

<action application="bridge" data="sofia/outbound/${destination_number}@$${SBC1}|sofia/outbound/${destination_number}@$${SBC2}"/>

It will try SBC1, if it fails it will try SBC2. Fine till here.


If I want to add {} and [] params, how would be the correct format:


1- Once, at the beginning, and it would apply in each destination (in this example 2, but it could apply to any number of destination we add with more | separators):

<action application="bridge" data="{absolute_codec_string='PCMU,PCMA'}[park_after_bridge=true,park_timeout=7]sofia/outbound/${destination_number}@$${SBC1}|sofia/outbound/${destination_number}@$${SBC2}"/>

2- Once before each destination:

<action application="bridge" data="{absolute_codec_string='PCMU,PCMA'}[park_after_bridge=true,park_timeout=7]sofia/outbound/${destination_number}@$${SBC1}|{absolute_codec_string='PCMU,PCMA'}[park_after_bridge=true,park_timeout=7]sofia/outbound/${destination_number}@$${SBC2}"/>

3- The {} only at the beginning, but the [] before each destination:

<action application="bridge" data="{absolute_codec_string='PCMU,PCMA'}[park_after_bridge=true,park_timeout=7]sofia/outbound/${destination_number}@$${SBC1}|[park_after_bridge=true,park_timeout=7]sofia/outbound/${destination_number}@$${SBC2}"/>



Maybe they all work, I'm just not sure what is the correct way, or if there are any best practices on this matter.

Thanks, 
Joel.