in a Debian system i am running Kamailio 5.5 installed from repo and with the basic setup i have 2 users 101 & 102 to be able to call each other. So far so good.
i added Freeswitch in the same system and tried to follow this guide http://kb.asipto.com/freeswitch:kamailio-3.1.x-freeswitch-1.0.6d-sbc even though it is old and there are many changes. Freeswitch is installed from deb repo as well.
after following the guide i tried to adapt to newer versions of kamailio and freeswitch, but i am getting errors. The problem is that the users now are able to register to Kamailio, but unable to call each other.
I can see users being registered in Kamailio:
root@kamfs: ~ $ kamctl online
101
102
root@kamfs: ~ $
while when 101 calls 102 i am getting:
2021-06-08 10:35:19.015670 [NOTICE] switch_channel.c:1118 New Channel sofia/internal/101@192.168.1.15 [f3b8f5a0-652a-4640-b2d3-9b7cc21d7f91]
2021-06-08 10:35:19.015670 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/101@192.168.1.15) Running State Change CS_NEW (Cur 1 Tot 5)
2021-06-08 10:35:19.015670 [INFO] sofia.c:10362 sofia/internal/101@192.168.1.15 receiving invite from 192.168.1.15:5060 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: ZDFiZWFkZmVmYjgxZDEwOTgyYTYxZjkxNzkwMzlmYmQ.
2021-06-08 10:35:19.015670 [DEBUG] sofia.c:10456 verifying acl "domains" for ip/port 192.168.1.15:0.
2021-06-08 10:35:19.015670 [WARNING] sofia.c:10569 IP 192.168.1.15 Rejected by acl "domains"
2021-06-08 10:35:19.015670 [NOTICE] sofia.c:2445 Hangup sofia/internal/101@192.168.1.15 [CS_NEW] [CALL_REJECTED]
2021-06-08 10:35:19.015670 [DEBUG] sofia.c:1549 Channel is already hungup.
2021-06-08 10:35:19.015670 [DEBUG] sofia.c:1549 Channel is already hungup.
2021-06-08 10:35:19.015670 [DEBUG] switch_core_state_machine.c:604 (sofia/internal/101@192.168.1.15) State NEW
2021-06-08 10:35:19.015670 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/101@192.168.1.15) Running State Change CS_HANGUP (Cur 1 Tot 5)
2021-06-08 10:35:19.015670 [DEBUG] switch_core_state_machine.c:848 (sofia/internal/101@192.168.1.15) Callstate Change DOWN -> HANGUP
2021-06-08 10:35:19.015670 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/101@192.168.1.15) State HANGUP
2021-06-08 10:35:19.015670 [DEBUG] mod_sofia.c:453 Channel sofia/internal/101@192.168.1.15 hanging up, cause: CALL_REJECTED
2021-06-08 10:35:19.015670 [DEBUG] switch_core_state_machine.c:60 sofia/internal/101@192.168.1.15 Standard HANGUP, cause: CALL_REJECTED
2021-06-08 10:35:19.015670 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/101@192.168.1.15) State HANGUP going to sleep
2021-06-08 10:35:19.015670 [DEBUG] switch_core_state_machine.c:620 (sofia/internal/101@192.168.1.15) State Change CS_HANGUP -> CS_REPORTING
2021-06-08 10:35:19.015670 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/101@192.168.1.15) Running State Change CS_REPORTING (Cur 1 Tot 5)
2021-06-08 10:35:19.015670 [DEBUG] switch_core_state_machine.c:936 (sofia/internal/101@192.168.1.15) State REPORTING
2021-06-08 10:35:19.015670 [DEBUG] switch_core_state_machine.c:174 sofia/internal/101@192.168.1.15 Standard REPORTING, cause: CALL_REJECTED
2021-06-08 10:35:19.015670 [DEBUG] switch_core_state_machine.c:936 (sofia/internal/101@192.168.1.15) State REPORTING going to sleep
2021-06-08 10:35:19.015670 [DEBUG] switch_core_state_machine.c:611 (sofia/internal/101@192.168.1.15) State Change CS_REPORTING -> CS_DESTROY
2021-06-08 10:35:19.015670 [DEBUG] switch_core_session.c:1736 Session 5 (sofia/internal/101@192.168.1.15) Locked, Waiting on external entities
2021-06-08 10:35:19.015670 [NOTICE] switch_core_session.c:1754 Session 5 (sofia/internal/101@192.168.1.15) Ended
2021-06-08 10:35:19.015670 [NOTICE] switch_core_session.c:1758 Close Channel sofia/internal/101@192.168.1.15 [CS_DESTROY]
2021-06-08 10:35:19.015670 [DEBUG] switch_core_state_machine.c:739 (sofia/internal/101@192.168.1.15) Running State Change CS_DESTROY (Cur 0 Tot 5)
2021-06-08 10:35:19.015670 [DEBUG] switch_core_state_machine.c:749 (sofia/internal/101@192.168.1.15) State DESTROY
2021-06-08 10:35:19.015670 [DEBUG] mod_sofia.c:364 sofia/internal/101@192.168.1.15 SOFIA DESTROY
2021-06-08 10:35:19.015670 [DEBUG] switch_core_state_machine.c:181 sofia/internal/101@192.168.1.15 Standard DESTROY
2021-06-08 10:35:19.015670 [DEBUG] switch_core_state_machine.c:749 (sofia/internal/101@192.168.1.15) State DESTROY going to sleep
freeswitch@kamfs>

i am attaching the kamailio.cfg file and the whole /etc/freeswitch folder, if someone could help me to solve this issue, please.



Kind regards,
John