Hi Huys,
63d52002-cf16-4e49-a9ea-c004ce115143 2021-03-19 14:35:49.730119 [DEBUG] switch_core_state_machine.c:936 (sofia/internal/90009000@18.135.164.97) State REPORTING
63d52002-cf16-4e49-a9ea-c004ce115143 2021-03-19 14:35:49.730119 [DEBUG] switch_core_state_machine.c:174 sofia/internal/90009000@18.135.164.97 Standard REPORTING, cause: WRONG_CALL_STATE
63d52002-cf16-4e49-a9ea-c004ce115143 2021-03-19 14:35:49.730119 [DEBUG] switch_core_state_machine.c:936 (sofia/internal/90009000@18.135.164.97) State REPORTING going to sleep
63d52002-cf16-4e49-a9ea-c004ce115143 2021-03-19 14:35:49.730119 [DEBUG] switch_core_state_machine.c:611 (sofia/internal/90009000@18.135.164.97) State Change CS_REPORTING -> CS_DESTROY
63d52002-cf16-4e49-a9ea-c004ce115143 2021-03-19 14:35:49.730119 [DEBUG] switch_core_session.c:1726 Session 167500 (sofia/internal/90009000@18.135.164.97) Locked, Waiting on external entities
63d52002-cf16-4e49-a9ea-c004ce115143 2021-03-19 14:35:49.730119 [NOTICE] switch_core_session.c:1744 Session 167500 (sofia/internal/90009000@18.135.164.97) Ended
63d52002-cf16-4e49-a9ea-c004ce115143 2021-03-19 14:35:49.730119 [NOTICE] switch_core_session.c:1748 Close Channel sofia/internal/90009000@18.135.164.97 [CS_DESTROY]
63d52002-cf16-4e49-a9ea-c004ce115143 2021-03-19 14:35:49.730119 [DEBUG] switch_core_state_machine.c:739 (sofia/internal/90009000@18.135.164.97) Running State Change CS_DESTROY (Cur 0 Tot 167501)
63d52002-cf16-4e49-a9ea-c004ce115143 2021-03-19 14:35:49.730119 [DEBUG] switch_core_state_machine.c:749 (sofia/internal/90009000@18.135.164.97) State DESTROY
63d52002-cf16-4e49-a9ea-c004ce115143 2021-03-19 14:35:49.730119 [DEBUG] mod_sofia.c:364 sofia/internal/90009000@18.135.164.97 SOFIA DESTROY
63d52002-cf16-4e49-a9ea-c004ce115143 2021-03-19 14:35:49.730119 [DEBUG] switch_core_state_machine.c:181 sofia/internal/90009000@18.135.164.97 Standard DESTROY
63d52002-cf16-4e49-a9ea-c004ce115143 2021-03-19 14:35:49.730119 [DEBUG] switch_core_state_machine.c:749 (sofia/internal/90009000@18.135.164.97) State DESTROY going to sleep
2021-03-19 14:35:53.810139 [DEBUG] sofia_reg.c:2458 Changing expire time to 799 by request of proxy sip:st.voicehost.co.uk
2021-03-19 14:35:57.430095 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'internal' for [248@18.135.164.97] from ip 143.244.57.72
2021-03-19 14:35:57.470096 [WARNING] sofia_reg.c:2930 Can't find user [248@18.135.164.97] from 143.244.57.72
You must define a domain called '18.135.164.97' in your directory and add a user with the id="248" attribute
and you must configure your device to use the proper domain in its authentication credentials.
2021-03-19 14:35:57.470096 [WARNING] sofia_reg.c:1739 SIP auth failure (REGISTER) on sofia profile 'internal' for [248@18.135.164.97] from ip 143.244.57.72
15a1c666-e495-4b53-a6f4-10b6b45a6cb2 2021-03-19 14:35:58.470091 [NOTICE] switch_channel.c:1118 New Channel sofia/external/53301@18.135.164.97 [15a1c666-e495-4b53-a6f4-10b6b45a6cb2]
15a1c666-e495-4b53-a6f4-10b6b45a6cb2 2021-03-19 14:35:58.470091 [DEBUG] switch_core_state_machine.c:585 (sofia/external/53301@18.135.164.97) Running State Change CS_NEW (Cur 1 Tot 167502)
15a1c666-e495-4b53-a6f4-10b6b45a6cb2 2021-03-19 14:35:58.470091 [DEBUG] sofia.c:10280 sofia/external/53301@18.135.164.97 receiving invite from 89.190.156.71:52180 version: 1.10.5 -release-17-25569c1631 64bit
2021-03-19 14:35:58.470091 [DEBUG] sofia.c:10374 verifying acl "domains" for ip/port 89.190.156.71:0.
2021-03-19 14:35:58.470091 [DEBUG] sofia.c:2434 detaching session 15a1c666-e495-4b53-a6f4-10b6b45a6cb2
15a1c666-e495-4b53-a6f4-10b6b45a6cb2 2021-03-19 14:35:58.470091 [DEBUG] switch_core_state_machine.c:604 (sofia/external/53301@18.135.164.97) State NEW
2021-03-19 14:35:58.470091 [DEBUG] sofia.c:2544 Re-attaching to session 15a1c666-e495-4b53-a6f4-10b6b45a6cb2
15a1c666-e495-4b53-a6f4-10b6b45a6cb2 2021-03-19 14:35:58.490128 [DEBUG] sofia.c:10280 sofia/external/53301@18.135.164.97 receiving invite from 89.190.156.71:52180 version: 1.10.5 -release-17-25569c1631 64bit
2021-03-19 14:35:58.490128 [DEBUG] sofia.c:10374 verifying acl "domains" for ip/port 89.190.156.71:0.
2021-03-19 14:35:58.490128 [WARNING] sofia_reg.c:2930 Can't find user [53301@18.135.164.97] from 89.190.156.71
My external SIP Profile port is 5080, this is the provider log, their port is 5060, will this effect things baring in mind i can dial out, further I tried changing to port 5060 and the profile would not start. I would like to add that my provider says they are receiving a Proxy Authentication Required rejection from the PBX, I see the field Proxy mandatory when setting up the gateway?
- I have setup a SIP Trunk which works for outbound, however inbound is being rejected.
- I have added the providers IPs in the ACL. (see attached image) note I do not have a section called Nodes under ACL
- The username for the SIP trunk is alphanumeric.
- I tried changing the Domain Details (under default settings) "Type" from "boolean" to "sip_to_user" found in successful outbound calls.
- This is my event log.
63d52002-cf16-4e49-a9ea-c004ce115143 2021-03-19 14:35:49.730119 [DEBUG] switch_core_state_machine.c:936 (sofia/internal/90009000@18.135.164.97) State REPORTING
63d52002-cf16-4e49-a9ea-c004ce115143 2021-03-19 14:35:49.730119 [DEBUG] switch_core_state_machine.c:174 sofia/internal/90009000@18.135.164.97 Standard REPORTING, cause: WRONG_CALL_STATE
63d52002-cf16-4e49-a9ea-c004ce115143 2021-03-19 14:35:49.730119 [DEBUG] switch_core_state_machine.c:936 (sofia/internal/90009000@18.135.164.97) State REPORTING going to sleep
63d52002-cf16-4e49-a9ea-c004ce115143 2021-03-19 14:35:49.730119 [DEBUG] switch_core_state_machine.c:611 (sofia/internal/90009000@18.135.164.97) State Change CS_REPORTING -> CS_DESTROY
63d52002-cf16-4e49-a9ea-c004ce115143 2021-03-19 14:35:49.730119 [DEBUG] switch_core_session.c:1726 Session 167500 (sofia/internal/90009000@18.135.164.97) Locked, Waiting on external entities
63d52002-cf16-4e49-a9ea-c004ce115143 2021-03-19 14:35:49.730119 [NOTICE] switch_core_session.c:1744 Session 167500 (sofia/internal/90009000@18.135.164.97) Ended
63d52002-cf16-4e49-a9ea-c004ce115143 2021-03-19 14:35:49.730119 [NOTICE] switch_core_session.c:1748 Close Channel sofia/internal/90009000@18.135.164.97 [CS_DESTROY]
63d52002-cf16-4e49-a9ea-c004ce115143 2021-03-19 14:35:49.730119 [DEBUG] switch_core_state_machine.c:739 (sofia/internal/90009000@18.135.164.97) Running State Change CS_DESTROY (Cur 0 Tot 167501)
63d52002-cf16-4e49-a9ea-c004ce115143 2021-03-19 14:35:49.730119 [DEBUG] switch_core_state_machine.c:749 (sofia/internal/90009000@18.135.164.97) State DESTROY
63d52002-cf16-4e49-a9ea-c004ce115143 2021-03-19 14:35:49.730119 [DEBUG] mod_sofia.c:364 sofia/internal/90009000@18.135.164.97 SOFIA DESTROY
63d52002-cf16-4e49-a9ea-c004ce115143 2021-03-19 14:35:49.730119 [DEBUG] switch_core_state_machine.c:181 sofia/internal/90009000@18.135.164.97 Standard DESTROY
63d52002-cf16-4e49-a9ea-c004ce115143 2021-03-19 14:35:49.730119 [DEBUG] switch_core_state_machine.c:749 (sofia/internal/90009000@18.135.164.97) State DESTROY going to sleep
2021-03-19 14:35:53.810139 [DEBUG] sofia_reg.c:2458 Changing expire time to 799 by request of proxy sip:st.voicehost.co.uk
2021-03-19 14:35:57.430095 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'internal' for [248@18.135.164.97] from ip 143.244.57.72
2021-03-19 14:35:57.470096 [WARNING] sofia_reg.c:2930 Can't find user [248@18.135.164.97] from 143.244.57.72
You must define a domain called '18.135.164.97' in your directory and add a user with the id="248" attribute
and you must configure your device to use the proper domain in its authentication credentials.
2021-03-19 14:35:57.470096 [WARNING] sofia_reg.c:1739 SIP auth failure (REGISTER) on sofia profile 'internal' for [248@18.135.164.97] from ip 143.244.57.72
15a1c666-e495-4b53-a6f4-10b6b45a6cb2 2021-03-19 14:35:58.470091 [NOTICE] switch_channel.c:1118 New Channel sofia/external/53301@18.135.164.97 [15a1c666-e495-4b53-a6f4-10b6b45a6cb2]
15a1c666-e495-4b53-a6f4-10b6b45a6cb2 2021-03-19 14:35:58.470091 [DEBUG] switch_core_state_machine.c:585 (sofia/external/53301@18.135.164.97) Running State Change CS_NEW (Cur 1 Tot 167502)
15a1c666-e495-4b53-a6f4-10b6b45a6cb2 2021-03-19 14:35:58.470091 [DEBUG] sofia.c:10280 sofia/external/53301@18.135.164.97 receiving invite from 89.190.156.71:52180 version: 1.10.5 -release-17-25569c1631 64bit
2021-03-19 14:35:58.470091 [DEBUG] sofia.c:10374 verifying acl "domains" for ip/port 89.190.156.71:0.
2021-03-19 14:35:58.470091 [DEBUG] sofia.c:2434 detaching session 15a1c666-e495-4b53-a6f4-10b6b45a6cb2
15a1c666-e495-4b53-a6f4-10b6b45a6cb2 2021-03-19 14:35:58.470091 [DEBUG] switch_core_state_machine.c:604 (sofia/external/53301@18.135.164.97) State NEW
2021-03-19 14:35:58.470091 [DEBUG] sofia.c:2544 Re-attaching to session 15a1c666-e495-4b53-a6f4-10b6b45a6cb2
15a1c666-e495-4b53-a6f4-10b6b45a6cb2 2021-03-19 14:35:58.490128 [DEBUG] sofia.c:10280 sofia/external/53301@18.135.164.97 receiving invite from 89.190.156.71:52180 version: 1.10.5 -release-17-25569c1631 64bit
2021-03-19 14:35:58.490128 [DEBUG] sofia.c:10374 verifying acl "domains" for ip/port 89.190.156.71:0.
2021-03-19 14:35:58.490128 [WARNING] sofia_reg.c:2930 Can't find user [53301@18.135.164.97] from 89.190.156.71
My external SIP Profile port is 5080, this is the provider log, their port is 5060, will this effect things baring in mind i can dial out, further I tried changing to port 5060 and the profile would not start. I would like to add that my provider says they are receiving a Proxy Authentication Required rejection from the PBX, I see the field Proxy mandatory when setting up the gateway?
Last edited: