<div dir="ltr">Hi, <div><br></div><div>I can answer myself thanks to something I found in the doc:<div><br></div><div><a href="https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables">https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables</a><br></div><div><br></div><div>...</div><div><h3 id="gmail-ChannelVariables-ChannelVariablesinDialstrings" style="margin:30px 0px 0px;padding:0px;color:rgb(51,51,51);font-size:16px;line-height:1.5;font-family:arial,sans-serif"><span class="gmail-mw-headline">Channel Variables in Dial strings</span></h3></div><div><span class="gmail-mw-headline"><br></span></div><div><span class="gmail-mw-headline"><br></span></div><div><span class="gmail-mw-headline"><br></span></div><div><span class="gmail-mw-headline">All the info is there :)</span></div><div><span class="gmail-mw-headline"><br></span></div><div><span class="gmail-mw-headline">Sorry for the noise.</span></div><div><span class="gmail-mw-headline"><br></span></div><div><span class="gmail-mw-headline">Best, </span></div><div><span class="gmail-mw-headline">Joel.</span></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 8, 2017 at 8:23 AM, 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, <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><span class="HOEnZb"><font color="#888888"><div>Joel.</div></font></span><div><div class="h5"><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/${destina<wbr>tion_number}@$${SBC1}|sofia/<wbr>outbound/${destination_number}<wbr>@$${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/outb<wbr>ound/${destination_number}@$${<wbr>SBC1}|sofia/outbound/${destina<wbr>tion_number}@$${SBC2}&quot;/&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/outb<wbr>ound/${destination_number}@$${<wbr>SBC1}|{absolute_codec_string=&#39;<wbr>PCMU,PCMA&#39;}[park_after_bridge=<wbr>true,park_timeout=7]sofia/<wbr>outbound/${destination_number}<wbr>@$${SBC2}&quot;/&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/outb<wbr>ound/${destination_number}@$${<wbr>SBC1}|[park_after_bridge=true,<wbr>park_timeout=7]sofia/outbound/<wbr>${destination_number}@$${SBC2}<wbr>&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="m_975808737151767794HOEnZb"><font color="#888888"><div>Joel.</div></font></span></div>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>