<div dir="ltr">1st Retry!!<br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jul 7, 2018 at 12:50 AM, Vishal Kakkar <span dir="ltr"><<a href="mailto:vishal.kakkar@gmail.com" target="_blank">vishal.kakkar@gmail.com</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"><span style="font-size:12.800000190734863px">Hi all,</span><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px">How can we use mode_distributor in originate command.</div><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px">originate {ignore_early_media=true}sofia<wbr>/gateway/${distributor(<span style="color:rgb(51,51,51);font-size:14px">test</span>)}/<wbr>9822312312 myExtension xml ext</div><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px">Its giving following error on CLI:</div><div style="font-size:12.800000190734863px"><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(195,55,32)"><span style="font-variant-ligatures:no-common-ligatures">[ERR] mod_sofia.c:4408 Invalid Gateway '%{distributor(test)}'</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(195,55,32)"><br></p></div><div style="font-size:12.800000190734863px"><pre style="white-space:pre-wrap;margin-top:10px;margin-bottom:0px;padding:0px;color:rgb(51,51,51);font-size:14px">Distributor config:</pre><pre style="white-space:pre-wrap;margin-top:10px;margin-bottom:0px;padding:0px;color:rgb(51,51,51);font-size:14px"><configuration name="distributor.conf" description="Distributor Configuration">
  <lists>
    <list name="test" total-weight="10">
      <node name="foo1" weight="1"/>
      <node name="foo2" weight="9"/>
    </list>
  </lists>
</configuration></pre><pre style="white-space:pre-wrap;margin-top:10px;margin-bottom:0px;padding:0px;color:rgb(51,51,51);font-size:14px"><br></pre><pre style="white-space:pre-wrap;margin-top:10px;margin-bottom:0px;padding:0px;color:rgb(51,51,51);font-size:14px">Thanks</pre><span class="HOEnZb"><font color="#888888"><pre style="white-space:pre-wrap;margin-top:10px;margin-bottom:0px;padding:0px;color:rgb(51,51,51);font-size:14px">Vishal.</pre></font></span></div></div>
</blockquote></div><br></div></div>