[Freeswitch-users] Using dialplan routing from ESL?
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:
On Wed, Sep 9, 2015 at 8:24 AM, René Weiss <rw at panorgan.ch> wrote:
> 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?
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> Official FreeSWITCH Sites
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users