9 Sep
2015
9 Sep
'15
6:24 a.m.
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é