[Freeswitch-users] mode_distributor in originate command

Vishal Kakkar vishal.kakkar at gmail.com
Mon Jul 9 14:39:03 UTC 2018


Hi all,

How can we use mode_distributor in originate command.

originate {ignore_early_media=true}sofia/gateway/${distributor(test)}/9822312312
myExtension xml ext

Its giving following error on CLI:

[ERR] mod_sofia.c:4408 Invalid Gateway '%{distributor(test)}'


Distributor config:

<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>


Thanks

Vishal.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180709/aae2d352/attachment.html>


More information about the FreeSWITCH-users mailing list