From 6f1b7fad197dc07fa7379c924946e36ad81e71d6 Mon Sep 17 00:00:00 2001 From: Carlo Venusino Date: Thu, 2 Sep 2021 21:58:07 +0200 Subject: [PATCH] TT#138300 CallForwarding - Issues when setting pbx_base_cli as destination NOTE: To trigger rule rewriting on CF destinations, you need to create a Rewrite Rule in v1 and assign it to the domain you are using Change-Id: I0c8f426398014478c01d739a6def240c243efcbf --- src/store/call-forwarding/actions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/call-forwarding/actions.js b/src/store/call-forwarding/actions.js index 385395cb..7bd39906 100644 --- a/src/store/call-forwarding/actions.js +++ b/src/store/call-forwarding/actions.js @@ -170,7 +170,7 @@ export async function rewriteDestination ({ dispatch, commit, state, rootGetters body: { direction: 'callee_in', subscriber_id: rootGetters['user/getSubscriberId'], - numbers: [destination] + numbers: [_.trim(destination)] } }) return req.result