<div dir="ltr">HI, <div><br></div><div>Bumping this up. Could anyone please help me understand what is the correct format for {} and [] in the bridge app?</div><div><br></div><div>Thanks, </div><div>Joel.</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 2, 2017 at 3:04 PM, Joel Serrano <span dir="ltr"><<a href="mailto:joel@gogii.net" target="_blank">joel@gogii.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all, <div><br></div><div>I have a simple question regarding {}, [] and bridge application when using multiple groups/failover.</div><div><br></div><div>For example, saying the following bridge:</div><div><br></div><div><action application="bridge" data="sofia/outbound/${<wbr>destination_number}@$${SBC1}|<wbr>sofia/outbound/${destination_<wbr>number}@$${SBC2}"/><br></div><div><br></div><div>It will try SBC1, if it fails it will try SBC2. Fine till here.</div><div><br></div><div><br></div><div>If I want to add {} and [] params, how would be the correct format:<br></div><div><br></div><div><br></div><div>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):</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><action application="bridge" data="{absolute_codec_string='<wbr>PCMU,PCMA'}[park_after_bridge=<wbr>true,park_timeout=7]sofia/<wbr>outbound/${destination_number}<wbr>@$${SBC1}|sofia/outbound/${<wbr>destination_number}@$${SBC2}"/<wbr>></div></div></blockquote><div><div><br></div><div>2- Once before each destination:</div><div><br></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><action application="bridge" data="{absolute_codec_string='<wbr>PCMU,PCMA'}[park_after_bridge=<wbr>true,park_timeout=7]sofia/<wbr>outbound/${destination_number}<wbr>@$${SBC1}|{absolute_codec_<wbr>string='PCMU,PCMA'}[park_<wbr>after_bridge=true,park_<wbr>timeout=7]sofia/outbound/${<wbr>destination_number}@$${SBC2}"/<wbr>></div></div></blockquote><div><br></div><div>3- The {} only at the beginning, but the [] before each destination:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><action application="bridge" data="{absolute_codec_string='<wbr>PCMU,PCMA'}[park_after_bridge=<wbr>true,park_timeout=7]sofia/<wbr>outbound/${destination_number}<wbr>@$${SBC1}|[park_after_bridge=<wbr>true,park_timeout=7]sofia/<wbr>outbound/${destination_number}<wbr>@$${SBC2}"/></div></blockquote><div><div><br></div></div><div><br></div><div><br></div><div>Maybe they all work, I'm just not sure what is the correct way, or if there are any best practices on this matter.</div><div><br></div><div>Thanks, </div><span class="HOEnZb"><font color="#888888"><div>Joel.</div></font></span></div>
</blockquote></div><br></div></div>