IP Authentication not working

Status
Not open for further replies.

mrjoli021

Member
Jul 20, 2017
128
2
18
46
I have an old analog cisco router. This is used as a TDM handoff. The router is behind a NAT and the FusionPBX is in the cloud. The port forwading rules are in place so that FusionPBX can talk to the cisco router. I have created a bridge and inbound is working with two way audio. The problem is on the outbound side. I have created an extension and removed the password and under the advanced tab I put the public ip of the cisco router as well as the private IP. I see the call come in and then it dies. Any idea what I am missing?

2022-04-13 20:40:13.499807 97.53% [NOTICE] switch_channel.c:1123 New Channel sofia/internal/13051234567@10.21.10.12 [124ccc2b-1d14-476d-8c80-4bee0e40c1b9]
2022-04-13 20:40:13.499807 97.53% [DEBUG] switch_core_state_machine.c:581 (sofia/internal/13051234567@10.21.10.12) Running State Change CS_NEW (Cur 1 Tot 28590)
2022-04-13 20:40:13.499807 97.53% [INFO] sofia.c:10462 sofia/internal/13051234567@10.21.10.12 receiving invite from 70.1.2.3:61998 version: 1.10.7 -release-19-883d2cb662 64bit call-id: 2583753-BAB711EC-80AF8B67-82EFF511@10.21.10.12
2022-04-13 20:40:13.499807 97.53% [DEBUG] sofia.c:10556 verifying acl "domains" for ip/port 70.1.2.3:0.
2022-04-13 20:40:13.499807 97.53% [DEBUG] sofia.c:2419 detaching session 124ccc2b-1d14-476d-8c80-4bee0e40c1b9
2022-04-13 20:40:13.499807 97.53% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'internal' for [17861234567@fusionpbx.somedomain.com] from ip 70.1.2.3
2022-04-13 20:40:13.499807 97.53% [DEBUG] switch_core_state_machine.c:600 (sofia/internal/13051234567@10.21.10.12) State NEW
2022-04-13 20:40:23.539786 97.20% [WARNING] switch_core_state_machine.c:684 124ccc2b-1d14-476d-8c80-4bee0e40c1b9 sofia/internal/13051234567@10.21.10.12 Abandoned
2022-04-13 20:40:23.539786 97.20% [NOTICE] switch_core_state_machine.c:687 Hangup sofia/internal/13051234567@10.21.10.12 [CS_NEW] [WRONG_CALL_STATE]
2022-04-13 20:40:23.539786 97.20% [DEBUG] switch_core_state_machine.c:581 (sofia/internal/13051234567@10.21.10.12) Running State Change CS_HANGUP (Cur 1 Tot 28590)
2022-04-13 20:40:23.539786 97.20% [DEBUG] switch_core_state_machine.c:844 (sofia/internal/13051234567@10.21.10.12) Callstate Change DOWN -> HANGUP
2022-04-13 20:40:23.539786 97.20% [DEBUG] switch_core_state_machine.c:846 (sofia/internal/13051234567@10.21.10.12) State HANGUP
2022-04-13 20:40:23.539786 97.20% [DEBUG] mod_sofia.c:468 Channel sofia/internal/13051234567@10.21.10.12 hanging up, cause: WRONG_CALL_STATE
2022-04-13 20:40:23.539786 97.20% [DEBUG] switch_core_state_machine.c:59 sofia/internal/13051234567@10.21.10.12 Standard HANGUP, cause: WRONG_CALL_STATE
2022-04-13 20:40:23.539786 97.20% [DEBUG] switch_core_state_machine.c:846 (sofia/internal/13051234567@10.21.10.12) State HANGUP going to sleep
2022-04-13 20:40:23.539786 97.20% [DEBUG] switch_core_state_machine.c:616 (sofia/internal/13051234567@10.21.10.12) State Change CS_HANGUP -> CS_REPORTING
2022-04-13 20:40:23.539786 97.20% [DEBUG] switch_core_state_machine.c:581 (sofia/internal/13051234567@10.21.10.12) Running State Change CS_REPORTING (Cur 1 Tot 28590)
2022-04-13 20:40:23.539786 97.20% [DEBUG] switch_core_state_machine.c:932 (sofia/internal/13051234567@10.21.10.12) State REPORTING
2022-04-13 20:40:23.539786 97.20% [DEBUG] switch_core_state_machine.c:168 sofia/internal/13051234567@10.21.10.12 Standard REPORTING, cause: WRONG_CALL_STATE
2022-04-13 20:40:23.539786 97.20% [DEBUG] switch_core_state_machine.c:932 (sofia/internal/13051234567@10.21.10.12) State REPORTING going to sleep
2022-04-13 20:40:23.539786 97.20% [DEBUG] switch_core_state_machine.c:607 (sofia/internal/13051234567@10.21.10.12) State Change CS_REPORTING -> CS_DESTROY
2022-04-13 20:40:23.539786 97.20% [DEBUG] switch_core_session.c:1753 Session 28590 (sofia/internal/13051234567@10.21.10.12) Locked, Waiting on external entities
2022-04-13 20:40:23.539786 97.20% [NOTICE] switch_core_session.c:1771 Session 28590 (sofia/internal/13051234567@10.21.10.12) Ended
2022-04-13 20:40:23.539786 97.20% [NOTICE] switch_core_session.c:1775 Close Channel sofia/internal/13051234567@10.21.10.12 [CS_DESTROY]
2022-04-13 20:40:23.539786 97.20% [DEBUG] switch_core_state_machine.c:735 (sofia/internal/13051234567@10.21.10.12) Running State Change CS_DESTROY (Cur 0 Tot 28590)
2022-04-13 20:40:23.539786 97.20% [DEBUG] switch_core_state_machine.c:745 (sofia/internal/13051234567@10.21.10.12) State DESTROY
2022-04-13 20:40:23.539786 97.20% [DEBUG] mod_sofia.c:379 sofia/internal/13051234567@10.21.10.12 SOFIA DESTROY
2022-04-13 20:40:23.539786 97.20% [DEBUG] switch_core_state_machine.c:175 sofia/internal/13051234567@10.21.10.12 Standard DESTROY
2022-04-13 20:40:23.539786 97.20% [DEBUG] switch_core_state_machine.c:745 (sofia/internal/13051234567@10.21.10.12) State DESTROY going to sleep
 

mrjoli021

Member
Jul 20, 2017
128
2
18
46
Found my issue. I forgot to add the domain to the ACL. Once I did that issue was resolved.
 
Status
Not open for further replies.