[Freeswitch-users] Using dialplan routing from ESL?

Stanislav Sinyagin ssinyagin at gmail.com
Wed Sep 9 11:38:55 MSD 2015


you can send the call to the loopback endpoint, then it will go
through the dialplan logic:
https://freeswitch.org/confluence/display/FREESWITCH/Loopback+Endpoint





On Wed, Sep 9, 2015 at 8:24 AM, René Weiss <rw at panorgan.ch> wrote:
> Hi,
>
> I have set up some simple dialplan rules like:
> - Numbers with 4 digits or shorter: internal calls
> - 5 digits or longer: use external sip gateway
>
> This works perfectly fine with our (soft-)phones.
>
> Now I would also like to use the same rules when I make calls from our
> software over the ESL, but it seems that I always have to tell the
> "originate" command which gateway to use.
>
> Is there a syntax for "originate" (or another command) which uses the
> dialplan rules to decide which gateway to use, or do I have to implement
> the dialplan rules a 2. time in the software?
>
> 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



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