Inbound Calls not Working

Status
Not open for further replies.

Hostplexus

New Member
Apr 4, 2023
3
0
1
31
Hello

I have the Problem that the Incoming Calls not working, the ACL set to the carrier IP address.

ACL: 5.148.166.196/32 (I have test 5.148.166.196/28 = https://support.phonestar.ch/help/de-de/11-richtlinien-zur-netzwerkkonfiguration/5-firewall)
I have set the pxxxxxxxx.xxxxx.phonestar.ch as Domain into ACL but the same.

Outgoing calls are ok.

The Provider Allow 2 Auth Methods, Username/Password or IPAuth, I have test with Username Passwort and IPAuth.

I have make a new install but it is the same error with Can't find user [FreeSWITCH@pxxxxxxxx.xxxxx.phonestar.ch] from 5.148.166.196.


3b4b3eaf-7a43-41a3-9636-ab4a369b15c7 2023-04-07 02:13:36.568709 95.87% [DEBUG] switch_core_state_machine.c:745 (sofia/external/0000000000@pxxxxxxxx.xxxxx.phonestar.ch) State DESTROY going to sleep
3b4b3eaf-7a43-41a3-9636-ab4a369b15c7 2023-04-07 02:13:36.568709 95.87% [DEBUG] switch_core_state_machine.c:175 sofia/external/0000000000@pxxxxxxxx.xxxxx.phonestar.ch Standard DESTROY
3b4b3eaf-7a43-41a3-9636-ab4a369b15c7 2023-04-07 02:13:36.568709 95.87% [DEBUG] mod_sofia.c:379 sofia/external/0000000000@pxxxxxxxx.xxxxx.phonestar.ch SOFIA DESTROY
3b4b3eaf-7a43-41a3-9636-ab4a369b15c7 2023-04-07 02:13:36.568709 95.87% [DEBUG] switch_core_state_machine.c:745 (sofia/external/0000000000@pxxxxxxxx.xxxxx.phonestar.ch) State DESTROY
3b4b3eaf-7a43-41a3-9636-ab4a369b15c7 2023-04-07 02:13:36.568709 95.87% [DEBUG] switch_core_state_machine.c:735 (sofia/external/0000000000@pxxxxxxxx.xxxxx.phonestar.ch) Running State Change CS_DESTROY (Cur 0 Tot 61)
3b4b3eaf-7a43-41a3-9636-ab4a369b15c7 2023-04-07 02:13:36.568709 95.87% [NOTICE] switch_core_session.c:1765 Close Channel sofia/external/0000000000@pxxxxxxxx.xxxxx.phonestar.ch [CS_DESTROY]
3b4b3eaf-7a43-41a3-9636-ab4a369b15c7 2023-04-07 02:13:36.568709 95.87% [NOTICE] switch_core_session.c:1761 Session 61 (sofia/external/0000000000@pxxxxxxxx.xxxxx.phonestar.ch) Ended
3b4b3eaf-7a43-41a3-9636-ab4a369b15c7 2023-04-07 02:13:36.568709 95.87% [DEBUG] switch_core_session.c:1743 Session 61 (sofia/external/0000000000@pxxxxxxxx.xxxxx.phonestar.ch) Locked, Waiting on external entities
3b4b3eaf-7a43-41a3-9636-ab4a369b15c7 2023-04-07 02:13:36.568709 95.87% [DEBUG] switch_core_state_machine.c:607 (sofia/external/0000000000@pxxxxxxxx.xxxxx.phonestar.ch) State Change CS_REPORTING -> CS_DESTROY
3b4b3eaf-7a43-41a3-9636-ab4a369b15c7 2023-04-07 02:13:36.568709 95.87% [DEBUG] switch_core_state_machine.c:932 (sofia/external/0000000000@pxxxxxxxx.xxxxx.phonestar.ch) State REPORTING going to sleep
3b4b3eaf-7a43-41a3-9636-ab4a369b15c7 2023-04-07 02:13:36.568709 95.87% [DEBUG] switch_core_state_machine.c:168 sofia/external/0000000000@pxxxxxxxx.xxxxx.phonestar.ch Standard REPORTING, cause: CALL_REJECTED
3b4b3eaf-7a43-41a3-9636-ab4a369b15c7 2023-04-07 02:13:36.568709 95.87% [DEBUG] switch_core_state_machine.c:932 (sofia/external/0000000000@pxxxxxxxx.xxxxx.phonestar.ch) State REPORTING
3b4b3eaf-7a43-41a3-9636-ab4a369b15c7 2023-04-07 02:13:36.568709 95.87% [DEBUG] switch_core_state_machine.c:581 (sofia/external/0000000000@pxxxxxxxx.xxxxx.phonestar.ch) Running State Change CS_REPORTING (Cur 1 Tot 61)
3b4b3eaf-7a43-41a3-9636-ab4a369b15c7 2023-04-07 02:13:36.568709 95.87% [DEBUG] switch_core_state_machine.c:616 (sofia/external/0000000000@pxxxxxxxx.xxxxx.phonestar.ch) State Change CS_HANGUP -> CS_REPORTING
3b4b3eaf-7a43-41a3-9636-ab4a369b15c7 2023-04-07 02:13:36.568709 95.87% [DEBUG] switch_core_state_machine.c:846 (sofia/external/0000000000@pxxxxxxxx.xxxxx.phonestar.ch) State HANGUP going to sleep
3b4b3eaf-7a43-41a3-9636-ab4a369b15c7 2023-04-07 02:13:36.568709 95.87% [DEBUG] switch_core_state_machine.c:59 sofia/external/0000000000@pxxxxxxxx.xxxxx.phonestar.ch Standard HANGUP, cause: CALL_REJECTED
3b4b3eaf-7a43-41a3-9636-ab4a369b15c7 2023-04-07 02:13:36.568709 95.87% [DEBUG] mod_sofia.c:468 Channel sofia/external/0000000000@pxxxxxxxx.xxxxx.phonestar.ch hanging up, cause: CALL_REJECTED
3b4b3eaf-7a43-41a3-9636-ab4a369b15c7 2023-04-07 02:13:36.568709 95.87% [DEBUG] switch_core_state_machine.c:846 (sofia/external/0000000000@pxxxxxxxx.xxxxx.phonestar.ch) State HANGUP
3b4b3eaf-7a43-41a3-9636-ab4a369b15c7 2023-04-07 02:13:36.568709 95.87% [DEBUG] switch_core_state_machine.c:844 (sofia/external/0000000000@pxxxxxxxx.xxxxx.phonestar.ch) Callstate Change DOWN -> HANGUP
3b4b3eaf-7a43-41a3-9636-ab4a369b15c7 2023-04-07 02:13:36.568709 95.87% [DEBUG] switch_core_state_machine.c:581 (sofia/external/0000000000@pxxxxxxxx.xxxxx.phonestar.ch) Running State Change CS_HANGUP (Cur 1 Tot 61)
3b4b3eaf-7a43-41a3-9636-ab4a369b15c7 2023-04-07 02:13:36.568709 95.87% [DEBUG] sofia.c:1527 Channel is already hungup.
3b4b3eaf-7a43-41a3-9636-ab4a369b15c7 2023-04-07 02:13:36.548689 95.87% [NOTICE] sofia.c:2417 Hangup sofia/external/0000000000@pxxxxxxxx.xxxxx.phonestar.ch [CS_NEW] [CALL_REJECTED]
and you must configure your device to use the proper domain in its authentication credentials.
You must define a domain called 'pxxxxxxxx.xxxxx.phonestar.ch' in your directory and add a user with the id="FreeSWITCH" attribute
2023-04-07 02:13:36.528677 95.87% [WARNING] sofia_reg.c:3211 Can't find user [FreeSWITCH@pxxxxxxxx.xxxxx.phonestar.ch] from 5.148.166.196
 

hfoster

Active Member
Jan 28, 2019
684
81
28
34
First things first, remove the domain name from the ACL. You rarely ever want that there. Only the CIDR IP Addresses of the providers SBCs for IP Authentication.

I don't think you want username authentication, that's what it looks like your trunk is doing with the username of 'FreeSWITCH' and the domain name of the carrier...

What does your Gateway configuration look like?
 

Hostplexus

New Member
Apr 4, 2023
3
0
1
31
Thank you for your answer.

The Domain in the ACL was for testing, now only the CIDR IP Adresses from my provider into the ACL.

I don't know where the FreeSwitch user name comes from, because this user is not specified either by my provider or in the gateway of the FusionPBX.

This is my configuration:
Bildschirmfoto 2023-04-09 um 00.20.42.pngBildschirmfoto 2023-04-09 um 00.21.36.pngBildschirmfoto 2023-04-09 um 00.31.21.png
 

hfoster

Active Member
Jan 28, 2019
684
81
28
34
Think you might also want:

From User: <Your Username>
From Domain: xxxxxx.phonestar.ch

I think that's why it's defaulting to 'FreeSwitch'
 

Hostplexus

New Member
Apr 4, 2023
3
0
1
31
Outgoing, it is correct that it requires a user name and password for the SIP trunk, this registration also works without problems, otherwise the calls would not even come to the PBX.

However, even if I set the gateway without registration and on the SIP trunk with the provider on IP Auth, it shows the user FreeSwitch in the log files.
 
Status
Not open for further replies.