[Freeswitch-users] mode_distributor in originate command
Vishal Kakkar
vishal.kakkar at gmail.com
Thu Jul 12 06:00:38 UTC 2018
Hi Tihomir Culjaga,
Got it working, as you suggested!!
Thanks a lot dear, Appreciate your inputs.
-Vishal.
On Tue, Jul 10, 2018 at 11:28 AM, Tihomir Culjaga <tculjaga at gmail.com>
wrote:
> 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
>>
>
>
> _________________________________________________________________________
> 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/20180712/038e4236/attachment.html>
More information about the FreeSWITCH-users
mailing list