From cf487b00d29666921d2f884e3898f02e090567aa Mon Sep 17 00:00:00 2001 From: Asterisk PBX daemon Date: Wed, 18 Apr 2018 16:37:03 +0200 Subject: [PATCH] Fixed extension numbering in dial.conf --- dial.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dial.conf b/dial.conf index df73dee..4174232 100644 --- a/dial.conf +++ b/dial.conf @@ -1,7 +1,7 @@ [dial] ; Manual trunk selection ( **212345 dials 12345 on trunk2 ) exten => _**X., 1,Set(TRUNK=${EXTEN:2:1}) -exten => _**X., 1,Goto(dial-trunk,${EXTEN:3},1) +exten => _**X., n,Goto(dial-trunk,${EXTEN:3},1) ; Internal extensions (2 - 4 digits) exten => _ZX, 1,Goto(intern,${EXTEN},1) @@ -10,7 +10,7 @@ exten => _ZXXX, 1,Goto(intern,${EXTEN},1) ; All other expected to be external exten => _X., 1,Set(TRUNK=0) -exten => _X., 1,Goto(dial-trunk,${EXTEN},1) +exten => _X., n,Goto(dial-trunk,${EXTEN},1) [dial-trunk] ; Trunk dialing