<div dir="auto"><div class="gmail_quote" dir="auto"><div dir="ltr"><span style="font-size:12.8px">Hi all,</span><br></div><div dir="ltr"><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/gateway/${distributor(<span style="color:rgb(51,51,51);font-size:14px">test</span>)}/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><pre style="white-space:pre-wrap;margin-top:10px;margin-bottom:0px;padding:0px;color:rgb(51,51,51);font-size:14px">Vishal.</pre></div></div>
</div></div>