I have 2 Callcentric DID numbers, associated with two extensions. With Callcentric there is the primary extension 100 and a secondary extensions. On FusionPBX I have setup the two extensions and the two destinations (inbound). When I call the second DID number it should go to the second extension, but it goes to the first. FusionPBX is receiving the correct DID_NUMBER from Callcentric but I am not able to direct it to the second extension.
The Inbound Route for the second number is set correctly
condition | destination number | DID_NUMBER_2
action, transfer | EXT_2 | XML, PUBLIC_IP
fs_cli excerpts:
EXECUTE [depth=0] sofia/external/CALLING_NUMBER@sip.callcentric.net set(caller_destination=DID_NUMBER_2)
2026-04-11 22:43:43.374157 98.47% [DEBUG] mod_dptools.c:1671 SET sofia/external/CALLING_NUMBER@sip.callcentric.net [caller_destination]=[DID_NUMBER_2]
Dialplan: sofia/external/CALLING_NUMBER@sip.callcentric.net Regex (FAIL) [caller-details] ${caller_destination}(DID_NUMBER_2) =~ /^$/ break=never
And calling the first DID_NUMBER_1 it also shows Regex (FAIL).
Calling both numbers rings to EXT_1. I do not understand why the match of DID_NUMBERs fail, but still go through to EXT_1
The Inbound Route for the second number is set correctly
condition | destination number | DID_NUMBER_2
action, transfer | EXT_2 | XML, PUBLIC_IP
fs_cli excerpts:
EXECUTE [depth=0] sofia/external/CALLING_NUMBER@sip.callcentric.net set(caller_destination=DID_NUMBER_2)
2026-04-11 22:43:43.374157 98.47% [DEBUG] mod_dptools.c:1671 SET sofia/external/CALLING_NUMBER@sip.callcentric.net [caller_destination]=[DID_NUMBER_2]
Dialplan: sofia/external/CALLING_NUMBER@sip.callcentric.net Regex (FAIL) [caller-details] ${caller_destination}(DID_NUMBER_2) =~ /^$/ break=never
And calling the first DID_NUMBER_1 it also shows Regex (FAIL).
Calling both numbers rings to EXT_1. I do not understand why the match of DID_NUMBERs fail, but still go through to EXT_1