[Freeswitch-users] Modify Dialplan over socket?

René Weiss rw at panorgan.ch
Wed Jun 17 13:36:19 MSD 2015


If I understand the ESL correct then I would still first have to
make a dialplan entry like this:

<extension name="outbound event socket">
     <condition field="destination_number" data="^10(\d{2})$">
         <action application="socket" data="localhost:5000"/>
     </condition>
</extension>

To route all call to numbers from 1000 to 1099 to my server on
port 5000.

As far as I see there is no way my server could tell freeswitch
later that he now also wants to handle the numbers from 1100 to
1199 (without something like mod_curl_xml at least), right?


Am 17.06.15 um 09:07 schrieb Stanislav Sinyagin:
> your program gets a full control over the call over ESL, so you don't
> need to inject the dialplan: now your application is the dialplan :)
>
>
>
> On Wed, Jun 17, 2015 at 9:04 AM, René Weiss <rw at panorgan.ch> wrote:
>> Hi
>>
>> I was asked if there's a way to use a TCP socket connection to register
>> a new extension/condition in the dialplan.
>>
>> What I already found is that there are modules like mod_curl_xml and
>> mod_db for dynamic changes, but there seems to by no direct way with a
>> command / api call over a socket connection.
>>
>> Is this correct or did I miss something?
>>
>> Thanks,
>> René
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.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
>> http://www.freeswitch.org
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.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
> http://www.freeswitch.org
>



Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list