<div dir="ltr">Hi Tihomir Culjaga,<div><br></div><div>Got it working, as you suggested!! </div><div>Thanks a lot dear, Appreciate your inputs.</div><div><br></div><div>-Vishal.<br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 10, 2018 at 11:28 AM, Tihomir Culjaga <span dir="ltr"><<a href="mailto:tculjaga@gmail.com" target="_blank">tculjaga@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">hi you need to use expand.<div><br></div><div>expand originate {ignore_early_media=true}<wbr>sofia/gateway/${distributor(<wbr>test)}/9822312312 myExtension xml ext</div><div><br></div><div>will do.</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="gmail-h5">On 9 July 2018 at 16:39, Vishal Kakkar <span dir="ltr"><<a href="mailto:vishal.kakkar@gmail.com" target="_blank">vishal.kakkar@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div><div class="gmail-h5"><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<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="gmail-m_6891610195451242989HOEnZb"><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>
</div></div>
<br></div></div><span class="gmail-">______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/conflue<wbr>nce</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/<wbr>freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br></span></blockquote></div><br></div>
<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/<wbr>confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br></blockquote></div><br></div></div></div>