INBOUND CALL NOT SUCCESSFUL

Status
Not open for further replies.

dgxa

Member
May 19, 2021
38
2
8
33
Lima, Peru
Hello I am new here and I installed a fusionpbx recently and I have problems with the inbound call. The call arrive to the server and I have a proxy rejection.

Someone can help to advance with it. I will be very grateful.

When I make the call I receive this information through FS CLi and 407 Proxy authentication required

2021-05-25 10:52:08.112326 [NOTICE] switch_channel.c:1118 New Channel sofia/external/51983202698@52.201.6.149 [f1807f5c-ae57-4272-bb0f-fa5280983385]
2021-05-25 10:52:08.112326 [DEBUG] switch_core_state_machine.c:585 (sofia/external/51983202698@52.201.6.149) Running State Change CS_NEW (Cur 1 Tot 3)
2021-05-25 10:52:08.112326 [INFO] sofia.c:10362 sofia/external/51983202698@52.201.6.149 receiving invite from 52.201.6.149:5060 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: 759c3d3e70cbd7723f6f9b744cfc8404@52.201.6.149:5060
2021-05-25 10:52:08.112326 [DEBUG] sofia.c:10456 verifying acl "domains" for ip/port 52.201.6.149:0.
2021-05-25 10:52:08.112326 [DEBUG] sofia.c:2447 detaching session f1807f5c-ae57-4272-bb0f-fa5280983385
2021-05-25 10:52:08.112326 [DEBUG] switch_core_state_machine.c:604 (sofia/external/51983202698@52.201.6.149) State NEW
2021-05-25 10:52:18.172318 [WARNING] switch_core_state_machine.c:688 f1807f5c-ae57-4272-bb0f-fa5280983385 sofia/external/51983202698@52.201.6.149 Abandoned
2021-05-25 10:52:18.172318 [NOTICE] switch_core_state_machine.c:691 Hangup sofia/external/51983202698@52.201.6.149 [CS_NEW] [WRONG_CALL_STATE]
2021-05-25 10:52:18.172318 [DEBUG] switch_core_state_machine.c:585 (sofia/external/51983202698@52.201.6.149) Running State Change CS_HANGUP (Cur 1 Tot 3)
2021-05-25 10:52:18.172318 [DEBUG] switch_core_state_machine.c:848 (sofia/external/51983202698@52.201.6.149) Callstate Change DOWN -> HANGUP
2021-05-25 10:52:18.172318 [DEBUG] switch_core_state_machine.c:850 (sofia/external/51983202698@52.201.6.149) State HANGUP
2021-05-25 10:52:18.172318 [DEBUG] mod_sofia.c:453 Channel sofia/external/51983202698@52.201.6.149 hanging up, cause: WRONG_CALL_STATE
2021-05-25 10:52:18.172318 [DEBUG] switch_core_state_machine.c:60 sofia/external/51983202698@52.201.6.149 Standard HANGUP, cause: WRONG_CALL_STATE
2021-05-25 10:52:18.172318 [DEBUG] switch_core_state_machine.c:850 (sofia/external/51983202698@52.201.6.149) State HANGUP going to sleep
2021-05-25 10:52:18.172318 [DEBUG] switch_core_state_machine.c:620 (sofia/external/51983202698@52.201.6.149) State Change CS_HANGUP -> CS_REPORTING
2021-05-25 10:52:18.172318 [DEBUG] switch_core_state_machine.c:585 (sofia/external/51983202698@52.201.6.149) Running State Change CS_REPORTING (Cur 1 Tot 3)
2021-05-25 10:52:18.172318 [DEBUG] switch_core_state_machine.c:936 (sofia/external/51983202698@52.201.6.149) State REPORTING
2021-05-25 10:52:18.172318 [DEBUG] switch_core_state_machine.c:174 sofia/external/51983202698@52.201.6.149 Standard REPORTING, cause: WRONG_CALL_STATE
2021-05-25 10:52:18.172318 [DEBUG] switch_core_state_machine.c:936 (sofia/external/51983202698@52.201.6.149) State REPORTING going to sleep
2021-05-25 10:52:18.172318 [DEBUG] switch_core_state_machine.c:611 (sofia/external/51983202698@52.201.6.149) State Change CS_REPORTING -> CS_DESTROY
2021-05-25 10:52:18.172318 [DEBUG] switch_core_session.c:1736 Session 3 (sofia/external/51983202698@52.201.6.149) Locked, Waiting on external entities
2021-05-25 10:52:18.172318 [NOTICE] switch_core_session.c:1754 Session 3 (sofia/external/51983202698@52.201.6.149) Ended
2021-05-25 10:52:18.172318 [NOTICE] switch_core_session.c:1758 Close Channel sofia/external/51983202698@52.201.6.149 [CS_DESTROY]
2021-05-25 10:52:18.172318 [DEBUG] switch_core_state_machine.c:739 (sofia/external/51983202698@52.201.6.149) Running State Change CS_DESTROY (Cur 0 Tot 3)
2021-05-25 10:52:18.172318 [DEBUG] switch_core_state_machine.c:749 (sofia/external/51983202698@52.201.6.149) State DESTROY
2021-05-25 10:52:18.172318 [DEBUG] mod_sofia.c:364 sofia/external/51983202698@52.201.6.149 SOFIA DESTROY
2021-05-25 10:52:18.172318 [DEBUG] switch_core_state_machine.c:181 sofia/external/51983202698@52.201.6.149 Standard DESTROY
2021-05-25 10:52:18.172318 [DEBUG] switch_core_state_machine.c:749 (sofia/external/51983202698@52.201.6.149) State DESTROY going to sleep


Registration made by ip

sofia status profile external
=================================================================================================
Name external
Domain Name N/A
Auto-NAT false
DBName sofia_reg_external
Pres Hosts
Dialplan XML
Context public
Challenge Realm auto_to
RTP-IP my_private_ip
Ext-RTP-IP my_public_ip
SIP-IP sofia status profile external
Ext-SIP-IP my_public_ip
URL sip:mod_sofia@my_public_ip:5060
BIND-URL sip:mod_sofia@my_public_ip:5060;maddr=sofia status profile external;transport=udp,tcp
HOLD-MUSIC local_stream://default
OUTBOUND-PROXY N/A
CODECS IN G7221@32000h,G7221@16000h,G722,PCMU,PCMA
CODECS OUT PCMU,PCMA
TEL-EVENT 101
DTMF-MODE rfc2833
CNG 0
SESSION-TO 0
MAX-DIALOG 0
NOMEDIA false
LATE-NEG false
PROXY-MEDIA false
ZRTP-PASSTHRU false
AGGRESSIVENAT false
CALLS-IN 1
FAILED-CALLS-IN 1
CALLS-OUT 0
FAILED-CALLS-OUT 0
REGISTRATIONS 0


Profile::Gateway-Name Data State Ping Time IB Calls(F/T) OB Calls(F/T)
=================================================================================================
external::30308e30-7e28-4bf1-81aa-f58bb0c8d1be sip:FreeSWITCH@52.201.6.149 NOREG 36.45 0/0 0/0
=================================================================================================
1 gateway: Inbound(Failed/Total): 0/0,Outbound(Failed/Total):0/0

Debian GNU/Linux 10 (buster) || Linux 4.19.0-16-cloud-amd64 || FreeSWITCH Version 1.10.6-release-18-1ff9d0a60e~64bit (-release-18-1ff9d0a60e 64bit) || Fusionpbx 4.5.24 || location windows azure
 
Last edited:

dgxa

Member
May 19, 2021
38
2
8
33
Lima, Peru
Add you carrier IP addresses to the domains ACL
Effectively ACL had the issue in the domain section public ip has to take x.x.x.x/32 for CIDR. Additional I have to remove the prefix from inbound routes for my DID

The steps to fix the problem was the followed:
1. Modify ACL domain adding /32 to public ip address
2. Remove prefix 51 from field prefix in DID configuration on inbound routes

Thank you for your help
 
Status
Not open for further replies.