[Freeswitch-users] Using dialplan routing from ESL?
rw at panorgan.ch
Wed Sep 9 10:24:13 MSD 2015
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?
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users