Fusionpbx unable to call out

Status
Not open for further replies.

hiastar_alex

New Member
Jun 26, 2018
11
0
1
23
Version: 4.4.1
I connect the fusionpbx to the gateway via ip, test incoming and outgoing calls. Can now call normally, but cannot call in.
How should i do?

This are CLI log:
===================================================================================
2018-06-25 22:38:05.881071 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/13574109204@192.168.1.158:5060 [f0b36b02-0c2f-473b-ba0e-0bfe92b6153c]
2018-06-25 22:38:05.881071 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/13574109204@192.168.1.158:5060) Running State Change CS_NEW (Cur 1 Tot 2)
2018-06-25 22:38:05.881071 [DEBUG] sofia.c:9873 sofia/internal/13574109204@192.168.1.158:5060 receiving invite from 192.168.1.220:5060 version: 1.6.20 -37-987c9b9 64bit
2018-06-25 22:38:05.881071 [DEBUG] sofia.c:10044 IP 192.168.1.220 Rejected by acl "domains". Falling back to Digest auth.
2018-06-25 22:38:05.881071 [WARNING] sofia_reg.c:1792 SIP auth challenge (INVITE) on sofia profile 'internal' for [89700910@192.168.1.158] from ip 192.168.1.220
2018-06-25 22:38:05.881071 [DEBUG] switch_core_state_machine.c:603 (sofia/internal/13574109204@192.168.1.158:5060) State NEW
2018-06-25 22:38:05.881071 [DEBUG] sofia.c:2334 detaching session f0b36b02-0c2f-473b-ba0e-0bfe92b6153c
2018-06-25 22:38:05.921016 [DEBUG] sofia.c:2442 Re-attaching to session f0b36b02-0c2f-473b-ba0e-0bfe92b6153c
2018-06-25 22:38:05.921016 [DEBUG] sofia.c:9873 sofia/internal/13574109204@192.168.1.158:5060 receiving invite from 192.168.1.220:5060 version: 1.6.20 -37-987c9b9 64bit
2018-06-25 22:38:05.921016 [DEBUG] sofia.c:10044 IP 192.168.1.220 Rejected by acl "domains". Falling back to Digest auth.
2018-06-25 22:38:05.941023 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f17a8092690 Connected.
2018-06-25 22:38:05.941023 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f17a8092690 released.
2018-06-25 22:38:05.941023 [WARNING] sofia_reg.c:2906 Can't find user [@192.168.1.158] from 192.168.1.220
You must define a domain called '192.168.1.158' in your directory and add a user with the id="" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2018-06-25 22:38:05.941023 [WARNING] sofia_reg.c:1737 SIP auth failure (INVITE) on sofia profile 'internal' for [89700910@192.168.1.158] from ip 192.168.1.220
2018-06-25 22:38:05.941023 [NOTICE] sofia.c:2332 Hangup sofia/internal/13574109204@192.168.1.158:5060 [CS_NEW] [CALL_REJECTED]
2018-06-25 22:38:05.961027 [DEBUG] sofia.c:1453 Channel is already hungup.
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/13574109204@192.168.1.158:5060) Running State Change CS_HANGUP (Cur 1 Tot 2)
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/13574109204@192.168.1.158:5060) Callstate Change DOWN -> HANGUP
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/13574109204@192.168.1.158:5060) State HANGUP
2018-06-25 22:38:05.961027 [DEBUG] mod_sofia.c:438 Channel sofia/internal/13574109204@192.168.1.158:5060 hanging up, cause: CALL_REJECTED
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:60 sofia/internal/13574109204@192.168.1.158:5060 Standard HANGUP, cause: CALL_REJECTED
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/13574109204@192.168.1.158:5060) State HANGUP going to sleep
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:619 (sofia/internal/13574109204@192.168.1.158:5060) State Change CS_HANGUP -> CS_REPORTING
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/13574109204@192.168.1.158:5060) Running State Change CS_REPORTING (Cur 1 Tot 2)
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/13574109204@192.168.1.158:5060) State REPORTING
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:174 sofia/internal/13574109204@192.168.1.158:5060 Standard REPORTING, cause: CALL_REJECTED
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/13574109204@192.168.1.158:5060) State REPORTING going to sleep
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:610 (sofia/internal/13574109204@192.168.1.158:5060) State Change CS_REPORTING -> CS_DESTROY
2018-06-25 22:38:05.961027 [DEBUG] switch_core_session.c:1665 Session 2 (sofia/internal/13574109204@192.168.1.158:5060) Locked, Waiting on external entities
2018-06-25 22:38:05.961027 [NOTICE] switch_core_session.c:1683 Session 2 (sofia/internal/13574109204@192.168.1.158:5060) Ended
2018-06-25 22:38:05.961027 [NOTICE] switch_core_session.c:1687 Close Channel sofia/internal/13574109204@192.168.1.158:5060 [CS_DESTROY]
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/13574109204@192.168.1.158:5060) Running State Change CS_DESTROY (Cur 0 Tot 2)
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/13574109204@192.168.1.158:5060) State DESTROY
2018-06-25 22:38:05.961027 [DEBUG] mod_sofia.c:343 sofia/internal/13574109204@192.168.1.158:5060 SOFIA DESTROY
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:181 sofia/internal/13574109204@192.168.1.158:5060 Standard DESTROY
2018-06-25 22:38:05.961027 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/13574109204@192.168.1.158:5060) State DESTROY going to sleep
===================================================================================
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,045
566
113
Get your carrier to send your inbound calls to port 5080 or you need to add your carriers to the domain ACL.
 

hiastar_alex

New Member
Jun 26, 2018
11
0
1
23
Get your carrier to send your inbound calls to port 5080 or you need to add your carriers to the domain ACL.
OK, Thanks DigitalDaz, I solved the above problem by adding acl. But new problems have arisen,Unable to exhale.
I'm in the freeswitch CLI, use "original sofia/gateway/506415f3-ac9b-4f5d-b7ea-727378be3842/10086 & echo", Can exhale.
but can't call out with softphone. how should i do?
========================================================================================
this are CLI log:
2018-06-27 06:18:08.865985 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/1000@192.168.1.175 [10e1aa85-d7c9-4af7-94e7-dec298dec467]
2018-06-27 06:18:08.865985 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1000@192.168.1.175) Running State Change CS_NEW (Cur 1 Tot 36)
2018-06-27 06:18:08.865985 [DEBUG] sofia.c:9873 sofia/internal/1000@192.168.1.175 receiving invite from 192.168.1.122:22756 version: 1.6.20 -37-987c9b9 64bit
2018-06-27 06:18:08.865985 [DEBUG] sofia.c:9989 IP 192.168.1.122 Approved by acl "domains[]". Access Granted.
2018-06-27 06:18:08.865985 [DEBUG] sofia.c:7084 Channel sofia/internal/1000@192.168.1.175 entering state [received][100]
2018-06-27 06:18:08.865985 [DEBUG] sofia.c:7094 Remote SDP:
v=0
o=- 4 2 IN IP4 192.168.1.122
s=CounterPath eyeBeam 1.5
c=IN IP4 192.168.1.122
t=0 0
m=audio 40364 RTP/AVP 0 8 101
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=alt:1 3 : ++G5D1t6 aZM6CfuW 192.168.1.122 40364
a=alt:2 2 : XQPRuOZQ QQjUtEPc 192.168.59.1 40364
a=alt:3 1 : FPGV7zJs 014udOTl 192.168.133.1 40364
a=x-rtp-session-id:CAD1D5CEF0CB444285AF1A1443FE111B

2018-06-27 06:18:08.865985 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2018-06-27 06:18:08.865985 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2018-06-27 06:18:08.865985 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2018-06-27 06:18:08.865985 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2018-06-27 06:18:08.865985 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2018-06-27 06:18:08.865985 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2018-06-27 06:18:08.865985 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2018-06-27 06:18:08.865985 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2018-06-27 06:18:08.865985 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
2018-06-27 06:18:08.865985 [DEBUG] switch_core_media.c:3061 Set Codec sofia/internal/1000@192.168.1.175 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2018-06-27 06:18:08.865985 [DEBUG] switch_core_codec.c:111 sofia/internal/1000@192.168.1.175 Original read codec set to PCMU:0
2018-06-27 06:18:08.865985 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
2018-06-27 06:18:08.865985 [DEBUG] switch_core_media.c:4767 sofia/internal/1000@192.168.1.175 Set 2833 dtmf send payload to 101 recv payload to 101
2018-06-27 06:18:08.865985 [DEBUG] sofia.c:7507 (sofia/internal/1000@192.168.1.175) State Change CS_NEW -> CS_INIT
2018-06-27 06:18:08.865985 [DEBUG] switch_core_state_machine.c:603 (sofia/internal/1000@192.168.1.175) State NEW
2018-06-27 06:18:08.865985 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1000@192.168.1.175) Running State Change CS_INIT (Cur 1 Tot 36)
2018-06-27 06:18:08.865985 [DEBUG] switch_core_state_machine.c:627 (sofia/internal/1000@192.168.1.175) State INIT
2018-06-27 06:18:08.865985 [DEBUG] mod_sofia.c:90 sofia/internal/1000@192.168.1.175 SOFIA INIT
2018-06-27 06:18:08.865985 [DEBUG] switch_core_state_machine.c:40 sofia/internal/1000@192.168.1.175 Standard INIT
2018-06-27 06:18:08.865985 [DEBUG] switch_core_state_machine.c:48 (sofia/internal/1000@192.168.1.175) State Change CS_INIT -> CS_ROUTING
2018-06-27 06:18:08.865985 [DEBUG] switch_core_state_machine.c:627 (sofia/internal/1000@192.168.1.175) State INIT going to sleep
2018-06-27 06:18:08.865985 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1000@192.168.1.175) Running State Change CS_ROUTING (Cur 1 Tot 36)
2018-06-27 06:18:08.865985 [DEBUG] switch_channel.c:2249 (sofia/internal/1000@192.168.1.175) Callstate Change DOWN -> RINGING
2018-06-27 06:18:08.865985 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/1000@192.168.1.175) State ROUTING
2018-06-27 06:18:08.865985 [DEBUG] mod_sofia.c:143 sofia/internal/1000@192.168.1.175 SOFIA ROUTING
2018-06-27 06:18:08.865985 [DEBUG] switch_core_state_machine.c:236 sofia/internal/1000@192.168.1.175 Standard ROUTING
2018-06-27 06:18:08.865985 [INFO] mod_dialplan_xml.c:637 Processing 1000 <1000>->10086 in context public
Dialplan: sofia/internal/1000@192.168.1.175 parsing [public->caller-details] continue=true
Dialplan: sofia/internal/1000@192.168.1.175 Regex (PASS) [caller-details] () =~ // break=never
Dialplan: sofia/internal/1000@192.168.1.175 Action export(call_direction=inbound) INLINE
EXECUTE sofia/internal/1000@192.168.1.175 export(call_direction=inbound)
2018-06-27 06:18:08.865985 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_direction]=[inbound]
Dialplan: sofia/internal/1000@192.168.1.175 Action set(caller_destination=${destination_number}) INLINE
EXECUTE sofia/internal/1000@192.168.1.175 set(caller_destination=10086)
2018-06-27 06:18:08.865985 [DEBUG] mod_dptools.c:1548 SET sofia/internal/1000@192.168.1.175 [caller_destination]=[10086]
Dialplan: sofia/internal/1000@192.168.1.175 Action set(caller_id_name=${caller_id_name}) INLINE
EXECUTE sofia/internal/1000@192.168.1.175 set(caller_id_name=1000)
2018-06-27 06:18:08.865985 [DEBUG] mod_dptools.c:1548 SET sofia/internal/1000@192.168.1.175 [caller_id_name]=[1000]
Dialplan: sofia/internal/1000@192.168.1.175 Action set(caller_id_number=${caller_id_number}) INLINE
EXECUTE sofia/internal/1000@192.168.1.175 set(caller_id_number=1000)
2018-06-27 06:18:08.865985 [DEBUG] mod_dptools.c:1548 SET sofia/internal/1000@192.168.1.175 [caller_id_number]=[1000]
Dialplan: sofia/internal/1000@192.168.1.175 parsing [public->123456] continue=false
Dialplan: sofia/internal/1000@192.168.1.175 Regex (FAIL) [123456] destination_number(10086) =~ /^(123456)$/ break=on-false
Dialplan: sofia/internal/1000@192.168.1.175 parsing [public->not-found] continue=false
Dialplan: sofia/internal/1000@192.168.1.175 Regex (PASS) [not-found] () =~ // break=on-false
Dialplan: sofia/internal/1000@192.168.1.175 Action export(call_direction=inbound) INLINE
EXECUTE sofia/internal/1000@192.168.1.175 export(call_direction=inbound)
2018-06-27 06:18:08.865985 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_direction]=[inbound]
Dialplan: sofia/internal/1000@192.168.1.175 Action set(call_direction=inbound) INLINE
EXECUTE sofia/internal/1000@192.168.1.175 set(call_direction=inbound)
2018-06-27 06:18:08.865985 [DEBUG] mod_dptools.c:1548 SET sofia/internal/1000@192.168.1.175 [call_direction]=[inbound]
Dialplan: sofia/internal/1000@192.168.1.175 Action log([inbound routes] 404 not found ${sip_network_ip}) INLINE
EXECUTE sofia/internal/1000@192.168.1.175 log([inbound routes] 404 not found 192.168.1.122)
2018-06-27 06:18:08.865985 [DEBUG] mod_dptools.c:1742 routes] 404 not found 192.168.1.122
2018-06-27 06:18:08.865985 [DEBUG] switch_core_state_machine.c:286 (sofia/internal/1000@192.168.1.175) State Change CS_ROUTING -> CS_EXECUTE
2018-06-27 06:18:08.865985 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/1000@192.168.1.175) State ROUTING going to sleep
2018-06-27 06:18:08.865985 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1000@192.168.1.175) Running State Change CS_EXECUTE (Cur 1 Tot 36)
2018-06-27 06:18:08.865985 [DEBUG] switch_core_state_machine.c:650 (sofia/internal/1000@192.168.1.175) State EXECUTE
2018-06-27 06:18:08.865985 [DEBUG] mod_sofia.c:198 sofia/internal/1000@192.168.1.175 SOFIA EXECUTE
2018-06-27 06:18:08.865985 [DEBUG] switch_core_state_machine.c:328 sofia/internal/1000@192.168.1.175 Standard EXECUTE
2018-06-27 06:18:08.865985 [NOTICE] switch_core_state_machine.c:385 sofia/internal/1000@192.168.1.175 has executed the last dialplan instruction, hanging up.
2018-06-27 06:18:08.865985 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/internal/1000@192.168.1.175 [CS_EXECUTE] [NORMAL_CLEARING]
2018-06-27 06:18:08.865985 [DEBUG] switch_core_state_machine.c:650 (sofia/internal/1000@192.168.1.175) State EXECUTE going to sleep
2018-06-27 06:18:08.865985 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1000@192.168.1.175) Running State Change CS_HANGUP (Cur 1 Tot 36)
2018-06-27 06:18:08.865985 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/1000@192.168.1.175) Callstate Change RINGING -> HANGUP
2018-06-27 06:18:08.865985 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/1000@192.168.1.175) State HANGUP
2018-06-27 06:18:08.865985 [DEBUG] mod_sofia.c:438 Channel sofia/internal/1000@192.168.1.175 hanging up, cause: NORMAL_CLEARING
2018-06-27 06:18:08.865985 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 480
2018-06-27 06:18:08.865985 [DEBUG] switch_core_state_machine.c:60 sofia/internal/1000@192.168.1.175 Standard HANGUP, cause: NORMAL_CLEARING
2018-06-27 06:18:08.865985 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/1000@192.168.1.175) State HANGUP going to sleep
2018-06-27 06:18:08.865985 [DEBUG] switch_core_state_machine.c:619 (sofia/internal/1000@192.168.1.175) State Change CS_HANGUP -> CS_REPORTING
2018-06-27 06:18:08.865985 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1000@192.168.1.175) Running State Change CS_REPORTING (Cur 1 Tot 36)
2018-06-27 06:18:08.865985 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/1000@192.168.1.175) State REPORTING
2018-06-27 06:18:08.906006 [DEBUG] switch_core_state_machine.c:174 sofia/internal/1000@192.168.1.175 Standard REPORTING, cause: NORMAL_CLEARING
2018-06-27 06:18:08.906006 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/1000@192.168.1.175) State REPORTING going to sleep
2018-06-27 06:18:08.906006 [DEBUG] switch_core_state_machine.c:610 (sofia/internal/1000@192.168.1.175) State Change CS_REPORTING -> CS_DESTROY
2018-06-27 06:18:08.906006 [DEBUG] switch_core_session.c:1665 Session 36 (sofia/internal/1000@192.168.1.175) Locked, Waiting on external entities
2018-06-27 06:18:08.906006 [NOTICE] switch_core_session.c:1683 Session 36 (sofia/internal/1000@192.168.1.175) Ended
2018-06-27 06:18:08.906006 [NOTICE] switch_core_session.c:1687 Close Channel sofia/internal/1000@192.168.1.175 [CS_DESTROY]
2018-06-27 06:18:08.906006 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/1000@192.168.1.175) Running State Change CS_DESTROY (Cur 0 Tot 36)
2018-06-27 06:18:08.906006 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/1000@192.168.1.175) State DESTROY
2018-06-27 06:18:08.906006 [DEBUG] mod_sofia.c:343 sofia/internal/1000@192.168.1.175 SOFIA DESTROY
2018-06-27 06:18:08.906006 [DEBUG] switch_core_state_machine.c:181 sofia/internal/1000@192.168.1.175 Standard DESTROY
2018-06-27 06:18:08.906006 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/1000@192.168.1.175) State DESTROY going to sleep
======================================================================================
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,045
566
113
You seem to have added something else to the ACL: 192.168.1.122 Approved by acl "domains[]". Access Granted.

You should ONLY have added the carrier.
 

hiastar_alex

New Member
Jun 26, 2018
11
0
1
23
You seem to have added something else to the ACL: 192.168.1.122 Approved by acl "domains[]". Access Granted.

You should ONLY have added the carrier.
I do not understand what it means. I am using an analog gateway to connect with fusionpbx. Can you tell me specific solutions?
 

hiastar_alex

New Member
Jun 26, 2018
11
0
1
23
Fusionpbx, two SIP phones, and gateways are in the same LAN. I use two sip telephone to register to the server 1001 and 1000 respectively. Calls between internal extensions, found no communication between internal extensions. I can't find the problem. Can you help me?

this are 1001 to 1000 CLI log:
======================================================================================
2018-06-28 04:46:36.499242 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/1001@192.168.1.70 [50360276-da2f-400f-9ccc-df6d5207e6f8]
2018-06-28 04:46:36.499242 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1001@192.168.1.70) Running State Change CS_NEW (Cur 1 Tot 9)
2018-06-28 04:46:36.499242 [DEBUG] sofia.c:9873 sofia/internal/1001@192.168.1.70 receiving invite from 192.168.1.60:5060 version: 1.6.20 -37-987c9b9 64bit
2018-06-28 04:46:36.499242 [DEBUG] sofia.c:9989 IP 192.168.1.60 Approved by acl "domains[]". Access Granted.
2018-06-28 04:46:36.499242 [DEBUG] sofia.c:7084 Channel sofia/internal/1001@192.168.1.70 entering state [received][100]
2018-06-28 04:46:36.499242 [DEBUG] sofia.c:7094 Remote SDP:
v=0
o=1001 8000 8000 IN IP4 192.168.1.60
s=SIP Call
c=IN IP4 192.168.1.60
t=0 0
m=audio 5004 RTP/AVP 0 8 9 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:9 G722/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=rtcp:5005 IN IP4 192.168.1.60
a=ptime:20

2018-06-28 04:46:36.499242 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2018-06-28 04:46:36.499242 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2018-06-28 04:46:36.499242 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2018-06-28 04:46:36.499242 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2018-06-28 04:46:36.499242 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2018-06-28 04:46:36.499242 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2018-06-28 04:46:36.499242 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2018-06-28 04:46:36.499242 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2018-06-28 04:46:36.499242 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2018-06-28 04:46:36.499242 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G722:9:8000:20:64000:1] ++++ is saved as a match
2018-06-28 04:46:36.499242 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2018-06-28 04:46:36.499242 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2018-06-28 04:46:36.499242 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
2018-06-28 04:46:36.499242 [DEBUG] switch_core_media.c:3061 Set Codec sofia/internal/1001@192.168.1.70 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2018-06-28 04:46:36.499242 [DEBUG] switch_core_codec.c:111 sofia/internal/1001@192.168.1.70 Original read codec set to PCMU:0
2018-06-28 04:46:36.499242 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
2018-06-28 04:46:36.499242 [DEBUG] switch_core_media.c:4767 sofia/internal/1001@192.168.1.70 Set 2833 dtmf send payload to 101 recv payload to 101
2018-06-28 04:46:36.499242 [DEBUG] sofia.c:7507 (sofia/internal/1001@192.168.1.70) State Change CS_NEW -> CS_INIT
2018-06-28 04:46:36.499242 [DEBUG] switch_core_state_machine.c:603 (sofia/internal/1001@192.168.1.70) State NEW
2018-06-28 04:46:36.499242 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1001@192.168.1.70) Running State Change CS_INIT (Cur 1 Tot 9)
2018-06-28 04:46:36.499242 [DEBUG] switch_core_state_machine.c:627 (sofia/internal/1001@192.168.1.70) State INIT
2018-06-28 04:46:36.499242 [DEBUG] mod_sofia.c:90 sofia/internal/1001@192.168.1.70 SOFIA INIT
2018-06-28 04:46:36.499242 [DEBUG] switch_core_state_machine.c:40 sofia/internal/1001@192.168.1.70 Standard INIT
2018-06-28 04:46:36.499242 [DEBUG] switch_core_state_machine.c:48 (sofia/internal/1001@192.168.1.70) State Change CS_INIT -> CS_ROUTING
2018-06-28 04:46:36.499242 [DEBUG] switch_core_state_machine.c:627 (sofia/internal/1001@192.168.1.70) State INIT going to sleep
2018-06-28 04:46:36.499242 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1001@192.168.1.70) Running State Change CS_ROUTING (Cur 1 Tot 9)
2018-06-28 04:46:36.499242 [DEBUG] switch_channel.c:2249 (sofia/internal/1001@192.168.1.70) Callstate Change DOWN -> RINGING
2018-06-28 04:46:36.499242 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/1001@192.168.1.70) State ROUTING
2018-06-28 04:46:36.499242 [DEBUG] mod_sofia.c:143 sofia/internal/1001@192.168.1.70 SOFIA ROUTING
2018-06-28 04:46:36.499242 [DEBUG] switch_core_state_machine.c:236 sofia/internal/1001@192.168.1.70 Standard ROUTING
2018-06-28 04:46:36.499242 [INFO] mod_dialplan_xml.c:637 Processing 1000 <1001>->1000 in context public
Dialplan: sofia/internal/1001@192.168.1.70 parsing [public->caller-details] continue=true
Dialplan: sofia/internal/1001@192.168.1.70 Regex (PASS) [caller-details] () =~ // break=never
Dialplan: sofia/internal/1001@192.168.1.70 Action export(call_direction=inbound) INLINE
EXECUTE sofia/internal/1001@192.168.1.70 export(call_direction=inbound)
2018-06-28 04:46:36.519235 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_direction]=[inbound]
Dialplan: sofia/internal/1001@192.168.1.70 Action set(caller_destination=${destination_number}) INLINE
EXECUTE sofia/internal/1001@192.168.1.70 set(caller_destination=1000)
2018-06-28 04:46:36.519235 [DEBUG] mod_dptools.c:1548 SET sofia/internal/1001@192.168.1.70 [caller_destination]=[1000]
Dialplan: sofia/internal/1001@192.168.1.70 Action set(caller_id_name=${caller_id_name}) INLINE
EXECUTE sofia/internal/1001@192.168.1.70 set(caller_id_name=1000)
2018-06-28 04:46:36.519235 [DEBUG] mod_dptools.c:1548 SET sofia/internal/1001@192.168.1.70 [caller_id_name]=[1000]
Dialplan: sofia/internal/1001@192.168.1.70 Action set(caller_id_number=${caller_id_number}) INLINE
EXECUTE sofia/internal/1001@192.168.1.70 set(caller_id_number=1001)
2018-06-28 04:46:36.519235 [DEBUG] mod_dptools.c:1548 SET sofia/internal/1001@192.168.1.70 [caller_id_number]=[1001]
Dialplan: sofia/internal/1001@192.168.1.70 parsing [public->not-found] continue=false
Dialplan: sofia/internal/1001@192.168.1.70 Regex (PASS) [not-found] () =~ // break=on-false
Dialplan: sofia/internal/1001@192.168.1.70 Action export(call_direction=inbound) INLINE
EXECUTE sofia/internal/1001@192.168.1.70 export(call_direction=inbound)
2018-06-28 04:46:36.519235 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_direction]=[inbound]
Dialplan: sofia/internal/1001@192.168.1.70 Action set(call_direction=inbound) INLINE
EXECUTE sofia/internal/1001@192.168.1.70 set(call_direction=inbound)
2018-06-28 04:46:36.519235 [DEBUG] mod_dptools.c:1548 SET sofia/internal/1001@192.168.1.70 [call_direction]=[inbound]
Dialplan: sofia/internal/1001@192.168.1.70 Action log([inbound routes] 404 not found ${sip_network_ip}) INLINE
EXECUTE sofia/internal/1001@192.168.1.70 log([inbound routes] 404 not found 192.168.1.60)
2018-06-28 04:46:36.519235 [DEBUG] mod_dptools.c:1742 routes] 404 not found 192.168.1.60
2018-06-28 04:46:36.519235 [DEBUG] switch_core_state_machine.c:286 (sofia/internal/1001@192.168.1.70) State Change CS_ROUTING -> CS_EXECUTE
2018-06-28 04:46:36.519235 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/1001@192.168.1.70) State ROUTING going to sleep
2018-06-28 04:46:36.519235 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1001@192.168.1.70) Running State Change CS_EXECUTE (Cur 1 Tot 9)
2018-06-28 04:46:36.519235 [DEBUG] switch_core_state_machine.c:650 (sofia/internal/1001@192.168.1.70) State EXECUTE
2018-06-28 04:46:36.519235 [DEBUG] mod_sofia.c:198 sofia/internal/1001@192.168.1.70 SOFIA EXECUTE
2018-06-28 04:46:36.519235 [DEBUG] switch_core_state_machine.c:328 sofia/internal/1001@192.168.1.70 Standard EXECUTE
2018-06-28 04:46:36.519235 [NOTICE] switch_core_state_machine.c:385 sofia/internal/1001@192.168.1.70 has executed the last dialplan instruction, hanging up.
2018-06-28 04:46:36.519235 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/internal/1001@192.168.1.70 [CS_EXECUTE] [NORMAL_CLEARING]
2018-06-28 04:46:36.519235 [DEBUG] switch_core_state_machine.c:650 (sofia/internal/1001@192.168.1.70) State EXECUTE going to sleep
2018-06-28 04:46:36.519235 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1001@192.168.1.70) Running State Change CS_HANGUP (Cur 1 Tot 9)
2018-06-28 04:46:36.519235 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/1001@192.168.1.70) Callstate Change RINGING -> HANGUP
2018-06-28 04:46:36.519235 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/1001@192.168.1.70) State HANGUP
2018-06-28 04:46:36.519235 [DEBUG] mod_sofia.c:438 Channel sofia/internal/1001@192.168.1.70 hanging up, cause: NORMAL_CLEARING
2018-06-28 04:46:36.519235 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 480
2018-06-28 04:46:36.519235 [DEBUG] switch_core_state_machine.c:60 sofia/internal/1001@192.168.1.70 Standard HANGUP, cause: NORMAL_CLEARING
2018-06-28 04:46:36.519235 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/1001@192.168.1.70) State HANGUP going to sleep
2018-06-28 04:46:36.519235 [DEBUG] switch_core_state_machine.c:619 (sofia/internal/1001@192.168.1.70) State Change CS_HANGUP -> CS_REPORTING
2018-06-28 04:46:36.519235 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1001@192.168.1.70) Running State Change CS_REPORTING (Cur 1 Tot 9)
2018-06-28 04:46:36.519235 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/1001@192.168.1.70) State REPORTING
2018-06-28 04:46:36.579269 [DEBUG] switch_core_state_machine.c:174 sofia/internal/1001@192.168.1.70 Standard REPORTING, cause: NORMAL_CLEARING
2018-06-28 04:46:36.579269 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/1001@192.168.1.70) State REPORTING going to sleep
2018-06-28 04:46:36.579269 [DEBUG] switch_core_state_machine.c:610 (sofia/internal/1001@192.168.1.70) State Change CS_REPORTING -> CS_DESTROY
2018-06-28 04:46:36.579269 [DEBUG] switch_core_session.c:1665 Session 9 (sofia/internal/1001@192.168.1.70) Locked, Waiting on external entities
2018-06-28 04:46:36.579269 [NOTICE] switch_core_session.c:1683 Session 9 (sofia/internal/1001@192.168.1.70) Ended
2018-06-28 04:46:36.579269 [NOTICE] switch_core_session.c:1687 Close Channel sofia/internal/1001@192.168.1.70 [CS_DESTROY]
2018-06-28 04:46:36.579269 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/1001@192.168.1.70) Running State Change CS_DESTROY (Cur 0 Tot 9)
2018-06-28 04:46:36.579269 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/1001@192.168.1.70) State DESTROY
2018-06-28 04:46:36.579269 [DEBUG] mod_sofia.c:343 sofia/internal/1001@192.168.1.70 SOFIA DESTROY
2018-06-28 04:46:36.579269 [DEBUG] switch_core_state_machine.c:181 sofia/internal/1001@192.168.1.70 Standard DESTROY
2018-06-28 04:46:36.579269 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/1001@192.168.1.70) State DESTROY going to sleep
======================================================================================
 

gin92

New Member
Apr 12, 2018
16
0
1
31
Can you please try removing all settings you have changed in Access Control. Both domain and LAN can even be empty.(no CIDR in domain but you can try adding your domain name allowed if keeping empty does not work) But also change the context to your domain name rather than public everywhere in extention,dialplan,devices and gateway. Please try this and check. And are you sure you need a gateway for this setup?Sorry for being a little vague, I myself am a newbie in fusionpbx and I have definitely seen this error myself :)
 

hiastar_alex

New Member
Jun 26, 2018
11
0
1
23
Can you please try removing all settings you have changed in Access Control. Both domain and LAN can even be empty.(no CIDR in domain but you can try adding your domain name allowed if keeping empty does not work) But also change the context to your domain name rather than public everywhere in extention,dialplan,devices and gateway. Please try this and check. And are you sure you need a gateway for this setup?Sorry for being a little vague, I myself am a newbie in fusionpbx and I have definitely seen this error myself :)
I deleted all the configuration, reconfigured it again. Found that all the problems are caused by the domain ACL. When I do not configure the domain acl, normal call between extensions, outgoing normal. but I cannot call in. When I add the allow gateway address in the domain acl, the incoming call is normal, However, there is no way to talk between extensions and they cannot call out.
Do you know the correct configuration of domain acl?
 

gin92

New Member
Apr 12, 2018
16
0
1
31
I deleted all the configuration, reconfigured it again. Found that all the problems are caused by the domain ACL. When I do not configure the domain acl, normal call between extensions, outgoing normal. but I cannot call in. When I add the allow gateway address in the domain acl, the incoming call is normal, However, there is no way to talk between extensions and they cannot call out.
Do you know the correct configuration of domain acl?

I have the domain acl configured with my domain name allowed in Domain section and my gateway ip adress allowed in CIDR separately. And everything seems to work fine for me with this setup
 

hiastar_alex

New Member
Jun 26, 2018
11
0
1
23
I have the domain acl configured with my domain name allowed in Domain section and my gateway ip adress allowed in CIDR separately. And everything seems to work fine for me with this setup
Thanks gin92 , I have already solved. In cidr, change the netmask of the IP address to 32.
 
Status
Not open for further replies.