SOLVED Outgoing calls not working

Status
Not open for further replies.

Lam

New Member
Aug 15, 2020
2
0
1
25
I am new to FusionPbx
I use FusionPbx 4.5.20 on Debian 10. My FusionPbx can make internal calls and receive calls from outside, but I can't make outbound calls. I have tried several methods but it still failed. Can you help me to solve this problem

My log:
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.483370 [DEBUG] switch_core_state_machine.c:749 (sofia/internal/7007@tn.cloudpbxz.com) State DESTROY going to sleep
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.483370 [DEBUG] switch_core_state_machine.c:181 sofia/internal/7007@tn.cloudpbxz.com Standard DESTROY
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.483370 [DEBUG] mod_sofia.c:364 sofia/internal/7007@tn.cloudpbxz.com SOFIA DESTROY
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.483370 [DEBUG] switch_core_state_machine.c:749 (sofia/internal/7007@tn.cloudpbxz.com) State DESTROY
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.483370 [DEBUG] switch_core_state_machine.c:739 (sofia/internal/7007@tn.cloudpbxz.com) Running State Change CS_DESTROY (Cur 0 Tot 4861)
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.483370 [NOTICE] switch_core_session.c:1748 Close Channel sofia/internal/7007@tn.cloudpbxz.com [CS_DESTROY]
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.483370 [NOTICE] switch_core_session.c:1744 Session 4861 (sofia/internal/7007@tn.cloudpbxz.com) Ended
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.483370 [DEBUG] switch_core_session.c:1726 Session 4861 (sofia/internal/7007@tn.cloudpbxz.com) Locked, Waiting on external entities
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.483370 [DEBUG] switch_core_state_machine.c:611 (sofia/internal/7007@tn.cloudpbxz.com) State Change CS_REPORTING -> CS_DESTROY
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.483370 [DEBUG] switch_core_state_machine.c:936 (sofia/internal/7007@tn.cloudpbxz.com) State REPORTING going to sleep
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.483370 [DEBUG] switch_core_state_machine.c:174 sofia/internal/7007@tn.cloudpbxz.com Standard REPORTING, cause: NO_ROUTE_DESTINATION
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.423402 [DEBUG] switch_core_state_machine.c:936 (sofia/internal/7007@tn.cloudpbxz.com) State REPORTING
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.423402 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/7007@tn.cloudpbxz.com) Running State Change CS_REPORTING (Cur 1 Tot 4861)
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.423402 [DEBUG] switch_core_state_machine.c:620 (sofia/internal/7007@tn.cloudpbxz.com) State Change CS_HANGUP -> CS_REPORTING
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.423402 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/7007@tn.cloudpbxz.com) State HANGUP going to sleep
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.423402 [DEBUG] switch_core_state_machine.c:60 sofia/internal/7007@tn.cloudpbxz.com Standard HANGUP, cause: NO_ROUTE_DESTINATION
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.423402 [DEBUG] mod_sofia.c:598 Responding to INVITE with: 404
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.423402 [DEBUG] mod_sofia.c:453 Channel sofia/internal/7007@tn.cloudpbxz.com hanging up, cause: NO_ROUTE_DESTINATION
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.423402 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/7007@tn.cloudpbxz.com) State HANGUP
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.423402 [DEBUG] switch_core_state_machine.c:848 (sofia/internal/7007@tn.cloudpbxz.com) Callstate Change RINGING -> HANGUP
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.423402 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/7007@tn.cloudpbxz.com) Running State Change CS_HANGUP (Cur 1 Tot 4861)
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.423402 [DEBUG] switch_core_state_machine.c:644 (sofia/internal/7007@tn.cloudpbxz.com) State ROUTING going to sleep
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.423402 [NOTICE] switch_core_state_machine.c:313 Hangup sofia/internal/7007@tn.cloudpbxz.com [CS_ROUTING] [NO_ROUTE_DESTINATION]
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.423402 [INFO] switch_core_state_machine.c:312 No Route, Aborting
2791e129-9a02-498b-bb94-7511f8d2f0e9 Dialplan: sofia/internal/7007@tn.cloudpbxz.com Regex (FAIL) [028xxxxx806] destination_number(09xxxxx529) =~ /^(028xxxxx806)$/ break=on-false
2791e129-9a02-498b-bb94-7511f8d2f0e9 Dialplan: sofia/internal/7007@tn.cloudpbxz.com parsing [public->028xxxxx806] continue=false
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.403440 [INFO] mod_dialplan_xml.c:637 Processing 7007 <7007>->09xxxxx529 in context public
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.403440 [DEBUG] switch_core_state_machine.c:236 sofia/internal/7007@tn.cloudpbxz.com Standard ROUTING
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.403440 [DEBUG] mod_sofia.c:154 sofia/internal/7007@tn.cloudpbxz.com SOFIA ROUTING
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.403440 [DEBUG] switch_core_state_machine.c:644 (sofia/internal/7007@tn.cloudpbxz.com) State ROUTING
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.403440 [DEBUG] switch_channel.c:2332 (sofia/internal/7007@tn.cloudpbxz.com) Callstate Change DOWN -> RINGING
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.403440 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/7007@tn.cloudpbxz.com) Running State Change CS_ROUTING (Cur 1 Tot 4861)
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.403440 [DEBUG] switch_core_state_machine.c:628 (sofia/internal/7007@tn.cloudpbxz.com) State INIT going to sleep
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.403440 [DEBUG] switch_core_state_machine.c:48 (sofia/internal/7007@tn.cloudpbxz.com) State Change CS_INIT -> CS_ROUTING
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.403440 [DEBUG] switch_core_state_machine.c:40 sofia/internal/7007@tn.cloudpbxz.com Standard INIT
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.403440 [DEBUG] mod_sofia.c:93 sofia/internal/7007@tn.cloudpbxz.com SOFIA INIT
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.403440 [DEBUG] switch_core_state_machine.c:628 (sofia/internal/7007@tn.cloudpbxz.com) State INIT
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.403440 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/7007@tn.cloudpbxz.com) Running State Change CS_INIT (Cur 1 Tot 4861)
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.403440 [DEBUG] switch_core_state_machine.c:604 (sofia/internal/7007@tn.cloudpbxz.com) State NEW
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.403440 [DEBUG] sofia.c:7760 (sofia/internal/7007@tn.cloudpbxz.com) State Change CS_NEW -> CS_INIT
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.403440 [DEBUG] switch_core_media.c:5911 sofia/internal/7007@tn.cloudpbxz.com Set 2833 dtmf send payload to 101 recv payload to 101
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.403440 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.403440 [DEBUG] switch_core_codec.c:111 sofia/internal/7007@tn.cloudpbxz.com Original read codec set to PCMU:0
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.403440 [DEBUG] switch_core_media.c:3839 Set Codec sofia/internal/7007@tn.cloudpbxz.com PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.403440 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.403440 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.403440 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.403440 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.403440 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.403440 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.403440 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.403440 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.403440 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2791e129-9a02-498b-bb94-7511f8d2f0e9
2791e129-9a02-498b-bb94-7511f8d2f0e9 a=ptime:20
2791e129-9a02-498b-bb94-7511f8d2f0e9 a=rtcp:5005 IN IP4 75.2.5.102
2791e129-9a02-498b-bb94-7511f8d2f0e9 a=fmtp:101 0-15
2791e129-9a02-498b-bb94-7511f8d2f0e9 a=rtpmap:101 telephone-event/8000
2791e129-9a02-498b-bb94-7511f8d2f0e9 a=rtpmap:8 PCMA/8000
2791e129-9a02-498b-bb94-7511f8d2f0e9 a=rtpmap:0 PCMU/8000
2791e129-9a02-498b-bb94-7511f8d2f0e9 m=audio 5004 RTP/AVP 0 8 101
2791e129-9a02-498b-bb94-7511f8d2f0e9 t=0 0
2791e129-9a02-498b-bb94-7511f8d2f0e9 c=IN IP4 75.2.5.102
2791e129-9a02-498b-bb94-7511f8d2f0e9 s=SIP Call
2791e129-9a02-498b-bb94-7511f8d2f0e9 o=7007 8000 8000 IN IP4 75.2.5.102
2791e129-9a02-498b-bb94-7511f8d2f0e9 v=0
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.403440 [DEBUG] sofia.c:7336 Remote SDP:
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.403440 [DEBUG] sofia.c:7326 Channel sofia/internal/7007@tn.cloudpbxz.com entering state [received][100]
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.403440 [DEBUG] sofia.c:11477 Setting NAT mode based on via received
2020-12-10 05:34:09.403440 [DEBUG] sofia.c:10403 IP 171.244.97.100 Approved by acl "domains[]". Access Granted.
2020-12-10 05:34:09.403440 [DEBUG] sofia.c:10374 verifying acl "domains" for ip/port 171.244.97.100:0.
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.403440 [DEBUG] sofia.c:10280 sofia/internal/7007@tn.cloudpbxz.com receiving invite from 171.244.97.100:5060 version: 1.10.5 -release-17-25569c1631 64bit
2791e129-9a02-498b-bb94-7511f8d2f0e9 2020-12-10 05:34:09.403440 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/7007@tn.cloudpbxz.com) Running State Change CS_NEW (Cur 1 Tot 4861)

I have attached pictures taken from sngrep
 

Attachments

  • invite.jpg
    invite.jpg
    203.2 KB · Views: 13
  • 404-not-found.jpg
    404-not-found.jpg
    160.1 KB · Views: 13
Last edited:

Lam

New Member
Aug 15, 2020
2
0
1
25
My issue has been resolved. I just changed the default value of ACL Lan to deny.
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,077
579
113
The reason you probably had the problem in the first place looks like you added entries to the ACL that you shouldn't have. The only thing that needs touching in the ACL is carrier IPs adding to domains ACL. That is it, nothing else at all.
 
Status
Not open for further replies.