From bb4ba3747de3f06970dddf4171305d473c11aa7f Mon Sep 17 00:00:00 2001 From: Peter Kozak Date: Wed, 12 Jun 2013 12:21:33 +0200 Subject: replacement on no_match fixed --- misc/freeswitch/scripts/dialplan/router.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'misc/freeswitch/scripts/dialplan') diff --git a/misc/freeswitch/scripts/dialplan/router.lua b/misc/freeswitch/scripts/dialplan/router.lua index 10551f1..50653d8 100644 --- a/misc/freeswitch/scripts/dialplan/router.lua +++ b/misc/freeswitch/scripts/dialplan/router.lua @@ -173,6 +173,9 @@ function Router.route_match(self, route) if element.action == 'not_match' then result = not result; + if result then + replacement = tostring(element.replacement); + end end if not result then -- cgit v1.2.3