Hello group,
I'm currently facing 2 problems or 3,
Ist the upgrade for (Source Code Updates FusionPBX source files from the repository. ) is broken see screenshots below...

They all work but Source Code Updates FusionPBX source files from the repository

2nd I have a FusionPBX 4.2.3 running for about a year, it's connected to my FreeSWITCH, registered using SIP user & Password; from there FreeSWITCH is connected to Simwood via IP ACL; DDI's number format 4420812345678, this works flawlessly
as per Len's video's and advice from Diaz.
Now I'm wanting to cut FreeSWITCH out the equation, as he's not feeling very well at all, the goal is to get FusionPBX 4.2.3 and Simwood to talk directly.
Outbound call not going anywhere and Inbound not even seen in the logs....I'll post the setup below the log.
2018-09-24 11:35:05.642699 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/2008@pbx.numbercard.co.uk [6fd460ff-0621-4ed9-babc-aae90096613e]
2018-09-24 11:35:05.642699 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/2008@pbx.numbercard.co.uk) Running State Change CS_NEW (Cur 1 Tot 17)
2018-09-24 11:35:05.642699 [DEBUG] sofia.c:9873 sofia/internal/2008@pbx.numbercard.co.uk receiving invite from 80.42.33.60:5060 version: 1.6.19 -36-7a77e0b 64bit
2018-09-24 11:35:05.642699 [DEBUG] sofia.c:10044 IP 80.42.33.60 Rejected by acl "domains". Falling back to Digest auth.
2018-09-24 11:35:05.642699 [DEBUG] sofia.c:2334 detaching session 6fd460ff-0621-4ed9-babc-aae90096613e
2018-09-24 11:35:05.642699 [WARNING] sofia_reg.c:1792 SIP auth challenge (INVITE) on sofia profile 'internal' for [02085199022@pbx.numbercard.co.uk] from ip 80.42.33.60
2018-09-24 11:35:05.642699 [DEBUG] switch_core_state_machine.c:603 (sofia/internal/2008@pbx.numbercard.co.uk) State NEW
2018-09-24 11:35:05.742711 [DEBUG] sofia.c:2442 Re-attaching to session 6fd460ff-0621-4ed9-babc-aae90096613e
2018-09-24 11:35:05.762684 [DEBUG] sofia.c:9873 sofia/internal/2008@pbx.numbercard.co.uk receiving invite from 80.42.33.60:5060 version: 1.6.19 -36-7a77e0b 64bit
2018-09-24 11:35:05.762684 [DEBUG] sofia.c:10044 IP 80.42.33.60 Rejected by acl "domains". Falling back to Digest auth.
2018-09-24 11:35:05.762684 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f40ac0cc070 Connected.
2018-09-24 11:35:05.782815 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f40ac0cc070 released.
2018-09-24 11:35:05.782815 [DEBUG] sofia.c:7084 Channel sofia/internal/2008@pbx.numbercard.co.uk entering state [received][100]
2018-09-24 11:35:05.782815 [DEBUG] sofia.c:7094 Remote SDP:
v=0
o=- 20045 20045 IN IP4 80.42.33.60
s=SDP data
c=IN IP4 80.42.33.60
t=0 0
m=audio 7074 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
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G722:9:8000:20:64000:1] ++++ is saved as a match
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[GSM:3:8000:20:13200:1]
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[GSM:3:8000:20:13200:1]
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[GSM:3:8000:20:13200:1]
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1]
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[GSM:3:8000:20:13200:1]
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:3061 Set Codec sofia/internal/2008@pbx.numbercard.co.uk G722/8000 20 ms 160 samples 64000 bits 1 channels
2018-09-24 11:35:05.782815 [DEBUG] switch_core_codec.c:111 sofia/internal/2008@pbx.numbercard.co.uk Original read codec set to G722:9
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4767 sofia/internal/2008@pbx.numbercard.co.uk Set 2833 dtmf send payload to 101 recv payload to 101
2018-09-24 11:35:05.782815 [DEBUG] sofia.c:7507 (sofia/internal/2008@pbx.numbercard.co.uk) State Change CS_NEW -> CS_INIT
2018-09-24 11:35:05.782815 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/2008@pbx.numbercard.co.uk) Running State Change CS_INIT (Cur 1 Tot 17)
2018-09-24 11:35:05.782815 [DEBUG] switch_core_state_machine.c:627 (sofia/internal/2008@pbx.numbercard.co.uk) State INIT
2018-09-24 11:35:05.782815 [DEBUG] mod_sofia.c:90 sofia/internal/2008@pbx.numbercard.co.uk SOFIA INIT
2018-09-24 11:35:05.782815 [DEBUG] switch_core_state_machine.c:40 sofia/internal/2008@pbx.numbercard.co.uk Standard INIT
2018-09-24 11:35:05.782815 [DEBUG] switch_core_state_machine.c:48 (sofia/internal/2008@pbx.numbercard.co.uk) State Change CS_INIT -> CS_ROUTING
2018-09-24 11:35:05.782815 [DEBUG] switch_core_state_machine.c:627 (sofia/internal/2008@pbx.numbercard.co.uk) State INIT going to sleep
2018-09-24 11:35:05.782815 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/2008@pbx.numbercard.co.uk) Running State Change CS_ROUTING (Cur 1 Tot 17)
2018-09-24 11:35:05.782815 [DEBUG] switch_channel.c:2249 (sofia/internal/2008@pbx.numbercard.co.uk) Callstate Change DOWN -> RINGING
2018-09-24 11:35:05.782815 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/2008@pbx.numbercard.co.uk) State ROUTING
2018-09-24 11:35:05.782815 [DEBUG] mod_sofia.c:143 sofia/internal/2008@pbx.numbercard.co.uk SOFIA ROUTING
2018-09-24 11:35:05.782815 [DEBUG] switch_core_state_machine.c:236 sofia/internal/2008@pbx.numbercard.co.uk Standard ROUTING
2018-09-24 11:35:05.782815 [INFO] mod_dialplan_xml.c:637 Processing 02081802497 <2008>->02085199022 in context pbx.numbercard.co.uk
2018-09-24 11:35:05.782815 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f40ac0cc070 Connected.
2018-09-24 11:35:05.822734 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f40ac0cc070 released.
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk parsing [pbx.numbercard.co.uk->user_exists] continue=true
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (PASS) [user_exists] () =~ // break=on-false
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Action set(user_exists=${user_exists id ${destination_number} ${domain_name}}) INLINE
2018-09-24 11:35:05.822734 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f40ac0cc070 Connected.
2018-09-24 11:35:05.842682 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f40ac0cc070 released.
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk set(user_exists=false)
2018-09-24 11:35:05.842682 [DEBUG] mod_dptools.c:1548 SET sofia/internal/2008@pbx.numbercard.co.uk [user_exists]=[false]
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_exists] ${user_exists}(false) =~ /^true$/ break=on-false
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk parsing [pbx.numbercard.co.uk->call-direction] continue=true
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [call-direction] ${call_direction}() =~ /^(inbound|outbound|local)$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk ANTI-Action set(call_direction=local)
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk parsing [pbx.numbercard.co.uk->variables] continue=true
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (PASS) [variables] () =~ // break=on-false
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Action export(origination_callee_id_name=${destination_number})
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Action set(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk parsing [pbx.numbercard.co.uk->user_record] continue=true
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (PASS) [user_record] () =~ // break=on-false
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Action set(user_record=${user_data ${destination_number}@${domain_name} var user_record}) INLINE
2018-09-24 11:35:05.842682 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f40ac0cc070 Connected.
2018-09-24 11:35:05.862720 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f40ac0cc070 released.
2018-09-24 11:35:05.862720 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f40ac0cc070 Connected.
2018-09-24 11:35:05.862720 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f40ac0cc070 released.
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk set(user_record=)
2018-09-24 11:35:05.862720 [DEBUG] mod_dptools.c:1548 SET sofia/internal/2008@pbx.numbercard.co.uk [user_record]=[UNDEF]
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Action set(from_user_exists=${user_exists id ${sip_from_user} ${sip_from_host}}) INLINE
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk set(from_user_exists=true)
2018-09-24 11:35:05.862720 [DEBUG] mod_dptools.c:1548 SET sofia/internal/2008@pbx.numbercard.co.uk [from_user_exists]=[true]
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${user_record}() =~ /^all$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${call_direction}() =~ /^inbound$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${user_record}() =~ /^inbound$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${call_direction}() =~ /^outbound$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${user_record}() =~ /^outbound$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${call_direction}() =~ /^local$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${user_record}() =~ /^local$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Action set(from_user_record=${user_data ${sip_from_user}@${sip_from_host} var user_record}) INLINE
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk set(from_user_record=)
2018-09-24 11:35:05.862720 [DEBUG] mod_dptools.c:1548 SET sofia/internal/2008@pbx.numbercard.co.uk [from_user_record]=[UNDEF]
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${from_user_record}() =~ /^all$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${call_direction}() =~ /^inbound$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${from_user_record}() =~ /^inbound$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${call_direction}() =~ /^outbound$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${from_user_record}() =~ /^outbound$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${call_direction}() =~ /^local$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${from_user_record}() =~ /^local$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${record_session}() =~ /^true$/ break=on-false
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk parsing [pbx.numbercard.co.uk->redial] continue=true
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [redial] destination_number(02085199022) =~ /^(redial|\*870)$/ break=on-true
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (PASS) [redial] () =~ // break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number})
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk parsing [pbx.numbercard.co.uk->speed_dial] continue=false
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [speed_dial] destination_number(02085199022) =~ /^\*0(.*)$/ break=on-false
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk parsing [pbx.numbercard.co.uk->XP451-25296.d1114] continue=false
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (PASS) [XP451-25296.d1114] destination_number(02085199022) =~ /^(\d{11})$/ break=on-false
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Action set(sip_h_X-accountcode=${accountcode})
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Action set(call_direction=outbound)
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Action unset(call_timeout)
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Action set(hangup_after_bridge=true)
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Action set(effective_caller_id_name=${outbound_caller_id_name})
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Action set(effective_caller_id_number=${outbound_caller_id_number})
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Action set(inherit_codec=true)
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Action set(ignore_display_updates=true)
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Action set(callee_id_number=02085199022)
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Action set(continue_on_fail=true)
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Action bridge(sofia/gateway/684b5bd1-49e2-4bd6-9110-efd5a0521c99/02085199022)
2018-09-24 11:35:05.862720 [DEBUG] switch_core_state_machine.c:286 (sofia/internal/2008@pbx.numbercard.co.uk) State Change CS_ROUTING -> CS_EXECUTE
2018-09-24 11:35:05.862720 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/2008@pbx.numbercard.co.uk) State ROUTING going to sleep
2018-09-24 11:35:05.862720 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/2008@pbx.numbercard.co.uk) Running State Change CS_EXECUTE (Cur 1 Tot 17)
2018-09-24 11:35:05.862720 [DEBUG] switch_core_state_machine.c:650 (sofia/internal/2008@pbx.numbercard.co.uk) State EXECUTE
2018-09-24 11:35:05.862720 [DEBUG] mod_sofia.c:198 sofia/internal/2008@pbx.numbercard.co.uk SOFIA EXECUTE
2018-09-24 11:35:05.862720 [DEBUG] switch_core_state_machine.c:328 sofia/internal/2008@pbx.numbercard.co.uk Standard EXECUTE
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk set(call_direction=local)
2018-09-24 11:35:05.862720 [DEBUG] mod_dptools.c:1548 SET sofia/internal/2008@pbx.numbercard.co.uk [call_direction]=[local]
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk export(origination_callee_id_name=02085199022)
2018-09-24 11:35:05.862720 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [origination_callee_id_name]=[02085199022]
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk set(RFC2822_DATE=Mon, 24 Sep 2018 11:35:05 +0000)
2018-09-24 11:35:05.862720 [DEBUG] mod_dptools.c:1548 SET sofia/internal/2008@pbx.numbercard.co.uk [RFC2822_DATE]=[Mon, 24 Sep 2018 11:35:05 +0000]
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk hash(insert/pbx.numbercard.co.uk-last_dial/2008/02085199022)
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk set(sip_h_X-accountcode=pbx.numbercard.co.uk)
2018-09-24 11:35:05.862720 [DEBUG] mod_dptools.c:1548 SET sofia/internal/2008@pbx.numbercard.co.uk [sip_h_X-accountcode]=[pbx.numbercard.co.uk]
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk set(call_direction=outbound)
2018-09-24 11:35:05.862720 [DEBUG] mod_dptools.c:1548 SET sofia/internal/2008@pbx.numbercard.co.uk [call_direction]=[outbound]
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk unset(call_timeout)
2018-09-24 11:35:05.862720 [DEBUG] mod_dptools.c:1693 UNSET [call_timeout]
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk set(hangup_after_bridge=true)
2018-09-24 11:35:05.862720 [DEBUG] mod_dptools.c:1548 SET sofia/internal/2008@pbx.numbercard.co.uk [hangup_after_bridge]=[true]
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk set(effective_caller_id_name=)
2018-09-24 11:35:05.862720 [DEBUG] mod_dptools.c:1548 SET sofia/internal/2008@pbx.numbercard.co.uk [effective_caller_id_name]=[UNDEF]
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk set(effective_caller_id_number=)
2018-09-24 11:35:05.862720 [DEBUG] mod_dptools.c:1548 SET sofia/internal/2008@pbx.numbercard.co.uk [effective_caller_id_number]=[UNDEF]
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk set(inherit_codec=true)
2018-09-24 11:35:05.862720 [DEBUG] mod_dptools.c:1548 SET sofia/internal/2008@pbx.numbercard.co.uk [inherit_codec]=[true]
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk set(ignore_display_updates=true)
2018-09-24 11:35:05.862720 [DEBUG] mod_dptools.c:1548 SET sofia/internal/2008@pbx.numbercard.co.uk [ignore_display_updates]=[true]
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk set(callee_id_number=02085199022)
2018-09-24 11:35:05.862720 [DEBUG] mod_dptools.c:1548 SET sofia/internal/2008@pbx.numbercard.co.uk [callee_id_number]=[02085199022]
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk set(continue_on_fail=true)
2018-09-24 11:35:05.862720 [DEBUG] mod_dptools.c:1548 SET sofia/internal/2008@pbx.numbercard.co.uk [continue_on_fail]=[true]
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk bridge(sofia/gateway/684b5bd1-49e2-4bd6-9110-efd5a0521c99/02085199022)
2018-09-24 11:35:05.882663 [DEBUG] switch_channel.c:1250 sofia/internal/2008@pbx.numbercard.co.uk EXPORTING[export_vars] [domain_name]=[pbx.numbercard.co.uk] to event
2018-09-24 11:35:05.882663 [DEBUG] switch_channel.c:1250 sofia/internal/2008@pbx.numbercard.co.uk EXPORTING[export_vars] [origination_callee_id_name]=[02085199022] to event
2018-09-24 11:35:05.882663 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
2018-09-24 11:35:05.882663 [ERR] mod_sofia.c:4503 Invalid Gateway '684b5bd1-49e2-4bd6-9110-efd5a0521c99'
2018-09-24 11:35:05.882663 [NOTICE] mod_sofia.c:4918 Close Channel N/A [CS_NEW]
2018-09-24 11:35:05.882663 [DEBUG] switch_core_state_machine.c:741 () Running State Change CS_DESTROY (Cur 1 Tot 18)
2018-09-24 11:35:05.882663 [DEBUG] switch_core_state_machine.c:751 (N/A) State DESTROY
2018-09-24 11:35:05.882663 [DEBUG] mod_sofia.c:343 N/A SOFIA DESTROY
2018-09-24 11:35:05.882663 [DEBUG] switch_core_state_machine.c:751 (N/A) State DESTROY going to sleep
2018-09-24 11:35:05.882663 [NOTICE] switch_ivr_originate.c:2851 Cannot create outgoing channel of type [sofia] cause: [INVALID_GATEWAY]
2018-09-24 11:35:05.882663 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 608 [INVALID_GATEWAY]
2018-09-24 11:35:05.882663 [INFO] mod_dptools.c:3436 Originate Failed. Cause: INVALID_GATEWAY
2018-09-24 11:35:05.882663 [NOTICE] switch_core_state_machine.c:385 sofia/internal/2008@pbx.numbercard.co.uk has executed the last dialplan instruction, hanging up.
2018-09-24 11:35:05.882663 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/internal/2008@pbx.numbercard.co.uk [CS_EXECUTE] [NORMAL_CLEARING]
2018-09-24 11:35:05.882663 [DEBUG] switch_core_state_machine.c:650 (sofia/internal/2008@pbx.numbercard.co.uk) State EXECUTE going to sleep
2018-09-24 11:35:05.882663 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/2008@pbx.numbercard.co.uk) Running State Change CS_HANGUP (Cur 1 Tot 18)
2018-09-24 11:35:05.882663 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/2008@pbx.numbercard.co.uk) Callstate Change RINGING -> HANGUP
2018-09-24 11:35:05.882663 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/2008@pbx.numbercard.co.uk) State HANGUP
2018-09-24 11:35:05.882663 [DEBUG] mod_sofia.c:438 Channel sofia/internal/2008@pbx.numbercard.co.uk hanging up, cause: NORMAL_CLEARING
2018-09-24 11:35:05.882663 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 480
2018-09-24 11:35:05.882663 [DEBUG] switch_core_state_machine.c:60 sofia/internal/2008@pbx.numbercard.co.uk Standard HANGUP, cause: NORMAL_CLEARING
2018-09-24 11:35:05.882663 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/2008@pbx.numbercard.co.uk) State HANGUP going to sleep
2018-09-24 11:35:05.882663 [DEBUG] switch_core_state_machine.c:619 (sofia/internal/2008@pbx.numbercard.co.uk) State Change CS_HANGUP -> CS_REPORTING
2018-09-24 11:35:05.882663 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/2008@pbx.numbercard.co.uk) Running State Change CS_REPORTING (Cur 1 Tot 18)
2018-09-24 11:35:05.882663 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/2008@pbx.numbercard.co.uk) State REPORTING
2018-09-24 11:35:06.022764 [DEBUG] switch_core_state_machine.c:174 sofia/internal/2008@pbx.numbercard.co.uk Standard REPORTING, cause: NORMAL_CLEARING
2018-09-24 11:35:06.022764 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/2008@pbx.numbercard.co.uk) State REPORTING going to sleep
2018-09-24 11:35:06.022764 [DEBUG] switch_core_state_machine.c:610 (sofia/internal/2008@pbx.numbercard.co.uk) State Change CS_REPORTING -> CS_DESTROY
2018-09-24 11:35:06.022764 [DEBUG] switch_core_session.c:1665 Session 17 (sofia/internal/2008@pbx.numbercard.co.uk) Locked, Waiting on external entities
2018-09-24 11:35:06.022764 [NOTICE] switch_core_session.c:1683 Session 17 (sofia/internal/2008@pbx.numbercard.co.uk) Ended
2018-09-24 11:35:06.022764 [NOTICE] switch_core_session.c:1687 Close Channel sofia/internal/2008@pbx.numbercard.co.uk [CS_DESTROY]
2018-09-24 11:35:06.022764 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/2008@pbx.numbercard.co.uk) Running State Change CS_DESTROY (Cur 0 Tot 18)
2018-09-24 11:35:06.022764 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/2008@pbx.numbercard.co.uk) State DESTROY
2018-09-24 11:35:06.022764 [DEBUG] mod_sofia.c:343 sofia/internal/2008@pbx.numbercard.co.uk SOFIA DESTROY
2018-09-24 11:35:06.022764 [DEBUG] switch_core_state_machine.c:181 sofia/internal/2008@pbx.numbercard.co.uk Standard DESTROY
2018-09-24 11:35:06.022764 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/2008@pbx.numbercard.co.uk) State DESTROY going to sleep







I'm currently facing 2 problems or 3,
Ist the upgrade for (Source Code Updates FusionPBX source files from the repository. ) is broken see screenshots below...

They all work but Source Code Updates FusionPBX source files from the repository

2nd I have a FusionPBX 4.2.3 running for about a year, it's connected to my FreeSWITCH, registered using SIP user & Password; from there FreeSWITCH is connected to Simwood via IP ACL; DDI's number format 4420812345678, this works flawlessly

Now I'm wanting to cut FreeSWITCH out the equation, as he's not feeling very well at all, the goal is to get FusionPBX 4.2.3 and Simwood to talk directly.
Outbound call not going anywhere and Inbound not even seen in the logs....I'll post the setup below the log.
2018-09-24 11:35:05.642699 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/2008@pbx.numbercard.co.uk [6fd460ff-0621-4ed9-babc-aae90096613e]
2018-09-24 11:35:05.642699 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/2008@pbx.numbercard.co.uk) Running State Change CS_NEW (Cur 1 Tot 17)
2018-09-24 11:35:05.642699 [DEBUG] sofia.c:9873 sofia/internal/2008@pbx.numbercard.co.uk receiving invite from 80.42.33.60:5060 version: 1.6.19 -36-7a77e0b 64bit
2018-09-24 11:35:05.642699 [DEBUG] sofia.c:10044 IP 80.42.33.60 Rejected by acl "domains". Falling back to Digest auth.
2018-09-24 11:35:05.642699 [DEBUG] sofia.c:2334 detaching session 6fd460ff-0621-4ed9-babc-aae90096613e
2018-09-24 11:35:05.642699 [WARNING] sofia_reg.c:1792 SIP auth challenge (INVITE) on sofia profile 'internal' for [02085199022@pbx.numbercard.co.uk] from ip 80.42.33.60
2018-09-24 11:35:05.642699 [DEBUG] switch_core_state_machine.c:603 (sofia/internal/2008@pbx.numbercard.co.uk) State NEW
2018-09-24 11:35:05.742711 [DEBUG] sofia.c:2442 Re-attaching to session 6fd460ff-0621-4ed9-babc-aae90096613e
2018-09-24 11:35:05.762684 [DEBUG] sofia.c:9873 sofia/internal/2008@pbx.numbercard.co.uk receiving invite from 80.42.33.60:5060 version: 1.6.19 -36-7a77e0b 64bit
2018-09-24 11:35:05.762684 [DEBUG] sofia.c:10044 IP 80.42.33.60 Rejected by acl "domains". Falling back to Digest auth.
2018-09-24 11:35:05.762684 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f40ac0cc070 Connected.
2018-09-24 11:35:05.782815 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f40ac0cc070 released.
2018-09-24 11:35:05.782815 [DEBUG] sofia.c:7084 Channel sofia/internal/2008@pbx.numbercard.co.uk entering state [received][100]
2018-09-24 11:35:05.782815 [DEBUG] sofia.c:7094 Remote SDP:
v=0
o=- 20045 20045 IN IP4 80.42.33.60
s=SDP data
c=IN IP4 80.42.33.60
t=0 0
m=audio 7074 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
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G722:9:8000:20:64000:1] ++++ is saved as a match
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[GSM:3:8000:20:13200:1]
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[GSM:3:8000:20:13200:1]
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[GSM:3:8000:20:13200:1]
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1]
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[GSM:3:8000:20:13200:1]
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:3061 Set Codec sofia/internal/2008@pbx.numbercard.co.uk G722/8000 20 ms 160 samples 64000 bits 1 channels
2018-09-24 11:35:05.782815 [DEBUG] switch_core_codec.c:111 sofia/internal/2008@pbx.numbercard.co.uk Original read codec set to G722:9
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
2018-09-24 11:35:05.782815 [DEBUG] switch_core_media.c:4767 sofia/internal/2008@pbx.numbercard.co.uk Set 2833 dtmf send payload to 101 recv payload to 101
2018-09-24 11:35:05.782815 [DEBUG] sofia.c:7507 (sofia/internal/2008@pbx.numbercard.co.uk) State Change CS_NEW -> CS_INIT
2018-09-24 11:35:05.782815 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/2008@pbx.numbercard.co.uk) Running State Change CS_INIT (Cur 1 Tot 17)
2018-09-24 11:35:05.782815 [DEBUG] switch_core_state_machine.c:627 (sofia/internal/2008@pbx.numbercard.co.uk) State INIT
2018-09-24 11:35:05.782815 [DEBUG] mod_sofia.c:90 sofia/internal/2008@pbx.numbercard.co.uk SOFIA INIT
2018-09-24 11:35:05.782815 [DEBUG] switch_core_state_machine.c:40 sofia/internal/2008@pbx.numbercard.co.uk Standard INIT
2018-09-24 11:35:05.782815 [DEBUG] switch_core_state_machine.c:48 (sofia/internal/2008@pbx.numbercard.co.uk) State Change CS_INIT -> CS_ROUTING
2018-09-24 11:35:05.782815 [DEBUG] switch_core_state_machine.c:627 (sofia/internal/2008@pbx.numbercard.co.uk) State INIT going to sleep
2018-09-24 11:35:05.782815 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/2008@pbx.numbercard.co.uk) Running State Change CS_ROUTING (Cur 1 Tot 17)
2018-09-24 11:35:05.782815 [DEBUG] switch_channel.c:2249 (sofia/internal/2008@pbx.numbercard.co.uk) Callstate Change DOWN -> RINGING
2018-09-24 11:35:05.782815 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/2008@pbx.numbercard.co.uk) State ROUTING
2018-09-24 11:35:05.782815 [DEBUG] mod_sofia.c:143 sofia/internal/2008@pbx.numbercard.co.uk SOFIA ROUTING
2018-09-24 11:35:05.782815 [DEBUG] switch_core_state_machine.c:236 sofia/internal/2008@pbx.numbercard.co.uk Standard ROUTING
2018-09-24 11:35:05.782815 [INFO] mod_dialplan_xml.c:637 Processing 02081802497 <2008>->02085199022 in context pbx.numbercard.co.uk
2018-09-24 11:35:05.782815 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f40ac0cc070 Connected.
2018-09-24 11:35:05.822734 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f40ac0cc070 released.
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk parsing [pbx.numbercard.co.uk->user_exists] continue=true
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (PASS) [user_exists] () =~ // break=on-false
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Action set(user_exists=${user_exists id ${destination_number} ${domain_name}}) INLINE
2018-09-24 11:35:05.822734 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f40ac0cc070 Connected.
2018-09-24 11:35:05.842682 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f40ac0cc070 released.
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk set(user_exists=false)
2018-09-24 11:35:05.842682 [DEBUG] mod_dptools.c:1548 SET sofia/internal/2008@pbx.numbercard.co.uk [user_exists]=[false]
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_exists] ${user_exists}(false) =~ /^true$/ break=on-false
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk parsing [pbx.numbercard.co.uk->call-direction] continue=true
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [call-direction] ${call_direction}() =~ /^(inbound|outbound|local)$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk ANTI-Action set(call_direction=local)
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk parsing [pbx.numbercard.co.uk->variables] continue=true
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (PASS) [variables] () =~ // break=on-false
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Action export(origination_callee_id_name=${destination_number})
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Action set(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk parsing [pbx.numbercard.co.uk->user_record] continue=true
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (PASS) [user_record] () =~ // break=on-false
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Action set(user_record=${user_data ${destination_number}@${domain_name} var user_record}) INLINE
2018-09-24 11:35:05.842682 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f40ac0cc070 Connected.
2018-09-24 11:35:05.862720 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f40ac0cc070 released.
2018-09-24 11:35:05.862720 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f40ac0cc070 Connected.
2018-09-24 11:35:05.862720 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f40ac0cc070 released.
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk set(user_record=)
2018-09-24 11:35:05.862720 [DEBUG] mod_dptools.c:1548 SET sofia/internal/2008@pbx.numbercard.co.uk [user_record]=[UNDEF]
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Action set(from_user_exists=${user_exists id ${sip_from_user} ${sip_from_host}}) INLINE
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk set(from_user_exists=true)
2018-09-24 11:35:05.862720 [DEBUG] mod_dptools.c:1548 SET sofia/internal/2008@pbx.numbercard.co.uk [from_user_exists]=[true]
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${user_record}() =~ /^all$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${call_direction}() =~ /^inbound$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${user_record}() =~ /^inbound$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${call_direction}() =~ /^outbound$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${user_record}() =~ /^outbound$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${call_direction}() =~ /^local$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${user_record}() =~ /^local$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Action set(from_user_record=${user_data ${sip_from_user}@${sip_from_host} var user_record}) INLINE
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk set(from_user_record=)
2018-09-24 11:35:05.862720 [DEBUG] mod_dptools.c:1548 SET sofia/internal/2008@pbx.numbercard.co.uk [from_user_record]=[UNDEF]
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${from_user_record}() =~ /^all$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${call_direction}() =~ /^inbound$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${from_user_record}() =~ /^inbound$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${call_direction}() =~ /^outbound$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${from_user_record}() =~ /^outbound$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${call_direction}() =~ /^local$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${from_user_record}() =~ /^local$/ break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [user_record] ${record_session}() =~ /^true$/ break=on-false
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk parsing [pbx.numbercard.co.uk->redial] continue=true
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [redial] destination_number(02085199022) =~ /^(redial|\*870)$/ break=on-true
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (PASS) [redial] () =~ // break=never
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number})
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk parsing [pbx.numbercard.co.uk->speed_dial] continue=false
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (FAIL) [speed_dial] destination_number(02085199022) =~ /^\*0(.*)$/ break=on-false
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk parsing [pbx.numbercard.co.uk->XP451-25296.d1114] continue=false
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Regex (PASS) [XP451-25296.d1114] destination_number(02085199022) =~ /^(\d{11})$/ break=on-false
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Action set(sip_h_X-accountcode=${accountcode})
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Action set(call_direction=outbound)
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Action unset(call_timeout)
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Action set(hangup_after_bridge=true)
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Action set(effective_caller_id_name=${outbound_caller_id_name})
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Action set(effective_caller_id_number=${outbound_caller_id_number})
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Action set(inherit_codec=true)
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Action set(ignore_display_updates=true)
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Action set(callee_id_number=02085199022)
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Action set(continue_on_fail=true)
Dialplan: sofia/internal/2008@pbx.numbercard.co.uk Action bridge(sofia/gateway/684b5bd1-49e2-4bd6-9110-efd5a0521c99/02085199022)
2018-09-24 11:35:05.862720 [DEBUG] switch_core_state_machine.c:286 (sofia/internal/2008@pbx.numbercard.co.uk) State Change CS_ROUTING -> CS_EXECUTE
2018-09-24 11:35:05.862720 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/2008@pbx.numbercard.co.uk) State ROUTING going to sleep
2018-09-24 11:35:05.862720 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/2008@pbx.numbercard.co.uk) Running State Change CS_EXECUTE (Cur 1 Tot 17)
2018-09-24 11:35:05.862720 [DEBUG] switch_core_state_machine.c:650 (sofia/internal/2008@pbx.numbercard.co.uk) State EXECUTE
2018-09-24 11:35:05.862720 [DEBUG] mod_sofia.c:198 sofia/internal/2008@pbx.numbercard.co.uk SOFIA EXECUTE
2018-09-24 11:35:05.862720 [DEBUG] switch_core_state_machine.c:328 sofia/internal/2008@pbx.numbercard.co.uk Standard EXECUTE
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk set(call_direction=local)
2018-09-24 11:35:05.862720 [DEBUG] mod_dptools.c:1548 SET sofia/internal/2008@pbx.numbercard.co.uk [call_direction]=[local]
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk export(origination_callee_id_name=02085199022)
2018-09-24 11:35:05.862720 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [origination_callee_id_name]=[02085199022]
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk set(RFC2822_DATE=Mon, 24 Sep 2018 11:35:05 +0000)
2018-09-24 11:35:05.862720 [DEBUG] mod_dptools.c:1548 SET sofia/internal/2008@pbx.numbercard.co.uk [RFC2822_DATE]=[Mon, 24 Sep 2018 11:35:05 +0000]
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk hash(insert/pbx.numbercard.co.uk-last_dial/2008/02085199022)
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk set(sip_h_X-accountcode=pbx.numbercard.co.uk)
2018-09-24 11:35:05.862720 [DEBUG] mod_dptools.c:1548 SET sofia/internal/2008@pbx.numbercard.co.uk [sip_h_X-accountcode]=[pbx.numbercard.co.uk]
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk set(call_direction=outbound)
2018-09-24 11:35:05.862720 [DEBUG] mod_dptools.c:1548 SET sofia/internal/2008@pbx.numbercard.co.uk [call_direction]=[outbound]
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk unset(call_timeout)
2018-09-24 11:35:05.862720 [DEBUG] mod_dptools.c:1693 UNSET [call_timeout]
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk set(hangup_after_bridge=true)
2018-09-24 11:35:05.862720 [DEBUG] mod_dptools.c:1548 SET sofia/internal/2008@pbx.numbercard.co.uk [hangup_after_bridge]=[true]
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk set(effective_caller_id_name=)
2018-09-24 11:35:05.862720 [DEBUG] mod_dptools.c:1548 SET sofia/internal/2008@pbx.numbercard.co.uk [effective_caller_id_name]=[UNDEF]
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk set(effective_caller_id_number=)
2018-09-24 11:35:05.862720 [DEBUG] mod_dptools.c:1548 SET sofia/internal/2008@pbx.numbercard.co.uk [effective_caller_id_number]=[UNDEF]
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk set(inherit_codec=true)
2018-09-24 11:35:05.862720 [DEBUG] mod_dptools.c:1548 SET sofia/internal/2008@pbx.numbercard.co.uk [inherit_codec]=[true]
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk set(ignore_display_updates=true)
2018-09-24 11:35:05.862720 [DEBUG] mod_dptools.c:1548 SET sofia/internal/2008@pbx.numbercard.co.uk [ignore_display_updates]=[true]
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk set(callee_id_number=02085199022)
2018-09-24 11:35:05.862720 [DEBUG] mod_dptools.c:1548 SET sofia/internal/2008@pbx.numbercard.co.uk [callee_id_number]=[02085199022]
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk set(continue_on_fail=true)
2018-09-24 11:35:05.862720 [DEBUG] mod_dptools.c:1548 SET sofia/internal/2008@pbx.numbercard.co.uk [continue_on_fail]=[true]
EXECUTE sofia/internal/2008@pbx.numbercard.co.uk bridge(sofia/gateway/684b5bd1-49e2-4bd6-9110-efd5a0521c99/02085199022)
2018-09-24 11:35:05.882663 [DEBUG] switch_channel.c:1250 sofia/internal/2008@pbx.numbercard.co.uk EXPORTING[export_vars] [domain_name]=[pbx.numbercard.co.uk] to event
2018-09-24 11:35:05.882663 [DEBUG] switch_channel.c:1250 sofia/internal/2008@pbx.numbercard.co.uk EXPORTING[export_vars] [origination_callee_id_name]=[02085199022] to event
2018-09-24 11:35:05.882663 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
2018-09-24 11:35:05.882663 [ERR] mod_sofia.c:4503 Invalid Gateway '684b5bd1-49e2-4bd6-9110-efd5a0521c99'
2018-09-24 11:35:05.882663 [NOTICE] mod_sofia.c:4918 Close Channel N/A [CS_NEW]
2018-09-24 11:35:05.882663 [DEBUG] switch_core_state_machine.c:741 () Running State Change CS_DESTROY (Cur 1 Tot 18)
2018-09-24 11:35:05.882663 [DEBUG] switch_core_state_machine.c:751 (N/A) State DESTROY
2018-09-24 11:35:05.882663 [DEBUG] mod_sofia.c:343 N/A SOFIA DESTROY
2018-09-24 11:35:05.882663 [DEBUG] switch_core_state_machine.c:751 (N/A) State DESTROY going to sleep
2018-09-24 11:35:05.882663 [NOTICE] switch_ivr_originate.c:2851 Cannot create outgoing channel of type [sofia] cause: [INVALID_GATEWAY]
2018-09-24 11:35:05.882663 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 608 [INVALID_GATEWAY]
2018-09-24 11:35:05.882663 [INFO] mod_dptools.c:3436 Originate Failed. Cause: INVALID_GATEWAY
2018-09-24 11:35:05.882663 [NOTICE] switch_core_state_machine.c:385 sofia/internal/2008@pbx.numbercard.co.uk has executed the last dialplan instruction, hanging up.
2018-09-24 11:35:05.882663 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/internal/2008@pbx.numbercard.co.uk [CS_EXECUTE] [NORMAL_CLEARING]
2018-09-24 11:35:05.882663 [DEBUG] switch_core_state_machine.c:650 (sofia/internal/2008@pbx.numbercard.co.uk) State EXECUTE going to sleep
2018-09-24 11:35:05.882663 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/2008@pbx.numbercard.co.uk) Running State Change CS_HANGUP (Cur 1 Tot 18)
2018-09-24 11:35:05.882663 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/2008@pbx.numbercard.co.uk) Callstate Change RINGING -> HANGUP
2018-09-24 11:35:05.882663 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/2008@pbx.numbercard.co.uk) State HANGUP
2018-09-24 11:35:05.882663 [DEBUG] mod_sofia.c:438 Channel sofia/internal/2008@pbx.numbercard.co.uk hanging up, cause: NORMAL_CLEARING
2018-09-24 11:35:05.882663 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 480
2018-09-24 11:35:05.882663 [DEBUG] switch_core_state_machine.c:60 sofia/internal/2008@pbx.numbercard.co.uk Standard HANGUP, cause: NORMAL_CLEARING
2018-09-24 11:35:05.882663 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/2008@pbx.numbercard.co.uk) State HANGUP going to sleep
2018-09-24 11:35:05.882663 [DEBUG] switch_core_state_machine.c:619 (sofia/internal/2008@pbx.numbercard.co.uk) State Change CS_HANGUP -> CS_REPORTING
2018-09-24 11:35:05.882663 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/2008@pbx.numbercard.co.uk) Running State Change CS_REPORTING (Cur 1 Tot 18)
2018-09-24 11:35:05.882663 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/2008@pbx.numbercard.co.uk) State REPORTING
2018-09-24 11:35:06.022764 [DEBUG] switch_core_state_machine.c:174 sofia/internal/2008@pbx.numbercard.co.uk Standard REPORTING, cause: NORMAL_CLEARING
2018-09-24 11:35:06.022764 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/2008@pbx.numbercard.co.uk) State REPORTING going to sleep
2018-09-24 11:35:06.022764 [DEBUG] switch_core_state_machine.c:610 (sofia/internal/2008@pbx.numbercard.co.uk) State Change CS_REPORTING -> CS_DESTROY
2018-09-24 11:35:06.022764 [DEBUG] switch_core_session.c:1665 Session 17 (sofia/internal/2008@pbx.numbercard.co.uk) Locked, Waiting on external entities
2018-09-24 11:35:06.022764 [NOTICE] switch_core_session.c:1683 Session 17 (sofia/internal/2008@pbx.numbercard.co.uk) Ended
2018-09-24 11:35:06.022764 [NOTICE] switch_core_session.c:1687 Close Channel sofia/internal/2008@pbx.numbercard.co.uk [CS_DESTROY]
2018-09-24 11:35:06.022764 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/2008@pbx.numbercard.co.uk) Running State Change CS_DESTROY (Cur 0 Tot 18)
2018-09-24 11:35:06.022764 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/2008@pbx.numbercard.co.uk) State DESTROY
2018-09-24 11:35:06.022764 [DEBUG] mod_sofia.c:343 sofia/internal/2008@pbx.numbercard.co.uk SOFIA DESTROY
2018-09-24 11:35:06.022764 [DEBUG] switch_core_state_machine.c:181 sofia/internal/2008@pbx.numbercard.co.uk Standard DESTROY
2018-09-24 11:35:06.022764 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/2008@pbx.numbercard.co.uk) State DESTROY going to sleep






