Inbound calling not working

Status
Not open for further replies.

jeffa1792

New Member
May 3, 2021
6
0
1
52
I have a brand new setup and trying to move from freePBX. I can register a softphone and do things like listen to the directory, VoiceMail, etc. I have registered my gateway and it appears to be working. I have setup my inbound route (destinations) and when I place a call to the main phone number I see the call coming in. However it rejects the call no matter what I try.

I quickly tried outbound calls but they don't work either. I'm diggin in on Inbound first.

Any help would be greatly appreciated.
-Jeff


Log
===
05486a25-5d8b-435c-8f87-1a8c7c962086 2021-05-03 19:25:53.878699 [NOTICE] switch_channel.c:1118 New Channel sofia/external/{MY_CELL}@{GATEWAY_IP} [05486a25-5d8b-435c-8f87-1a8c7c962086]
05486a25-5d8b-435c-8f87-1a8c7c962086 2021-05-03 19:25:53.878699 [DEBUG] switch_core_state_machine.c:585 (sofia/external/{MY_CELL}@{GATEWAY_IP}) Running State Change CS_NEW (Cur 1 Tot 6)
05486a25-5d8b-435c-8f87-1a8c7c962086 2021-05-03 19:25:53.878699 [INFO] sofia.c:10362 sofia/external/{MY_CELL}@{GATEWAY_IP} receiving invite from {GATEWAY_IP}:5060 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: 5cea2ee146f9237975a9908a7bb940c7@{GATEWAY_IP}:5060
2021-05-03 19:25:53.878699 [DEBUG] sofia.c:10456 verifying acl "domains" for ip/port {GATEWAY_IP}:0.
05486a25-5d8b-435c-8f87-1a8c7c962086 2021-05-03 19:25:53.878699 [DEBUG] switch_core_state_machine.c:604 (sofia/external/{MY_CELL}@{GATEWAY_IP}) State NEW
2021-05-03 19:25:53.878699 [DEBUG] sofia.c:2447 detaching session 05486a25-5d8b-435c-8f87-1a8c7c962086
2021-05-03 19:25:53.898604 [DEBUG] sofia.c:2562 Re-attaching to session 05486a25-5d8b-435c-8f87-1a8c7c962086
05486a25-5d8b-435c-8f87-1a8c7c962086 2021-05-03 19:25:53.918624 [INFO] sofia.c:10362 sofia/external/{MY_CELL}@{GATEWAY_IP} receiving invite from {GATEWAY_IP}:5060 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: 5cea2ee146f9237975a9908a7bb940c7@{GATEWAY_IP}:5060
2021-05-03 19:25:53.918624 [DEBUG] sofia.c:10456 verifying acl "domains" for ip/port {GATEWAY_IP}:0.
05486a25-5d8b-435c-8f87-1a8c7c962086 2021-05-03 19:25:53.918624 [NOTICE] sofia.c:2445 Hangup sofia/external/{MY_CELL}@{GATEWAY_IP} [CS_NEW] [CALL_REJECTED]
05486a25-5d8b-435c-8f87-1a8c7c962086 2021-05-03 19:25:53.938603 [DEBUG] sofia.c:1549 Channel is already hungup.
05486a25-5d8b-435c-8f87-1a8c7c962086 2021-05-03 19:25:53.938603 [DEBUG] switch_core_state_machine.c:585 (sofia/external/{MY_CELL}@{GATEWAY_IP}) Running State Change CS_HANGUP (Cur 1 Tot 6)
05486a25-5d8b-435c-8f87-1a8c7c962086 2021-05-03 19:25:53.938603 [DEBUG] switch_core_state_machine.c:848 (sofia/external/{MY_CELL}@{GATEWAY_IP}) Callstate Change DOWN -> HANGUP
05486a25-5d8b-435c-8f87-1a8c7c962086 2021-05-03 19:25:53.938603 [DEBUG] switch_core_state_machine.c:850 (sofia/external/{MY_CELL}@{GATEWAY_IP}) State HANGUP
05486a25-5d8b-435c-8f87-1a8c7c962086 2021-05-03 19:25:53.938603 [DEBUG] mod_sofia.c:453 Channel sofia/external/{MY_CELL}@{GATEWAY_IP} hanging up, cause: CALL_REJECTED
05486a25-5d8b-435c-8f87-1a8c7c962086 2021-05-03 19:25:53.938603 [DEBUG] switch_core_state_machine.c:60 sofia/external/{MY_CELL}@{GATEWAY_IP} Standard HANGUP, cause: CALL_REJECTED
05486a25-5d8b-435c-8f87-1a8c7c962086 2021-05-03 19:25:53.938603 [DEBUG] switch_core_state_machine.c:850 (sofia/external/{MY_CELL}@{GATEWAY_IP}) State HANGUP going to sleep
05486a25-5d8b-435c-8f87-1a8c7c962086 2021-05-03 19:25:53.938603 [DEBUG] switch_core_state_machine.c:620 (sofia/external/{MY_CELL}@{GATEWAY_IP}) State Change CS_HANGUP -> CS_REPORTING
05486a25-5d8b-435c-8f87-1a8c7c962086 2021-05-03 19:25:53.938603 [DEBUG] switch_core_state_machine.c:585 (sofia/external/{MY_CELL}@{GATEWAY_IP}) Running State Change CS_REPORTING (Cur 1 Tot 6)
05486a25-5d8b-435c-8f87-1a8c7c962086 2021-05-03 19:25:53.938603 [DEBUG] switch_core_state_machine.c:936 (sofia/external/{MY_CELL}@{GATEWAY_IP}) State REPORTING
05486a25-5d8b-435c-8f87-1a8c7c962086 2021-05-03 19:25:53.938603 [DEBUG] switch_core_state_machine.c:174 sofia/external/{MY_CELL}@{GATEWAY_IP} Standard REPORTING, cause: CALL_REJECTED
05486a25-5d8b-435c-8f87-1a8c7c962086 2021-05-03 19:25:53.938603 [DEBUG] switch_core_state_machine.c:936 (sofia/external/{MY_CELL}@{GATEWAY_IP}) State REPORTING going to sleep
05486a25-5d8b-435c-8f87-1a8c7c962086 2021-05-03 19:25:53.938603 [DEBUG] switch_core_state_machine.c:611 (sofia/external/{MY_CELL}@{GATEWAY_IP}) State Change CS_REPORTING -> CS_DESTROY
05486a25-5d8b-435c-8f87-1a8c7c962086 2021-05-03 19:25:53.938603 [DEBUG] switch_core_session.c:1736 Session 6 (sofia/external/{MY_CELL}@{GATEWAY_IP}) Locked, Waiting on external entities
05486a25-5d8b-435c-8f87-1a8c7c962086 2021-05-03 19:25:53.938603 [NOTICE] switch_core_session.c:1754 Session 6 (sofia/external/{MY_CELL}@{GATEWAY_IP}) Ended
05486a25-5d8b-435c-8f87-1a8c7c962086 2021-05-03 19:25:53.938603 [NOTICE] switch_core_session.c:1758 Close Channel sofia/external/{MY_CELL}@{GATEWAY_IP} [CS_DESTROY]
05486a25-5d8b-435c-8f87-1a8c7c962086 2021-05-03 19:25:53.938603 [DEBUG] switch_core_state_machine.c:739 (sofia/external/{MY_CELL}@{GATEWAY_IP}) Running State Change CS_DESTROY (Cur 0 Tot 6)
05486a25-5d8b-435c-8f87-1a8c7c962086 2021-05-03 19:25:53.938603 [DEBUG] switch_core_state_machine.c:749 (sofia/external/{MY_CELL}@{GATEWAY_IP}) State DESTROY
05486a25-5d8b-435c-8f87-1a8c7c962086 2021-05-03 19:25:53.938603 [DEBUG] mod_sofia.c:364 sofia/external/{MY_CELL}@{GATEWAY_IP} SOFIA DESTROY
05486a25-5d8b-435c-8f87-1a8c7c962086 2021-05-03 19:25:53.938603 [DEBUG] switch_core_state_machine.c:181 sofia/external/{MY_CELL}@{GATEWAY_IP} Standard DESTROY
05486a25-5d8b-435c-8f87-1a8c7c962086 2021-05-03 19:25:53.938603 [DEBUG] switch_core_state_machine.c:749 (sofia/external/{MY_CELL}@{GATEWAY_IP}) State DESTROY going to sleep
 

jeffa1792

New Member
May 3, 2021
6
0
1
52
Thank you! Strange that I added my carrier to the "domain" ACL in order to register the gateway successfully. I had to use the CIDR /32 to make both inbound calling and registration work.
 
Status
Not open for further replies.