Hello, I am new to FusionPBX. Trying to get Outbound or Inbound for that matter working on AWS LIghtsail. I had Inbound and never got Outbound to work. In trying to fix Outbound I broke Inbound. Let's try to get Outbound working first. I have a LightSail VM running Debian 10.8. Here are my FW rules:
I have a Yealink T46G on my local network at home registered as an extension. I have worked through endless 407 errors and think I have that fixed but having 480 Unavailable errors now.
Here is Fusionpbx log.
########## - Dialed Number
XXX.XX.X.XXX - Private IP where Yealink T46G is registered.
YYY.YY.Y.YYY - Local Domain IP for LightSail VM (Defined in FusionPBX domains)
ZZ.ZZZ.ZZZ.ZZ - Public IP for LightSail VM (Also Defined in FusionPBX domains)
recv 913 bytes from udp/[XXX.XX.X.XXX]:5060 at 16:47:06.578801:
------------------------------------------------------------------------
INVITE sip:##########@ZZ.ZZZ.ZZZ.ZZ:5080 SIP/2.0
Via: SIP/2.0/UDP YYY.YYY.Y.YYY:5060;branch=z9hG4bK2816192182
From: "700" <sip:700@ZZ.ZZZ.ZZZ.ZZ:5080>;tag=3888214355
To: <sip:##########@ZZ.ZZZ.ZZZ.ZZ:5080>
Call-ID: 0_65059309@YYY.YYY.Y.YYY
CSeq: 1 INVITE
Contact: <sip:700@YYY.YYY.Y.YYY:5060>
Content-Type: application/sdp
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
Max-Forwards: 70
User-Agent: Yealink SIP-T46G 28.83.0.120
Allow-Events: talk,hold,conference,refer,check-sync
Supported: replaces
Content-Length: 308
v=0
o=- 20086 20086 IN IP4 YYY.YYY.Y.YYY
s=SDP data
c=IN IP4 YYY.YYY.Y.YYY
t=0 0
m=audio 12466 RTP/AVP 9 0 8 18 101
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=ptime:20
a=sendrecv
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
2021-06-07 16:47:06.577132 [NOTICE] switch_channel.c:1118 New Channel sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 [bc7e251c-c7de-4569-b5f2-36f1351945f2]
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:585 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) Running State Change CS_NEW (Cur 1 Tot 60)
2021-06-07 16:47:06.577132 [INFO] sofia.c:10362 sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 receiving invite from XXX.XX.X.XXX:5060 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: 0_65059309@YYY.YYY.Y.YYY
2021-06-07 16:47:06.577132 [DEBUG] sofia.c:10456 verifying acl "domains" for ip/port XXX.XX.X.XXX:0.
2021-06-07 16:47:06.577132 [DEBUG] sofia.c:11564 Setting NAT mode based on nat.auto
2021-06-07 16:47:06.577132 [DEBUG] sofia.c:7406 Channel sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 entering state [received][100]
2021-06-07 16:47:06.577132 [DEBUG] sofia.c:7416 Remote SDP:
v=0
o=- 20086 20086 IN IP4 YYY.YYY.Y.YYY
s=SDP data
c=IN IP4 YYY.YYY.Y.YYY
t=0 0
m=audio 12466 RTP/AVP 9 0 8 18 101
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [G722:9:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [G722:9:8000:20:64000:1] ++++ is saved as a match
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1]
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:3847 Set Codec sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 G722/8000 20 ms 160 samples 64000 bits 1 channels
2021-06-07 16:47:06.577132 [DEBUG] switch_core_codec.c:111 sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 Original read codec set to G722:9
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:5918 sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 Set 2833 dtmf send payload to 101 recv payload to 101
2021-06-07 16:47:06.577132 [DEBUG] sofia.c:7840 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) State Change CS_NEW -> CS_INIT
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:604 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) State NEW
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:585 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) Running State Change CS_INIT (Cur 1 Tot 60)
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:628 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) State INIT
2021-06-07 16:47:06.577132 [DEBUG] mod_sofia.c:93 sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 SOFIA INIT
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:40 sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 Standard INIT
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:48 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) State Change CS_INIT -> CS_ROUTING
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:628 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) State INIT going to sleep
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:585 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) Running State Change CS_ROUTING (Cur 1 Tot 60)
2021-06-07 16:47:06.577132 [DEBUG] switch_channel.c:2332 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) Callstate Change DOWN -> RINGING
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:644 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) State ROUTING
send 298 bytes to udp/[XXX.XX.X.XXX]:5060 at 16:47:06.579997:
------------------------------------------------------------------------
SIP/2.0 100 Trying
Via: SIP/2.0/UDP YYY.YYY.Y.YYY:5060;branch=z9hG4bK2816192182;received=XXX.XX.X.XXX
From: "700" <sip:700@ZZ.ZZZ.ZZZ.ZZ:5080>;tag=3888214355
To: <sip:##########@ZZ.ZZZ.ZZZ.ZZ:5080>
Call-ID: 0_65059309@YYY.YYY.Y.YYY
CSeq: 1 INVITE
User-Agent: FreeSWITCH
Content-Length: 0
2021-06-07 16:47:06.577132 [DEBUG] mod_sofia.c:154 sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 SOFIA ROUTING
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:236 sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 Standard ROUTING
2021-06-07 16:47:06.577132 [INFO] mod_dialplan_xml.c:637 Processing 700 <700>->########## in context public
Dialplan: sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 parsing [public->caller-details] continue=true
Dialplan: sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 Regex (PASS) [caller-details] () =~ // break=never
Dialplan: sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 Action export(call_direction=inbound) INLINE
EXECUTE [depth=0] sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 export(call_direction=inbound)
2021-06-07 16:47:06.577132 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_direction]=[inbound]
Dialplan: sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 Action set(caller_destination=${sip_to_user}) INLINE
EXECUTE [depth=0] sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 set(caller_destination=##########)
2021-06-07 16:47:06.577132 [DEBUG] mod_dptools.c:1685 SET sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 [caller_destination]=[##########]
Dialplan: sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 Action set(caller_id_name=${caller_id_name}) INLINE
EXECUTE [depth=0] sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 set(caller_id_name=700)
2021-06-07 16:47:06.577132 [DEBUG] mod_dptools.c:1685 SET sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 [caller_id_name]=[700]
Dialplan: sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 Action set(caller_id_number=${caller_id_number})
Dialplan: sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 parsing [public->272565] continue=false
Dialplan: sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 Regex (FAIL) [272565] destination_number(##########) =~ /^(272565)$/ break=on-false
Dialplan: sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 parsing [public->not-found] continue=false
Dialplan: sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 Regex (PASS) [not-found] () =~ // break=on-false
Dialplan: sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 Action export(call_direction=inbound) INLINE
EXECUTE [depth=0] sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 export(call_direction=inbound)
2021-06-07 16:47:06.577132 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_direction]=[inbound]
Dialplan: sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 Action set(call_direction=inbound) INLINE
EXECUTE [depth=0] sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 set(call_direction=inbound)
2021-06-07 16:47:06.577132 [DEBUG] mod_dptools.c:1685 SET sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 [call_direction]=[inbound]
Dialplan: sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 Action log(WARNING [inbound routes] 404 not found ${sip_network_ip})
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:287 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) State Change CS_ROUTING -> CS_EXECUTE
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:644 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) State ROUTING going to sleep
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:585 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) Running State Change CS_EXECUTE (Cur 1 Tot 60)
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:651 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) State EXECUTE
2021-06-07 16:47:06.577132 [DEBUG] mod_sofia.c:209 sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 SOFIA EXECUTE
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:329 sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 Standard EXECUTE
EXECUTE [depth=0] sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 set(caller_id_number=700)
2021-06-07 16:47:06.577132 [DEBUG] mod_dptools.c:1685 SET sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 [caller_id_number]=[700]
EXECUTE [depth=0] sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 log(WARNING [inbound routes] 404 not found XXX.XX.X.XXX)
2021-06-07 16:47:06.577132 [WARNING] mod_dptools.c:1879 [inbound routes] 404 not found XXX.XX.X.XXX
2021-06-07 16:47:06.577132 [NOTICE] switch_core_state_machine.c:386 sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 has executed the last dialplan instruction, hanging up.
2021-06-07 16:47:06.577132 [NOTICE] switch_core_state_machine.c:388 Hangup sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 [CS_EXECUTE] [NORMAL_CLEARING]
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:651 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) State EXECUTE going to sleep
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:585 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) Running State Change CS_HANGUP (Cur 1 Tot 60)
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:848 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) Callstate Change RINGING -> HANGUP
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:850 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) State HANGUP
2021-06-07 16:47:06.577132 [DEBUG] mod_sofia.c:453 Channel sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 hanging up, cause: NORMAL_CLEARING
2021-06-07 16:47:06.577132 [DEBUG] mod_sofia.c:598 Responding to INVITE with: 480
send 690 bytes to udp/[XXX.XX.X.XXX]:5060 at 16:47:06.589887:
------------------------------------------------------------------------
SIP/2.0 480 Temporarily Unavailable
Via: SIP/2.0/UDP YYY.YYY.Y.YYY:5060;branch=z9hG4bK2816192182;received=XXX.XX.X.XXX
Max-Forwards: 70
From: "700" <sip:700@ZZ.ZZZ.ZZZ.ZZ:5080>;tag=3888214355
To: <sip:##########@ZZ.ZZZ.ZZZ.ZZ:5080>;tag=K133rSF9tB97r
Call-ID: 0_65059309@YYY.YYY.Y.YYY
CSeq: 1 INVITE
User-Agent: FreeSWITCH
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, refer
Reason: Q.850;cause=16;text="NORMAL_CLEARING"
Content-Length: 0
Remote-Party-ID: "##########" <sip:##########@ZZ.ZZZ.ZZZ.ZZ>;party=calling;privacy=off;screen=no
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:60 sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 Standard HANGUP, cause: NORMAL_CLEARING
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:850 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) State HANGUP going to sleep
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:620 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) State Change CS_HANGUP -> CS_REPORTING
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:585 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) Running State Change CS_REPORTING (Cur 1 Tot 60)
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:936 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) State REPORTING
recv 294 bytes from udp/[XXX.XX.X.XXX]:5060 at 16:47:06.616743:
------------------------------------------------------------------------
ACK sip:##########@ZZ.ZZZ.ZZZ.ZZ:5080 SIP/2.0
Via: SIP/2.0/UDP YYY.YYY.Y.YYY:5060;branch=z9hG4bK2816192182
From: "700" <sip:700@ZZ.ZZZ.ZZZ.ZZ:5080>;tag=3888214355
To: <sip:##########@ZZ.ZZZ.ZZZ.ZZ:5080>;tag=K133rSF9tB97r
Call-ID: 0_65059309@YYY.YYY.Y.YYY
CSeq: 1 ACK
Content-Length: 0
2021-06-07 16:47:06.657117 [DEBUG] switch_core_state_machine.c:174 sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 Standard REPORTING, cause: NORMAL_CLEARING
2021-06-07 16:47:06.657117 [DEBUG] switch_core_state_machine.c:936 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) State REPORTING going to sleep
2021-06-07 16:47:06.657117 [DEBUG] switch_core_state_machine.c:611 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) State Change CS_REPORTING -> CS_DESTROY
2021-06-07 16:47:06.657117 [DEBUG] switch_core_session.c:1736 Session 60 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) Locked, Waiting on external entities
2021-06-07 16:47:06.657117 [NOTICE] switch_core_session.c:1754 Session 60 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) Ended
2021-06-07 16:47:06.657117 [NOTICE] switch_core_session.c:1758 Close Channel sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 [CS_DESTROY]
2021-06-07 16:47:06.657117 [DEBUG] switch_core_state_machine.c:739 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) Running State Change CS_DESTROY (Cur 0 Tot 60)
2021-06-07 16:47:06.657117 [DEBUG] switch_core_state_machine.c:749 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) State DESTROY
2021-06-07 16:47:06.657117 [DEBUG] mod_sofia.c:364 sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 SOFIA DESTROY
2021-06-07 16:47:06.657117 [DEBUG] switch_core_state_machine.c:181 sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 Standard DESTROY
2021-06-07 16:47:06.657117 [DEBUG] switch_core_state_machine.c:749 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) State DESTROY going to sleep
Gateway (less the Username in the Screenshot)
Outbound Routes. The marked out ip addresses are the Public IP for the AWS VM. (Defined in Domains)
External profile. The marked out ip addresses are the Public IP for the AWS VM. (Defined in Domains)
Any insight/help would be greatly appreciated.
Thanks!
I have a Yealink T46G on my local network at home registered as an extension. I have worked through endless 407 errors and think I have that fixed but having 480 Unavailable errors now.
Here is Fusionpbx log.
########## - Dialed Number
XXX.XX.X.XXX - Private IP where Yealink T46G is registered.
YYY.YY.Y.YYY - Local Domain IP for LightSail VM (Defined in FusionPBX domains)
ZZ.ZZZ.ZZZ.ZZ - Public IP for LightSail VM (Also Defined in FusionPBX domains)
recv 913 bytes from udp/[XXX.XX.X.XXX]:5060 at 16:47:06.578801:
------------------------------------------------------------------------
INVITE sip:##########@ZZ.ZZZ.ZZZ.ZZ:5080 SIP/2.0
Via: SIP/2.0/UDP YYY.YYY.Y.YYY:5060;branch=z9hG4bK2816192182
From: "700" <sip:700@ZZ.ZZZ.ZZZ.ZZ:5080>;tag=3888214355
To: <sip:##########@ZZ.ZZZ.ZZZ.ZZ:5080>
Call-ID: 0_65059309@YYY.YYY.Y.YYY
CSeq: 1 INVITE
Contact: <sip:700@YYY.YYY.Y.YYY:5060>
Content-Type: application/sdp
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
Max-Forwards: 70
User-Agent: Yealink SIP-T46G 28.83.0.120
Allow-Events: talk,hold,conference,refer,check-sync
Supported: replaces
Content-Length: 308
v=0
o=- 20086 20086 IN IP4 YYY.YYY.Y.YYY
s=SDP data
c=IN IP4 YYY.YYY.Y.YYY
t=0 0
m=audio 12466 RTP/AVP 9 0 8 18 101
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=ptime:20
a=sendrecv
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
2021-06-07 16:47:06.577132 [NOTICE] switch_channel.c:1118 New Channel sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 [bc7e251c-c7de-4569-b5f2-36f1351945f2]
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:585 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) Running State Change CS_NEW (Cur 1 Tot 60)
2021-06-07 16:47:06.577132 [INFO] sofia.c:10362 sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 receiving invite from XXX.XX.X.XXX:5060 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: 0_65059309@YYY.YYY.Y.YYY
2021-06-07 16:47:06.577132 [DEBUG] sofia.c:10456 verifying acl "domains" for ip/port XXX.XX.X.XXX:0.
2021-06-07 16:47:06.577132 [DEBUG] sofia.c:11564 Setting NAT mode based on nat.auto
2021-06-07 16:47:06.577132 [DEBUG] sofia.c:7406 Channel sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 entering state [received][100]
2021-06-07 16:47:06.577132 [DEBUG] sofia.c:7416 Remote SDP:
v=0
o=- 20086 20086 IN IP4 YYY.YYY.Y.YYY
s=SDP data
c=IN IP4 YYY.YYY.Y.YYY
t=0 0
m=audio 12466 RTP/AVP 9 0 8 18 101
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [G722:9:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [G722:9:8000:20:64000:1] ++++ is saved as a match
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1]
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:3847 Set Codec sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 G722/8000 20 ms 160 samples 64000 bits 1 channels
2021-06-07 16:47:06.577132 [DEBUG] switch_core_codec.c:111 sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 Original read codec set to G722:9
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
2021-06-07 16:47:06.577132 [DEBUG] switch_core_media.c:5918 sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 Set 2833 dtmf send payload to 101 recv payload to 101
2021-06-07 16:47:06.577132 [DEBUG] sofia.c:7840 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) State Change CS_NEW -> CS_INIT
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:604 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) State NEW
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:585 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) Running State Change CS_INIT (Cur 1 Tot 60)
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:628 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) State INIT
2021-06-07 16:47:06.577132 [DEBUG] mod_sofia.c:93 sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 SOFIA INIT
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:40 sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 Standard INIT
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:48 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) State Change CS_INIT -> CS_ROUTING
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:628 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) State INIT going to sleep
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:585 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) Running State Change CS_ROUTING (Cur 1 Tot 60)
2021-06-07 16:47:06.577132 [DEBUG] switch_channel.c:2332 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) Callstate Change DOWN -> RINGING
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:644 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) State ROUTING
send 298 bytes to udp/[XXX.XX.X.XXX]:5060 at 16:47:06.579997:
------------------------------------------------------------------------
SIP/2.0 100 Trying
Via: SIP/2.0/UDP YYY.YYY.Y.YYY:5060;branch=z9hG4bK2816192182;received=XXX.XX.X.XXX
From: "700" <sip:700@ZZ.ZZZ.ZZZ.ZZ:5080>;tag=3888214355
To: <sip:##########@ZZ.ZZZ.ZZZ.ZZ:5080>
Call-ID: 0_65059309@YYY.YYY.Y.YYY
CSeq: 1 INVITE
User-Agent: FreeSWITCH
Content-Length: 0
2021-06-07 16:47:06.577132 [DEBUG] mod_sofia.c:154 sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 SOFIA ROUTING
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:236 sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 Standard ROUTING
2021-06-07 16:47:06.577132 [INFO] mod_dialplan_xml.c:637 Processing 700 <700>->########## in context public
Dialplan: sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 parsing [public->caller-details] continue=true
Dialplan: sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 Regex (PASS) [caller-details] () =~ // break=never
Dialplan: sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 Action export(call_direction=inbound) INLINE
EXECUTE [depth=0] sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 export(call_direction=inbound)
2021-06-07 16:47:06.577132 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_direction]=[inbound]
Dialplan: sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 Action set(caller_destination=${sip_to_user}) INLINE
EXECUTE [depth=0] sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 set(caller_destination=##########)
2021-06-07 16:47:06.577132 [DEBUG] mod_dptools.c:1685 SET sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 [caller_destination]=[##########]
Dialplan: sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 Action set(caller_id_name=${caller_id_name}) INLINE
EXECUTE [depth=0] sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 set(caller_id_name=700)
2021-06-07 16:47:06.577132 [DEBUG] mod_dptools.c:1685 SET sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 [caller_id_name]=[700]
Dialplan: sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 Action set(caller_id_number=${caller_id_number})
Dialplan: sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 parsing [public->272565] continue=false
Dialplan: sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 Regex (FAIL) [272565] destination_number(##########) =~ /^(272565)$/ break=on-false
Dialplan: sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 parsing [public->not-found] continue=false
Dialplan: sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 Regex (PASS) [not-found] () =~ // break=on-false
Dialplan: sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 Action export(call_direction=inbound) INLINE
EXECUTE [depth=0] sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 export(call_direction=inbound)
2021-06-07 16:47:06.577132 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_direction]=[inbound]
Dialplan: sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 Action set(call_direction=inbound) INLINE
EXECUTE [depth=0] sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 set(call_direction=inbound)
2021-06-07 16:47:06.577132 [DEBUG] mod_dptools.c:1685 SET sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 [call_direction]=[inbound]
Dialplan: sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 Action log(WARNING [inbound routes] 404 not found ${sip_network_ip})
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:287 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) State Change CS_ROUTING -> CS_EXECUTE
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:644 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) State ROUTING going to sleep
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:585 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) Running State Change CS_EXECUTE (Cur 1 Tot 60)
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:651 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) State EXECUTE
2021-06-07 16:47:06.577132 [DEBUG] mod_sofia.c:209 sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 SOFIA EXECUTE
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:329 sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 Standard EXECUTE
EXECUTE [depth=0] sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 set(caller_id_number=700)
2021-06-07 16:47:06.577132 [DEBUG] mod_dptools.c:1685 SET sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 [caller_id_number]=[700]
EXECUTE [depth=0] sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 log(WARNING [inbound routes] 404 not found XXX.XX.X.XXX)
2021-06-07 16:47:06.577132 [WARNING] mod_dptools.c:1879 [inbound routes] 404 not found XXX.XX.X.XXX
2021-06-07 16:47:06.577132 [NOTICE] switch_core_state_machine.c:386 sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 has executed the last dialplan instruction, hanging up.
2021-06-07 16:47:06.577132 [NOTICE] switch_core_state_machine.c:388 Hangup sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 [CS_EXECUTE] [NORMAL_CLEARING]
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:651 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) State EXECUTE going to sleep
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:585 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) Running State Change CS_HANGUP (Cur 1 Tot 60)
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:848 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) Callstate Change RINGING -> HANGUP
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:850 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) State HANGUP
2021-06-07 16:47:06.577132 [DEBUG] mod_sofia.c:453 Channel sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 hanging up, cause: NORMAL_CLEARING
2021-06-07 16:47:06.577132 [DEBUG] mod_sofia.c:598 Responding to INVITE with: 480
send 690 bytes to udp/[XXX.XX.X.XXX]:5060 at 16:47:06.589887:
------------------------------------------------------------------------
SIP/2.0 480 Temporarily Unavailable
Via: SIP/2.0/UDP YYY.YYY.Y.YYY:5060;branch=z9hG4bK2816192182;received=XXX.XX.X.XXX
Max-Forwards: 70
From: "700" <sip:700@ZZ.ZZZ.ZZZ.ZZ:5080>;tag=3888214355
To: <sip:##########@ZZ.ZZZ.ZZZ.ZZ:5080>;tag=K133rSF9tB97r
Call-ID: 0_65059309@YYY.YYY.Y.YYY
CSeq: 1 INVITE
User-Agent: FreeSWITCH
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, refer
Reason: Q.850;cause=16;text="NORMAL_CLEARING"
Content-Length: 0
Remote-Party-ID: "##########" <sip:##########@ZZ.ZZZ.ZZZ.ZZ>;party=calling;privacy=off;screen=no
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:60 sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 Standard HANGUP, cause: NORMAL_CLEARING
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:850 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) State HANGUP going to sleep
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:620 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) State Change CS_HANGUP -> CS_REPORTING
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:585 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) Running State Change CS_REPORTING (Cur 1 Tot 60)
2021-06-07 16:47:06.577132 [DEBUG] switch_core_state_machine.c:936 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) State REPORTING
recv 294 bytes from udp/[XXX.XX.X.XXX]:5060 at 16:47:06.616743:
------------------------------------------------------------------------
ACK sip:##########@ZZ.ZZZ.ZZZ.ZZ:5080 SIP/2.0
Via: SIP/2.0/UDP YYY.YYY.Y.YYY:5060;branch=z9hG4bK2816192182
From: "700" <sip:700@ZZ.ZZZ.ZZZ.ZZ:5080>;tag=3888214355
To: <sip:##########@ZZ.ZZZ.ZZZ.ZZ:5080>;tag=K133rSF9tB97r
Call-ID: 0_65059309@YYY.YYY.Y.YYY
CSeq: 1 ACK
Content-Length: 0
2021-06-07 16:47:06.657117 [DEBUG] switch_core_state_machine.c:174 sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 Standard REPORTING, cause: NORMAL_CLEARING
2021-06-07 16:47:06.657117 [DEBUG] switch_core_state_machine.c:936 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) State REPORTING going to sleep
2021-06-07 16:47:06.657117 [DEBUG] switch_core_state_machine.c:611 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) State Change CS_REPORTING -> CS_DESTROY
2021-06-07 16:47:06.657117 [DEBUG] switch_core_session.c:1736 Session 60 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) Locked, Waiting on external entities
2021-06-07 16:47:06.657117 [NOTICE] switch_core_session.c:1754 Session 60 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) Ended
2021-06-07 16:47:06.657117 [NOTICE] switch_core_session.c:1758 Close Channel sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 [CS_DESTROY]
2021-06-07 16:47:06.657117 [DEBUG] switch_core_state_machine.c:739 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) Running State Change CS_DESTROY (Cur 0 Tot 60)
2021-06-07 16:47:06.657117 [DEBUG] switch_core_state_machine.c:749 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) State DESTROY
2021-06-07 16:47:06.657117 [DEBUG] mod_sofia.c:364 sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 SOFIA DESTROY
2021-06-07 16:47:06.657117 [DEBUG] switch_core_state_machine.c:181 sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080 Standard DESTROY
2021-06-07 16:47:06.657117 [DEBUG] switch_core_state_machine.c:749 (sofia/external/700@ZZ.ZZZ.ZZZ.ZZ:5080) State DESTROY going to sleep
Gateway (less the Username in the Screenshot)
Outbound Routes. The marked out ip addresses are the Public IP for the AWS VM. (Defined in Domains)
External profile. The marked out ip addresses are the Public IP for the AWS VM. (Defined in Domains)
Any insight/help would be greatly appreciated.
Thanks!