Hi All,
I have a puzzling issue. I have just added a new trunk to our instance of Fusion and added in the destinations for the DID however the regex seems to be failing even though it matches. Please see the log excerpt below. I have tested both of the regex configurations on regex101.com and they are valid and work to the caller_destination number. Any ideas as to what could be causing this failure?
dd9db055-c8ea-40ac-af50-b0f450c50f4b 2021-05-28 11:55:41.623461 [DEBUG] mod_dptools.c:1685 SET sofia/external/61490085736@siptrunk.connectyou.net.au [caller_destination]=[61731800576]
dd9db055-c8ea-40ac-af50-b0f450c50f4b Dialplan: sofia/external/61490085736@siptrunk.connectyou.net.au parsing [public->61731800576] continue=false
dd9db055-c8ea-40ac-af50-b0f450c50f4b Dialplan: sofia/external/61490085736@siptrunk.connectyou.net.au Regex (FAIL) [61731800576] destination_number(0731800576) =~ /^(61731800576)$/ break=on-false
2b058fe6-b53c-4226-950c-1f71eeb9b4b2 2021-05-28 11:34:53.243396 [DEBUG] mod_dptools.c:1685 SET sofia/external/61490085736@siptrunk.connectyou.net.au [caller_destination]=[61731800576]
2b058fe6-b53c-4226-950c-1f71eeb9b4b2 Dialplan: sofia/external/61490085736@siptrunk.connectyou.net.au parsing [public->731800576] continue=false
2b058fe6-b53c-4226-950c-1f71eeb9b4b2 Dialplan: sofia/external/61490085736@siptrunk.connectyou.net.au Regex (FAIL) [731800576] destination_number(0731800576) =~ /^\+?61?(731800576)$/ break=on-false
I have a puzzling issue. I have just added a new trunk to our instance of Fusion and added in the destinations for the DID however the regex seems to be failing even though it matches. Please see the log excerpt below. I have tested both of the regex configurations on regex101.com and they are valid and work to the caller_destination number. Any ideas as to what could be causing this failure?
dd9db055-c8ea-40ac-af50-b0f450c50f4b 2021-05-28 11:55:41.623461 [DEBUG] mod_dptools.c:1685 SET sofia/external/61490085736@siptrunk.connectyou.net.au [caller_destination]=[61731800576]
dd9db055-c8ea-40ac-af50-b0f450c50f4b Dialplan: sofia/external/61490085736@siptrunk.connectyou.net.au parsing [public->61731800576] continue=false
dd9db055-c8ea-40ac-af50-b0f450c50f4b Dialplan: sofia/external/61490085736@siptrunk.connectyou.net.au Regex (FAIL) [61731800576] destination_number(0731800576) =~ /^(61731800576)$/ break=on-false
2b058fe6-b53c-4226-950c-1f71eeb9b4b2 2021-05-28 11:34:53.243396 [DEBUG] mod_dptools.c:1685 SET sofia/external/61490085736@siptrunk.connectyou.net.au [caller_destination]=[61731800576]
2b058fe6-b53c-4226-950c-1f71eeb9b4b2 Dialplan: sofia/external/61490085736@siptrunk.connectyou.net.au parsing [public->731800576] continue=false
2b058fe6-b53c-4226-950c-1f71eeb9b4b2 Dialplan: sofia/external/61490085736@siptrunk.connectyou.net.au Regex (FAIL) [731800576] destination_number(0731800576) =~ /^\+?61?(731800576)$/ break=on-false