[Freeswitch-users] mode_distributor in originate command
Tihomir Culjaga
tculjaga at gmail.com
Tue Jul 10 05:58:23 UTC 2018
hi you need to use expand.
expand originate
{ignore_early_media=true}sofia/gateway/${distributor(test)}/9822312312
myExtension xml ext
will do.
On 9 July 2018 at 16:39, Vishal Kakkar <vishal.kakkar at gmail.com> wrote:
> 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.
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180710/340ed025/attachment-0001.html>
More information about the FreeSWITCH-users
mailing list