Version: 4.4.1
I connect the fusionpbx to the gateway via ip, test incoming and outgoing calls. Can now call normally, but cannot call in.
How should i do?
This are CLI log:
===================================================================================
2018-06-25 22:38:05.881071 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/13574109204@192.168.1.158:5060 [f0b36b02-0c2f-473b-ba0e-0bfe92b6153c]
2018-06-25 22:38:05.881071 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/13574109204@192.168.1.158:5060) Running State Change CS_NEW (Cur 1 Tot 2)
2018-06-25 22:38:05.881071 [DEBUG] sofia.c:9873 sofia/internal/13574109204@192.168.1.158:5060 receiving invite from 192.168.1.220:5060 version: 1.6.20 -37-987c9b9 64bit
2018-06-25 22:38:05.881071 [DEBUG] sofia.c:10044 IP 192.168.1.220 Rejected by acl "domains". Falling back to Digest auth.
2018-06-25 22:38:05.881071 [WARNING] sofia_reg.c:1792 SIP auth challenge (INVITE) on sofia profile 'internal' for [89700910@192.168.1.158] from ip 192.168.1.220
2018-06-25 22:38:05.881071 [DEBUG] switch_core_state_machine.c:603 (sofia/internal/13574109204@192.168.1.158:5060) State NEW
2018-06-25 22:38:05.881071 [DEBUG] sofia.c:2334 detaching session f0b36b02-0c2f-473b-ba0e-0bfe92b6153c
2018-06-25 22:38:05.921016 [DEBUG] sofia.c:2442 Re-attaching to session f0b36b02-0c2f-473b-ba0e-0bfe92b6153c
2018-06-25 22:38:05.921016 [DEBUG] sofia.c:9873 sofia/internal/13574109204@192.168.1.158:5060 receiving invite from 192.168.1.220:5060 version: 1.6.20 -37-987c9b9 64bit
2018-06-25 22:38:05.921016 [DEBUG] sofia.c:10044 IP 192.168.1.220 Rejected by acl "domains". Falling back to Digest auth.
2018-06-25 22:38:05.941023 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f17a8092690 Connected.
2018-06-25 22:38:05.941023 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f17a8092690 released.
2018-06-25 22:38:05.941023 [WARNING] sofia_reg.c:2906 Can't find user [@192.168.1.158] from 192.168.1.220
You must define a domain called '192.168.1.158' in your directory and add a user with the id="" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2018-06-25 22:38:05.941023 [WARNING] sofia_reg.c:1737 SIP auth failure (INVITE) on sofia profile 'internal' for [89700910@192.168.1.158] from ip 192.168.1.220
2018-06-25 22:38:05.941023 [NOTICE] sofia.c:2332 Hangup sofia/internal/13574109204@192.168.1.158:5060 [CS_NEW] [CALL_REJECTED]
2018-06-25 22:38:05.961027 [DEBUG] sofia.c:1453 Channel is already hungup.
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/13574109204@192.168.1.158:5060) Running State Change CS_HANGUP (Cur 1 Tot 2)
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/13574109204@192.168.1.158:5060) Callstate Change DOWN -> HANGUP
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/13574109204@192.168.1.158:5060) State HANGUP
2018-06-25 22:38:05.961027 [DEBUG] mod_sofia.c:438 Channel sofia/internal/13574109204@192.168.1.158:5060 hanging up, cause: CALL_REJECTED
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:60 sofia/internal/13574109204@192.168.1.158:5060 Standard HANGUP, cause: CALL_REJECTED
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/13574109204@192.168.1.158:5060) State HANGUP going to sleep
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:619 (sofia/internal/13574109204@192.168.1.158:5060) State Change CS_HANGUP -> CS_REPORTING
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/13574109204@192.168.1.158:5060) Running State Change CS_REPORTING (Cur 1 Tot 2)
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/13574109204@192.168.1.158:5060) State REPORTING
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:174 sofia/internal/13574109204@192.168.1.158:5060 Standard REPORTING, cause: CALL_REJECTED
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/13574109204@192.168.1.158:5060) State REPORTING going to sleep
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:610 (sofia/internal/13574109204@192.168.1.158:5060) State Change CS_REPORTING -> CS_DESTROY
2018-06-25 22:38:05.961027 [DEBUG] switch_core_session.c:1665 Session 2 (sofia/internal/13574109204@192.168.1.158:5060) Locked, Waiting on external entities
2018-06-25 22:38:05.961027 [NOTICE] switch_core_session.c:1683 Session 2 (sofia/internal/13574109204@192.168.1.158:5060) Ended
2018-06-25 22:38:05.961027 [NOTICE] switch_core_session.c:1687 Close Channel sofia/internal/13574109204@192.168.1.158:5060 [CS_DESTROY]
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/13574109204@192.168.1.158:5060) Running State Change CS_DESTROY (Cur 0 Tot 2)
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/13574109204@192.168.1.158:5060) State DESTROY
2018-06-25 22:38:05.961027 [DEBUG] mod_sofia.c:343 sofia/internal/13574109204@192.168.1.158:5060 SOFIA DESTROY
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:181 sofia/internal/13574109204@192.168.1.158:5060 Standard DESTROY
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/13574109204@192.168.1.158:5060) State DESTROY going to sleep
===================================================================================
I connect the fusionpbx to the gateway via ip, test incoming and outgoing calls. Can now call normally, but cannot call in.
How should i do?
This are CLI log:
===================================================================================
2018-06-25 22:38:05.881071 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/13574109204@192.168.1.158:5060 [f0b36b02-0c2f-473b-ba0e-0bfe92b6153c]
2018-06-25 22:38:05.881071 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/13574109204@192.168.1.158:5060) Running State Change CS_NEW (Cur 1 Tot 2)
2018-06-25 22:38:05.881071 [DEBUG] sofia.c:9873 sofia/internal/13574109204@192.168.1.158:5060 receiving invite from 192.168.1.220:5060 version: 1.6.20 -37-987c9b9 64bit
2018-06-25 22:38:05.881071 [DEBUG] sofia.c:10044 IP 192.168.1.220 Rejected by acl "domains". Falling back to Digest auth.
2018-06-25 22:38:05.881071 [WARNING] sofia_reg.c:1792 SIP auth challenge (INVITE) on sofia profile 'internal' for [89700910@192.168.1.158] from ip 192.168.1.220
2018-06-25 22:38:05.881071 [DEBUG] switch_core_state_machine.c:603 (sofia/internal/13574109204@192.168.1.158:5060) State NEW
2018-06-25 22:38:05.881071 [DEBUG] sofia.c:2334 detaching session f0b36b02-0c2f-473b-ba0e-0bfe92b6153c
2018-06-25 22:38:05.921016 [DEBUG] sofia.c:2442 Re-attaching to session f0b36b02-0c2f-473b-ba0e-0bfe92b6153c
2018-06-25 22:38:05.921016 [DEBUG] sofia.c:9873 sofia/internal/13574109204@192.168.1.158:5060 receiving invite from 192.168.1.220:5060 version: 1.6.20 -37-987c9b9 64bit
2018-06-25 22:38:05.921016 [DEBUG] sofia.c:10044 IP 192.168.1.220 Rejected by acl "domains". Falling back to Digest auth.
2018-06-25 22:38:05.941023 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f17a8092690 Connected.
2018-06-25 22:38:05.941023 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f17a8092690 released.
2018-06-25 22:38:05.941023 [WARNING] sofia_reg.c:2906 Can't find user [@192.168.1.158] from 192.168.1.220
You must define a domain called '192.168.1.158' in your directory and add a user with the id="" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2018-06-25 22:38:05.941023 [WARNING] sofia_reg.c:1737 SIP auth failure (INVITE) on sofia profile 'internal' for [89700910@192.168.1.158] from ip 192.168.1.220
2018-06-25 22:38:05.941023 [NOTICE] sofia.c:2332 Hangup sofia/internal/13574109204@192.168.1.158:5060 [CS_NEW] [CALL_REJECTED]
2018-06-25 22:38:05.961027 [DEBUG] sofia.c:1453 Channel is already hungup.
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/13574109204@192.168.1.158:5060) Running State Change CS_HANGUP (Cur 1 Tot 2)
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/13574109204@192.168.1.158:5060) Callstate Change DOWN -> HANGUP
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/13574109204@192.168.1.158:5060) State HANGUP
2018-06-25 22:38:05.961027 [DEBUG] mod_sofia.c:438 Channel sofia/internal/13574109204@192.168.1.158:5060 hanging up, cause: CALL_REJECTED
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:60 sofia/internal/13574109204@192.168.1.158:5060 Standard HANGUP, cause: CALL_REJECTED
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/13574109204@192.168.1.158:5060) State HANGUP going to sleep
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:619 (sofia/internal/13574109204@192.168.1.158:5060) State Change CS_HANGUP -> CS_REPORTING
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/13574109204@192.168.1.158:5060) Running State Change CS_REPORTING (Cur 1 Tot 2)
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/13574109204@192.168.1.158:5060) State REPORTING
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:174 sofia/internal/13574109204@192.168.1.158:5060 Standard REPORTING, cause: CALL_REJECTED
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/13574109204@192.168.1.158:5060) State REPORTING going to sleep
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:610 (sofia/internal/13574109204@192.168.1.158:5060) State Change CS_REPORTING -> CS_DESTROY
2018-06-25 22:38:05.961027 [DEBUG] switch_core_session.c:1665 Session 2 (sofia/internal/13574109204@192.168.1.158:5060) Locked, Waiting on external entities
2018-06-25 22:38:05.961027 [NOTICE] switch_core_session.c:1683 Session 2 (sofia/internal/13574109204@192.168.1.158:5060) Ended
2018-06-25 22:38:05.961027 [NOTICE] switch_core_session.c:1687 Close Channel sofia/internal/13574109204@192.168.1.158:5060 [CS_DESTROY]
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/13574109204@192.168.1.158:5060) Running State Change CS_DESTROY (Cur 0 Tot 2)
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/13574109204@192.168.1.158:5060) State DESTROY
2018-06-25 22:38:05.961027 [DEBUG] mod_sofia.c:343 sofia/internal/13574109204@192.168.1.158:5060 SOFIA DESTROY
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:181 sofia/internal/13574109204@192.168.1.158:5060 Standard DESTROY
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/13574109204@192.168.1.158:5060) State DESTROY going to sleep
===================================================================================