span style="color: cornflowerblue; font-weight: bold;"> 2021-04-05 15:33:59.211778 [NOTICE] switch_channel.c:1118 New Channel sofia/default/0645339450@154.118.252.35 [a9f7a9ab-1909-46c5-9e9d-cd98544d95a5]
2021-04-05 15:33:59.211778 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0645339450@154.118.252.35) Running State Change CS_NEW (Cur 1 Tot 8851)
2021-04-05 15:33:59.211778 [DEBUG] sofia.c:10280 sofia/default/0645339450@154.118.252.35 receiving invite from 169.255.3.45:5060 version: 1.10.5 -release.8 64bit
2021-04-05 15:33:59.211778 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 169.255.3.45:0.
2021-04-05 15:33:59.211778 [DEBUG] sofia.c:10403 IP 169.255.3.45 Approved by acl "default[]". Access Granted.
2021-04-05 15:33:59.211778 [DEBUG] sofia.c:7326 Channel sofia/default/0645339450@154.118.252.35 entering state [received][100]
2021-04-05 15:33:59.211778 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=- 206133 1 IN IP4 169.255.3.52
s=-
c=IN IP4 169.255.3.52
t=0 0
m=audio 25012 RTP/AVP 18 8 116
a=rtpmap:116 telephone-event/8000
a=ptime:20
2021-04-05 15:33:59.211778 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
2021-04-05 15:33:59.211778 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
2021-04-05 15:33:59.211778 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2021-04-05 15:33:59.211778 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2021-04-05 15:33:59.211778 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2021-04-05 15:33:59.211778 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2021-04-05 15:33:59.211778 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2021-04-05 15:33:59.211778 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2021-04-05 15:33:59.211778 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 116@8000
2021-04-05 15:33:59.211778 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/0645339450@154.118.252.35 G729/8000 20 ms 160 samples 8000 bits 1 channels
2021-04-05 15:33:59.211778 [DEBUG] switch_core_codec.c:111 sofia/default/0645339450@154.118.252.35 Original read codec set to G729:18
2021-04-05 15:33:59.211778 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 116@8000
2021-04-05 15:33:59.211778 [DEBUG] switch_core_media.c:5911 sofia/default/0645339450@154.118.252.35 Set 2833 dtmf send payload to 116 recv payload to 116
2021-04-05 15:33:59.211778 [DEBUG] sofia.c:7760 (sofia/default/0645339450@154.118.252.35) State Change CS_NEW -> CS_INIT
2021-04-05 15:33:59.211778 [DEBUG] switch_core_state_machine.c:604 (sofia/default/0645339450@154.118.252.35) State NEW
2021-04-05 15:33:59.211778 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0645339450@154.118.252.35) Running State Change CS_INIT (Cur 1 Tot 8851)
2021-04-05 15:33:59.211778 [DEBUG] switch_core_state_machine.c:628 (sofia/default/0645339450@154.118.252.35) State INIT
2021-04-05 15:33:59.211778 [DEBUG] mod_sofia.c:93 sofia/default/0645339450@154.118.252.35 SOFIA INIT
2021-04-05 15:33:59.211778 [DEBUG] switch_core_state_machine.c:40 sofia/default/0645339450@154.118.252.35 Standard INIT
2021-04-05 15:33:59.211778 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0645339450@154.118.252.35) State Change CS_INIT -> CS_ROUTING
2021-04-05 15:33:59.211778 [DEBUG] switch_core_state_machine.c:628 (sofia/default/0645339450@154.118.252.35) State INIT going to sleep
2021-04-05 15:33:59.211778 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0645339450@154.118.252.35) Running State Change CS_ROUTING (Cur 1 Tot 8851)
2021-04-05 15:33:59.211778 [DEBUG] switch_channel.c:2332 (sofia/default/0645339450@154.118.252.35) Callstate Change DOWN -> RINGING
2021-04-05 15:33:59.211778 [DEBUG] switch_core_state_machine.c:644 (sofia/default/0645339450@154.118.252.35) State ROUTING
2021-04-05 15:33:59.211778 [DEBUG] mod_sofia.c:154 sofia/default/0645339450@154.118.252.35 SOFIA ROUTING
2021-04-05 15:33:59.211778 [DEBUG] switch_core_state_machine.c:236 sofia/default/0645339450@154.118.252.35 Standard ROUTING
2021-04-05 15:33:59.211778 [INFO] mod_dialplan_xml.c:637 Processing +27645339450 <0645339450>->3100127214760151 in context default
2021-04-05 15:33:59.251770 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2021-04-05 15:33:59.271736 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-04-05 15:33:59.271736 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] blind_flag: 0
2021-04-05 15:33:59.271736 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 3100127214760151
2021-04-05 15:33:59.271736 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '3100127214760151' limit 1
2021-04-05 15:33:59.271736 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '3100127214760151' AND status=0 limit 1
2021-04-05 15:33:59.291719 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '3100127214760151' and status=0 LIMIT 1
2021-04-05 15:33:59.291719 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] in custom Caller ID
2021-04-05 15:33:59.291719 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : 0645339450 / <null>
2021-04-05 15:33:59.291719 [DEBUG] switch_cpp.cpp:1447 [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 ="3100127214760151" LIMIT 1
2021-04-05 15:33:59.291719 [DEBUG] switch_cpp.cpp:1447 [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="3100127214760151" AND domains.domain="169.255.3.52" limit 1
2021-04-05 15:33:59.291719 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound
2021-04-05 15:33:59.291719 [DEBUG] switch_cpp.cpp:1447 [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("169.255.3.52") 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 "3100127214760151" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2021-04-05 15:33:59.291719 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :31001/*.....3100127214760151
2021-04-05 15:33:59.291719 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 3100127214760151
2021-04-05 15:33:59.291719 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27214760151
2021-04-05 15:33:59.291719 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 9446295420]
2021-04-05 15:33:59.291719 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =27214760151
2021-04-05 15:33:59.291719 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9446295420" AND deleted = 0 limit 1
2021-04-05 15:33:59.311714 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^27214760151.*' OR blocked_patterns = '^2721476015.*' OR blocked_patterns = '^272147601.*' OR blocked_patterns = '^27214760.*' OR blocked_patterns = '^2721476.*' OR blocked_patterns = '^272147.*' OR blocked_patterns = '^27214.*' OR blocked_patterns = '^2721.*' OR blocked_patterns = '^272.*' OR blocked_patterns = '^27.*' OR blocked_patterns = '^2.*' OR blocked_patterns ='--') AND accountid = 11 limit 1
2021-04-05 15:33:59.311714 [DEBUG] switch_cpp.cpp:1447 [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 ="27214760151" AND A.accountid = '11' limit 1
2021-04-05 15:33:59.311714 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 27214760151
2021-04-05 15:33:59.311714 [DEBUG] switch_cpp.cpp:1447 [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 ="27214760151" LIMIT 1
2021-04-05 15:33:59.311714 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call direction : inbound
2021-04-05 15:33:59.311714 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="27214760151" AND (accountid = 0 OR status = 1) LIMIT 1
2021-04-05 15:33:59.311714 [NOTICE] switch_cpp.cpp:1447 [ASTPP] Localization Id: 7
2021-04-05 15:33:59.311714 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 7 AND status=0 limit 1
2021-04-05 15:33:59.331714 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
2021-04-05 15:33:59.331714 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :47
2021-04-05 15:33:59.331714 [DEBUG] switch_cpp.cpp:1447 [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 = '^27214760151.*' OR patterns = '^2721476015.*' OR patterns = '^272147601.*' OR patterns = '^27214760.*' OR patterns = '^2721476.*' OR patterns = '^272147.*' OR patterns = '^27214.*' OR patterns = '^2721.*' OR patterns = '^272.*' OR patterns = '^27.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 47 ORDER BY LENGTH(PKGPTR.patterns) DESC
2021-04-05 15:33:59.331714 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '27214760151' OR number = '2721476015' OR number = '272147601' OR number = '27214760' OR number = '2721476' OR number = '272147' OR number = '27214' OR number = '2721' OR number = '272' OR number = '27' OR number = '2' OR number ='--') OR (number = '27214760151*' OR number = '2721476015*' OR number = '272147601*' OR number = '27214760*' OR number = '2721476*' OR number = '272147*' OR number = '27214*' OR number = '2721*' OR number = '272*' OR number = '27*' OR number = '2*' OR number ='--') OR (number = '<null>' OR number = '<null' OR number = '<nul' OR number = '<nu' OR number = '<n' OR number = '<' OR number ='--') OR (number = '<null>*' OR number = '<null*' OR number = '<nul*' OR number = '<nu*' OR number = '<n*' OR number = '<*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2021-04-05 15:33:59.331714 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
2021-04-05 15:33:59.331714 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '27214760151' OR routing_prefix = '2721476015' OR routing_prefix = '272147601' OR routing_prefix = '27214760' OR routing_prefix = '2721476' OR routing_prefix = '272147' OR routing_prefix = '27214' OR routing_prefix = '2721' OR routing_prefix = '272' OR routing_prefix = '27' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 11
2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 9446295420
2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 10000
2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 5
2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2021-04-05 15:33:59.331714 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
2021-04-05 15:33:59.331714 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :inbound
2021-04-05 15:33:59.331714 [DEBUG] switch_cpp.cpp:1447 [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 ="27214760151" LIMIT 1
2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] call_direction:::::: inbound
2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 255
2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00000
2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] comment : 27214760151
2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 171
2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 11
2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 11 !!!
2021-04-05 15:33:59.331714 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max length duration : 100 minutes
2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] INB_FREE:TRUE
2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] free_inbound:1
2021-04-05 15:33:59.331714 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 11 AND status=0 LIMIT 1
2021-04-05 15:33:59.351717 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "47" AND deleted = 0 limit 1
2021-04-05 15:33:59.351717 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML:11
2021-04-05 15:33:59.351717 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Userinfo XML:11
2021-04-05 15:33:59.351717 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML : 11
2021-04-05 15:33:59.351717 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 47 limit 1
2021-04-05 15:33:59.351717 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domaintestfuse.techfuse.co.za
2021-04-05 15:33:59.351717 [INFO] switch_cpp.cpp:1447 [ASTPP] maxlength::::::::: 100
2021-04-05 15:33:59.351717 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"31001/".....0645339450
2021-04-05 15:33:59.351717 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"31001/".....<null>
2021-04-05 15:33:59.351717 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 47 limit 1
2021-04-05 15:33:59.351717 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domaintestfuse.techfuse.co.za
2021-04-05 15:33:59.351717 [DEBUG] switch_cpp.cpp:1447 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_0
2021-04-05 15:33:59.351717 [DEBUG] switch_cpp.cpp:1447 [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="2007" AND domains.domain="testfuse.techfuse.co.za" limit 1
2021-04-05 15:33:59.351717 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 565 limit 1
2021-04-05 15:33:59.371715 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
2021-04-05 15:33:59.371715 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
2021-04-05 15:33:59.371715 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domain beforetestfuse.techfuse.co.za
2021-04-05 15:33:59.371715 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] pickup_group_permission pickup_str
2021-04-05 15:33:59.371715 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [NOTIFY] START:
2021-04-05 15:33:59.371715 [DEBUG] switch_cpp.cpp:1447 [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="2007" AND domains.domain="testfuse.techfuse.co.za" limit 1
2021-04-05 15:33:59.371715 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 565
2021-04-05 15:33:59.371715 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 565 limit 1
2021-04-05 15:33:59.371715 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
2021-04-05 15:33:59.371715 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
2021-04-05 15:33:59.371715 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] call_forwarding_flag : 1
2021-04-05 15:33:59.371715 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] SIP Call forwarding Disable
2021-04-05 15:33:59.371715 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [NOTIFY] START:
2021-04-05 15:33:59.371715 [DEBUG] switch_cpp.cpp:1447 [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="2007" AND domains.domain="testfuse.techfuse.co.za" limit 1
2021-04-05 15:33:59.391713 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 565 limit 1
2021-04-05 15:33:59.391713 [DEBUG] switch_cpp.cpp:1447 [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="27214760151">
<condition field="destination_number" expression="3100127214760151">
<action application="set" data="effective_destination_number=27214760151"/>
<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-04-05 13:33:59"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=false"/>
<action application="set" data="account_id=11"/>
<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=default"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<action application="set" data="origination_rates_did=ID:255|CODE:^27214760151.*|DESTINATION:27214760151|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:47"/>
<action application="set" data="origination_rates=0"/>
<action application="set" data="original_caller_id_name=0645339450"/>
<action application="set" data="effective_caller_id_name=0645339450"/>
<action application="set" data="receiver_accid=47"/>
<action application="export" data="domain_name=testfuse.techfuse.co.za"/>
<action application="export" data="sip_to_host=testfuse.techfuse.co.za"/>
<action application="export" data="presence_data=x|||CONVERGED(9446295420)|||^27214760151.* // 27214760151 // 0.00000||||||DID|||169.255.3.52"/>
<action application="export" data="call_type=0"/>
<action application="set" data="calltype=DID-LOCAL"/>
<action application="db" data="insert/pickup_any_group_${callgroup}/2007/${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=testfuse.techfuse.co.za"/>
<action application="set" data="sip_h_X-call-type=did"/>
<action application="set" data="sip_h_X-did-call-type=DID-LOCAL"/>
<action application="db" data="insert/pickup_any_group_${callgroup}/2007/${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="bridge" data="{sip_to_user=2007,sip_to_host=testfuse.techfuse.co.za,sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=47}[leg_timeout=60 ] sofia/${sofia_profile_name}/2007@testfuse.techfuse.co.za"/>
<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=0"/>
<action application="set" data="variable_sip_to_host=testfuse.techfuse.co.za"/>
<action application="set" data="opensips_domain=169.255.3.45"/>
<action application="set" data="leg_timeout=60"/>
<action application="set" data="userinfo_id=47"/>
<action application="set" data="sip_destination_number=2007"/>
<action application="set" data="did_number=2007"/>
<action application="set" data="user_domain=testfuse.techfuse.co.za"/>
<action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
<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=0"/>
<action application="set" data="variable_sip_to_host=testfuse.techfuse.co.za"/>
<action application="set" data="opensips_domain=169.255.3.45"/>
<action application="set" data="leg_timeout=60"/>
<action application="set" data="userinfo_id=47"/>
<action application="set" data="sip_destination_number=2007"/>
<action application="set" data="destination_number=27214760151"/>
<action application="set" data="did_number=27214760151"/>
<action application="set" data="user_domain=testfuse.techfuse.co.za"/>
<action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
<condition field="${cond(${user_data 2007@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
<action application="answer"/>
<action application="export" data="voicemail_alternate_greet_id=27214760151"/>
<action application="voicemail" data="default $${domain_name} 2007"/>
<anti-action application="hangup" data="${originate_disposition}"/>
</condition>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/0645339450@154.118.252.35 parsing [default->27214760151] continue=false
Dialplan: sofia/default/0645339450@154.118.252.35 Regex (PASS) [27214760151] destination_number(3100127214760151) =~ /3100127214760151/ break=on-false
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(effective_destination_number=27214760151)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(callstart=2021-04-05 13:33:59)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(continue_on_fail=false)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(account_id=11)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(parent_id=0)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(entity_id=3)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(call_processed=internal)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(call_direction=inbound)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(accountname=default)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(origination_rates_did=ID:255|CODE:^27214760151.*|DESTINATION:27214760151|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:47)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(origination_rates=0)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(original_caller_id_name=0645339450)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(effective_caller_id_name=0645339450)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(receiver_accid=47)
Dialplan: sofia/default/0645339450@154.118.252.35 Action export(domain_name=testfuse.techfuse.co.za)
Dialplan: sofia/default/0645339450@154.118.252.35 Action export(sip_to_host=testfuse.techfuse.co.za)
Dialplan: sofia/default/0645339450@154.118.252.35 Action export(presence_data=x|||CONVERGED(9446295420)|||^27214760151.* // 27214760151 // 0.00000||||||DID|||169.255.3.52)
Dialplan: sofia/default/0645339450@154.118.252.35 Action export(call_type=0)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(calltype=DID-LOCAL)
Dialplan: sofia/default/0645339450@154.118.252.35 Action db(insert/pickup_any_group_${callgroup}/2007/${uuid})
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(dialed_extension=transfer_call)
Dialplan: sofia/default/0645339450@154.118.252.35 Action export(dialed_extension=transfer_call)
Dialplan: sofia/default/0645339450@154.118.252.35 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
Dialplan: sofia/default/0645339450@154.118.252.35 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/0645339450@154.118.252.35 Action export(did_user_domain=testfuse.techfuse.co.za)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(sip_h_X-call-type=did)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(sip_h_X-did-call-type=DID-LOCAL)
Dialplan: sofia/default/0645339450@154.118.252.35 Action db(insert/pickup_any_group_${callgroup}/2007/${uuid})
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(dialed_extension=transfer_call)
Dialplan: sofia/default/0645339450@154.118.252.35 Action export(dialed_extension=transfer_call)
Dialplan: sofia/default/0645339450@154.118.252.35 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
Dialplan: sofia/default/0645339450@154.118.252.35 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/0645339450@154.118.252.35 Action bridge({sip_to_user=2007,sip_to_host=testfuse.techfuse.co.za,sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=47}[leg_timeout=60 ] sofia/${sofia_profile_name}/2007@testfuse.techfuse.co.za)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(on_busy_flag=1)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(on_busy_destination=)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(no_answer_flag=1)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(no_answer_destination=)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(not_register_flag=1)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(not_register_destination=)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(opensips_flag=0)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(variable_sip_to_host=testfuse.techfuse.co.za)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(opensips_domain=169.255.3.45)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(leg_timeout=60)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(userinfo_id=47)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(sip_destination_number=2007)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(did_number=2007)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(user_domain=testfuse.techfuse.co.za)
Dialplan: sofia/default/0645339450@154.118.252.35 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(on_busy_flag=1)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(on_busy_destination=)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(no_answer_flag=1)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(no_answer_destination=)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(not_register_flag=1)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(not_register_destination=)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(opensips_flag=0)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(variable_sip_to_host=testfuse.techfuse.co.za)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(opensips_domain=169.255.3.45)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(leg_timeout=60)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(userinfo_id=47)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(sip_destination_number=2007)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(destination_number=27214760151)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(did_number=27214760151)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(user_domain=testfuse.techfuse.co.za)
Dialplan: sofia/default/0645339450@154.118.252.35 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
|--- Dialplan: Processing recursive conditions level:1 [27214760151_recur_1] require-nested=TRUE
|--- Dialplan: sofia/default/0645339450@154.118.252.35 Regex (FAIL) [27214760151_recur_1] ${cond(${user_data 2007@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
|--- Dialplan: sofia/default/0645339450@154.118.252.35 ANTI-Action hangup(${originate_disposition})
2021-04-05 15:33:59.411713 [DEBUG] switch_core_state_machine.c:287 (sofia/default/0645339450@154.118.252.35) State Change CS_ROUTING -> CS_EXECUTE
2021-04-05 15:33:59.411713 [DEBUG] switch_core_state_machine.c:644 (sofia/default/0645339450@154.118.252.35) State ROUTING going to sleep
2021-04-05 15:33:59.411713 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0645339450@154.118.252.35) Running State Change CS_EXECUTE (Cur 1 Tot 8851)
2021-04-05 15:33:59.411713 [DEBUG] switch_core_state_machine.c:651 (sofia/default/0645339450@154.118.252.35) State EXECUTE
2021-04-05 15:33:59.411713 [DEBUG] mod_sofia.c:209 sofia/default/0645339450@154.118.252.35 SOFIA EXECUTE
2021-04-05 15:33:59.411713 [DEBUG] switch_core_state_machine.c:329 sofia/default/0645339450@154.118.252.35 Standard EXECUTE
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(effective_destination_number=27214760151)
2021-04-05 15:33:59.411713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [effective_destination_number]=[27214760151]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(bridge_pre_execute_bleg_app=sched_hangup)
2021-04-05 15:33:59.411713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2021-04-05 15:33:59.411713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(callstart=2021-04-05 13:33:59)
2021-04-05 15:33:59.411713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [callstart]=[2021-04-05 13:33:59]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(hangup_after_bridge=true)
2021-04-05 15:33:59.411713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(continue_on_fail=false)
2021-04-05 15:33:59.411713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [continue_on_fail]=[false]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(account_id=11)
2021-04-05 15:33:59.411713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [account_id]=[11]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(parent_id=0)
2021-04-05 15:33:59.411713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(entity_id=3)
2021-04-05 15:33:59.411713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [entity_id]=[3]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(call_processed=internal)
2021-04-05 15:33:59.431713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(call_direction=inbound)
2021-04-05 15:33:59.431713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [call_direction]=[inbound]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(accountname=default)
2021-04-05 15:33:59.431713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [accountname]=[default]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(filename1=astpp.pbx.lua)
2021-04-05 15:33:59.431713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [filename1]=[astpp.pbx.lua]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(origination_rates_did=ID:255|CODE:^27214760151.*|DESTINATION:27214760151|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:47)
2021-04-05 15:33:59.431713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [origination_rates_did]=[ID:255|CODE:^27214760151.*|DESTINATION:27214760151|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:47]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(origination_rates=0)
2021-04-05 15:33:59.431713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [origination_rates]=[0]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(original_caller_id_name=0645339450)
2021-04-05 15:33:59.431713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [original_caller_id_name]=[0645339450]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(effective_caller_id_name=0645339450)
2021-04-05 15:33:59.431713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [effective_caller_id_name]=[0645339450]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(receiver_accid=47)
2021-04-05 15:33:59.431713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [receiver_accid]=[47]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 export(domain_name=testfuse.techfuse.co.za)
2021-04-05 15:33:59.431713 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [domain_name]=[testfuse.techfuse.co.za]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 export(sip_to_host=testfuse.techfuse.co.za)
2021-04-05 15:33:59.431713 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [sip_to_host]=[testfuse.techfuse.co.za]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 export(presence_data=x|||CONVERGED(9446295420)|||^27214760151.* // 27214760151 // 0.00000||||||DID|||169.255.3.52)
2021-04-05 15:33:59.431713 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||CONVERGED(9446295420)|||^27214760151.* // 27214760151 // 0.00000||||||DID|||169.255.3.52]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 export(call_type=0)
2021-04-05 15:33:59.431713 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_type]=[0]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(calltype=DID-LOCAL)
2021-04-05 15:33:59.431713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [calltype]=[DID-LOCAL]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 db(insert/pickup_any_group_/2007/a9f7a9ab-1909-46c5-9e9d-cd98544d95a5)
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(dialed_extension=transfer_call)
2021-04-05 15:33:59.431713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 export(dialed_extension=transfer_call)
2021-04-05 15:33:59.431713 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
2021-04-05 15:33:59.431713 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
2021-04-05 15:33:59.431713 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(hangup_after_bridge=true)
2021-04-05 15:33:59.431713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 export(did_user_domain=testfuse.techfuse.co.za)
2021-04-05 15:33:59.431713 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [did_user_domain]=[testfuse.techfuse.co.za]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(sip_h_X-call-type=did)
2021-04-05 15:33:59.431713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [sip_h_X-call-type]=[did]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(sip_h_X-did-call-type=DID-LOCAL)
2021-04-05 15:33:59.431713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [sip_h_X-did-call-type]=[DID-LOCAL]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 db(insert/pickup_any_group_/2007/a9f7a9ab-1909-46c5-9e9d-cd98544d95a5)
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(dialed_extension=transfer_call)
2021-04-05 15:33:59.431713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 export(dialed_extension=transfer_call)
2021-04-05 15:33:59.431713 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
2021-04-05 15:33:59.431713 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
2021-04-05 15:33:59.431713 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(hangup_after_bridge=true)
2021-04-05 15:33:59.431713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 bridge({sip_to_user=2007,sip_to_host=testfuse.techfuse.co.za,sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=47}[leg_timeout=60 ] sofia/default/2007@testfuse.techfuse.co.za)
2021-04-05 15:33:59.431713 [DEBUG] switch_channel.c:1264 sofia/default/0645339450@154.118.252.35 EXPORTING[export_vars] [domain_name]=[testfuse.techfuse.co.za] to event
2021-04-05 15:33:59.431713 [DEBUG] switch_channel.c:1264 sofia/default/0645339450@154.118.252.35 EXPORTING[export_vars] [sip_to_host]=[testfuse.techfuse.co.za] to event
2021-04-05 15:33:59.431713 [DEBUG] switch_channel.c:1264 sofia/default/0645339450@154.118.252.35 EXPORTING[export_vars] [presence_data]=[x|||CONVERGED(9446295420)|||^27214760151.* // 27214760151 // 0.00000||||||DID|||169.255.3.52] to event
2021-04-05 15:33:59.431713 [DEBUG] switch_channel.c:1264 sofia/default/0645339450@154.118.252.35 EXPORTING[export_vars] [call_type]=[0] to event
2021-04-05 15:33:59.431713 [DEBUG] switch_channel.c:1264 sofia/default/0645339450@154.118.252.35 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
2021-04-05 15:33:59.431713 [DEBUG] switch_channel.c:1264 sofia/default/0645339450@154.118.252.35 EXPORTING[export_vars] [did_user_domain]=[testfuse.techfuse.co.za] to event
2021-04-05 15:33:59.431713 [DEBUG] switch_channel.c:1264 sofia/default/0645339450@154.118.252.35 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
2021-04-05 15:33:59.431713 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
2021-04-05 15:33:59.431713 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
2021-04-05 15:33:59.431713 [NOTICE] switch_channel.c:1118 New Channel sofia/default/2007@testfuse.techfuse.co.za [d5daabe5-095f-44f3-ba5e-aedcb23e537a]
2021-04-05 15:33:59.431713 [DEBUG] mod_sofia.c:5089 (sofia/default/2007@testfuse.techfuse.co.za) State Change CS_NEW -> CS_INIT
2021-04-05 15:33:59.431713 [DEBUG] switch_ivr_originate.c:3111 sofia/default/2007@testfuse.techfuse.co.za Setting leg timeout to 60
2021-04-05 15:33:59.431713 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2007@testfuse.techfuse.co.za) Running State Change CS_INIT (Cur 2 Tot 8852)
2021-04-05 15:33:59.431713 [DEBUG] switch_core_state_machine.c:628 (sofia/default/2007@testfuse.techfuse.co.za) State INIT
2021-04-05 15:33:59.431713 [DEBUG] mod_sofia.c:93 sofia/default/2007@testfuse.techfuse.co.za SOFIA INIT
2021-04-05 15:33:59.431713 [DEBUG] sofia_glue.c:1618 sofia/default/2007@testfuse.techfuse.co.za sending invite version: 1.10.5 -release.8 64bit
Local SDP:
v=0
o=FreeSWITCH 1617601691 1617601692 IN IP4 169.255.3.42
s=FreeSWITCH
c=IN IP4 169.255.3.42
t=0 0
m=audio 27948 RTP/AVP 18 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2021-04-05 15:33:59.431713 [DEBUG] switch_core_state_machine.c:40 sofia/default/2007@testfuse.techfuse.co.za Standard INIT
2021-04-05 15:33:59.431713 [DEBUG] switch_core_state_machine.c:48 (sofia/default/2007@testfuse.techfuse.co.za) State Change CS_INIT -> CS_ROUTING
2021-04-05 15:33:59.431713 [DEBUG] switch_core_state_machine.c:628 (sofia/default/2007@testfuse.techfuse.co.za) State INIT going to sleep
2021-04-05 15:33:59.431713 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2007@testfuse.techfuse.co.za) Running State Change CS_ROUTING (Cur 2 Tot 8852)
2021-04-05 15:33:59.431713 [DEBUG] switch_core_state_machine.c:644 (sofia/default/2007@testfuse.techfuse.co.za) State ROUTING
2021-04-05 15:33:59.431713 [DEBUG] mod_sofia.c:154 sofia/default/2007@testfuse.techfuse.co.za SOFIA ROUTING
2021-04-05 15:33:59.431713 [DEBUG] switch_ivr_originate.c:67 (sofia/default/2007@testfuse.techfuse.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2021-04-05 15:33:59.431713 [DEBUG] switch_core_state_machine.c:644 (sofia/default/2007@testfuse.techfuse.co.za) State ROUTING going to sleep
2021-04-05 15:33:59.431713 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2007@testfuse.techfuse.co.za) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 8852)
2021-04-05 15:33:59.431713 [DEBUG] sofia.c:7326 Channel sofia/default/2007@testfuse.techfuse.co.za entering state [calling][0]
2021-04-05 15:33:59.431713 [DEBUG] switch_core_state_machine.c:663 (sofia/default/2007@testfuse.techfuse.co.za) State CONSUME_MEDIA
2021-04-05 15:33:59.431713 [DEBUG] switch_core_state_machine.c:663 (sofia/default/2007@testfuse.techfuse.co.za) State CONSUME_MEDIA going to sleep
2021-04-05 15:33:59.711752 [DEBUG] sofia.c:7326 Channel sofia/default/2007@testfuse.techfuse.co.za entering state [proceeding][180]
2021-04-05 15:33:59.711752 [NOTICE] sofia.c:7437 Ring-Ready sofia/default/2007@testfuse.techfuse.co.za!
2021-04-05 15:33:59.711752 [DEBUG] switch_channel.c:3437 (sofia/default/2007@testfuse.techfuse.co.za) Callstate Change DOWN -> RINGING
2021-04-05 15:33:59.711752 [NOTICE] mod_sofia.c:2498 Ring-Ready sofia/default/0645339450@154.118.252.35!
2021-04-05 15:33:59.711752 [DEBUG] sofia.c:7326 Channel sofia/default/0645339450@154.118.252.35 entering state [early][180]
2021-04-05 15:33:59.711752 [NOTICE] switch_ivr_originate.c:556 Ring Ready sofia/default/0645339450@154.118.252.35!
2021-04-05 15:34:01.471738 [DEBUG] sofia.c:7326 Channel sofia/default/2007@testfuse.techfuse.co.za entering state [completing][200]
2021-04-05 15:34:01.471738 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=2004 2420929561 2867022905 IN IP4 156.155.136.234
s=A conversation
c=IN IP4 156.155.136.234
t=0 0
m=audio 10022 RTP/AVP 18 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=oldoip:192.168.2.122
a=oldcip:192.168.2.122
2021-04-05 15:34:01.471738 [DEBUG] sofia.c:7326 Channel sofia/default/2007@testfuse.techfuse.co.za entering state [ready][200]
2021-04-05 15:34:01.471738 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
2021-04-05 15:34:01.471738 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
2021-04-05 15:34:01.471738 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2021-04-05 15:34:01.471738 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/2007@testfuse.techfuse.co.za G729/8000 20 ms 160 samples 8000 bits 1 channels
2021-04-05 15:34:01.471738 [DEBUG] switch_core_codec.c:111 sofia/default/2007@testfuse.techfuse.co.za Original read codec set to G729:18
2021-04-05 15:34:01.471738 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2021-04-05 15:34:01.471738 [DEBUG] switch_core_media.c:5911 sofia/default/2007@testfuse.techfuse.co.za Set 2833 dtmf send payload to 101 recv payload to 101
2021-04-05 15:34:01.471738 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/2007@testfuse.techfuse.co.za] 169.255.3.42 port 27948 -> 156.155.136.234 port 10022 codec: 18 ms: 20
2021-04-05 15:34:01.471738 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
2021-04-05 15:34:01.471738 [DEBUG] switch_core_media.c:8977 sofia/default/2007@testfuse.techfuse.co.za Set 2833 dtmf send payload to 101
2021-04-05 15:34:01.471738 [DEBUG] switch_core_media.c:8984 sofia/default/2007@testfuse.techfuse.co.za Set 2833 dtmf receive payload to 101
2021-04-05 15:34:01.471738 [DEBUG] switch_core_media.c:9007 sofia/default/2007@testfuse.techfuse.co.za Set rtp dtmf delay to 40
2021-04-05 15:34:01.471738 [NOTICE] sofia.c:8504 Channel [sofia/default/2007@testfuse.techfuse.co.za] has been answered
2021-04-05 15:34:01.471738 [DEBUG] switch_channel.c:3865 (sofia/default/2007@testfuse.techfuse.co.za) Callstate Change RINGING -> ACTIVE
2021-04-05 15:34:01.491731 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/0645339450@154.118.252.35] 169.255.3.42 port 20072 -> 169.255.3.52 port 25012 codec: 18 ms: 20
2021-04-05 15:34:01.491731 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
2021-04-05 15:34:01.491731 [DEBUG] switch_core_media.c:8977 sofia/default/0645339450@154.118.252.35 Set 2833 dtmf send payload to 116
2021-04-05 15:34:01.491731 [DEBUG] switch_core_media.c:8984 sofia/default/0645339450@154.118.252.35 Set 2833 dtmf receive payload to 116
2021-04-05 15:34:01.491731 [DEBUG] switch_core_media.c:9007 sofia/default/0645339450@154.118.252.35 Set rtp dtmf delay to 40
2021-04-05 15:34:01.491731 [DEBUG] mod_sofia.c:898 Local SDP sofia/default/0645339450@154.118.252.35:
v=0
o=FreeSWITCH 1617609569 1617609570 IN IP4 169.255.3.42
s=FreeSWITCH
c=IN IP4 169.255.3.42
t=0 0
m=audio 20072 RTP/AVP 18 116
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:116 telephone-event/8000
a=fmtp:116 0-16
a=ptime:20
a=sendrecv
2021-04-05 15:34:01.491731 [NOTICE] switch_ivr_originate.c:3794 Channel [sofia/default/0645339450@154.118.252.35] has been answered
2021-04-05 15:34:01.491731 [DEBUG] switch_channel.c:3865 (sofia/default/0645339450@154.118.252.35) Callstate Change RINGING -> ACTIVE
2021-04-05 15:34:01.491731 [DEBUG] sofia.c:7326 Channel sofia/default/0645339450@154.118.252.35 entering state [completed][200]
2021-04-05 15:34:01.491731 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/2007@testfuse.techfuse.co.za]
2021-04-05 15:34:01.491731 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/2007@testfuse.techfuse.co.za) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2021-04-05 15:34:01.491731 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2007@testfuse.techfuse.co.za) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 8852)
2021-04-05 15:34:01.491731 [DEBUG] switch_core_state_machine.c:654 (sofia/default/2007@testfuse.techfuse.co.za) State EXCHANGE_MEDIA
2021-04-05 15:34:01.491731 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
2021-04-05 15:34:01.531732 [DEBUG] sofia.c:7326 Channel sofia/default/0645339450@154.118.252.35 entering state [ready][200]
2021-04-05 15:34:01.631754 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
2021-04-05 15:34:01.671758 [DEBUG] switch_ivr_bridge.c:655 sofia/default/2007@testfuse.techfuse.co.za Bridge execute app sched_hangup(+6000 normal_clearing)
2021-04-05 15:34:01.691759 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
2021-04-05 15:34:01.691759 [DEBUG] switch_ivr.c:632 sofia/default/2007@testfuse.techfuse.co.za Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
EXECUTE [depth=0] sofia/default/2007@testfuse.techfuse.co.za sched_hangup(+6000 normal_clearing)
2021-04-05 15:34:01.691759 [DEBUG] switch_scheduler.c:252 Added task 2177 switch_ivr_schedule_hangup (d5daabe5-095f-44f3-ba5e-aedcb23e537a) to run at 1617635641
2021-04-05 15:34:03.131764 [DEBUG] sofia.c:7326 Channel sofia/default/2007@testfuse.techfuse.co.za entering state [received][100]
2021-04-05 15:34:03.131764 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=2004 2420929561 2867022906 IN IP4 156.155.136.234
s=A conversation
c=IN IP4 156.155.136.234
t=0 0
m=audio 10022 RTP/AVP 18 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendonly
a=oldoip:192.168.2.122
a=oldcip:192.168.2.122
2021-04-05 15:34:03.131764 [DEBUG] switch_channel.c:1927 (sofia/default/2007@testfuse.techfuse.co.za) Callstate Change ACTIVE -> HELD
2021-04-05 15:34:03.291727 [DEBUG] switch_ivr.c:632 sofia/default/0645339450@154.118.252.35 Command Execute [depth=0] playback(local_stream://moh)
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 playback(local_stream://moh)
2021-04-05 15:34:03.291727 [DEBUG] mod_local_stream.c:909 Opening Stream [moh/8000] 8000hz
2021-04-05 15:34:03.291727 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
2021-04-05 15:34:03.371775 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
2021-04-05 15:34:03.371775 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
2021-04-05 15:34:03.371775 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2021-04-05 15:34:03.371775 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2021-04-05 15:34:03.371775 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2021-04-05 15:34:03.371775 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2021-04-05 15:34:03.371775 [DEBUG] switch_core_media.c:5911 sofia/default/2007@testfuse.techfuse.co.za Set 2833 dtmf send payload to 101 recv payload to 101
2021-04-05 15:34:03.371775 [DEBUG] switch_core_media.c:8645 Audio params are unchanged for sofia/default/2007@testfuse.techfuse.co.za.
2021-04-05 15:34:03.371775 [DEBUG] sofia.c:8275 Processing updated SDP
2021-04-05 15:34:03.391774 [DEBUG] sofia.c:7326 Channel sofia/default/2007@testfuse.techfuse.co.za entering state [completed][200]
2021-04-05 15:34:03.411779 [DEBUG] sofia.c:7326 Channel sofia/default/2007@testfuse.techfuse.co.za entering state [ready][200]
2021-04-05 15:34:07.751782 [DEBUG] sofia.c:8835 Process REFER to [2002@testfuse.techfuse.co.za]
2021-04-05 15:34:07.751782 [DEBUG] switch_ivr.c:2243 (sofia/default/0645339450@154.118.252.35) State Change CS_EXECUTE -> CS_ROUTING
2021-04-05 15:34:07.751782 [NOTICE] switch_ivr.c:2250 Transfer sofia/default/0645339450@154.118.252.35 to XML[2002@default]
2021-04-05 15:34:07.771725 [DEBUG] switch_ivr_play_say.c:1933 done playing file local_stream://moh
2021-04-05 15:34:07.771725 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/2007@testfuse.techfuse.co.za]
2021-04-05 15:34:07.771725 [DEBUG] switch_channel.c:2112 (sofia/default/2007@testfuse.techfuse.co.za) Callstate Change HELD -> UNHELD
2021-04-05 15:34:07.771725 [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/2007@testfuse.techfuse.co.za [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2021-04-05 15:34:07.771725 [DEBUG] switch_core_state_machine.c:654 (sofia/default/2007@testfuse.techfuse.co.za) State EXCHANGE_MEDIA going to sleep
2021-04-05 15:34:07.771725 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2007@testfuse.techfuse.co.za) Running State Change CS_HANGUP (Cur 2 Tot 8852)
2021-04-05 15:34:07.771725 [DEBUG] switch_core_state_machine.c:848 (sofia/default/2007@testfuse.techfuse.co.za) Callstate Change UNHELD -> HANGUP
2021-04-05 15:34:07.771725 [DEBUG] switch_core_state_machine.c:850 (sofia/default/2007@testfuse.techfuse.co.za) State HANGUP
2021-04-05 15:34:07.771725 [DEBUG] mod_sofia.c:453 Channel sofia/default/2007@testfuse.techfuse.co.za hanging up, cause: NORMAL_CLEARING
2021-04-05 15:34:07.771725 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/default/2007@testfuse.techfuse.co.za
2021-04-05 15:34:07.771725 [DEBUG] switch_core_state_machine.c:60 sofia/default/2007@testfuse.techfuse.co.za Standard HANGUP, cause: NORMAL_CLEARING
2021-04-05 15:34:07.771725 [DEBUG] switch_core_state_machine.c:850 (sofia/default/2007@testfuse.techfuse.co.za) State HANGUP going to sleep
2021-04-05 15:34:07.771725 [DEBUG] switch_core_state_machine.c:620 (sofia/default/2007@testfuse.techfuse.co.za) State Change CS_HANGUP -> CS_REPORTING
2021-04-05 15:34:07.771725 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2007@testfuse.techfuse.co.za) Running State Change CS_REPORTING (Cur 2 Tot 8852)
2021-04-05 15:34:07.771725 [DEBUG] switch_core_state_machine.c:936 (sofia/default/2007@testfuse.techfuse.co.za) State REPORTING
2021-04-05 15:34:07.771725 [INFO] mod_json_cdr.c:271 Process [d5daabe5-095f-44f3-ba5e-aedcb23e537a.cdr.json]
2021-04-05 15:34:07.791788 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/0645339450@154.118.252.35]
2021-04-05 15:34:07.791788 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/2007@testfuse.techfuse.co.za skip receive message [UNBRIDGE] (channel is hungup already)
2021-04-05 15:34:07.791788 [DEBUG] switch_core_state_machine.c:651 (sofia/default/0645339450@154.118.252.35) State EXECUTE going to sleep
2021-04-05 15:34:07.791788 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0645339450@154.118.252.35) Running State Change CS_ROUTING (Cur 2 Tot 8852)
2021-04-05 15:34:07.791788 [DEBUG] switch_channel.c:2332 (sofia/default/0645339450@154.118.252.35) Callstate Change ACTIVE -> RINGING
2021-04-05 15:34:07.791788 [DEBUG] switch_core_state_machine.c:644 (sofia/default/0645339450@154.118.252.35) State ROUTING
2021-04-05 15:34:07.791788 [DEBUG] mod_sofia.c:154 sofia/default/0645339450@154.118.252.35 SOFIA ROUTING
2021-04-05 15:34:07.791788 [DEBUG] switch_core_state_machine.c:236 sofia/default/0645339450@154.118.252.35 Standard ROUTING
2021-04-05 15:34:07.791788 [INFO] mod_dialplan_xml.c:637 Processing +27645339450 <0645339450>->2002 in context default
2021-04-05 15:34:07.791788 [DEBUG] switch_core_state_machine.c:174 sofia/default/2007@testfuse.techfuse.co.za Standard REPORTING, cause: NORMAL_CLEARING
2021-04-05 15:34:07.791788 [DEBUG] switch_core_state_machine.c:936 (sofia/default/2007@testfuse.techfuse.co.za) State REPORTING going to sleep
2021-04-05 15:34:07.791788 [DEBUG] switch_core_state_machine.c:611 (sofia/default/2007@testfuse.techfuse.co.za) State Change CS_REPORTING -> CS_DESTROY
2021-04-05 15:34:07.791788 [DEBUG] switch_core_session.c:1726 Session 8852 (sofia/default/2007@testfuse.techfuse.co.za) Locked, Waiting on external entities
2021-04-05 15:34:07.791788 [NOTICE] switch_core_session.c:1744 Session 8852 (sofia/default/2007@testfuse.techfuse.co.za) Ended
2021-04-05 15:34:07.791788 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/2007@testfuse.techfuse.co.za [CS_DESTROY]
2021-04-05 15:34:07.791788 [DEBUG] switch_core_state_machine.c:739 (sofia/default/2007@testfuse.techfuse.co.za) Running State Change CS_DESTROY (Cur 1 Tot 8852)
2021-04-05 15:34:07.791788 [DEBUG] switch_core_state_machine.c:749 (sofia/default/2007@testfuse.techfuse.co.za) State DESTROY
2021-04-05 15:34:07.791788 [DEBUG] mod_sofia.c:364 sofia/default/2007@testfuse.techfuse.co.za SOFIA DESTROY
2021-04-05 15:34:07.791788 [DEBUG] switch_core_state_machine.c:181 sofia/default/2007@testfuse.techfuse.co.za Standard DESTROY
2021-04-05 15:34:07.791788 [DEBUG] switch_core_state_machine.c:749 (sofia/default/2007@testfuse.techfuse.co.za) State DESTROY going to sleep
2021-04-05 15:34:07.791788 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2021-04-05 15:34:07.791788 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-04-05 15:34:07.811725 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] blind_flag: 0
2021-04-05 15:34:07.811725 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] hunt_destination_number: 2002
2021-04-05 15:34:07.811725 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
2021-04-05 15:34:07.811725 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
2021-04-05 15:34:07.811725 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Feature Cod..transfer_blind_value*2
2021-04-05 15:34:07.811725 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Feature Code blind_value_two_digit*2
2021-04-05 15:34:07.811725 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Feature Code destination_number_two_digit20
2021-04-05 15:34:07.811725 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Feature Code transfer_attended_two_digit*3
2021-04-05 15:34:07.811725 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 2002
2021-04-05 15:34:07.811725 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '2002' limit 1
2021-04-05 15:34:07.811725 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '2002' AND status=0 limit 1
2021-04-05 15:34:07.831717 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '2002' and status=0 LIMIT 1
2021-04-05 15:34:07.831717 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] in custom Caller ID
2021-04-05 15:34:07.831717 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : 0645339450 / <null>
2021-04-05 15:34:07.831717 [DEBUG] switch_cpp.cpp:1447 [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 ="2002" LIMIT 1
2021-04-05 15:34:07.831717 [DEBUG] switch_cpp.cpp:1447 [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="2002" AND domains.domain="testfuse.techfuse.co.za" limit 1
2021-04-05 15:34:07.831717 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : local
2021-04-05 15:34:07.831717 [DEBUG] switch_cpp.cpp:1447 [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("169.255.3.52") 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 "310012002" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2021-04-05 15:34:07.831717 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :31001/*.....310012002
2021-04-05 15:34:07.831717 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 310012002
2021-04-05 15:34:07.831717 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 2002
2021-04-05 15:34:07.831717 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 9446295420]
2021-04-05 15:34:07.831717 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =2002
2021-04-05 15:34:07.831717 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9446295420" AND deleted = 0 limit 1
2021-04-05 15:34:07.851752 [DEBUG] switch_cpp.cpp:1447 [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 ="2002" AND A.accountid = '11' limit 1
2021-04-05 15:34:07.851752 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 2002
2021-04-05 15:34:07.851752 [DEBUG] switch_cpp.cpp:1447 [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 ="2002" LIMIT 1
2021-04-05 15:34:07.851752 [DEBUG] switch_cpp.cpp:1447 [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="2002" AND domains.domain="testfuse.techfuse.co.za" limit 1
2021-04-05 15:34:07.851752 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call direction : local
2021-04-05 15:34:07.851752 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="2002" AND (accountid = 0 OR status = 1) LIMIT 1
2021-04-05 15:34:07.851752 [NOTICE] switch_cpp.cpp:1447 [ASTPP] Localization Id: 7
2021-04-05 15:34:07.851752 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 7 AND status=0 limit 1
2021-04-05 15:34:07.851752 [DEBUG] switch_cpp.cpp:1447 [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 = '^2002.*' OR patterns = '^200.*' OR patterns = '^20.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 11 ORDER BY LENGTH(PKGPTR.patterns) DESC
2021-04-05 15:34:07.871728 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '2002' OR number = '200' OR number = '20' OR number = '2' OR number ='--') OR (number = '2002*' OR number = '200*' OR number = '20*' OR number = '2*' OR number ='--') OR (number = '<null>' OR number = '<null' OR number = '<nul' OR number = '<nu' OR number = '<n' OR number = '<' OR number ='--') OR (number = '<null>*' OR number = '<null*' OR number = '<nul*' OR number = '<nu*' OR number = '<n*' OR number = '<*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2021-04-05 15:34:07.871728 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
2021-04-05 15:34:07.871728 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '2002' OR routing_prefix = '200' OR routing_prefix = '20' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2021-04-05 15:34:07.871728 [WARNING] switch_cpp.cpp:1447 [ASTPP] [Functions] [DOAUTHORIZATION] [9446295420] LOCAL CALL IS DISABLE....!!
2021-04-05 15:34:07.871728 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [PORTED_NUMBER] Get Destination Number (2002)!!!!
2021-04-05 15:34:07.871728 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [PORTED_NUMBER] After append Ported Number:::: (2002)!!!!
2021-04-05 15:34:07.871728 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
2021-04-05 15:34:07.871728 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 11
2021-04-05 15:34:07.871728 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 9446295420
2021-04-05 15:34:07.871728 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 1680.36
2021-04-05 15:34:07.871728 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2021-04-05 15:34:07.871728 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 5
2021-04-05 15:34:07.871728 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
2021-04-05 15:34:07.871728 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2021-04-05 15:34:07.871728 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
2021-04-05 15:34:07.871728 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
2021-04-05 15:34:07.871728 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
2021-04-05 15:34:07.871728 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^2002.*' OR pattern = '^200.*' OR pattern = '^20.*' OR pattern = '^2.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 5 OR accountid=11) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
2021-04-05 15:34:07.871728 [INFO] switch_cpp.cpp:1447 [ASTPP] call_direction:::::: outbound
2021-04-05 15:34:07.871728 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Rates not found!!!
2021-04-05 15:34:07.871728 [DEBUG] switch_cpp.cpp:1447 [ASTPP] post_cdrs:::0
2021-04-05 15:34:07.871728 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 11
2021-04-05 15:34:07.871728 [DEBUG] switch_cpp.cpp:1447 [ASTPP] 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="2002">
<condition field="destination_number" expression="2002">
<action application="log" data="WARNING Accountcode . Dialed number (2002) origination rates not found!!"/>
<action application="set" data="original_caller_id_name=0645339450"/>
<action application="set" data="error_cdr=1"/>
<action application="set" data="callstart=2021-04-05 13:34:07"/>
<action application="set" data="account_id=11"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="sip_ignore_remote_cause=true"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="effective_destination_number=2002"/>
<action application="set" data="last_bridge_hangup_cause=ORIGNATION_RATE_NOT_FOUND"/>
<action application="hangup" data="ORIGNATION_RATE_NOT_FOUND"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/0645339450@154.118.252.35 parsing [default->2002] continue=false
Dialplan: sofia/default/0645339450@154.118.252.35 Regex (PASS) [2002] destination_number(2002) =~ /2002/ break=on-false
Dialplan: sofia/default/0645339450@154.118.252.35 Action log(WARNING Accountcode . Dialed number (2002) origination rates not found!!)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(original_caller_id_name=0645339450)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(error_cdr=1)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(callstart=2021-04-05 13:34:07)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(account_id=11)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(parent_id=0)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(call_direction=outbound)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(sip_ignore_remote_cause=true)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(call_processed=internal)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(effective_destination_number=2002)
Dialplan: sofia/default/0645339450@154.118.252.35 Action set(last_bridge_hangup_cause=ORIGNATION_RATE_NOT_FOUND)
Dialplan: sofia/default/0645339450@154.118.252.35 Action hangup(ORIGNATION_RATE_NOT_FOUND)
2021-04-05 15:34:07.891728 [DEBUG] switch_core_state_machine.c:287 (sofia/default/0645339450@154.118.252.35) State Change CS_ROUTING -> CS_EXECUTE
2021-04-05 15:34:07.891728 [DEBUG] switch_core_state_machine.c:644 (sofia/default/0645339450@154.118.252.35) State ROUTING going to sleep
2021-04-05 15:34:07.891728 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0645339450@154.118.252.35) Running State Change CS_EXECUTE (Cur 1 Tot 8852)
2021-04-05 15:34:07.891728 [DEBUG] switch_channel.c:2334 (sofia/default/0645339450@154.118.252.35) Callstate Change RINGING -> ACTIVE
2021-04-05 15:34:07.891728 [DEBUG] switch_core_state_machine.c:651 (sofia/default/0645339450@154.118.252.35) State EXECUTE
2021-04-05 15:34:07.891728 [DEBUG] mod_sofia.c:209 sofia/default/0645339450@154.118.252.35 SOFIA EXECUTE
2021-04-05 15:34:07.891728 [DEBUG] switch_core_state_machine.c:329 sofia/default/0645339450@154.118.252.35 Standard EXECUTE
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 log(WARNING Accountcode . Dialed number (2002) origination rates not found!!)
2021-04-05 15:34:07.891728 [WARNING] mod_dptools.c:1866 Accountcode . Dialed number (2002) origination rates not found!!
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(original_caller_id_name=0645339450)
2021-04-05 15:34:07.891728 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [original_caller_id_name]=[0645339450]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(error_cdr=1)
2021-04-05 15:34:07.891728 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [error_cdr]=[1]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(callstart=2021-04-05 13:34:07)
2021-04-05 15:34:07.891728 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [callstart]=[2021-04-05 13:34:07]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(account_id=11)
2021-04-05 15:34:07.891728 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [account_id]=[11]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(parent_id=0)
2021-04-05 15:34:07.891728 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(call_direction=outbound)
2021-04-05 15:34:07.891728 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(sip_ignore_remote_cause=true)
2021-04-05 15:34:07.891728 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [sip_ignore_remote_cause]=[true]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(call_processed=internal)
2021-04-05 15:34:07.891728 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(effective_destination_number=2002)
2021-04-05 15:34:07.891728 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [effective_destination_number]=[2002]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(last_bridge_hangup_cause=ORIGNATION_RATE_NOT_FOUND)
2021-04-05 15:34:07.891728 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [last_bridge_hangup_cause]=[ORIGNATION_RATE_NOT_FOUND]
EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 hangup(ORIGNATION_RATE_NOT_FOUND)
2021-04-05 15:34:07.891728 [NOTICE] mod_dptools.c:1380 Hangup sofia/default/0645339450@154.118.252.35 [CS_EXECUTE] [NORMAL_CLEARING]
2021-04-05 15:34:07.891728 [DEBUG] switch_core_session.c:2905 sofia/default/0645339450@154.118.252.35 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2021-04-05 15:34:07.891728 [DEBUG] switch_core_state_machine.c:651 (sofia/default/0645339450@154.118.252.35) State EXECUTE going to sleep
2021-04-05 15:34:07.891728 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0645339450@154.118.252.35) Running State Change CS_HANGUP (Cur 1 Tot 8852)
2021-04-05 15:34:07.891728 [DEBUG] switch_core_state_machine.c:848 (sofia/default/0645339450@154.118.252.35) Callstate Change ACTIVE -> HANGUP
2021-04-05 15:34:07.891728 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0645339450@154.118.252.35) State HANGUP
2021-04-05 15:34:07.891728 [DEBUG] mod_sofia.c:453 Channel sofia/default/0645339450@154.118.252.35 hanging up, cause: NORMAL_CLEARING
2021-04-05 15:34:07.891728 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/default/0645339450@154.118.252.35
2021-04-05 15:34:07.891728 [DEBUG] switch_core_state_machine.c:60 sofia/default/0645339450@154.118.252.35 Standard HANGUP, cause: NORMAL_CLEARING
2021-04-05 15:34:07.891728 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0645339450@154.118.252.35) State HANGUP going to sleep
2021-04-05 15:34:07.891728 [DEBUG] switch_core_state_machine.c:620 (sofia/default/0645339450@154.118.252.35) State Change CS_HANGUP -> CS_REPORTING
2021-04-05 15:34:07.891728 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0645339450@154.118.252.35) Running State Change CS_REPORTING (Cur 1 Tot 8852)
2021-04-05 15:34:07.891728 [DEBUG] switch_core_state_machine.c:936 (sofia/default/0645339450@154.118.252.35) State REPORTING
2021-04-05 15:34:07.891728 [INFO] mod_json_cdr.c:271 Process [a9f7a9ab-1909-46c5-9e9d-cd98544d95a5.cdr.json]
2021-04-05 15:34:07.911746 [DEBUG] switch_core_state_machine.c:174 sofia/default/0645339450@154.118.252.35 Standard REPORTING, cause: NORMAL_CLEARING
2021-04-05 15:34:07.911746 [DEBUG] switch_core_state_machine.c:936 (sofia/default/0645339450@154.118.252.35) State REPORTING going to sleep
2021-04-05 15:34:07.911746 [DEBUG] switch_core_state_machine.c:611 (sofia/default/0645339450@154.118.252.35) State Change CS_REPORTING -> CS_DESTROY
2021-04-05 15:34:07.911746 [DEBUG] switch_core_session.c:1726 Session 8851 (sofia/default/0645339450@154.118.252.35) Locked, Waiting on external entities
2021-04-05 15:34:07.911746 [NOTICE] switch_core_session.c:1744 Session 8851 (sofia/default/0645339450@154.118.252.35) Ended
2021-04-05 15:34:07.911746 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/0645339450@154.118.252.35 [CS_DESTROY]
2021-04-05 15:34:07.911746 [DEBUG] switch_core_state_machine.c:739 (sofia/default/0645339450@154.118.252.35) Running State Change CS_DESTROY (Cur 0 Tot 8852)
2021-04-05 15:34:07.911746 [DEBUG] switch_core_state_machine.c:749 (sofia/default/0645339450@154.118.252.35) State DESTROY
2021-04-05 15:34:07.911746 [DEBUG] mod_sofia.c:364 sofia/default/0645339450@154.118.252.35 SOFIA DESTROY
2021-04-05 15:34:07.911746 [DEBUG] switch_core_state_machine.c:181 sofia/default/0645339450@154.118.252.35 Standard DESTROY
2021-04-05 15:34:07.911746 [DEBUG] switch_core_state_machine.c:749 (sofia/default/0645339450@154.118.252.35) State DESTROY going to sleep
2021-04-05 15:34:08.191735 [DEBUG] switch_scheduler.c:147 Deleting task 2177 switch_ivr_schedule_hangup (d5daabe5-095f-44f3-ba5e-aedcb23e537a)