SOLVED Horror issue with intra-extension calls in FusionPBX multi tenant

Status
Not open for further replies.

bumbu100

New Member
Mar 8, 2023
3
1
3
47
Description:

I'm facing an issue with my FusionPBX system: extensions cannot call each other, which in turn affects the call transfer functionality. I've encountered this problem across all my tenants on the same machine.

What's working:
  • Inbound calls are processed correctly.
  • Call queues efficiently distribute calls to extensions.
  • Outbound calls are also functioning as expected.
What's not working:
  • Extensions within the same tenant cannot call each other.
  • Call transfers are non-functional due to the aforementioned issue.
Example of log calling 151 from 152:

023-10-18 14:35:27.713982 99.87% [DEBUG] sofia.c:7900 (sofia/internal/152@fusionpbx.demo) State Change CS_NEW -> CS_INIT
2023-10-18 14:35:27.713982 99.87% [DEBUG] switch_core_state_machine.c:600 (sofia/internal/152@fusionpbx.demo) State NEW
2023-10-18 14:35:27.713982 99.87% [DEBUG] switch_core_state_machine.c:581 (sofia/internal/152@fusionpbx.demo) Running State Change CS_INIT (Cur 2 Tot 431)
2023-10-18 14:35:27.713982 99.87% [DEBUG] switch_core_state_machine.c:624 (sofia/internal/152@fusionpbx.demo) State INIT
2023-10-18 14:35:27.713982 99.87% [DEBUG] mod_sofia.c:97 sofia/internal/152@fusionpbx.demo SOFIA INIT
2023-10-18 14:35:27.713982 99.87% [DEBUG] switch_core_state_machine.c:40 sofia/internal/152@fusionpbx.demo Standard INIT
2023-10-18 14:35:27.713982 99.87% [DEBUG] switch_core_state_machine.c:48 (sofia/internal/152@fusionpbx.demo) State Change CS_INIT -> CS_ROUTING
2023-10-18 14:35:27.713982 99.87% [DEBUG] switch_core_state_machine.c:624 (sofia/internal/152@fusionpbx.demo) State INIT going to sleep
2023-10-18 14:35:27.713982 99.87% [DEBUG] switch_core_state_machine.c:581 (sofia/internal/152@fusionpbx.demo) Running State Change CS_ROUTING (Cur 2 Tot 431)
2023-10-18 14:35:27.713982 99.87% [DEBUG] switch_channel.c:2380 (sofia/internal/152@fusionpbx.demo) Callstate Change DOWN -> RINGING
2023-10-18 14:35:27.713982 99.87% [DEBUG] switch_core_state_machine.c:640 (sofia/internal/152@fusionpbx.demo) State ROUTING
2023-10-18 14:35:27.713982 99.87% [DEBUG] mod_sofia.c:158 sofia/internal/152@fusionpbx.demo SOFIA ROUTING
2023-10-18 14:35:27.713982 99.87% [DEBUG] switch_core_state_machine.c:230 sofia/internal/152@fusionpbx.demo Standard ROUTING
2023-10-18 14:35:27.713982 99.87% [INFO] mod_dialplan_xml.c:639 Processing teste 1 <152>->151 in context public
2023-10-18 14:35:27.713982 99.87% [NOTICE] switch_cpp.cpp:1465 [xml_handler] multiple key:dialplan:public
Dialplan: sofia/internal/152@fusionpbx.demo parsing [public->40376443629] continue=false
Dialplan: sofia/internal/152@fusionpbx.demo Regex (FAIL) [40376443629] destination_number(151) =~ /^(40376443629)/ break=on-false
Dialplan: sofia/internal/152@fusionpbx.demo parsing [public->40376500100] continue=false
Dialplan: sofia/internal/152@fusionpbx.demo Regex (FAIL) [40376500100] destination_number(151) =~ /^(40376500100)/ break=on-false
Dialplan: sofia/internal/152@fusionpbx.demo parsing [public->40376443630] continue=false
Dialplan: sofia/internal/152@fusionpbx.demo Regex (FAIL) [40376443630] destination_number(151) =~ /^(40376443630)/ break=on-false
Dialplan: sofia/internal/152@fusionpbx.demo parsing [public->40376443613] continue=false
Dialplan: sofia/internal/152@fusionpbx.demo Regex (FAIL) [40376443613] destination_number(151) =~ /^(40376443613)/ break=on-false
Dialplan: sofia/internal/152@fusionpbx.demo parsing [public->40376443622] continue=false
Dialplan: sofia/internal/152@fusionpbx.demo Regex (FAIL) [40376443622] destination_number(151) =~ /^(40376443622)/ break=on-false
Dialplan: sofia/internal/152@fusionpbx.demo parsing [public->40376443607] continue=false
Dialplan: sofia/internal/152@fusionpbx.demo Regex (FAIL) [40376443607] destination_number(151) =~ /^(40376443607)/ break=on-false
Dialplan: sofia/internal/152@fusionpbx.demo parsing [public->40376443623] continue=false
Dialplan: sofia/internal/152@fusionpbx.demo Regex (FAIL) [40376443623] destination_number(151) =~ /^(40376443623)/ break=on-false
Dialplan: sofia/internal/152@fusionpbx.demo parsing [public->40316800700] continue=false
Dialplan: sofia/internal/152@fusionpbx.demo Regex (FAIL) [40316800700] destination_number(151) =~ /^(40316800700)/ break=on-false
Dialplan: sofia/internal/152@fusionpbx.demo parsing [public->40376443611] continue=false
Dialplan: sofia/internal/152@fusionpbx.demo Regex (FAIL) [40376443611] destination_number(151) =~ /^(40376443611)/ break=on-false
Dialplan: sofia/internal/152@fusionpbx.demo parsing [public->40376443636] continue=false
Dialplan: sofia/internal/152@fusionpbx.demo Regex (FAIL) [40376443636] destination_number(151) =~ /^(40376443636)/ break=on-false
Dialplan: sofia/internal/152@fusionpbx.demo parsing [public->40376443609] continue=false
Dialplan: sofia/internal/152@fusionpbx.demo Regex (FAIL) [40376443609] destination_number(151) =~ /^(40376443609)/ break=on-false
Dialplan: sofia/internal/152@fusionpbx.demo parsing [public->40376443637] continue=false
Dialplan: sofia/internal/152@fusionpbx.demo Regex (FAIL) [40376443637] destination_number(151) =~ /^(40376443637)/ break=on-false
Dialplan: sofia/internal/152@fusionpbx.demo parsing [public->40376443603] continue=false
Dialplan: sofia/internal/152@fusionpbx.demo Regex (FAIL) [40376443603] destination_number(151) =~ /^(40376443603)/ break=on-false
Dialplan: sofia/internal/152@fusionpbx.demo parsing [public->40376443670] continue=false
Dialplan: sofia/internal/152@fusionpbx.demo Regex (FAIL) [40376443670] destination_number(151) =~ /^(40376443670)/ break=on-false
Dialplan: sofia/internal/152@fusionpbx.demo parsing [public->40376443602] continue=false
Dialplan: sofia/internal/152@fusionpbx.demo Regex (FAIL) [40376443602] destination_number(151) =~ /^(40376443602)/ break=on-false
Dialplan: sofia/internal/152@fusionpbx.demo parsing [public->40376443627] continue=false
Dialplan: sofia/internal/152@fusionpbx.demo Regex (FAIL) [40376443627] destination_number(151) =~ /^(40376443627)/ break=on-false
Dialplan: sofia/internal/152@fusionpbx.demo parsing [public->40376443628] continue=false
Dialplan: sofia/internal/152@fusionpbx.demo Regex (FAIL) [40376443628] destination_number(151) =~ /^(40376443628)/ break=on-false
Dialplan: sofia/internal/152@fusionpbx.demo parsing [public->40376443620] continue=false
Dialplan: sofia/internal/152@fusionpbx.demo Regex (FAIL) [40376443620] destination_number(151) =~ /^(40376443620)/ break=on-false
Dialplan: sofia/internal/152@fusionpbx.demo parsing [public->40376443612] continue=false
Dialplan: sofia/internal/152@fusionpbx.demo Regex (FAIL) [40376443612] destination_number(151) =~ /^(40376443612)/ break=on-false
Dialplan: sofia/internal/152@fusionpbx.demo parsing [public->40376443614] continue=false
Dialplan: sofia/internal/152@fusionpbx.demo Regex (FAIL) [40376443614] destination_number(151) =~ /^(40376443614)/ break=on-false
Dialplan: sofia/internal/152@fusionpbx.demo parsing [public->40376443624] continue=false
Dialplan: sofia/internal/152@fusionpbx.demo Regex (FAIL) [40376443624] destination_number(151) =~ /^(40376443624)/ break=on-false
Dialplan: sofia/internal/152@fusionpbx.demo parsing [public->40376443619] continue=false
Dialplan: sofia/internal/152@fusionpbx.demo Regex (FAIL) [40376443619] destination_number(151) =~ /^(40376443619)/ break=on-false
Dialplan: sofia/internal/152@fusionpbx.demo parsing [public->40316800251] continue=false
Dialplan: sofia/internal/152@fusionpbx.demo Regex (FAIL) [40316800251] destination_number(151) =~ /^(40316800251)/ break=on-false
Dialplan: sofia/internal/152@fusionpbx.demo parsing [public->40376443615] continue=false
Dialplan: sofia/internal/152@fusionpbx.demo Regex (FAIL) [40376443615] destination_number(151) =~ /^(40376443615)/ break=on-false
Dialplan: sofia/internal/152@fusionpbx.demo parsing [public->40376443639] continue=false
Dialplan: sofia/internal/152@fusionpbx.demo Regex (FAIL) [40376443639] destination_number(151) =~ /^(40376443639)/ break=on-false
Dialplan: sofia/internal/152@fusionpbx.demo parsing [public->40316800400] continue=false
Dialplan: sofia/internal/152@fusionpbx.demo Regex (FAIL) [40316800400] destination_number(151) =~ /^(40316800400)/ break=on-false
Dialplan: sofia/internal/152@fusionpbx.demo parsing [public->40376443600] continue=false
Dialplan: sofia/internal/152@fusionpbx.demo Regex (FAIL) [40376443600] destination_number(151) =~ /^(40376443600)/ break=on-false
Dialplan: sofia/internal/152@fusionpbx.demo parsing [public->40376500111] continue=false
Dialplan: sofia/internal/152@fusionpbx.demo Regex (FAIL) [40376500111] destination_number(151) =~ /^(40376500111)/ break=on-false
Dialplan: sofia/internal/152@fusionpbx.demo parsing [public->40376500111] continue=false
Dialplan: sofia/internal/152@fusionpbx.demo Regex (FAIL) [40376500111] destination_number(151) =~ /^(40376500111)/ break=on-false
Dialplan: sofia/internal/152@fusionpbx.demo parsing [public->40376443616] continue=false
Dialplan: sofia/internal/152@fusionpbx.demo Regex (FAIL) [40376443616] destination_number(151) =~ /^(40376443616)/ break=on-false
Dialplan: sofia/internal/152@fusionpbx.demo parsing [public->40376443601] continue=false
Dialplan: sofia/internal/152@fusionpbx.demo Regex (FAIL) [40376443601] destination_number(151) =~ /^(40376443601)/ break=on-false
Dialplan: sofia/internal/152@fusionpbx.demo parsing [public->40376443621] continue=false
Dialplan: sofia/internal/152@fusionpbx.demo Regex (FAIL) [40376443621] destination_number(151) =~ /^(40376443621)/ break=on-false
Dialplan: sofia/internal/152@fusionpbx.demo parsing [public->40376443625] continue=false
Dialplan: sofia/internal/152@fusionpbx.demo Regex (FAIL) [40376443625] destination_number(151) =~ /^(40376443625)/ break=on-false
2023-10-18 14:35:27.713982 99.87% [INFO] switch_core_state_machine.c:306 No Route, Aborting
2023-10-18 14:35:27.713982 99.87% [NOTICE] switch_core_state_machine.c:307 Hangup sofia/internal/152@fusionpbx.demo [CS_ROUTING] [NO_ROUTE_DESTINATION]
2023-10-18 14:35:27.713982 99.87% [DEBUG] switch_core_state_machine.c:640 (sofia/internal/152@fusionpbx.demo) State ROUTING going to sleep
2023-10-18 14:35:27.713982 99.87% [DEBUG] switch_core_state_machine.c:581 (sofia/internal/152@fusionpbx.demo) Running State Change CS_HANGUP (Cur 2 Tot 431)
2023-10-18 14:35:27.713982 99.87% [DEBUG] switch_core_state_machine.c:844 (sofia/internal/152@fusionpbx.demo) Callstate Change RINGING -> HANGUP
2023-10-18 14:35:27.713982 99.87% [DEBUG] switch_core_state_machine.c:846 (sofia/internal/152@fusionpbx.demo) State HANGUP
2023-10-18 14:35:27.713982 99.87% [DEBUG] mod_sofia.c:468 Channel sofia/internal/152@fusionpbx.demo hanging up, cause: NO_ROUTE_DESTINATION
2023-10-18 14:35:27.713982 99.87% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 404
2023-10-18 14:35:27.713982 99.87% [DEBUG] switch_core_state_machine.c:59 sofia/internal/152@fusionpbx.demo Standard HANGUP, cause: NO_ROUTE_DESTINATION
2023-10-18 14:35:27.713982 99.87% [DEBUG] switch_core_state_machine.c:846 (sofia/internal/152@fusionpbx.demo) State HANGUP going to sleep
2023-10-18 14:35:27.713982 99.87% [DEBUG] switch_core_state_machine.c:616 (sofia/internal/152@fusionpbx.demo) State Change CS_HANGUP -> CS_REPORTING
2023-10-18 14:35:27.713982 99.87% [DEBUG] switch_core_state_machine.c:581 (sofia/internal/152@fusionpbx.demo) Running State Change CS_REPORTING (Cur 2 Tot 431)
2023-10-18 14:35:27.713982 99.87% [DEBUG] switch_core_state_machine.c:932 (sofia/internal/152@fusionpbx.demo) State REPORTING
2023-10-18 14:35:27.793966 99.87% [DEBUG] switch_core_state_machine.c:168 sofia/internal/152@fusionpbx.demo Standard REPORTING, cause: NO_ROUTE_DESTINATION
2023-10-18 14:35:27.793966 99.87% [DEBUG] switch_core_state_machine.c:932 (sofia/internal/152@fusionpbx.demo) State REPORTING going to sleep
2023-10-18 14:35:27.793966 99.87% [DEBUG] switch_core_state_machine.c:607 (sofia/internal/152@fusionpbx.demo) State Change CS_REPORTING -> CS_DESTROY
2023-10-18 14:35:27.793966 99.87% [DEBUG] switch_core_session.c:1743 Session 431 (sofia/internal/152@fusionpbx.demo) Locked, Waiting on external entities
2023-10-18 14:35:27.793966 99.87% [NOTICE] switch_core_session.c:1761 Session 431 (sofia/internal/152@fusionpbx.demo) Ended
2023-10-18 14:35:27.793966 99.87% [NOTICE] switch_core_session.c:1765 Close Channel sofia/internal/152@fusionpbx.demo [CS_DESTROY]
2023-10-18 14:35:27.793966 99.87% [DEBUG] switch_core_state_machine.c:735 (sofia/internal/152@fusionpbx.demo) Running State Change CS_DESTROY (Cur 1 Tot 431)
2023-10-18 14:35:27.793966 99.87% [DEBUG] switch_core_state_machine.c:745 (sofia/internal/152@fusionpbx.demo) State DESTROY
2023-10-18 14:35:27.793966 99.87% [DEBUG] mod_sofia.c:379 sofia/internal/152@fusionpbx.demo SOFIA DESTROY
2023-10-18 14:35:27.793966 99.87% [DEBUG] switch_core_state_machine.c:175 sofia/internal/152@fusionpbx.demo Standard DESTROY
2023-10-18 14:35:27.793966 99.87% [DEBUG] switch_core_state_machine.c:745 (sofia/internal/152@fusionpbx.demo) State DESTROY going to sleep
I would appreciate it if anyone has any suggestions or solutions to this problem. Any help is greatly valued!
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,044
565
113
I see a problem straight away: mod_dialplan_xml.c:639 Processing teste 1 <152>->151 in context public

Context public

For some reason, fusionpbx is processing the inbound dialplan.

This usually comes down to you changing the access control lists when you shouldn't have.
 
  • Like
Reactions: markjcrane

bumbu100

New Member
Mar 8, 2023
3
1
3
47
Thank you so much for taking the time to provide a solution to my issue. I really appreciate your help.
I've tried to implement the solution you've suggested, but as a beginner, I'm still finding it a bit challenging to get it right. I'll continue working on it and will keep your advice in mind.
 

markjcrane

Active Member
Staff member
Jul 22, 2018
450
162
43
49
In Advanced -> Access Controls you will see one of two providers or domains. Make sure you don't put the IP address range that your phones are behind in either of those two access controls. This is a common mistake and the reason I changed the name of the domains access control list to providers.

Here is some documentation on the Access Controls.
- https://docs.fusionpbx.com/en/latest/advanced/access_controls.html
 

bumbu100

New Member
Mar 8, 2023
3
1
3
47
Thank you so much for the help provided! The suggested solutions worked wonders
FusionPBX system is fully operational now.

I appreciate your time and expertise. Thanks once again!
 
  • Like
Reactions: DigitalDaz
Status
Not open for further replies.