Can't get Extension and Outbound Call

Status
Not open for further replies.

maurizio261

New Member
May 7, 2020
20
1
3
39
Hi to everybody,
I'm new at FusionPBX and i'm stuck on Extension and Outbound call, i can't get them working.
By now i can only receive call from external numbers, but i can't call nobody.
Here is the call record detail, by the way i've added SIP and Extension router on ACL, i've tryed also to disable SIP AGL on router, but nothing appen and unfortunately i ca't get the ssh access to this VM...
What could be my error?CALL RECORD.png
 

ad5ou

Active Member
Jun 12, 2018
887
197
43
You should only add your provider IP addresses to ACL. NOT the extensions network
 

maurizio261

New Member
May 7, 2020
20
1
3
39
Yes of course, on my ACL i've added:
Domain
-SIP Provider IP Address
-Extension Router IP Public Address

Lan
-Extension IP Address Range

You mean that i've to remove Extension IP range to the Lan ACL?It's that correct?
 

ad5ou

Active Member
Jun 12, 2018
887
197
43
Correct. ACL is only for provider IP ranges.
https://docs.fusionpbx.com/en/latest/advanced/access_controls.html
  • The main purpose is for your carriers ip addresses. Add the carrier IP addresses to the CIDR.
  • Be careful with what and how you use ACL.
  • Most common mistakes result in calls not working between extensions and other undesirable results.
  • Be sure to keep Domains access control to default deny.
  • Do not put your public ip or phone IP addresses in the domains access control list.
  • Don’t supply both the domain and the cidr on the same node.
  • If adding a single IP address to the CIDR field make sure to add /32 on the end of the IP address.
 

maurizio261

New Member
May 7, 2020
20
1
3
39
Ok done, i've left only the main domani (not the subdomains) and the Provider IP, now i can call to extension and out correctly, but i can't get the inbound calls.
Here the logs.

c93cedf7-b0a4-4fa6-af73-9945805795ec 2020-05-18 12:39:58.931039 [NOTICE] switch_channel.c:1118 New Channel sofia/external/xxxxxxxxxx@sip.domainIP [c93cedf7-b0a4-4fa6-af73-9945805795ec]
c93cedf7-b0a4-4fa6-af73-9945805795ec 2020-05-18 12:39:58.931039 [DEBUG] switch_core_state_machine.c:585 (sofia/external/xxxxxxxxxx@sip.domainIP) Running State Change CS_NEW (Cur 1 Tot 27649)
c93cedf7-b0a4-4fa6-af73-9945805795ec 2020-05-18 12:39:58.931039 [DEBUG] sofia.c:10255 sofia/external/xxxxxxxxxx@sip.domainIP receiving invite from sip.domainIP:5080 version: 1.10.2 -release-14-f7bdd3845a 64bit
2020-05-18 12:39:58.931039 [DEBUG] sofia.c:10349 verifying acl "domains" for ip/port sip.domainIP:0.
c93cedf7-b0a4-4fa6-af73-9945805795ec 2020-05-18 12:39:58.931039 [DEBUG] switch_core_state_machine.c:604 (sofia/external/xxxxxxxxxx@sip.domainIP) State NEW
2020-05-18 12:39:58.931039 [DEBUG] sofia.c:2434 detaching session c93cedf7-b0a4-4fa6-af73-9945805795ec
2020-05-18 12:39:58.931039 [DEBUG] sofia.c:2544 Re-attaching to session c93cedf7-b0a4-4fa6-af73-9945805795ec
c93cedf7-b0a4-4fa6-af73-9945805795ec 2020-05-18 12:39:58.951013 [DEBUG] sofia.c:10255 sofia/external/xxxxxxxxxx@sip.domainIP receiving invite from sip.domainIP:5080 version: 1.10.2 -release-14-f7bdd3845a 64bit
2020-05-18 12:39:58.951013 [DEBUG] sofia.c:10349 verifying acl "domains" for ip/port sip.domainIP:0.
2020-05-18 12:39:58.951013 [WARNING] sofia_reg.c:2929 Can't find user [not-used@sip.domainIP] from sip.domainIP
You must define a domain called 'sip.domainIP' in your directory and add a user with the id="not-used" attribute
and you must configure your device to use the proper domain in its authentication credentials.
c93cedf7-b0a4-4fa6-af73-9945805795ec 2020-05-18 12:39:58.951013 [NOTICE] sofia.c:2432 Hangup sofia/external/xxxxxxxxxx@sip.domainIP [CS_NEW] [CALL_REJECTED]
c93cedf7-b0a4-4fa6-af73-9945805795ec 2020-05-18 12:39:58.971062 [DEBUG] sofia.c:1548 Channel is already hungup.
c93cedf7-b0a4-4fa6-af73-9945805795ec 2020-05-18 12:39:58.971062 [DEBUG] switch_core_state_machine.c:585 (sofia/external/xxxxxxxxxx@sip.domainIP) Running State Change CS_HANGUP (Cur 1 Tot 27649)
c93cedf7-b0a4-4fa6-af73-9945805795ec 2020-05-18 12:39:58.971062 [DEBUG] switch_core_state_machine.c:848 (sofia/external/xxxxxxxxxx@sip.domainIP) Callstate Change DOWN -> HANGUP
c93cedf7-b0a4-4fa6-af73-9945805795ec 2020-05-18 12:39:58.971062 [DEBUG] switch_core_state_machine.c:850 (sofia/external/xxxxxxxxxx@sip.domainIP) State HANGUP
c93cedf7-b0a4-4fa6-af73-9945805795ec 2020-05-18 12:39:58.971062 [DEBUG] mod_sofia.c:453 Channel sofia/external/xxxxxxxxxx@sip.domainIP hanging up, cause: CALL_REJECTED
c93cedf7-b0a4-4fa6-af73-9945805795ec 2020-05-18 12:39:58.971062 [DEBUG] switch_core_state_machine.c:60 sofia/external/xxxxxxxxxx@sip.domainIP Standard HANGUP, cause: CALL_REJECTED
c93cedf7-b0a4-4fa6-af73-9945805795ec 2020-05-18 12:39:58.971062 [DEBUG] switch_core_state_machine.c:850 (sofia/external/xxxxxxxxxx@sip.domainIP) State HANGUP going to sleep
c93cedf7-b0a4-4fa6-af73-9945805795ec 2020-05-18 12:39:58.971062 [DEBUG] switch_core_state_machine.c:620 (sofia/external/xxxxxxxxxx@sip.domainIP) State Change CS_HANGUP -> CS_REPORTING
c93cedf7-b0a4-4fa6-af73-9945805795ec 2020-05-18 12:39:58.971062 [DEBUG] switch_core_state_machine.c:585 (sofia/external/xxxxxxxxxx@sip.domainIP) Running State Change CS_REPORTING (Cur 1 Tot 27649)
c93cedf7-b0a4-4fa6-af73-9945805795ec 2020-05-18 12:39:58.971062 [DEBUG] switch_core_state_machine.c:936 (sofia/external/xxxxxxxxxx@sip.domainIP) State REPORTING
c93cedf7-b0a4-4fa6-af73-9945805795ec 2020-05-18 12:39:58.971062 [DEBUG] switch_core_state_machine.c:174 sofia/external/xxxxxxxxxx@sip.domainIP Standard REPORTING, cause: CALL_REJECTED
c93cedf7-b0a4-4fa6-af73-9945805795ec 2020-05-18 12:39:58.971062 [DEBUG] switch_core_state_machine.c:936 (sofia/external/xxxxxxxxxx@sip.domainIP) State REPORTING going to sleep
c93cedf7-b0a4-4fa6-af73-9945805795ec 2020-05-18 12:39:58.971062 [DEBUG] switch_core_state_machine.c:611 (sofia/external/xxxxxxxxxx@sip.domainIP) State Change CS_REPORTING -> CS_DESTROY
c93cedf7-b0a4-4fa6-af73-9945805795ec 2020-05-18 12:39:58.971062 [DEBUG] switch_core_session.c:1726 Session 27649 (sofia/external/xxxxxxxxxx@sip.domainIP) Locked, Waiting on external entities
c93cedf7-b0a4-4fa6-af73-9945805795ec 2020-05-18 12:39:58.971062 [NOTICE] switch_core_session.c:1744 Session 27649 (sofia/external/xxxxxxxxxx@sip.domainIP) Ended
c93cedf7-b0a4-4fa6-af73-9945805795ec 2020-05-18 12:39:58.971062 [NOTICE] switch_core_session.c:1748 Close Channel sofia/external/xxxxxxxxxx@sip.domainIP [CS_DESTROY]
c93cedf7-b0a4-4fa6-af73-9945805795ec 2020-05-18 12:39:58.971062 [DEBUG] switch_core_state_machine.c:739 (sofia/external/xxxxxxxxxx@sip.domainIP) Running State Change CS_DESTROY (Cur 0 Tot 27649)
c93cedf7-b0a4-4fa6-af73-9945805795ec 2020-05-18 12:39:58.971062 [DEBUG] switch_core_state_machine.c:749 (sofia/external/xxxxxxxxxx@sip.domainIP) State DESTROY
c93cedf7-b0a4-4fa6-af73-9945805795ec 2020-05-18 12:39:58.971062 [DEBUG] mod_sofia.c:364 sofia/external/xxxxxxxxxx@sip.domainIP SOFIA DESTROY
c93cedf7-b0a4-4fa6-af73-9945805795ec 2020-05-18 12:39:58.971062 [DEBUG] switch_core_state_machine.c:181 sofia/external/xxxxxxxxxx@sip.domainIP Standard DESTROY
c93cedf7-b0a4-4fa6-af73-9945805795ec 2020-05-18 12:39:58.971062 [DEBUG] switch_core_state_machine.c:749 (sofia/external/xxxxxxxxxx@sip.domainIP) State DESTROY going to sleep
 

mikeonan

New Member
Apr 17, 2020
16
0
1
Nashville, TN
This log message looks helpful...

"You must define a domain called 'sip.domainIP' in your directory and add a user with the id="not-used" attribute
and you must configure your device to use the proper domain in its authentication credentials."

If you can share this info it might help:
  • Are you registering your trunk to a provider or doing IP based authentication?
    • Share a screenshot of your trunk config
  • Do you have the trunk terminated to the IP address "domain" of Fusion and your phones are on a different domain?
 
Status
Not open for further replies.