v=0
o=Dialogic_SDP 155384928009498004 5317431747054677615 IN IP4 185.63.140.127
s=Dialogic-SIP
c=IN IP4 185.63.140.63
t=0 0
m=audio 9856 RTP/AVP 8 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=silenceSupp:off - - - -
2021-03-09 09:46:54.049686 [DEBUG] switch_core_media.c:5592 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2021-03-09 09:46:54.049686 [DEBUG] switch_core_media.c:5647 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2021-03-09 09:46:54.049686 [DEBUG] switch_core_media.c:5592 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2021-03-09 09:46:54.049686 [DEBUG] switch_core_media.c:5592 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2021-03-09 09:46:54.049686 [DEBUG] switch_core_media.c:5592 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2021-03-09 09:46:54.049686 [DEBUG] switch_core_media.c:5592 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2021-03-09 09:46:54.049686 [DEBUG] switch_core_media.c:5592 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2021-03-09 09:46:54.049686 [DEBUG] switch_core_media.c:5647 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2021-03-09 09:46:54.049686 [DEBUG] switch_core_media.c:5592 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2021-03-09 09:46:54.049686 [DEBUG] switch_core_media.c:5592 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2021-03-09 09:46:54.049686 [DEBUG] switch_core_media.c:5508 Set telephone-event payload to 101@8000
2021-03-09 09:46:54.049686 [DEBUG] switch_core_media.c:3837 Set Codec sofia/default/447903334940@simwood.com PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2021-03-09 09:46:54.049686 [DEBUG] switch_core_codec.c:111 sofia/default/447903334940@simwood.com Original read codec set to PCMA:8
2021-03-09 09:46:54.049686 [DEBUG] switch_core_media.c:5851 Set telephone-event payload to 101@8000
2021-03-09 09:46:54.049686 [DEBUG] switch_core_media.c:5909 sofia/default/447903334940@simwood.com Set 2833 dtmf send payload to 101 recv payload to 101
2021-03-09 09:46:54.049686 [DEBUG] sofia.c:7735 (sofia/default/447903334940@simwood.com) State Change CS_NEW -> CS_INIT
2021-03-09 09:46:54.049686 [DEBUG] switch_core_state_machine.c:604 (sofia/default/447903334940@simwood.com) State NEW
2021-03-09 09:46:54.049686 [DEBUG] switch_core_state_machine.c:585 (sofia/default/447903334940@simwood.com) Running State Change CS_INIT (Cur 3 Tot 292565)
2021-03-09 09:46:54.049686 [DEBUG] switch_core_state_machine.c:628 (sofia/default/447903334940@simwood.com) State INIT
2021-03-09 09:46:54.049686 [DEBUG] mod_sofia.c:93 sofia/default/447903334940@simwood.com SOFIA INIT
2021-03-09 09:46:54.049686 [DEBUG] switch_core_state_machine.c:40 sofia/default/447903334940@simwood.com Standard INIT
2021-03-09 09:46:54.049686 [DEBUG] switch_core_state_machine.c:48 (sofia/default/447903334940@simwood.com) State Change CS_INIT -> CS_ROUTING
2021-03-09 09:46:54.049686 [DEBUG] switch_core_state_machine.c:628 (sofia/default/447903334940@simwood.com) State INIT going to sleep
2021-03-09 09:46:54.069670 [DEBUG] switch_core_state_machine.c:585 (sofia/default/447903334940@simwood.com) Running State Change CS_ROUTING (Cur 3 Tot 292565)
2021-03-09 09:46:54.069670 [DEBUG] switch_channel.c:2332 (sofia/default/447903334940@simwood.com) Callstate Change DOWN -> RINGING
2021-03-09 09:46:54.069670 [DEBUG] switch_core_state_machine.c:644 (sofia/default/447903334940@simwood.com) State ROUTING
2021-03-09 09:46:54.069670 [DEBUG] mod_sofia.c:154 sofia/default/447903334940@simwood.com SOFIA ROUTING
2021-03-09 09:46:54.069670 [DEBUG] switch_core_state_machine.c:236 sofia/default/447903334940@simwood.com Standard ROUTING
2021-03-09 09:46:54.069670 [INFO] mod_dialplan_xml.c:637 Processing 447903334940 <447903334940>->02071832185 in context default
2021-03-09 09:46:54.069670 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2021-03-09 09:46:54.069670 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-03-09 09:46:54.069670 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: be07c608-2888-4a3c-b411-34af5f4413eb
FreeSWITCH-Hostname: SBPbx
FreeSWITCH-Switchname: SBPbx
FreeSWITCH-IPv4: 178.62.70.78
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2021-03-09%2009%3A46%3A54
Event-Date-GMT: Tue,%2009%20Mar%202021%2009%3A46%3A54%20GMT
Event-Date-Timestamp: 1615283214069670
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 608
Event-Sequence: 4376217
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/447903334940%40simwood.com
Unique-ID: 4cae13ca-ea7a-499c-827d-cce8aea9b703
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 447903334940%40simwood.com
Channel-Call-UUID: 4cae13ca-ea7a-499c-827d-cce8aea9b703
Answer-State: ringing
Channel-Read-Codec-Name: PCMA
Channel-Read-Codec-Rate: 8000
Channel-Read-Codec-Bit-Rate: 64000
Channel-Write-Codec-Name: PCMA
Channel-Write-Codec-Rate: 8000
Channel-Write-Codec-Bit-Rate: 64000
Caller-Direction: inbound
Caller-Logical-Direction: inbound
Caller-Username: 447903334940
Caller-Dialplan: XML
Caller-Caller-ID-Name: 447903334940
Caller-Caller-ID-Number: 447903334940
Caller-Orig-Caller-ID-Name: 447903334940
Caller-Orig-Caller-ID-Number: 447903334940
Caller-Network-Addr: 185.63.140.77
Caller-ANI: 447903334940
Caller-Destination-Number: 02071832185
Caller-Unique-ID: 4cae13ca-ea7a-499c-827d-cce8aea9b703
Caller-Source: mod_sofia
Caller-Context: default
Caller-Channel-Name: sofia/default/447903334940%40simwood.com
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1615283214049686
Caller-Channel-Created-Time: 1615283214049686
Caller-Channel-Answered-Time: 0
Caller-Channel-Progress-Time: 0
Caller-Channel-Progress-Media-Time: 0
Caller-Channel-Hangup-Time: 0
Caller-Channel-Transfer-Time: 0
Caller-Channel-Resurrect-Time: 0
Caller-Channel-Bridged-Time: 0
Caller-Channel-Last-Hold: 0
Caller-Channel-Hold-Accum: 0
Caller-Screen-Bit: true
Caller-Privacy-Hide-Name: false
Caller-Privacy-Hide-Number: false
variable_direction: inbound
variable_uuid: 4cae13ca-ea7a-499c-827d-cce8aea9b703
variable_session_id: 292565
variable_sip_from_user: 447903334940
variable_sip_from_uri: 447903334940%40simwood.com
variable_sip_from_host: simwood.com
variable_video_media_flow: disabled
variable_text_media_flow: disabled
variable_channel_name: sofia/default/447903334940%40simwood.com
variable_sip_call_id: 33e34986-fb5f-1239-03a4-0242ac110008
variable_sip_local_network_addr: 178.62.70.78
variable_sip_network_ip: 185.63.140.77
variable_sip_network_port: 5060
variable_sip_invite_stamp: 1615283214049686
variable_sip_received_ip: 185.63.140.77
variable_sip_received_port: 5060
variable_sip_via_protocol: udp
variable_sip_authorized: true
variable_sip_acl_authed_by: default
variable_sip_from_user_stripped: 447903334940
variable_sip_from_tag: rFNK3crv1t50K
variable_sofia_profile_name: default
variable_sofia_profile_url: sip%3Amod_sofia%40178.62.70.78%3A5060
variable_recovery_profile_name: default
variable_sip_invite_route_uri: %3Csip%3A185.63.140.77%3Blr%3E
variable_sip_invite_record_route: %3Csip%3A185.63.140.77%3Blr%3E
variable_sip_full_via: SIP/2.0/UDP%20185.63.140.77%3Bbranch%3Dz9hG4bK9353.fc48afe18ad9e1afff1f3825f8d7c22d.0%3Brport%3D5060,SIP/2.0/UDP%20185.63.140.9%3Breceived%3D185.63.140.9%3Brport%3D5060%3Bbranch%3Dz9hG4bKZ7Z6F3gS06vSQ
variable_sip_from_display: 447903334940
variable_sip_full_from: %22447903334940%22%20%3Csip%3A447903334940%40simwood.com%3E%3Btag%3DrFNK3crv1t50K
variable_sip_full_to: %3Csip%3A02071832185%40sipp.switchboard.co.uk%3E
variable_sip_allow: INVITE,%20ACK,%20BYE,%20CANCEL,%20OPTIONS,%20MESSAGE,%20INFO,%20UPDATE,%20REGISTER,%20REFER,%20NOTIFY
variable_sip_req_user: 02071832185
variable_sip_req_uri: 02071832185%40sipp.switchboard.co.uk
variable_sip_req_host: sipp.switchboard.co.uk
variable_sip_to_user: 02071832185
variable_sip_to_uri: 02071832185%40sipp.switchboard.co.uk
variable_sip_to_host: sipp.switchboard.co.uk
variable_sip_contact_user: mod_sofia
variable_sip_contact_port: 5060
variable_sip_contact_uri: mod_sofia%40185.63.140.9%3A5060
variable_sip_contact_host: 185.63.140.9
variable_sip_via_host: 185.63.140.77
variable_sip_via_rport: 5060
variable_max_forwards: 67
variable_presence_id: 447903334940%40simwood.com
variable_sip_h_X-Origin: mobile
variable_sip_h_X-simwood-acli: 861eb3bc0b4b61f511450401fa5dc60f
variable_switch_r_sdp: v%3D0%0D%0Ao%3DDialogic_SDP%20155384928009498004%205317431747054677615%20IN%20IP4%20185.63.140.127%0D%0As%3DDialogic-SIP%0D%0Ac%3DIN%20IP4%20185.63.140.63%0D%0At%3D0%200%0D%0Am%3Daudio%209856%20RTP/AVP%208%200%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-15%0D%0Aa%3DsilenceSupp%3Aoff%20-%20-%20-%20-%0D%0A
variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b
variable_rtp_use_codec_string: PCMA,PCMU,G729,G722
variable_remote_video_media_flow: inactive
variable_remote_text_media_flow: inactive
variable_remote_audio_media_flow: sendrecv
variable_audio_media_flow: sendrecv
variable_remote_media_ip: 185.63.140.63
variable_remote_media_port: 9856
variable_rtp_audio_recv_pt: 8
variable_rtp_use_codec_name: PCMA
variable_rtp_use_codec_rate: 8000
variable_rtp_use_codec_ptime: 20
variable_rtp_use_codec_channels: 1
variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
variable_read_codec: PCMA
variable_original_read_codec: PCMA
variable_read_rate: 8000
variable_original_read_rate: 8000
variable_write_codec: PCMA
variable_write_rate: 8000
variable_dtmf_type: rfc2833
variable_endpoint_disposition: RECEIVED
variable_call_uuid: 4cae13ca-ea7a-499c-827d-cce8aea9b703
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: 447903334940
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: 447903334940
Hunt-Caller-ID-Number: 447903334940
Hunt-Orig-Caller-ID-Name: 447903334940
Hunt-Orig-Caller-ID-Number: 447903334940
Hunt-Network-Addr: 185.63.140.77
Hunt-ANI: 447903334940
Hunt-Destination-Number: 02071832185
Hunt-Unique-ID: 4cae13ca-ea7a-499c-827d-cce8aea9b703
Hunt-Source: mod_sofia
Hunt-Context: default
Hunt-Channel-Name: sofia/default/447903334940%40simwood.com
Hunt-Profile-Index: 1
Hunt-Profile-Created-Time: 1615283214049686
Hunt-Channel-Created-Time: 1615283214049686
Hunt-Channel-Answered-Time: 0
Hunt-Channel-Progress-Time: 0
Hunt-Channel-Progress-Media-Time: 0
Hunt-Channel-Hangup-Time: 0
Hunt-Channel-Transfer-Time: 0
Hunt-Channel-Resurrect-Time: 0
Hunt-Channel-Bridged-Time: 0
Hunt-Channel-Last-Hold: 0
Hunt-Channel-Hold-Accum: 0
Hunt-Screen-Bit: true
Hunt-Privacy-Hide-Name: false
Hunt-Privacy-Hide-Number: false
2021-03-09 09:46:54.069670 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] tag_name:
2021-03-09 09:46:54.069670 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] section: dialplan
2021-03-09 09:46:54.069670 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] key_name:
2021-03-09 09:46:54.069670 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] key_value:
2021-03-09 09:46:54.069670 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] blind_flag: 0
2021-03-09 09:46:54.069670 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Dialed number : 02071832185
2021-03-09 09:46:54.069670 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '02071832185' limit 1
2021-03-09 09:46:54.069670 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '02071832185' AND status=0 limit 1
2021-03-09 09:46:54.069670 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '02071832185' and status=0 LIMIT 1
2021-03-09 09:46:54.069670 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Caller Id name / number : 447903334940 / 447903334940
2021-03-09 09:46:54.069670 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="02071832185" LIMIT 1
2021-03-09 09:46:54.069670 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Call direction : inbound
2021-03-09 09:46:54.069670 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("185.63.140.77") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 - SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1)) AND "02071832185" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2021-03-09 09:46:54.069670 [INFO] switch_cpp.cpp:1443 [ASTPP] [Accountcode : 1683977434]
2021-03-09 09:46:54.069670 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "1683977434" AND deleted = 0 limit 1
2021-03-09 09:46:54.069670 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="02071832185" AND A.accountid = '6' limit 1
2021-03-09 09:46:54.069670 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 02071832185
2021-03-09 09:46:54.069670 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="02071832185" LIMIT 1
2021-03-09 09:46:54.069670 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] New Call direction : inbound
2021-03-09 09:46:54.069670 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="02071832185" AND (accountid = 0 OR status = 1) LIMIT 1
2021-03-09 09:46:54.069670 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
2021-03-09 09:46:54.069670 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :198
2021-03-09 09:46:54.069670 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^02071832185.*' OR patterns = '^0207183218.*' OR patterns = '^020718321.*' OR patterns = '^02071832.*' OR patterns = '^0207183.*' OR patterns = '^020718.*' OR patterns = '^02071.*' OR patterns = '^0207.*' OR patterns = '^020.*' OR patterns = '^02.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 198 ORDER BY LENGTH(PKGPTR.patterns) DESC
2021-03-09 09:46:54.069670 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '02071832185' OR number = '0207183218' OR number = '020718321' OR number = '02071832' OR number = '0207183' OR number = '020718' OR number = '02071' OR number = '0207' OR number = '020' OR number = '02' OR number = '0' OR number ='--') OR (number = '02071832185*' OR number = '0207183218*' OR number = '020718321*' OR number = '02071832*' OR number = '0207183*' OR number = '020718*' OR number = '02071*' OR number = '0207*' OR number = '020*' OR number = '02*' OR number = '0*' OR number ='--') OR (number = '447903334940' OR number = '44790333494' OR number = '4479033349' OR number = '447903334' OR number = '44790333' OR number = '4479033' OR number = '447903' OR number = '44790' OR number = '4479' OR number = '447' OR number = '44' OR number = '4' OR number ='--') OR (number = '447903334940*' OR number = '44790333494*' OR number = '4479033349*' OR number = '447903334*' OR number = '44790333*' OR number = '4479033*' OR number = '447903*' OR number = '44790*' OR number = '4479*' OR number = '447*' OR number = '44*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2021-03-09 09:46:54.089768 [DEBUG] switch_cpp.cpp:1443 [ASTPP] Call Barring Status : -1
2021-03-09 09:46:54.089768 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '02071832185' OR routing_prefix = '0207183218' OR routing_prefix = '020718321' OR routing_prefix = '02071832' OR routing_prefix = '0207183' OR routing_prefix = '020718' OR routing_prefix = '02071' OR routing_prefix = '0207' OR routing_prefix = '020' OR routing_prefix = '02' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== Account Information ===================
2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] User id : 6
2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] Account code : 1683977434
2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] Balance : 10000
2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] Ratecard id : 1
2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] CID Pool : 0
2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] ========================================================
2021-03-09 09:46:54.089768 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2021-03-09 09:46:54.089768 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_RATES] call_direction :inbound
2021-03-09 09:46:54.089768 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="02071832185" LIMIT 1
2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] call_direction:::::: inbound
2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== Rates Information ===================
2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] ID : 257
2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] Connectcost : 0.00000
2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] Includedseconds : 0
2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] Cost : 0.00000
2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] comment : 02071832185
2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] Country Id : 200
2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] Accid : 6
2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] ================================================================
2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 6 !!!
2021-03-09 09:46:54.089768 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] Call Max length duration : 100 minutes
2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] INB_FREE:TRUE
2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] free_inbound:1
2021-03-09 09:46:54.089768 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 6 AND status=0 LIMIT 1
2021-03-09 09:46:54.089768 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "198" AND deleted = 0 limit 1
2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] Actual CustomerInfo XML:6
2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] Userinfo XML:6
2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] Actual CustomerInfo XML : 6
2021-03-09 09:46:54.089768 [INFO] switch_cpp.cpp:1443 [ASTPP] maxlength::::::::: 100
2021-03-09 09:46:54.089768 [DEBUG] switch_cpp.cpp:1443 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_0
2021-03-09 09:46:54.089768 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Querymy_test :SELECT * FROM domains WHERE accountid = "198" limit 1
2021-03-09 09:46:54.089768 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="401" AND domains.domain="ActiveMontas177.sipp.switchboard.co.uk" limit 1
2021-03-09 09:46:54.089768 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 355 limit 1
2021-03-09 09:46:54.089768 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
2021-03-09 09:46:54.089768 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
2021-03-09 09:46:54.089768 [WARNING] switch_cpp.cpp:1443 [ASTPP] [user_domain] user_domain beforeActiveMontas177.sipp.switchboard.co.uk
2021-03-09 09:46:54.089768 [WARNING] switch_cpp.cpp:1443 [ASTPP] [user_domain] pickup_group_permission pickup_str
2021-03-09 09:46:54.089768 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [NOTIFY] START:
2021-03-09 09:46:54.089768 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [NOTIFY] Query :SELECT callkit_token,mobile_type FROM dialer_device_info WHERE username='401'
2021-03-09 09:46:54.089768 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="401" AND domains.domain="ActiveMontas177.sipp.switchboard.co.uk" limit 1
2021-03-09 09:46:54.089768 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 355 limit 1
2021-03-09 09:46:54.089768 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="02071832185">
<condition field="destination_number" expression="02071832185">
<action application="set" data="effective_destination_number=02071832185"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
<action application="set" data="callstart=2021-03-09 09:46:54"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=6"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=3"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=inbound"/>
<action application="set" data="accountname=Simwood"/>
<action application="set" data="origination_rates_did=ID:257|CODE:^02071832185.*|DESTINATION:02071832185|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:200|ACCID:198"/>
<action application="set" data="origination_rates=0"/>
<action application="set" data="original_caller_id_name=447903334940"/>
<action application="set" data="original_caller_id_number=447903334940"/>
<action application="set" data="effective_caller_id_name=447903334940"/>
<action application="set" data="effective_caller_id_number=447903334940"/>
<action application="set" data="receiver_accid=198"/>
<action application="export" data="presence_data=x|||simwood(1683977434)|||^02071832185.* // 02071832185 // 0.00000||||||DID"/>
<action application="export" data="call_type=0"/>
<action application="set" data="calltype=DID-LOCAL"/>
<action application="db" data="insert/pickup_any_group_${callgroup}/401/${uuid}"/>
<action application="set" data="dialed_extension=transfer_call"/>
<action application="export" data="dialed_extension=transfer_call"/>
<action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
<action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="export" data="did_user_domain=ActiveMontas177.sipp.switchboard.co.uk"/>
<action application="ring_ready"/>
<action application="sleep" data="5000"/>
<action application="bridge" data="[leg_timeout=0]user/401@ActiveMontas177.sipp.switchboard.co.uk"/>
<action application="set" data="on_busy_flag=1"/>
<action application="set" data="on_busy_destination="/>
<action application="set" data="no_answer_flag=1"/>
<action application="set" data="no_answer_destination="/>
<action application="set" data="not_register_flag=1"/>
<action application="set" data="not_register_destination="/>
<action application="set" data="opensips_flag=1"/>
<action application="set" data="variable_sip_to_host=ActiveMontas177.sipp.switchboard.co.uk"/>
<action application="set" data="opensips_domain=127.0.0.1"/>
<action application="set" data="leg_timeout=60"/>
<action application="set" data="userinfo_id=198"/>
<action application="set" data="sip_destination_number=401"/>
<action application="set" data="destination_number=02071832185"/>
<action application="set" data="did_number=02071832185"/>
<action application="set" data="user_domain=ActiveMontas177.sipp.switchboard.co.uk"/>
<action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
<condition field="${cond(${user_data 401@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
<action application="answer"/>
<action application="export" data="voicemail_alternate_greet_id=02071832185"/>
<action application="voicemail" data="default $${domain_name} 401"/>
<anti-action application="hangup" data="${originate_disposition}"/>
</condition>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/447903334940@simwood.com parsing [default->02071832185] continue=false
Dialplan: sofia/default/447903334940@simwood.com Regex (PASS) [02071832185] destination_number(02071832185) =~ /02071832185/ break=on-false
Dialplan: sofia/default/447903334940@simwood.com Action set(effective_destination_number=02071832185)
Dialplan: sofia/default/447903334940@simwood.com Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/447903334940@simwood.com Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/447903334940@simwood.com Action set(callstart=2021-03-09 09:46:54)
Dialplan: sofia/default/447903334940@simwood.com Action set(hangup_after_bridge=true)
Dialplan: sofia/default/447903334940@simwood.com Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/447903334940@simwood.com Action set(account_id=6)
Dialplan: sofia/default/447903334940@simwood.com Action set(parent_id=0)
Dialplan: sofia/default/447903334940@simwood.com Action set(entity_id=3)
Dialplan: sofia/default/447903334940@simwood.com Action set(call_processed=internal)
Dialplan: sofia/default/447903334940@simwood.com Action set(call_direction=inbound)
Dialplan: sofia/default/447903334940@simwood.com Action set(accountname=Simwood)
Dialplan: sofia/default/447903334940@simwood.com Action set(origination_rates_did=ID:257|CODE:^02071832185.*|DESTINATION:02071832185|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:200|ACCID:198)
Dialplan: sofia/default/447903334940@simwood.com Action set(origination_rates=0)
Dialplan: sofia/default/447903334940@simwood.com Action set(original_caller_id_name=447903334940)
Dialplan: sofia/default/447903334940@simwood.com Action set(original_caller_id_number=447903334940)
Dialplan: sofia/default/447903334940@simwood.com Action set(effective_caller_id_name=447903334940)
Dialplan: sofia/default/447903334940@simwood.com Action set(effective_caller_id_number=447903334940)
Dialplan: sofia/default/447903334940@simwood.com Action set(receiver_accid=198)
Dialplan: sofia/default/447903334940@simwood.com Action export(presence_data=x|||simwood(1683977434)|||^02071832185.* // 02071832185 // 0.00000||||||DID)
Dialplan: sofia/default/447903334940@simwood.com Action export(call_type=0)
Dialplan: sofia/default/447903334940@simwood.com Action set(calltype=DID-LOCAL)
Dialplan: sofia/default/447903334940@simwood.com Action db(insert/pickup_any_group_${callgroup}/401/${uuid})
Dialplan: sofia/default/447903334940@simwood.com Action set(dialed_extension=transfer_call)
Dialplan: sofia/default/447903334940@simwood.com Action export(dialed_extension=transfer_call)
Dialplan: sofia/default/447903334940@simwood.com Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
Dialplan: sofia/default/447903334940@simwood.com Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
Dialplan: sofia/default/447903334940@simwood.com Action set(hangup_after_bridge=true)
Dialplan: sofia/default/447903334940@simwood.com Action export(did_user_domain=ActiveMontas177.sipp.switchboard.co.uk)
Dialplan: sofia/default/447903334940@simwood.com Action ring_ready()
Dialplan: sofia/default/447903334940@simwood.com Action sleep(5000)
Dialplan: sofia/default/447903334940@simwood.com Action bridge([leg_timeout=0]user/401@ActiveMontas177.sipp.switchboard.co.uk)
Dialplan: sofia/default/447903334940@simwood.com Action set(on_busy_flag=1)
Dialplan: sofia/default/447903334940@simwood.com Action set(on_busy_destination=)
Dialplan: sofia/default/447903334940@simwood.com Action set(no_answer_flag=1)
Dialplan: sofia/default/447903334940@simwood.com Action set(no_answer_destination=)
Dialplan: sofia/default/447903334940@simwood.com Action set(not_register_flag=1)
Dialplan: sofia/default/447903334940@simwood.com Action set(not_register_destination=)
Dialplan: sofia/default/447903334940@simwood.com Action set(opensips_flag=1)
Dialplan: sofia/default/447903334940@simwood.com Action set(variable_sip_to_host=ActiveMontas177.sipp.switchboard.co.uk)
Dialplan: sofia/default/447903334940@simwood.com Action set(opensips_domain=127.0.0.1)
Dialplan: sofia/default/447903334940@simwood.com Action set(leg_timeout=60)
Dialplan: sofia/default/447903334940@simwood.com Action set(userinfo_id=198)
Dialplan: sofia/default/447903334940@simwood.com Action set(sip_destination_number=401)
Dialplan: sofia/default/447903334940@simwood.com Action set(destination_number=02071832185)
Dialplan: sofia/default/447903334940@simwood.com Action set(did_number=02071832185)
Dialplan: sofia/default/447903334940@simwood.com Action set(user_domain=ActiveMontas177.sipp.switchboard.co.uk)
Dialplan: sofia/default/447903334940@simwood.com Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
|--- Dialplan: Processing recursive conditions level:1 [02071832185_recur_1] require-nested=TRUE
|--- Dialplan: sofia/default/447903334940@simwood.com Regex (FAIL) [02071832185_recur_1] ${cond(${user_data 401@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
|--- Dialplan: sofia/default/447903334940@simwood.com ANTI-Action hangup(${originate_disposition})
2021-03-09 09:46:54.109848 [DEBUG] switch_core_state_machine.c:287 (sofia/default/447903334940@simwood.com) State Change CS_ROUTING -> CS_EXECUTE
2021-03-09 09:46:54.109848 [DEBUG] switch_core_state_machine.c:644 (sofia/default/447903334940@simwood.com) State ROUTING going to sleep
2021-03-09 09:46:54.109848 [DEBUG] switch_core_state_machine.c:585 (sofia/default/447903334940@simwood.com) Running State Change CS_EXECUTE (Cur 3 Tot 292565)
2021-03-09 09:46:54.109848 [DEBUG] switch_core_state_machine.c:651 (sofia/default/447903334940@simwood.com) State EXECUTE
2021-03-09 09:46:54.109848 [DEBUG] mod_sofia.c:209 sofia/default/447903334940@simwood.com SOFIA EXECUTE
2021-03-09 09:46:54.109848 [DEBUG] switch_core_state_machine.c:329 sofia/default/447903334940@simwood.com Standard EXECUTE
EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(effective_destination_number=02071832185)
2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [effective_destination_number]=[02071832185]
EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(bridge_pre_execute_bleg_app=sched_hangup)
2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(callstart=2021-03-09 09:46:54)
2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [callstart]=[2021-03-09 09:46:54]
EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(hangup_after_bridge=true)
2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(continue_on_fail=TRUE)
2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(account_id=6)
2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [account_id]=[6]
EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(parent_id=0)
2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [parent_id]=[0]
EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(entity_id=3)
2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [entity_id]=[3]
EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(call_processed=internal)
2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(call_direction=inbound)
2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [call_direction]=[inbound]
EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(accountname=Simwood)
2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [accountname]=[Simwood]
EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(origination_rates_did=ID:257|CODE:^02071832185.*|DESTINATION:02071832185|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:200|ACCID:198)
2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [origination_rates_did]=[ID:257|CODE:^02071832185.*|DESTINATION:02071832185|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:200|ACCID:198]
EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(origination_rates=0)
2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [origination_rates]=[0]
EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(original_caller_id_name=447903334940)
2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [original_caller_id_name]=[447903334940]
EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(original_caller_id_number=447903334940)
2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [original_caller_id_number]=[447903334940]
EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(effective_caller_id_name=447903334940)
2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [effective_caller_id_name]=[447903334940]
EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(effective_caller_id_number=447903334940)
2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [effective_caller_id_number]=[447903334940]
EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(receiver_accid=198)
2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [receiver_accid]=[198]
EXECUTE [depth=0] sofia/default/447903334940@simwood.com export(presence_data=x|||simwood(1683977434)|||^02071832185.* // 02071832185 // 0.00000||||||DID)
2021-03-09 09:46:54.109848 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||simwood(1683977434)|||^02071832185.* // 02071832185 // 0.00000||||||DID]
EXECUTE [depth=0] sofia/default/447903334940@simwood.com export(call_type=0)
2021-03-09 09:46:54.109848 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_type]=[0]
EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(calltype=DID-LOCAL)
2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [calltype]=[DID-LOCAL]
EXECUTE [depth=0] sofia/default/447903334940@simwood.com db(insert/pickup_any_group_/401/4cae13ca-ea7a-499c-827d-cce8aea9b703)
EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(dialed_extension=transfer_call)
2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/447903334940@simwood.com export(dialed_extension=transfer_call)
2021-03-09 09:46:54.109848 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/447903334940@simwood.com bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
2021-03-09 09:46:54.109848 [INFO] switch_ivr_async.c:4465 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
EXECUTE [depth=0] sofia/default/447903334940@simwood.com bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
2021-03-09 09:46:54.109848 [INFO] switch_ivr_async.c:4465 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
EXECUTE [depth=0] sofia/default/447903334940@simwood.com set(hangup_after_bridge=true)
2021-03-09 09:46:54.109848 [DEBUG] mod_dptools.c:1672 SET sofia/default/447903334940@simwood.com [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/447903334940@simwood.com export(did_user_domain=ActiveMontas177.sipp.switchboard.co.uk)
2021-03-09 09:46:54.109848 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [did_user_domain]=[ActiveMontas177.sipp.switchboard.co.uk]
EXECUTE [depth=0] sofia/default/447903334940@simwood.com ring_ready()
2021-03-09 09:46:54.109848 [NOTICE] mod_sofia.c:2498 Ring-Ready sofia/default/447903334940@simwood.com!
2021-03-09 09:46:54.109848 [DEBUG] sofia.c:7301 Channel sofia/default/447903334940@simwood.com entering state [early][180]
2021-03-09 09:46:54.129755 [NOTICE] mod_dptools.c:1122 Ring Ready sofia/default/447903334940@simwood.com!
EXECUTE [depth=0] sofia/default/447903334940@simwood.com sleep(5000)
EXECUTE [depth=0] sofia/default/447903334940@simwood.com bridge([leg_timeout=0]user/401@ActiveMontas177.sipp.switchboard.co.uk)
2021-03-09 09:46:59.149770 [DEBUG] switch_channel.c:1264 sofia/default/447903334940@simwood.com EXPORTING[export_vars] [presence_data]=[x|||simwood(1683977434)|||^02071832185.* // 02071832185 // 0.00000||||||DID] to event
2021-03-09 09:46:59.149770 [DEBUG] switch_channel.c:1264 sofia/default/447903334940@simwood.com EXPORTING[export_vars] [call_type]=[0] to event
2021-03-09 09:46:59.149770 [DEBUG] switch_channel.c:1264 sofia/default/447903334940@simwood.com EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
2021-03-09 09:46:59.149770 [DEBUG] switch_channel.c:1264 sofia/default/447903334940@simwood.com EXPORTING[export_vars] [did_user_domain]=[ActiveMontas177.sipp.switchboard.co.uk] to event
2021-03-09 09:46:59.149770 [DEBUG] switch_ivr_originate.c:2212 Parsing global variables
2021-03-09 09:46:59.149770 [DEBUG] switch_ivr_originate.c:2760 Parsing session specific variables
2021-03-09 09:46:59.169748 [DEBUG] switch_channel.c:1264 sofia/default/447903334940@simwood.com EXPORTING[export_vars] [presence_data]=[x|||simwood(1683977434)|||^02071832185.* // 02071832185 // 0.00000||||||DID] to event
2021-03-09 09:46:59.169748 [DEBUG] switch_channel.c:1264 sofia/default/447903334940@simwood.com EXPORTING[export_vars] [call_type]=[0] to event
2021-03-09 09:46:59.169748 [DEBUG] switch_channel.c:1264 sofia/default/447903334940@simwood.com EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
2021-03-09 09:46:59.169748 [DEBUG] switch_channel.c:1264 sofia/default/447903334940@simwood.com EXPORTING[export_vars] [did_user_domain]=[ActiveMontas177.sipp.switchboard.co.uk] to event
2021-03-09 09:46:59.169748 [DEBUG] switch_ivr_originate.c:2212 Parsing global variables
2021-03-09 09:46:59.169748 [NOTICE] switch_channel.c:1118 New Channel sofia/default/401@81.159.168.122:8066 [5b81ad3d-893f-490b-8f62-4abb178f2db0]
2021-03-09 09:46:59.169748 [DEBUG] mod_sofia.c:5089 (sofia/default/401@81.159.168.122:8066) State Change CS_NEW -> CS_INIT
2021-03-09 09:46:59.169748 [DEBUG] switch_core_state_machine.c:585 (sofia/default/401@81.159.168.122:8066) Running State Change CS_INIT (Cur 4 Tot 292566)
2021-03-09 09:46:59.169748 [DEBUG] switch_core_state_machine.c:628 (sofia/default/401@81.159.168.122:8066) State INIT
2021-03-09 09:46:59.169748 [DEBUG] mod_sofia.c:93 sofia/default/401@81.159.168.122:8066 SOFIA INIT
2021-03-09 09:46:59.169748 [DEBUG] sofia_glue.c:1618 sofia/default/401@81.159.168.122:8066 sending invite version: 1.10.2 -release-14-f7bdd3845a 64bit
Local SDP:
v=0
o=FreeSWITCH 1615264495 1615264496 IN IP4 178.62.70.78
s=FreeSWITCH
c=IN IP4 178.62.70.78
t=0 0
m=audio 18724 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2021-03-09 09:46:59.169748 [DEBUG] switch_core_state_machine.c:40 sofia/default/401@81.159.168.122:8066 Standard INIT
2021-03-09 09:46:59.169748 [DEBUG] switch_core_state_machine.c:48 (sofia/default/401@81.159.168.122:8066) State Change CS_INIT -> CS_ROUTING
2021-03-09 09:46:59.169748 [DEBUG] switch_core_state_machine.c:628 (sofia/default/401@81.159.168.122:8066) State INIT going to sleep
2021-03-09 09:46:59.169748 [DEBUG] switch_core_state_machine.c:585 (sofia/default/401@81.159.168.122:8066) Running State Change CS_ROUTING (Cur 4 Tot 292566)
2021-03-09 09:46:59.169748 [DEBUG] sofia.c:7301 Channel sofia/default/401@81.159.168.122:8066 entering state [calling][0]
2021-03-09 09:46:59.169748 [DEBUG] switch_core_state_machine.c:644 (sofia/default/401@81.159.168.122:8066) State ROUTING
2021-03-09 09:46:59.169748 [DEBUG] mod_sofia.c:154 sofia/default/401@81.159.168.122:8066 SOFIA ROUTING
2021-03-09 09:46:59.169748 [DEBUG] switch_ivr_originate.c:67 (sofia/default/401@81.159.168.122:8066) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2021-03-09 09:46:59.169748 [DEBUG] switch_core_state_machine.c:644 (sofia/default/401@81.159.168.122:8066) State ROUTING going to sleep
2021-03-09 09:46:59.169748 [DEBUG] switch_core_state_machine.c:585 (sofia/default/401@81.159.168.122:8066) Running State Change CS_CONSUME_MEDIA (Cur 4 Tot 292566)
2021-03-09 09:46:59.169748 [DEBUG] switch_core_state_machine.c:663 (sofia/default/401@81.159.168.122:8066) State CONSUME_MEDIA
2021-03-09 09:46:59.169748 [DEBUG] switch_core_state_machine.c:663 (sofia/default/401@81.159.168.122:8066) State CONSUME_MEDIA going to sleep
2021-03-09 09:46:59.189770 [DEBUG] sofia.c:6761 Redirect: Transfering to 447780882647 XML redirected
2021-03-09 09:46:59.189770 [DEBUG] switch_ivr.c:2231 (sofia/default/447903334940@simwood.com) State Change CS_EXECUTE -> CS_ROUTING
2021-03-09 09:46:59.189770 [NOTICE] switch_ivr.c:2238 Transfer sofia/default/447903334940@simwood.com to XML[447780882647@redirected]
2021-03-09 09:46:59.189770 [NOTICE] sofia.c:6770 Hangup sofia/default/401@81.159.168.122:8066 [CS_CONSUME_MEDIA] [REDIRECTION_TO_NEW_DESTINATION]
2021-03-09 09:46:59.189770 [DEBUG] sofia.c:1548 Channel is already hungup.
2021-03-09 09:46:59.189770 [DEBUG] sofia.c:1548 Channel is already hungup.
2021-03-09 09:46:59.189770 [DEBUG] switch_core_state_machine.c:585 (sofia/default/401@81.159.168.122:8066) Running State Change CS_HANGUP (Cur 4 Tot 292566)
2021-03-09 09:46:59.189770 [DEBUG] switch_core_state_machine.c:848 (sofia/default/401@81.159.168.122:8066) Callstate Change DOWN -> HANGUP
2021-03-09 09:46:59.189770 [DEBUG] switch_core_state_machine.c:850 (sofia/default/401@81.159.168.122:8066) State HANGUP
2021-03-09 09:46:59.189770 [DEBUG] mod_sofia.c:453 Channel sofia/default/401@81.159.168.122:8066 hanging up, cause: REDIRECTION_TO_NEW_DESTINATION
2021-03-09 09:46:59.189770 [DEBUG] mod_sofia.c:521 Sending CANCEL to sofia/default/401@81.159.168.122:8066
2021-03-09 09:46:59.189770 [DEBUG] switch_core_state_machine.c:60 sofia/default/401@81.159.168.122:8066 Standard HANGUP, cause: REDIRECTION_TO_NEW_DESTINATION
2021-03-09 09:46:59.189770 [DEBUG] switch_core_state_machine.c:850 (sofia/default/401@81.159.168.122:8066) State HANGUP going to sleep
2021-03-09 09:46:59.189770 [DEBUG] switch_core_state_machine.c:620 (sofia/default/401@81.159.168.122:8066) State Change CS_HANGUP -> CS_REPORTING
2021-03-09 09:46:59.189770 [DEBUG] switch_core_state_machine.c:585 (sofia/default/401@81.159.168.122:8066) Running State Change CS_REPORTING (Cur 4 Tot 292566)
2021-03-09 09:46:59.189770 [DEBUG] switch_core_state_machine.c:936 (sofia/default/401@81.159.168.122:8066) State REPORTING
2021-03-09 09:46:59.189770 [INFO] mod_json_cdr.c:271 Process [5b81ad3d-893f-490b-8f62-4abb178f2db0.cdr.json]
2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:174 sofia/default/401@81.159.168.122:8066 Standard REPORTING, cause: REDIRECTION_TO_NEW_DESTINATION
2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:936 (sofia/default/401@81.159.168.122:8066) State REPORTING going to sleep
2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:611 (sofia/default/401@81.159.168.122:8066) State Change CS_REPORTING -> CS_DESTROY
2021-03-09 09:46:59.209689 [DEBUG] switch_core_session.c:1726 Session 292566 (sofia/default/401@81.159.168.122:8066) Locked, Waiting on external entities
2021-03-09 09:46:59.209689 [DEBUG] switch_ivr_originate.c:3941 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL]
2021-03-09 09:46:59.209689 [NOTICE] switch_core_session.c:1744 Session 292566 (sofia/default/401@81.159.168.122:8066) Ended
2021-03-09 09:46:59.209689 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/401@81.159.168.122:8066 [CS_DESTROY]
2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:739 (sofia/default/401@81.159.168.122:8066) Running State Change CS_DESTROY (Cur 3 Tot 292566)
2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:749 (sofia/default/401@81.159.168.122:8066) State DESTROY
2021-03-09 09:46:59.209689 [DEBUG] mod_sofia.c:364 sofia/default/401@81.159.168.122:8066 SOFIA DESTROY
2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:181 sofia/default/401@81.159.168.122:8066 Standard DESTROY
2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:749 (sofia/default/401@81.159.168.122:8066) State DESTROY going to sleep
2021-03-09 09:46:59.209689 [NOTICE] switch_ivr_originate.c:2955 Cannot create outgoing channel of type [user] cause: [ORIGINATOR_CANCEL]
2021-03-09 09:46:59.209689 [DEBUG] switch_ivr_originate.c:3952 Originate Resulted in Error Cause: 487 [ORIGINATOR_CANCEL]
2021-03-09 09:46:59.209689 [INFO] mod_dptools.c:3631 Originate Failed. Cause: ORIGINATOR_CANCEL
2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:651 (sofia/default/447903334940@simwood.com) State EXECUTE going to sleep
2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:585 (sofia/default/447903334940@simwood.com) Running State Change CS_ROUTING (Cur 3 Tot 292566)
2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:644 (sofia/default/447903334940@simwood.com) State ROUTING
2021-03-09 09:46:59.209689 [DEBUG] mod_sofia.c:145 Call appears to be already acknowledged
2021-03-09 09:46:59.209689 [DEBUG] mod_sofia.c:154 sofia/default/447903334940@simwood.com SOFIA ROUTING
2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:236 sofia/default/447903334940@simwood.com Standard ROUTING
2021-03-09 09:46:59.209689 [INFO] mod_dialplan_xml.c:637 Processing 447903334940 <447903334940>->447780882647 in context redirected
2021-03-09 09:46:59.209689 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2021-03-09 09:46:59.209689 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-03-09 09:46:59.209689 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: be07c608-2888-4a3c-b411-34af5f4413eb
FreeSWITCH-Hostname: SBPbx
FreeSWITCH-Switchname: SBPbx
FreeSWITCH-IPv4: 178.62.70.78
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2021-03-09%2009%3A46%3A59
Event-Date-GMT: Tue,%2009%20Mar%202021%2009%3A46%3A59%20GMT
Event-Date-Timestamp: 1615283219209689
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 608
Event-Sequence: 4376306
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/447903334940%40simwood.com
Unique-ID: 4cae13ca-ea7a-499c-827d-cce8aea9b703
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 447903334940%40simwood.com
Channel-Presence-Data: x%7C%7C%7Csimwood(1683977434)%7C%7C%7C%5E02071832185.*%20//%2002071832185%20//%200.00000%7C%7C%7C%7C%7C%7CDID
Channel-Call-UUID: 4cae13ca-ea7a-499c-827d-cce8aea9b703
Answer-State: ringing
Channel-Read-Codec-Name: PCMA
Channel-Read-Codec-Rate: 8000
Channel-Read-Codec-Bit-Rate: 64000
Channel-Write-Codec-Name: PCMA
Channel-Write-Codec-Rate: 8000
Channel-Write-Codec-Bit-Rate: 64000
Caller-Direction: inbound
Caller-Logical-Direction: inbound
Caller-Username: 447903334940
Caller-Dialplan: XML
Caller-Caller-ID-Name: 447903334940
Caller-Caller-ID-Number: 447903334940
Caller-Orig-Caller-ID-Name: 447903334940
Caller-Orig-Caller-ID-Number: 447903334940
Caller-Network-Addr: 185.63.140.77
Caller-ANI: 447903334940
Caller-Destination-Number: 447780882647
Caller-Unique-ID: 4cae13ca-ea7a-499c-827d-cce8aea9b703
Caller-Source: mod_sofia
Caller-Transfer-Source: 1615283219%3Ad7bba0a5-b8bd-4bf3-be06-188509bd7def%3Abl_xfer%3A447780882647/redirected/XML
Caller-Context: redirected
Caller-RDNIS: 02071832185
Caller-Channel-Name: sofia/default/447903334940%40simwood.com
Caller-Profile-Index: 2
Caller-Profile-Created-Time: 1615283219189770
Caller-Channel-Created-Time: 1615283214049686
Caller-Channel-Answered-Time: 0
Caller-Channel-Progress-Time: 1615283214109848
Caller-Channel-Progress-Media-Time: 0
Caller-Channel-Hangup-Time: 0
Caller-Channel-Transfer-Time: 0
Caller-Channel-Resurrect-Time: 0
Caller-Channel-Bridged-Time: 0
Caller-Channel-Last-Hold: 0
Caller-Channel-Hold-Accum: 0
Caller-Screen-Bit: true
Caller-Privacy-Hide-Name: false
Caller-Privacy-Hide-Number: false
variable_direction: inbound
variable_uuid: 4cae13ca-ea7a-499c-827d-cce8aea9b703
variable_session_id: 292565
variable_sip_from_user: 447903334940
variable_sip_from_uri: 447903334940%40simwood.com
variable_sip_from_host: simwood.com
variable_video_media_flow: disabled
variable_text_media_flow: disabled
variable_channel_name: sofia/default/447903334940%40simwood.com
variable_sip_call_id: 33e34986-fb5f-1239-03a4-0242ac110008
variable_sip_local_network_addr: 178.62.70.78
variable_sip_network_ip: 185.63.140.77
variable_sip_network_port: 5060
variable_sip_invite_stamp: 1615283214049686
variable_sip_received_ip: 185.63.140.77
variable_sip_received_port: 5060
variable_sip_via_protocol: udp
variable_sip_authorized: true
variable_sip_acl_authed_by: default
variable_sip_from_user_stripped: 447903334940
variable_sip_from_tag: rFNK3crv1t50K
variable_sofia_profile_name: default
variable_sofia_profile_url: sip%3Amod_sofia%40178.62.70.78%3A5060
variable_recovery_profile_name: default
variable_sip_invite_route_uri: %3Csip%3A185.63.140.77%3Blr%3E
variable_sip_invite_record_route: %3Csip%3A185.63.140.77%3Blr%3E
variable_sip_full_via: SIP/2.0/UDP%20185.63.140.77%3Bbranch%3Dz9hG4bK9353.fc48afe18ad9e1afff1f3825f8d7c22d.0%3Brport%3D5060,SIP/2.0/UDP%20185.63.140.9%3Breceived%3D185.63.140.9%3Brport%3D5060%3Bbranch%3Dz9hG4bKZ7Z6F3gS06vSQ
variable_sip_from_display: 447903334940
variable_sip_full_from: %22447903334940%22%20%3Csip%3A447903334940%40simwood.com%3E%3Btag%3DrFNK3crv1t50K
variable_sip_full_to: %3Csip%3A02071832185%40sipp.switchboard.co.uk%3E
variable_sip_allow: INVITE,%20ACK,%20BYE,%20CANCEL,%20OPTIONS,%20MESSAGE,%20INFO,%20UPDATE,%20REGISTER,%20REFER,%20NOTIFY
variable_sip_req_user: 02071832185
variable_sip_req_uri: 02071832185%40sipp.switchboard.co.uk
variable_sip_req_host: sipp.switchboard.co.uk
variable_sip_to_user: 02071832185
variable_sip_to_uri: 02071832185%40sipp.switchboard.co.uk
variable_sip_to_host: sipp.switchboard.co.uk
variable_sip_contact_user: mod_sofia
variable_sip_contact_port: 5060
variable_sip_contact_uri: mod_sofia%40185.63.140.9%3A5060
variable_sip_contact_host: 185.63.140.9
variable_sip_via_host: 185.63.140.77
variable_sip_via_rport: 5060
variable_presence_id: 447903334940%40simwood.com
variable_sip_h_X-Origin: mobile
variable_sip_h_X-simwood-acli: 861eb3bc0b4b61f511450401fa5dc60f
variable_switch_r_sdp: v%3D0%0D%0Ao%3DDialogic_SDP%20155384928009498004%205317431747054677615%20IN%20IP4%20185.63.140.127%0D%0As%3DDialogic-SIP%0D%0Ac%3DIN%20IP4%20185.63.140.63%0D%0At%3D0%200%0D%0Am%3Daudio%209856%20RTP/AVP%208%200%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-15%0D%0Aa%3DsilenceSupp%3Aoff%20-%20-%20-%20-%0D%0A
variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b
variable_rtp_use_codec_string: PCMA,PCMU,G729,G722
variable_remote_video_media_flow: inactive
variable_remote_text_media_flow: inactive
variable_remote_audio_media_flow: sendrecv
variable_audio_media_flow: sendrecv
variable_remote_media_ip: 185.63.140.63
variable_remote_media_port: 9856
variable_rtp_audio_recv_pt: 8
variable_rtp_use_codec_name: PCMA
variable_rtp_use_codec_rate: 8000
variable_rtp_use_codec_ptime: 20
variable_rtp_use_codec_channels: 1
variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
variable_read_codec: PCMA
variable_original_read_codec: PCMA
variable_read_rate: 8000
variable_original_read_rate: 8000
variable_write_codec: PCMA
variable_write_rate: 8000
variable_dtmf_type: rfc2833
variable_endpoint_disposition: RECEIVED
variable_effective_destination_number: 02071832185
variable_bridge_pre_execute_bleg_app: sched_hangup
variable_bridge_pre_execute_bleg_data: %2B6000%20normal_clearing
variable_callstart: 2021-03-09%2009%3A46%3A54
variable_continue_on_fail: TRUE
variable_account_id: 6
variable_parent_id: 0
variable_entity_id: 3
variable_call_processed: internal
variable_call_direction: inbound
variable_accountname: Simwood
variable_origination_rates_did: ID%3A257%7CCODE%3A%5E02071832185.*%7CDESTINATION%3A02071832185%7CCONNECTIONCOST%3A0.00000%7CINCLUDEDSECONDS%3A0%7CCT%3A0%7CCOST%3A0.00000%7CINC%3A0%7CINITIALBLOCK%3A0%7CRATEGROUP%3A0%7CMARKUP%3A0%7CCI%3A200%7CACCID%3A198
variable_origination_rates: 0
variable_original_caller_id_name: 447903334940
variable_original_caller_id_number: 447903334940
variable_effective_caller_id_name: 447903334940
variable_effective_caller_id_number: 447903334940
variable_receiver_accid: 198
variable_presence_data: x%7C%7C%7Csimwood(1683977434)%7C%7C%7C%5E02071832185.*%20//%2002071832185%20//%200.00000%7C%7C%7C%7C%7C%7CDID
variable_call_type: 0
variable_calltype: DID-LOCAL
variable_dialed_extension: transfer_call
variable_hangup_after_bridge: true
variable_did_user_domain: ActiveMontas177.sipp.switchboard.co.uk
variable_export_vars: presence_data,call_type,dialed_extension,did_user_domain
variable_sip_to_tag: t4UmHZv3rKXtH
variable_current_application_data: %5Bleg_timeout%3D0%5Duser/401%40ActiveMontas177.sipp.switchboard.co.uk
variable_current_application: bridge
variable_dialed_user: 401
variable_dialed_domain: ActiveMontas177.sipp.switchboard.co.uk
variable_originate_signal_bond: 5b81ad3d-893f-490b-8f62-4abb178f2db0
variable_originated_legs: 5b81ad3d-893f-490b-8f62-4abb178f2db0%3BOutbound%20Call%3B401
variable_sip_redirect_contact_0: %3Csip%3A447780882647%40ActiveMontas177.sipp.switchboard.co.uk%3E
variable_sip_redirected_to: %3Csip%3A447780882647%40ActiveMontas177.sipp.switchboard.co.uk%3E
variable_sip_redirect_contact_user_0: 447780882647
variable_sip_redirect_contact_host_0: ActiveMontas177.sipp.switchboard.co.uk
variable_sip_redirect_dialstring_0: sofia/default/sip%3A447780882647%40ActiveMontas177.sipp.switchboard.co.uk
variable_sip_redirect_dialstring: sofia/default/sip%3A447780882647%40ActiveMontas177.sipp.switchboard.co.uk
variable_sip_redirected_by: %3Csip%3A401%40192.168.1.66%3A8066%3E%3Breason%3Dunconditional
variable_max_forwards: 66
variable_transfer_history: 1615283219%3Ad7bba0a5-b8bd-4bf3-be06-188509bd7def%3Abl_xfer%3A447780882647/redirected/XML
variable_transfer_source: 1615283219%3Ad7bba0a5-b8bd-4bf3-be06-188509bd7def%3Abl_xfer%3A447780882647/redirected/XML
variable_last_bridge_hangup_cause: REDIRECTION_TO_NEW_DESTINATION
variable_originate_causes: 5b81ad3d-893f-490b-8f62-4abb178f2db0%3BREDIRECTION_TO_NEW_DESTINATION
variable_originate_disposition: ORIGINATOR_CANCEL
variable_DIALSTATUS: CANCEL
variable_originate_failed_cause: ORIGINATOR_CANCEL
variable_call_uuid: 4cae13ca-ea7a-499c-827d-cce8aea9b703
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: 447903334940
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: 447903334940
Hunt-Caller-ID-Number: 447903334940
Hunt-Orig-Caller-ID-Name: 447903334940
Hunt-Orig-Caller-ID-Number: 447903334940
Hunt-Network-Addr: 185.63.140.77
Hunt-ANI: 447903334940
Hunt-Destination-Number: 447780882647
Hunt-Unique-ID: 4cae13ca-ea7a-499c-827d-cce8aea9b703
Hunt-Source: mod_sofia
Hunt-Transfer-Source: 1615283219%3Ad7bba0a5-b8bd-4bf3-be06-188509bd7def%3Abl_xfer%3A447780882647/redirected/XML
Hunt-Context: redirected
Hunt-RDNIS: 02071832185
Hunt-Channel-Name: sofia/default/447903334940%40simwood.com
Hunt-Profile-Index: 2
Hunt-Profile-Created-Time: 1615283219189770
Hunt-Channel-Created-Time: 1615283214049686
Hunt-Channel-Answered-Time: 0
Hunt-Channel-Progress-Time: 1615283214109848
Hunt-Channel-Progress-Media-Time: 0
Hunt-Channel-Hangup-Time: 0
Hunt-Channel-Transfer-Time: 0
Hunt-Channel-Resurrect-Time: 0
Hunt-Channel-Bridged-Time: 0
Hunt-Channel-Last-Hold: 0
Hunt-Channel-Hold-Accum: 0
Hunt-Screen-Bit: true
Hunt-Privacy-Hide-Name: false
Hunt-Privacy-Hide-Number: false
2021-03-09 09:46:59.209689 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] key_value:
2021-03-09 09:46:59.209689 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] key_name:
2021-03-09 09:46:59.209689 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] section: dialplan
2021-03-09 09:46:59.209689 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] tag_name:
2021-03-09 09:46:59.209689 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] blind_flag: 0
2021-03-09 09:46:59.209689 [ERR] mod_lua.cpp:202 .../share/freeswitch/scripts/astpp/lib/addons/astpp.pbx.lua:1530: attempt to concatenate global 'user_domain' (a nil value)
stack traceback:
.../share/freeswitch/scripts/astpp/lib/addons/astpp.pbx.lua:1530: in function 'feature_code_call_transfer'
./astpp/scripts/astpp.dialplan.lua:25: in main chunk
[C]: in function 'dofile'
/usr/share/freeswitch/scripts/astpp/astpp.lua:86: in main chunk
2021-03-09 09:46:59.209689 [ERR] mod_lua.cpp:270 LUA script parse/execute error!
2021-03-09 09:46:59.209689 [WARNING] mod_dialplan_xml.c:667 Context redirected not found
2021-03-09 09:46:59.209689 [INFO] switch_core_state_machine.c:312 No Route, Aborting
2021-03-09 09:46:59.209689 [NOTICE] switch_core_state_machine.c:313 Hangup sofia/default/447903334940@simwood.com [CS_ROUTING] [NO_ROUTE_DESTINATION]
2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:644 (sofia/default/447903334940@simwood.com) State ROUTING going to sleep
2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:585 (sofia/default/447903334940@simwood.com) Running State Change CS_HANGUP (Cur 3 Tot 292566)
2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:848 (sofia/default/447903334940@simwood.com) Callstate Change RINGING -> HANGUP
2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:850 (sofia/default/447903334940@simwood.com) State HANGUP
2021-03-09 09:46:59.209689 [DEBUG] mod_sofia.c:453 Channel sofia/default/447903334940@simwood.com hanging up, cause: NO_ROUTE_DESTINATION
2021-03-09 09:46:59.209689 [DEBUG] mod_sofia.c:598 Responding to INVITE with: 404
2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:60 sofia/default/447903334940@simwood.com Standard HANGUP, cause: NO_ROUTE_DESTINATION
2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:850 (sofia/default/447903334940@simwood.com) State HANGUP going to sleep
2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:620 (sofia/default/447903334940@simwood.com) State Change CS_HANGUP -> CS_REPORTING
2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:585 (sofia/default/447903334940@simwood.com) Running State Change CS_REPORTING (Cur 3 Tot 292566)
2021-03-09 09:46:59.209689 [DEBUG] switch_core_state_machine.c:936 (sofia/default/447903334940@simwood.com) State REPORTING
2021-03-09 09:46:59.209689 [INFO] mod_json_cdr.c:271 Process [4cae13ca-ea7a-499c-827d-cce8aea9b703.cdr.json]
2021-03-09 09:46:59.249675 [DEBUG] switch_core_state_machine.c:174 sofia/default/447903334940@simwood.com Standard REPORTING, cause: NO_ROUTE_DESTINATION
2021-03-09 09:46:59.249675 [DEBUG] switch_core_state_machine.c:936 (sofia/default/447903334940@simwood.com) State REPORTING going to sleep
2021-03-09 09:46:59.249675 [DEBUG] switch_core_state_machine.c:611 (sofia/default/447903334940@simwood.com) State Change CS_REPORTING -> CS_DESTROY