<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">&lt;<a href="mailto:joel@gogii.net" target="_blank">joel@gogii.net</a>&gt;</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>&lt;action application=&quot;bridge&quot; data=&quot;sofia/outbound/${<wbr>destination_number}@$${SBC1}|<wbr>sofia/outbound/${destination_<wbr>number}@$${SBC2}&quot;/&gt;<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>&lt;action application=&quot;bridge&quot; data=&quot;{absolute_codec_string=&#39;<wbr>PCMU,PCMA&#39;}[park_after_bridge=<wbr>true,park_timeout=7]sofia/<wbr>outbound/${destination_number}<wbr>@$${SBC1}|sofia/outbound/${<wbr>destination_number}@$${SBC2}&quot;/<wbr>&gt;</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>&lt;action application=&quot;bridge&quot; data=&quot;{absolute_codec_string=&#39;<wbr>PCMU,PCMA&#39;}[park_after_bridge=<wbr>true,park_timeout=7]sofia/<wbr>outbound/${destination_number}<wbr>@$${SBC1}|{absolute_codec_<wbr>string=&#39;PCMU,PCMA&#39;}[park_<wbr>after_bridge=true,park_<wbr>timeout=7]sofia/outbound/${<wbr>destination_number}@$${SBC2}&quot;/<wbr>&gt;</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>&lt;action application=&quot;bridge&quot; data=&quot;{absolute_codec_string=&#39;<wbr>PCMU,PCMA&#39;}[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}&quot;/&gt;</div></blockquote><div><div><br></div></div><div><br></div><div><br></div><div>Maybe they all work, I&#39;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>