I just configured my FusionPBX box with Sipgate as the gateway. However, it seems that I am unable to receive any calls. The gateway registers correctly
In the sample below:
Sipgate DDID: 0044771234567
Sipgate username: 14ABCDEFG
When I try to call my DDID from my mobile the call just disconnects.
Any suggestions on how to troubleshoot?
Sipgate is using 217.10.79.23 for signalling so I entered 217.10.79.23/32 CIDR to the access control list.
https://basichelp.sipgate.co.uk/hc/en-gb/articles/204238021-Security-Settings-sipgate-IP-Port-Ranges
fs_cli debug (output)
2020-05-28 20:36:12.384298 [NOTICE] switch_channel.c:1118 New Channel sofia/external/0044771234567@sipgate.co.uk [7bb9ba46-ca81-4af2-9375-c2d6d21af240]
2020-05-28 20:36:12.384298 [DEBUG] switch_core_state_machine.c:585 (sofia/external/0044771234567@sipgate.co.uk) Running State Change CS_NEW (Cur 1 Tot 3)
2020-05-28 20:36:12.384298 [DEBUG] sofia.c:10279 sofia/external/0044771234567@sipgate.co.uk receiving invite from 217.10.79.23:5060 version: 1.10.3 -release-15-129de34d84 64bit
2020-05-28 20:36:12.384298 [DEBUG] sofia.c:10373 verifying acl "domains" for ip/port 217.10.79.23:0.
2020-05-28 20:36:12.384298 [DEBUG] sofia.c:2434 detaching session 7bb9ba46-ca81-4af2-9375-c2d6d21af240
2020-05-28 20:36:12.384298 [DEBUG] switch_core_state_machine.c:604 (sofia/external/0044771234567@sipgate.co.uk) State NEW
2020-05-28 20:36:12.404291 [DEBUG] sofia.c:2544 Re-attaching to session 7bb9ba46-ca81-4af2-9375-c2d6d21af240
2020-05-28 20:36:12.424299 [DEBUG] sofia.c:10279 sofia/external/0044771234567@sipgate.co.uk receiving invite from 217.10.79.23:5060 version: 1.10.3 -release-15-129de34d84 64bit
2020-05-28 20:36:12.424299 [DEBUG] sofia.c:10373 verifying acl "domains" for ip/port 217.10.79.23:0.
2020-05-28 20:36:12.424299 [DEBUG] sofia.c:2434 detaching session 7bb9ba46-ca81-4af2-9375-c2d6d21af240
2020-05-28 20:36:22.484283 [WARNING] switch_core_state_machine.c:688 7bb9ba46-ca81-4af2-9375-c2d6d21af240 sofia/external/0044771234567@sipgate.co.uk Abandoned
2020-05-28 20:36:22.484283 [NOTICE] switch_core_state_machine.c:691 Hangup sofia/external/0044771234567@sipgate.co.uk [CS_NEW] [WRONG_CALL_STATE]
2020-05-28 20:36:22.484283 [DEBUG] switch_core_state_machine.c:585 (sofia/external/0044771234567@sipgate.co.uk) Running State Change CS_HANGUP (Cur 1 Tot 3)
2020-05-28 20:36:22.484283 [DEBUG] switch_core_state_machine.c:848 (sofia/external/0044771234567@sipgate.co.uk) Callstate Change DOWN -> HANGUP
2020-05-28 20:36:22.484283 [DEBUG] switch_core_state_machine.c:850 (sofia/external/0044771234567@sipgate.co.uk) State HANGUP
2020-05-28 20:36:22.484283 [DEBUG] mod_sofia.c:453 Channel sofia/external/0044771234567@sipgate.co.uk hanging up, cause: WRONG_CALL_STATE
2020-05-28 20:36:22.484283 [DEBUG] switch_core_state_machine.c:60 sofia/external/0044771234567@sipgate.co.uk Standard HANGUP, cause: WRONG_CALL_STATE
2020-05-28 20:36:22.484283 [DEBUG] switch_core_state_machine.c:850 (sofia/external/0044771234567@sipgate.co.uk) State HANGUP going to sleep
2020-05-28 20:36:22.484283 [DEBUG] switch_core_state_machine.c:620 (sofia/external/0044771234567@sipgate.co.uk) State Change CS_HANGUP -> CS_REPORTING
2020-05-28 20:36:22.484283 [DEBUG] switch_core_state_machine.c:585 (sofia/external/0044771234567@sipgate.co.uk) Running State Change CS_REPORTING (Cur 1 Tot 3)
2020-05-28 20:36:22.484283 [DEBUG] switch_core_state_machine.c:936 (sofia/external/0044771234567@sipgate.co.uk) State REPORTING
2020-05-28 20:36:22.484283 [DEBUG] switch_core_state_machine.c:174 sofia/external/0044771234567@sipgate.co.uk Standard REPORTING, cause: WRONG_CALL_STATE
2020-05-28 20:36:22.484283 [DEBUG] switch_core_state_machine.c:936 (sofia/external/0044771234567@sipgate.co.uk) State REPORTING going to sleep
2020-05-28 20:36:22.484283 [DEBUG] switch_core_state_machine.c:611 (sofia/external/0044771234567@sipgate.co.uk) State Change CS_REPORTING -> CS_DESTROY
2020-05-28 20:36:22.484283 [DEBUG] switch_core_session.c:1726 Session 3 (sofia/external/0044771234567@sipgate.co.uk) Locked, Waiting on external entities
2020-05-28 20:36:22.484283 [NOTICE] switch_core_session.c:1744 Session 3 (sofia/external/0044771234567@sipgate.co.uk) Ended
2020-05-28 20:36:22.484283 [NOTICE] switch_core_session.c:1748 Close Channel sofia/external/0044771234567@sipgate.co.uk [CS_DESTROY]
2020-05-28 20:36:22.484283 [DEBUG] switch_core_state_machine.c:739 (sofia/external/0044771234567@sipgate.co.uk) Running State Change CS_DESTROY (Cur 0 Tot 3)
2020-05-28 20:36:22.484283 [DEBUG] switch_core_state_machine.c:749 (sofia/external/0044771234567@sipgate.co.uk) State DESTROY
2020-05-28 20:36:22.484283 [DEBUG] mod_sofia.c:364 sofia/external/0044771234567@sipgate.co.uk SOFIA DESTROY
2020-05-28 20:36:22.484283 [DEBUG] switch_core_state_machine.c:181 sofia/external/0044771234567@sipgate.co.uk Standard DESTROY
2020-05-28 20:36:22.484283 [DEBUG] switch_core_state_machine.c:749 (sofia/external/0044771234567@sipgate.co.uk) State DESTROY going to sleep
sngrep
Current Mode: Online [any] Dialogs: 4
Match Expression: BPF Filter:
Display Filter:
^Idx Method SIP From SIP To Msgs Source Destination Call State
[ ] 1 INVITE 0044771234567@sipgate.co. 00442071234567@sipgate.co 1410 217.10.79.23:5060 185.XXX.XXX.6:25080 REJECTED
[ ] 2 INVITE 0044771234567@sipgate.co. 00442071234567@sipgate.co 6 217.10.79.23:5060 185.XXX.XXX.6:25080 REJECTED
[ ] 3 REGISTER 14ABCDEFG@sipgate.co.uk 14ABCDEFG@sipgate.co.uk 2 185.XXX.XXX.6:25080 217.10.79.23:5060
In the sample below:
Sipgate DDID: 0044771234567
Sipgate username: 14ABCDEFG
When I try to call my DDID from my mobile the call just disconnects.
Any suggestions on how to troubleshoot?
Sipgate is using 217.10.79.23 for signalling so I entered 217.10.79.23/32 CIDR to the access control list.
https://basichelp.sipgate.co.uk/hc/en-gb/articles/204238021-Security-Settings-sipgate-IP-Port-Ranges
fs_cli debug (output)
2020-05-28 20:36:12.384298 [NOTICE] switch_channel.c:1118 New Channel sofia/external/0044771234567@sipgate.co.uk [7bb9ba46-ca81-4af2-9375-c2d6d21af240]
2020-05-28 20:36:12.384298 [DEBUG] switch_core_state_machine.c:585 (sofia/external/0044771234567@sipgate.co.uk) Running State Change CS_NEW (Cur 1 Tot 3)
2020-05-28 20:36:12.384298 [DEBUG] sofia.c:10279 sofia/external/0044771234567@sipgate.co.uk receiving invite from 217.10.79.23:5060 version: 1.10.3 -release-15-129de34d84 64bit
2020-05-28 20:36:12.384298 [DEBUG] sofia.c:10373 verifying acl "domains" for ip/port 217.10.79.23:0.
2020-05-28 20:36:12.384298 [DEBUG] sofia.c:2434 detaching session 7bb9ba46-ca81-4af2-9375-c2d6d21af240
2020-05-28 20:36:12.384298 [DEBUG] switch_core_state_machine.c:604 (sofia/external/0044771234567@sipgate.co.uk) State NEW
2020-05-28 20:36:12.404291 [DEBUG] sofia.c:2544 Re-attaching to session 7bb9ba46-ca81-4af2-9375-c2d6d21af240
2020-05-28 20:36:12.424299 [DEBUG] sofia.c:10279 sofia/external/0044771234567@sipgate.co.uk receiving invite from 217.10.79.23:5060 version: 1.10.3 -release-15-129de34d84 64bit
2020-05-28 20:36:12.424299 [DEBUG] sofia.c:10373 verifying acl "domains" for ip/port 217.10.79.23:0.
2020-05-28 20:36:12.424299 [DEBUG] sofia.c:2434 detaching session 7bb9ba46-ca81-4af2-9375-c2d6d21af240
2020-05-28 20:36:22.484283 [WARNING] switch_core_state_machine.c:688 7bb9ba46-ca81-4af2-9375-c2d6d21af240 sofia/external/0044771234567@sipgate.co.uk Abandoned
2020-05-28 20:36:22.484283 [NOTICE] switch_core_state_machine.c:691 Hangup sofia/external/0044771234567@sipgate.co.uk [CS_NEW] [WRONG_CALL_STATE]
2020-05-28 20:36:22.484283 [DEBUG] switch_core_state_machine.c:585 (sofia/external/0044771234567@sipgate.co.uk) Running State Change CS_HANGUP (Cur 1 Tot 3)
2020-05-28 20:36:22.484283 [DEBUG] switch_core_state_machine.c:848 (sofia/external/0044771234567@sipgate.co.uk) Callstate Change DOWN -> HANGUP
2020-05-28 20:36:22.484283 [DEBUG] switch_core_state_machine.c:850 (sofia/external/0044771234567@sipgate.co.uk) State HANGUP
2020-05-28 20:36:22.484283 [DEBUG] mod_sofia.c:453 Channel sofia/external/0044771234567@sipgate.co.uk hanging up, cause: WRONG_CALL_STATE
2020-05-28 20:36:22.484283 [DEBUG] switch_core_state_machine.c:60 sofia/external/0044771234567@sipgate.co.uk Standard HANGUP, cause: WRONG_CALL_STATE
2020-05-28 20:36:22.484283 [DEBUG] switch_core_state_machine.c:850 (sofia/external/0044771234567@sipgate.co.uk) State HANGUP going to sleep
2020-05-28 20:36:22.484283 [DEBUG] switch_core_state_machine.c:620 (sofia/external/0044771234567@sipgate.co.uk) State Change CS_HANGUP -> CS_REPORTING
2020-05-28 20:36:22.484283 [DEBUG] switch_core_state_machine.c:585 (sofia/external/0044771234567@sipgate.co.uk) Running State Change CS_REPORTING (Cur 1 Tot 3)
2020-05-28 20:36:22.484283 [DEBUG] switch_core_state_machine.c:936 (sofia/external/0044771234567@sipgate.co.uk) State REPORTING
2020-05-28 20:36:22.484283 [DEBUG] switch_core_state_machine.c:174 sofia/external/0044771234567@sipgate.co.uk Standard REPORTING, cause: WRONG_CALL_STATE
2020-05-28 20:36:22.484283 [DEBUG] switch_core_state_machine.c:936 (sofia/external/0044771234567@sipgate.co.uk) State REPORTING going to sleep
2020-05-28 20:36:22.484283 [DEBUG] switch_core_state_machine.c:611 (sofia/external/0044771234567@sipgate.co.uk) State Change CS_REPORTING -> CS_DESTROY
2020-05-28 20:36:22.484283 [DEBUG] switch_core_session.c:1726 Session 3 (sofia/external/0044771234567@sipgate.co.uk) Locked, Waiting on external entities
2020-05-28 20:36:22.484283 [NOTICE] switch_core_session.c:1744 Session 3 (sofia/external/0044771234567@sipgate.co.uk) Ended
2020-05-28 20:36:22.484283 [NOTICE] switch_core_session.c:1748 Close Channel sofia/external/0044771234567@sipgate.co.uk [CS_DESTROY]
2020-05-28 20:36:22.484283 [DEBUG] switch_core_state_machine.c:739 (sofia/external/0044771234567@sipgate.co.uk) Running State Change CS_DESTROY (Cur 0 Tot 3)
2020-05-28 20:36:22.484283 [DEBUG] switch_core_state_machine.c:749 (sofia/external/0044771234567@sipgate.co.uk) State DESTROY
2020-05-28 20:36:22.484283 [DEBUG] mod_sofia.c:364 sofia/external/0044771234567@sipgate.co.uk SOFIA DESTROY
2020-05-28 20:36:22.484283 [DEBUG] switch_core_state_machine.c:181 sofia/external/0044771234567@sipgate.co.uk Standard DESTROY
2020-05-28 20:36:22.484283 [DEBUG] switch_core_state_machine.c:749 (sofia/external/0044771234567@sipgate.co.uk) State DESTROY going to sleep
sngrep
Current Mode: Online [any] Dialogs: 4
Match Expression: BPF Filter:
Display Filter:
^Idx Method SIP From SIP To Msgs Source Destination Call State
[ ] 1 INVITE 0044771234567@sipgate.co. 00442071234567@sipgate.co 1410 217.10.79.23:5060 185.XXX.XXX.6:25080 REJECTED
[ ] 2 INVITE 0044771234567@sipgate.co. 00442071234567@sipgate.co 6 217.10.79.23:5060 185.XXX.XXX.6:25080 REJECTED
[ ] 3 REGISTER 14ABCDEFG@sipgate.co.uk 14ABCDEFG@sipgate.co.uk 2 185.XXX.XXX.6:25080 217.10.79.23:5060