2021-12-23 07:20:12.146714 95.83% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9693017122@pkcall.astppbilling.org:5044 [4bf8539c-a5a4-4416-8e80-ce780834a638] 2021-12-23 07:20:12.146714 95.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Running State Change CS_NEW (Cur 1 Tot 41) 2021-12-23 07:20:12.146714 95.83% [INFO] sofia.c:10462 sofia/default/9693017122@pkcall.astppbilling.org:5044 receiving invite from 117.247.91.162:52524 version: 1.10.7 -release-19-883d2cb662 64bit call-id: MDkzMzUyYWY2Y2RjNWZmZWNkNDAzM2VhZmNiNWY2ZTE. 2021-12-23 07:20:12.146714 95.83% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 117.247.91.162:0. 2021-12-23 07:20:12.146714 95.83% [DEBUG] sofia.c:2419 detaching session 4bf8539c-a5a4-4416-8e80-ce780834a638 2021-12-23 07:20:12.146714 95.83% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [330444@pkcall.astppbilling.org] from ip 117.247.91.162 2021-12-23 07:20:12.146714 95.83% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State NEW 2021-12-23 07:20:12.726728 95.80% [DEBUG] sofia.c:2532 Re-attaching to session 4bf8539c-a5a4-4416-8e80-ce780834a638 2021-12-23 07:20:12.746730 95.80% [INFO] sofia.c:10462 sofia/default/9693017122@pkcall.astppbilling.org:5044 receiving invite from 117.247.91.162:52524 version: 1.10.7 -release-19-883d2cb662 64bit call-id: MDkzMzUyYWY2Y2RjNWZmZWNkNDAzM2VhZmNiNWY2ZTE. 2021-12-23 07:20:12.746730 95.80% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 117.247.91.162:0. 2021-12-23 07:20:12.746730 95.80% [DEBUG] sofia.c:11672 Setting NAT mode based on via received 2021-12-23 07:20:12.746730 95.80% [DEBUG] sofia.c:7499 Channel sofia/default/9693017122@pkcall.astppbilling.org:5044 entering state [received][100] 2021-12-23 07:20:12.746730 95.80% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=Z 0 0 IN IP4 117.247.91.162 s=Z c=IN IP4 117.247.91.162 t=0 0 m=audio 8000 RTP/AVP 3 110 8 0 98 101 a=rtpmap:110 speex/8000 a=rtpmap:98 iLBC/8000 a=fmtp:98 mode=20 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 2021-12-23 07:20:12.746730 95.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2021-12-23 07:20:12.746730 95.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] 2021-12-23 07:20:12.746730 95.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2021-12-23 07:20:12.746730 95.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2021-12-23 07:20:12.746730 95.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-12-23 07:20:12.746730 95.80% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-12-23 07:20:12.746730 95.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-12-23 07:20:12.746730 95.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-12-23 07:20:12.746730 95.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-12-23 07:20:12.746730 95.80% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2021-12-23 07:20:12.746730 95.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2021-12-23 07:20:12.746730 95.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1] 2021-12-23 07:20:12.746730 95.80% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2021-12-23 07:20:12.746730 95.80% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/9693017122@pkcall.astppbilling.org:5044 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2021-12-23 07:20:12.746730 95.80% [DEBUG] switch_core_codec.c:111 sofia/default/9693017122@pkcall.astppbilling.org:5044 Original read codec set to PCMA:8 2021-12-23 07:20:12.746730 95.80% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2021-12-23 07:20:12.746730 95.80% [DEBUG] switch_core_media.c:5973 sofia/default/9693017122@pkcall.astppbilling.org:5044 Set 2833 dtmf send payload to 101 recv payload to 101 2021-12-23 07:20:12.746730 95.80% [DEBUG] sofia.c:7933 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State Change CS_NEW -> CS_INIT 2021-12-23 07:20:12.746730 95.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Running State Change CS_INIT (Cur 1 Tot 41) 2021-12-23 07:20:12.746730 95.80% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State INIT 2021-12-23 07:20:12.746730 95.80% [DEBUG] mod_sofia.c:97 sofia/default/9693017122@pkcall.astppbilling.org:5044 SOFIA INIT 2021-12-23 07:20:12.746730 95.80% [DEBUG] switch_core_state_machine.c:40 sofia/default/9693017122@pkcall.astppbilling.org:5044 Standard INIT 2021-12-23 07:20:12.746730 95.80% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State Change CS_INIT -> CS_ROUTING 2021-12-23 07:20:12.746730 95.80% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State INIT going to sleep 2021-12-23 07:20:12.746730 95.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Running State Change CS_ROUTING (Cur 1 Tot 41) 2021-12-23 07:20:12.746730 95.80% [DEBUG] switch_channel.c:2380 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Callstate Change DOWN -> RINGING 2021-12-23 07:20:12.746730 95.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State ROUTING 2021-12-23 07:20:12.746730 95.80% [DEBUG] mod_sofia.c:158 sofia/default/9693017122@pkcall.astppbilling.org:5044 SOFIA ROUTING 2021-12-23 07:20:12.746730 95.80% [DEBUG] switch_core_state_machine.c:230 sofia/default/9693017122@pkcall.astppbilling.org:5044 Standard ROUTING 2021-12-23 07:20:12.746730 95.80% [INFO] mod_dialplan_xml.c:639 Processing 9693017122 <9693017122>->330444 in context default 2021-12-23 07:20:12.746730 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-12-23 07:20:12.746730 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-12-23 07:20:12.766708 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2021-12-23 07:20:12.766708 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 330444 2021-12-23 07:20:12.766708 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '330444' limit 1 2021-12-23 07:20:12.766708 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '330444' AND status=0 limit 1 2021-12-23 07:20:12.766708 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '330444' and status=0 LIMIT 1 2021-12-23 07:20:12.766708 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER9693017122 2021-12-23 07:20:12.766708 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-12-23 07:20:12.766708 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'pkcall.astppbilling.org' limit 1 2021-12-23 07:20:12.766708 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '4' and username = '330444' limit 1 2021-12-23 07:20:12.766708 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 9693017122 / 9693017122 2021-12-23 07:20:12.766708 95.80% [DEBUG] switch_cpp.cpp:1465 [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 ="330444" LIMIT 1 2021-12-23 07:20:12.766708 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] 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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="330444" LIMIT 1 2021-12-23 07:20:12.766708 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-12-23 07:20:12.766708 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound 2021-12-23 07:20:12.766708 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9693017122] 2021-12-23 07:20:12.766708 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9693017122" AND deleted = 0 limit 1 2021-12-23 07:20:12.786714 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="330444" AND (accountid = 0 OR status = 1) LIMIT 1 2021-12-23 07:20:12.786714 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound 2021-12-23 07:20:12.786714 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 7 2021-12-23 07:20:12.786714 95.80% [DEBUG] switch_cpp.cpp:1465 [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 = '^330444.*' OR patterns = '^33044.*' OR patterns = '^3304.*' OR patterns = '^330.*' OR patterns = '^33.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC 2021-12-23 07:20:12.786714 95.80% [DEBUG] switch_cpp.cpp:1465 [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 ="330444" AND A.accountid = '4' limit 1 2021-12-23 07:20:12.806710 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 330444 2021-12-23 07:20:12.806710 95.80% [DEBUG] switch_cpp.cpp:1465 [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 ="330444" LIMIT 1 2021-12-23 07:20:12.806710 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] 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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="330444" LIMIT 1 2021-12-23 07:20:12.806710 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-12-23 07:20:12.806710 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound 2021-12-23 07:20:12.806710 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '330444' OR number = '33044' OR number = '3304' OR number = '330' OR number = '33' OR number = '3' OR number ='--') OR (number = '330444*' OR number = '33044*' OR number = '3304*' OR number = '330*' OR number = '33*' OR number = '3*' OR number ='--') OR (number = '9693017122' OR number = '969301712' OR number = '96930171' OR number = '9693017' OR number = '969301' OR number = '96930' OR number = '9693' OR number = '969' OR number = '96' OR number = '9' OR number ='--') OR (number = '9693017122*' OR number = '969301712*' OR number = '96930171*' OR number = '9693017*' OR number = '969301*' OR number = '96930*' OR number = '9693*' OR number = '969*' OR number = '96*' OR number = '9*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2021-12-23 07:20:12.806710 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2021-12-23 07:20:12.806710 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '330444' OR routing_prefix = '33044' OR routing_prefix = '3304' OR routing_prefix = '330' OR routing_prefix = '33' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2021-12-23 07:20:12.806710 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2021-12-23 07:20:12.806710 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 4 2021-12-23 07:20:12.806710 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9693017122 2021-12-23 07:20:12.806710 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 394.7 2021-12-23 07:20:12.806710 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2021-12-23 07:20:12.806710 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1 2021-12-23 07:20:12.806710 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2021-12-23 07:20:12.806710 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2021-12-23 07:20:12.806710 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2021-12-23 07:20:12.806710 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound 2021-12-23 07:20:12.806710 95.80% [DEBUG] switch_cpp.cpp:1465 [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 ="330444" LIMIT 1 2021-12-23 07:20:12.826709 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] 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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="330444" LIMIT 1 2021-12-23 07:20:12.826709 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-12-23 07:20:12.826709 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound 2021-12-23 07:20:12.826709 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2021-12-23 07:20:12.826709 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2 2021-12-23 07:20:12.826709 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2021-12-23 07:20:12.826709 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2021-12-23 07:20:12.826709 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000 2021-12-23 07:20:12.826709 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 330444 2021-12-23 07:20:12.826709 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88 2021-12-23 07:20:12.826709 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 4 2021-12-23 07:20:12.826709 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2021-12-23 07:20:12.826709 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your394.7 balance Accountid 4 !!! 2021-12-23 07:20:12.826709 95.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100 2021-12-23 07:20:12.826709 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes 2021-12-23 07:20:12.826709 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE 2021-12-23 07:20:12.826709 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1 2021-12-23 07:20:12.826709 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 4 AND status=0 LIMIT 1 2021-12-23 07:20:12.826709 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1 2021-12-23 07:20:12.826709 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:4 2021-12-23 07:20:12.826709 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:4 2021-12-23 07:20:12.826709 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 4 2021-12-23 07:20:12.826709 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1 2021-12-23 07:20:12.826709 95.80% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : payfast.astppbilling.org 2021-12-23 07:20:12.826709 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100 2021-12-23 07:20:12.826709 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-12-23 07:20:12.826709 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1 2021-12-23 07:20:12.826709 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound 2021-12-23 07:20:12.826709 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "1" AND accounts.status = 0 2021-12-23 07:20:12.826709 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1 2021-12-23 07:20:12.826709 95.80% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : payfast.astppbilling.org 2021-12-23 07:20:12.826709 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 7 and status = 0 limit 1 2021-12-23 07:20:12.826709 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_13 2021-12-23 07:20:12.826709 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] custom_function_name::::::::::1343:::::::::::::::2 2021-12-23 07:20:12.826709 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] custom_call_id 1 2021-12-23 07:20:12.826709 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_call_flow_QUERY] Query :SELECT * from call_flow WHERE id = '1' and status =0 LIMIT 1 2021-12-23 07:20:12.846709 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] priority : 3 2021-12-23 07:20:12.846709 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] priority : 2 2021-12-23 07:20:12.846709 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] priority : 1 2021-12-23 07:20:12.846709 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] priority_array : 1 2021-12-23 07:20:12.846709 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] priority : 1 2021-12-23 07:20:12.846709 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] no_answer_call_type : 0 2021-12-23 07:20:12.846709 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] extensions : 3476897547 2021-12-23 07:20:12.846709 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] bridge : user/3476897547@payfast.astppbilling.org 2021-12-23 07:20:12.846709 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 parsing [default->330444] continue=false Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Regex (PASS) [330444] destination_number(330444) =~ /330444/ break=on-false Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(effective_destination_number=330444) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(callstart=2021-12-23 07:20:12) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(hangup_after_bridge=true) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(account_id=4) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(parent_id=0) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(entity_id=0) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(call_processed=internal) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(call_direction=inbound) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(accountname=default) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(origination_rates_did=ID:2|CODE:^330444.*|DESTINATION:330444|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:13|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(origination_rates=0) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(original_caller_id_name=9693017122) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(original_caller_id_number=9693017122) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(effective_caller_id_name=9693017122) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(effective_caller_id_number=9693017122) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(receiver_accid=7) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(did_id=2) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(transfer_call_type=4) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(transfer_extensions=) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(busy_status=1) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(no_answer_status=1) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(always_status=1) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(transfer_status=1) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(variable_sip_to_host=${domain_name}) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action export(domain_name=payfast.astppbilling.org) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action export(sip_to_host=payfast.astppbilling.org) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action export(presence_data=x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action export(call_type=13) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(custom_priority=1) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(custom_call_id=1) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(original_did_number=330444) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action bridge(user/3476897547@payfast.astppbilling.org) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action lua(astpp/lib/pbx/astpp-custom_call_flow.lua) 2021-12-23 07:20:12.846709 95.80% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State Change CS_ROUTING -> CS_EXECUTE 2021-12-23 07:20:12.846709 95.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State ROUTING going to sleep 2021-12-23 07:20:12.846709 95.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Running State Change CS_EXECUTE (Cur 1 Tot 41) 2021-12-23 07:20:12.846709 95.80% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State EXECUTE 2021-12-23 07:20:12.846709 95.80% [DEBUG] mod_sofia.c:213 sofia/default/9693017122@pkcall.astppbilling.org:5044 SOFIA EXECUTE 2021-12-23 07:20:12.846709 95.80% [DEBUG] switch_core_state_machine.c:323 sofia/default/9693017122@pkcall.astppbilling.org:5044 Standard EXECUTE EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(effective_destination_number=330444) 2021-12-23 07:20:12.846709 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [effective_destination_number]=[330444] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(bridge_pre_execute_bleg_app=sched_hangup) 2021-12-23 07:20:12.846709 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2021-12-23 07:20:12.846709 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(callstart=2021-12-23 07:20:12) 2021-12-23 07:20:12.846709 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [callstart]=[2021-12-23 07:20:12] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(hangup_after_bridge=true) 2021-12-23 07:20:12.846709 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(continue_on_fail=TRUE) 2021-12-23 07:20:12.846709 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(account_id=4) 2021-12-23 07:20:12.846709 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [account_id]=[4] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(parent_id=0) 2021-12-23 07:20:12.846709 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [parent_id]=[0] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(entity_id=0) 2021-12-23 07:20:12.846709 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [entity_id]=[0] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(call_processed=internal) 2021-12-23 07:20:12.846709 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(call_direction=inbound) 2021-12-23 07:20:12.846709 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [call_direction]=[inbound] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(accountname=default) 2021-12-23 07:20:12.846709 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [accountname]=[default] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(origination_rates_did=ID:2|CODE:^330444.*|DESTINATION:330444|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:13|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7) 2021-12-23 07:20:12.846709 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [origination_rates_did]=[ID:2|CODE:^330444.*|DESTINATION:330444|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:13|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(origination_rates=0) 2021-12-23 07:20:12.846709 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [origination_rates]=[0] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(original_caller_id_name=9693017122) 2021-12-23 07:20:12.846709 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [original_caller_id_name]=[9693017122] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(original_caller_id_number=9693017122) 2021-12-23 07:20:12.846709 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [original_caller_id_number]=[9693017122] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(effective_caller_id_name=9693017122) 2021-12-23 07:20:12.846709 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [effective_caller_id_name]=[9693017122] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(effective_caller_id_number=9693017122) 2021-12-23 07:20:12.846709 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [effective_caller_id_number]=[9693017122] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(receiver_accid=7) 2021-12-23 07:20:12.846709 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [receiver_accid]=[7] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(did_id=2) 2021-12-23 07:20:12.846709 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [did_id]=[2] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(transfer_call_type=4) 2021-12-23 07:20:12.846709 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [transfer_call_type]=[4] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(transfer_extensions=) 2021-12-23 07:20:12.846709 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [transfer_extensions]=[UNDEF] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(busy_status=1) 2021-12-23 07:20:12.846709 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [busy_status]=[1] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(no_answer_status=1) 2021-12-23 07:20:12.846709 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [no_answer_status]=[1] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(always_status=1) 2021-12-23 07:20:12.846709 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [always_status]=[1] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(transfer_status=1) 2021-12-23 07:20:12.846709 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [transfer_status]=[1] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(variable_sip_to_host=pkcall.astppbilling.org) 2021-12-23 07:20:12.846709 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [variable_sip_to_host]=[pkcall.astppbilling.org] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 export(domain_name=payfast.astppbilling.org) 2021-12-23 07:20:12.846709 95.80% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[payfast.astppbilling.org] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 export(sip_to_host=payfast.astppbilling.org) 2021-12-23 07:20:12.846709 95.80% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[payfast.astppbilling.org] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 export(presence_data=x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162) 2021-12-23 07:20:12.846709 95.80% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 export(call_type=13) 2021-12-23 07:20:12.846709 95.80% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[13] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(custom_priority=1) 2021-12-23 07:20:12.846709 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [custom_priority]=[1] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(custom_call_id=1) 2021-12-23 07:20:12.846709 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [custom_call_id]=[1] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(original_did_number=330444) 2021-12-23 07:20:12.846709 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [original_did_number]=[330444] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 bridge(user/3476897547@payfast.astppbilling.org) 2021-12-23 07:20:12.846709 95.80% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5044 EXPORTING[export_vars] [domain_name]=[payfast.astppbilling.org] to event 2021-12-23 07:20:12.846709 95.80% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5044 EXPORTING[export_vars] [sip_to_host]=[payfast.astppbilling.org] to event 2021-12-23 07:20:12.846709 95.80% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5044 EXPORTING[export_vars] [presence_data]=[x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162] to event 2021-12-23 07:20:12.846709 95.80% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5044 EXPORTING[export_vars] [call_type]=[13] to event 2021-12-23 07:20:12.846709 95.80% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables 2021-12-23 07:20:12.846709 95.80% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5044 EXPORTING[export_vars] [domain_name]=[payfast.astppbilling.org] to event 2021-12-23 07:20:12.846709 95.80% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5044 EXPORTING[export_vars] [sip_to_host]=[payfast.astppbilling.org] to event 2021-12-23 07:20:12.846709 95.80% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5044 EXPORTING[export_vars] [presence_data]=[x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162] to event 2021-12-23 07:20:12.846709 95.80% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5044 EXPORTING[export_vars] [call_type]=[13] to event 2021-12-23 07:20:12.846709 95.80% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables 2021-12-23 07:20:12.846709 95.80% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [error] cause: [USER_NOT_REGISTERED] 2021-12-23 07:20:12.846709 95.80% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED] 2021-12-23 07:20:12.846709 95.80% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [user] cause: [USER_NOT_REGISTERED] 2021-12-23 07:20:12.846709 95.80% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED] 2021-12-23 07:20:12.846709 95.80% [INFO] mod_dptools.c:3653 Originate Failed. Cause: USER_NOT_REGISTERED EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 lua(astpp/lib/pbx/astpp-custom_call_flow.lua) 2021-12-23 07:20:12.866745 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-12-23 07:20:12.866745 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_call_flow_QUERY] Query :SELECT * from call_flow WHERE id = '1' and status =0 LIMIT 1 2021-12-23 07:20:12.866745 95.80% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('custom_priority', '1') 2021-12-23 07:20:12.866745 95.80% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('no_answer_number', '(null)') EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 transfer(330444 XML default) 2021-12-23 07:20:12.866745 95.80% [DEBUG] switch_ivr.c:2289 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State Change CS_EXECUTE -> CS_ROUTING 2021-12-23 07:20:12.866745 95.80% [NOTICE] switch_ivr.c:2296 Transfer sofia/default/9693017122@pkcall.astppbilling.org:5044 to XML[330444@default] 2021-12-23 07:20:12.866745 95.80% [DEBUG] switch_cpp.cpp:1209 sofia/default/9693017122@pkcall.astppbilling.org:5044 destroy/unlink session from object 2021-12-23 07:20:12.866745 95.80% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State EXECUTE going to sleep 2021-12-23 07:20:12.866745 95.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Running State Change CS_ROUTING (Cur 1 Tot 41) 2021-12-23 07:20:12.866745 95.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State ROUTING 2021-12-23 07:20:12.866745 95.80% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged 2021-12-23 07:20:12.866745 95.80% [DEBUG] mod_sofia.c:158 sofia/default/9693017122@pkcall.astppbilling.org:5044 SOFIA ROUTING 2021-12-23 07:20:12.866745 95.80% [DEBUG] switch_core_state_machine.c:230 sofia/default/9693017122@pkcall.astppbilling.org:5044 Standard ROUTING 2021-12-23 07:20:12.866745 95.80% [INFO] mod_dialplan_xml.c:639 Processing 9693017122 <9693017122>->330444 in context default 2021-12-23 07:20:12.866745 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-12-23 07:20:12.866745 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-12-23 07:20:12.906705 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2021-12-23 07:20:12.906705 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 330444 2021-12-23 07:20:12.906705 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '330444' limit 1 2021-12-23 07:20:12.906705 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '330444' AND status=0 limit 1 2021-12-23 07:20:12.906705 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '330444' and status=0 LIMIT 1 2021-12-23 07:20:12.906705 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER9693017122 2021-12-23 07:20:12.906705 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-12-23 07:20:12.906705 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'payfast.astppbilling.org' limit 1 2021-12-23 07:20:12.906705 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '7' and username = '330444' limit 1 2021-12-23 07:20:12.906705 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 9693017122 / 9693017122 2021-12-23 07:20:12.906705 95.80% [DEBUG] switch_cpp.cpp:1465 [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 ="330444" LIMIT 1 2021-12-23 07:20:12.906705 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] 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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="330444" LIMIT 1 2021-12-23 07:20:12.906705 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-12-23 07:20:12.906705 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound 2021-12-23 07:20:12.906705 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9693017122] 2021-12-23 07:20:12.906705 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9693017122" AND deleted = 0 limit 1 2021-12-23 07:20:12.926704 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="330444" AND (accountid = 0 OR status = 1) LIMIT 1 2021-12-23 07:20:12.926704 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound 2021-12-23 07:20:12.926704 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 7 2021-12-23 07:20:12.926704 95.80% [DEBUG] switch_cpp.cpp:1465 [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 = '^330444.*' OR patterns = '^33044.*' OR patterns = '^3304.*' OR patterns = '^330.*' OR patterns = '^33.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC 2021-12-23 07:20:12.926704 95.80% [DEBUG] switch_cpp.cpp:1465 [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 ="330444" AND A.accountid = '4' limit 1 2021-12-23 07:20:12.926704 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 330444 2021-12-23 07:20:12.926704 95.80% [DEBUG] switch_cpp.cpp:1465 [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 ="330444" LIMIT 1 2021-12-23 07:20:12.926704 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] 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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="330444" LIMIT 1 2021-12-23 07:20:12.926704 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-12-23 07:20:12.926704 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound 2021-12-23 07:20:12.946707 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '330444' OR number = '33044' OR number = '3304' OR number = '330' OR number = '33' OR number = '3' OR number ='--') OR (number = '330444*' OR number = '33044*' OR number = '3304*' OR number = '330*' OR number = '33*' OR number = '3*' OR number ='--') OR (number = '9693017122' OR number = '969301712' OR number = '96930171' OR number = '9693017' OR number = '969301' OR number = '96930' OR number = '9693' OR number = '969' OR number = '96' OR number = '9' OR number ='--') OR (number = '9693017122*' OR number = '969301712*' OR number = '96930171*' OR number = '9693017*' OR number = '969301*' OR number = '96930*' OR number = '9693*' OR number = '969*' OR number = '96*' OR number = '9*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2021-12-23 07:20:12.946707 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2021-12-23 07:20:12.946707 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '330444' OR routing_prefix = '33044' OR routing_prefix = '3304' OR routing_prefix = '330' OR routing_prefix = '33' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2021-12-23 07:20:12.946707 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2021-12-23 07:20:12.946707 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 4 2021-12-23 07:20:12.946707 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9693017122 2021-12-23 07:20:12.946707 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 394.7 2021-12-23 07:20:12.946707 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2021-12-23 07:20:12.946707 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1 2021-12-23 07:20:12.946707 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2021-12-23 07:20:12.946707 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2021-12-23 07:20:12.946707 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2021-12-23 07:20:12.946707 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound 2021-12-23 07:20:12.946707 95.80% [DEBUG] switch_cpp.cpp:1465 [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 ="330444" LIMIT 1 2021-12-23 07:20:12.946707 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] 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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="330444" LIMIT 1 2021-12-23 07:20:12.946707 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-12-23 07:20:12.946707 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound 2021-12-23 07:20:12.946707 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2021-12-23 07:20:12.946707 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2 2021-12-23 07:20:12.946707 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2021-12-23 07:20:12.946707 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2021-12-23 07:20:12.946707 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000 2021-12-23 07:20:12.946707 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 330444 2021-12-23 07:20:12.946707 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88 2021-12-23 07:20:12.946707 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 4 2021-12-23 07:20:12.946707 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2021-12-23 07:20:12.946707 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your394.7 balance Accountid 4 !!! 2021-12-23 07:20:12.946707 95.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100 2021-12-23 07:20:12.946707 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes 2021-12-23 07:20:12.946707 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE 2021-12-23 07:20:12.946707 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1 2021-12-23 07:20:12.946707 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 4 AND status=0 LIMIT 1 2021-12-23 07:20:12.946707 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1 2021-12-23 07:20:12.946707 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:4 2021-12-23 07:20:12.946707 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:4 2021-12-23 07:20:12.946707 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 4 2021-12-23 07:20:12.946707 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1 2021-12-23 07:20:12.946707 95.80% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : payfast.astppbilling.org 2021-12-23 07:20:12.946707 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100 2021-12-23 07:20:12.946707 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-12-23 07:20:12.946707 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1 2021-12-23 07:20:12.946707 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound 2021-12-23 07:20:12.946707 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "1" AND accounts.status = 0 2021-12-23 07:20:12.966707 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1 2021-12-23 07:20:12.966707 95.80% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : payfast.astppbilling.org 2021-12-23 07:20:12.966707 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 7 and status = 0 limit 1 2021-12-23 07:20:12.966707 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_13 2021-12-23 07:20:12.966707 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] custom_function_name::::::::::1343:::::::::::::::2 2021-12-23 07:20:12.966707 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] custom_call_id 1 2021-12-23 07:20:12.966707 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_call_flow_QUERY] Query :SELECT * from call_flow WHERE id = '1' and status =0 LIMIT 1 2021-12-23 07:20:12.966707 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] priority_array : 2 2021-12-23 07:20:12.966707 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] priority : 2 2021-12-23 07:20:12.966707 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] no_answer_call_type : 14 2021-12-23 07:20:12.966707 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] extensions : 12 2021-12-23 07:20:12.966707 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] condition_value['extensions']::12 2021-12-23 07:20:12.966707 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '12' LIMIT 1 2021-12-23 07:20:12.966707 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== music_file_name=File name==================file_examp_.wav 2021-12-23 07:20:12.966707 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 parsing [default->330444] continue=false Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Regex (PASS) [330444] destination_number(330444) =~ /330444/ break=on-false Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(effective_destination_number=330444) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(callstart=2021-12-23 07:20:12) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(hangup_after_bridge=true) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(account_id=4) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(parent_id=0) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(entity_id=0) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(call_processed=internal) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(call_direction=inbound) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(accountname=default) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(origination_rates_did=ID:2|CODE:^330444.*|DESTINATION:330444|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:13|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(origination_rates=0) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(original_caller_id_name=9693017122) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(original_caller_id_number=9693017122) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(effective_caller_id_name=9693017122) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(effective_caller_id_number=9693017122) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(receiver_accid=7) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(did_id=2) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(transfer_call_type=4) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(transfer_extensions=) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(busy_status=1) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(no_answer_status=1) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(always_status=1) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(transfer_status=1) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(variable_sip_to_host=${domain_name}) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action export(domain_name=payfast.astppbilling.org) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action export(sip_to_host=payfast.astppbilling.org) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action export(presence_data=x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action export(call_type=13) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(custom_priority=2) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(custom_call_id=1) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(original_did_number=330444) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action answer() Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action playback(/var/www/html/astpp//upload/pbx/file_examp_.wav) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action lua(astpp/lib/pbx/astpp-custom_call_flow.lua) 2021-12-23 07:20:12.966707 95.80% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State Change CS_ROUTING -> CS_EXECUTE 2021-12-23 07:20:12.966707 95.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State ROUTING going to sleep 2021-12-23 07:20:12.966707 95.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Running State Change CS_EXECUTE (Cur 1 Tot 41) 2021-12-23 07:20:12.966707 95.80% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State EXECUTE 2021-12-23 07:20:12.966707 95.80% [DEBUG] mod_sofia.c:213 sofia/default/9693017122@pkcall.astppbilling.org:5044 SOFIA EXECUTE 2021-12-23 07:20:12.966707 95.80% [DEBUG] switch_core_state_machine.c:323 sofia/default/9693017122@pkcall.astppbilling.org:5044 Standard EXECUTE EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(effective_destination_number=330444) 2021-12-23 07:20:12.966707 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [effective_destination_number]=[330444] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(bridge_pre_execute_bleg_app=sched_hangup) 2021-12-23 07:20:12.966707 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2021-12-23 07:20:12.966707 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(callstart=2021-12-23 07:20:12) 2021-12-23 07:20:12.966707 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [callstart]=[2021-12-23 07:20:12] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(hangup_after_bridge=true) 2021-12-23 07:20:12.966707 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(continue_on_fail=TRUE) 2021-12-23 07:20:12.966707 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(account_id=4) 2021-12-23 07:20:12.966707 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [account_id]=[4] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(parent_id=0) 2021-12-23 07:20:12.966707 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [parent_id]=[0] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(entity_id=0) 2021-12-23 07:20:12.966707 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [entity_id]=[0] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(call_processed=internal) 2021-12-23 07:20:12.966707 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(call_direction=inbound) 2021-12-23 07:20:12.966707 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [call_direction]=[inbound] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(accountname=default) 2021-12-23 07:20:12.966707 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [accountname]=[default] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(origination_rates_did=ID:2|CODE:^330444.*|DESTINATION:330444|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:13|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7) 2021-12-23 07:20:12.966707 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [origination_rates_did]=[ID:2|CODE:^330444.*|DESTINATION:330444|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:13|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(origination_rates=0) 2021-12-23 07:20:12.966707 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [origination_rates]=[0] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(original_caller_id_name=9693017122) 2021-12-23 07:20:12.986707 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [original_caller_id_name]=[9693017122] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(original_caller_id_number=9693017122) 2021-12-23 07:20:12.986707 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [original_caller_id_number]=[9693017122] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(effective_caller_id_name=9693017122) 2021-12-23 07:20:12.986707 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [effective_caller_id_name]=[9693017122] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(effective_caller_id_number=9693017122) 2021-12-23 07:20:12.986707 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [effective_caller_id_number]=[9693017122] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(receiver_accid=7) 2021-12-23 07:20:12.986707 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [receiver_accid]=[7] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(did_id=2) 2021-12-23 07:20:12.986707 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [did_id]=[2] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(transfer_call_type=4) 2021-12-23 07:20:12.986707 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [transfer_call_type]=[4] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(transfer_extensions=) 2021-12-23 07:20:12.986707 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [transfer_extensions]=[UNDEF] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(busy_status=1) 2021-12-23 07:20:12.986707 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [busy_status]=[1] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(no_answer_status=1) 2021-12-23 07:20:12.986707 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [no_answer_status]=[1] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(always_status=1) 2021-12-23 07:20:12.986707 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [always_status]=[1] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(transfer_status=1) 2021-12-23 07:20:12.986707 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [transfer_status]=[1] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(variable_sip_to_host=payfast.astppbilling.org) 2021-12-23 07:20:12.986707 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [variable_sip_to_host]=[payfast.astppbilling.org] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 export(domain_name=payfast.astppbilling.org) 2021-12-23 07:20:12.986707 95.80% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[payfast.astppbilling.org] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 export(sip_to_host=payfast.astppbilling.org) 2021-12-23 07:20:12.986707 95.80% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[payfast.astppbilling.org] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 export(presence_data=x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162) 2021-12-23 07:20:12.986707 95.80% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 export(call_type=13) 2021-12-23 07:20:12.986707 95.80% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[13] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(custom_priority=2) 2021-12-23 07:20:12.986707 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [custom_priority]=[2] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(custom_call_id=1) 2021-12-23 07:20:12.986707 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [custom_call_id]=[1] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(original_did_number=330444) 2021-12-23 07:20:12.986707 95.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [original_did_number]=[330444] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 answer() 2021-12-23 07:20:12.986707 95.80% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/9693017122@pkcall.astppbilling.org:5044] 172.31.43.241 port 19780 -> 117.247.91.162 port 8000 codec: 8 ms: 20 2021-12-23 07:20:12.986707 95.80% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms 2021-12-23 07:20:12.986707 95.80% [DEBUG] switch_core_media.c:9089 sofia/default/9693017122@pkcall.astppbilling.org:5044 Set 2833 dtmf send payload to 101 2021-12-23 07:20:12.986707 95.80% [DEBUG] switch_core_media.c:9096 sofia/default/9693017122@pkcall.astppbilling.org:5044 Set 2833 dtmf receive payload to 101 2021-12-23 07:20:12.986707 95.80% [DEBUG] switch_core_media.c:9119 sofia/default/9693017122@pkcall.astppbilling.org:5044 Set rtp dtmf delay to 40 2021-12-23 07:20:12.986707 95.80% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/9693017122@pkcall.astppbilling.org:5044: v=0 o=FreeSWITCH 1640224232 1640224233 IN IP4 3.23.127.90 s=FreeSWITCH c=IN IP4 3.23.127.90 t=0 0 m=audio 19780 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2021-12-23 07:20:12.986707 95.80% [DEBUG] sofia.c:7499 Channel sofia/default/9693017122@pkcall.astppbilling.org:5044 entering state [completed][200] 2021-12-23 07:20:12.986707 95.80% [NOTICE] mod_dptools.c:1419 Channel [sofia/default/9693017122@pkcall.astppbilling.org:5044] has been answered 2021-12-23 07:20:12.986707 95.80% [DEBUG] switch_channel.c:3950 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Callstate Change RINGING -> ACTIVE EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 playback(/var/www/html/astpp//upload/pbx/file_examp_.wav) 2021-12-23 07:20:12.986707 95.80% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2021-12-23 07:20:12.986707 95.80% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms 2021-12-23 07:20:13.266731 95.80% [DEBUG] sofia.c:7499 Channel sofia/default/9693017122@pkcall.astppbilling.org:5044 entering state [ready][200] 2021-12-23 07:20:13.306782 94.33% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed. 2021-12-23 07:20:46.526763 99.37% [DEBUG] switch_ivr_play_say.c:2001 done playing file /var/www/html/astpp//upload/pbx/file_examp_.wav EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 lua(astpp/lib/pbx/astpp-custom_call_flow.lua) 2021-12-23 07:20:46.526763 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-12-23 07:20:46.526763 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_call_flow_QUERY] Query :SELECT * from call_flow WHERE id = '1' and status =0 LIMIT 1 2021-12-23 07:20:46.526763 99.37% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('custom_priority', '2') 2021-12-23 07:20:46.526763 99.37% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('no_answer_number', '(null)') EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 transfer(330444 XML default) 2021-12-23 07:20:46.526763 99.37% [DEBUG] switch_ivr.c:2289 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State Change CS_EXECUTE -> CS_ROUTING 2021-12-23 07:20:46.526763 99.37% [NOTICE] switch_ivr.c:2296 Transfer sofia/default/9693017122@pkcall.astppbilling.org:5044 to XML[330444@default] 2021-12-23 07:20:46.526763 99.37% [DEBUG] switch_cpp.cpp:1209 sofia/default/9693017122@pkcall.astppbilling.org:5044 destroy/unlink session from object 2021-12-23 07:20:46.526763 99.37% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State EXECUTE going to sleep 2021-12-23 07:20:46.526763 99.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Running State Change CS_ROUTING (Cur 1 Tot 41) 2021-12-23 07:20:46.526763 99.37% [DEBUG] switch_channel.c:2380 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Callstate Change ACTIVE -> RINGING 2021-12-23 07:20:46.526763 99.37% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State ROUTING 2021-12-23 07:20:46.526763 99.37% [DEBUG] mod_sofia.c:158 sofia/default/9693017122@pkcall.astppbilling.org:5044 SOFIA ROUTING 2021-12-23 07:20:46.526763 99.37% [DEBUG] switch_core_state_machine.c:230 sofia/default/9693017122@pkcall.astppbilling.org:5044 Standard ROUTING 2021-12-23 07:20:46.526763 99.37% [INFO] mod_dialplan_xml.c:639 Processing 9693017122 <9693017122>->330444 in context default 2021-12-23 07:20:46.526763 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-12-23 07:20:46.526763 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-12-23 07:20:46.566707 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2021-12-23 07:20:46.566707 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 330444 2021-12-23 07:20:46.566707 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '330444' limit 1 2021-12-23 07:20:46.566707 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '330444' AND status=0 limit 1 2021-12-23 07:20:46.566707 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '330444' and status=0 LIMIT 1 2021-12-23 07:20:46.566707 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER9693017122 2021-12-23 07:20:46.566707 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-12-23 07:20:46.566707 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'payfast.astppbilling.org' limit 1 2021-12-23 07:20:46.566707 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '7' and username = '330444' limit 1 2021-12-23 07:20:46.566707 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 9693017122 / 9693017122 2021-12-23 07:20:46.566707 99.37% [DEBUG] switch_cpp.cpp:1465 [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 ="330444" LIMIT 1 2021-12-23 07:20:46.586708 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] 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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="330444" LIMIT 1 2021-12-23 07:20:46.586708 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-12-23 07:20:46.586708 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound 2021-12-23 07:20:46.586708 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9693017122] 2021-12-23 07:20:46.586708 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9693017122" AND deleted = 0 limit 1 2021-12-23 07:20:46.586708 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="330444" AND (accountid = 0 OR status = 1) LIMIT 1 2021-12-23 07:20:46.586708 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound 2021-12-23 07:20:46.586708 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 7 2021-12-23 07:20:46.586708 99.37% [DEBUG] switch_cpp.cpp:1465 [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 = '^330444.*' OR patterns = '^33044.*' OR patterns = '^3304.*' OR patterns = '^330.*' OR patterns = '^33.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC 2021-12-23 07:20:46.606711 99.37% [DEBUG] switch_cpp.cpp:1465 [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 ="330444" AND A.accountid = '4' limit 1 2021-12-23 07:20:46.606711 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 330444 2021-12-23 07:20:46.606711 99.37% [DEBUG] switch_cpp.cpp:1465 [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 ="330444" LIMIT 1 2021-12-23 07:20:46.606711 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] 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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="330444" LIMIT 1 2021-12-23 07:20:46.606711 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-12-23 07:20:46.606711 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound 2021-12-23 07:20:46.606711 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '330444' OR number = '33044' OR number = '3304' OR number = '330' OR number = '33' OR number = '3' OR number ='--') OR (number = '330444*' OR number = '33044*' OR number = '3304*' OR number = '330*' OR number = '33*' OR number = '3*' OR number ='--') OR (number = '9693017122' OR number = '969301712' OR number = '96930171' OR number = '9693017' OR number = '969301' OR number = '96930' OR number = '9693' OR number = '969' OR number = '96' OR number = '9' OR number ='--') OR (number = '9693017122*' OR number = '969301712*' OR number = '96930171*' OR number = '9693017*' OR number = '969301*' OR number = '96930*' OR number = '9693*' OR number = '969*' OR number = '96*' OR number = '9*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2021-12-23 07:20:46.606711 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2021-12-23 07:20:46.606711 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '330444' OR routing_prefix = '33044' OR routing_prefix = '3304' OR routing_prefix = '330' OR routing_prefix = '33' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2021-12-23 07:20:46.606711 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2021-12-23 07:20:46.606711 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 4 2021-12-23 07:20:46.606711 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9693017122 2021-12-23 07:20:46.606711 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 394.7 2021-12-23 07:20:46.606711 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2021-12-23 07:20:46.606711 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1 2021-12-23 07:20:46.606711 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2021-12-23 07:20:46.606711 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2021-12-23 07:20:46.606711 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2021-12-23 07:20:46.606711 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound 2021-12-23 07:20:46.606711 99.37% [DEBUG] switch_cpp.cpp:1465 [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 ="330444" LIMIT 1 2021-12-23 07:20:46.606711 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] 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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="330444" LIMIT 1 2021-12-23 07:20:46.626709 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-12-23 07:20:46.626709 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound 2021-12-23 07:20:46.626709 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2021-12-23 07:20:46.626709 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2 2021-12-23 07:20:46.626709 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2021-12-23 07:20:46.626709 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2021-12-23 07:20:46.626709 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000 2021-12-23 07:20:46.626709 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 330444 2021-12-23 07:20:46.626709 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88 2021-12-23 07:20:46.626709 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 4 2021-12-23 07:20:46.626709 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2021-12-23 07:20:46.626709 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your394.7 balance Accountid 4 !!! 2021-12-23 07:20:46.626709 99.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100 2021-12-23 07:20:46.626709 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes 2021-12-23 07:20:46.626709 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE 2021-12-23 07:20:46.626709 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1 2021-12-23 07:20:46.626709 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 4 AND status=0 LIMIT 1 2021-12-23 07:20:46.626709 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1 2021-12-23 07:20:46.626709 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:4 2021-12-23 07:20:46.626709 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:4 2021-12-23 07:20:46.626709 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 4 2021-12-23 07:20:46.626709 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1 2021-12-23 07:20:46.626709 99.37% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : payfast.astppbilling.org 2021-12-23 07:20:46.626709 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100 2021-12-23 07:20:46.626709 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-12-23 07:20:46.626709 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1 2021-12-23 07:20:46.626709 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound 2021-12-23 07:20:46.626709 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "1" AND accounts.status = 0 2021-12-23 07:20:46.626709 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1 2021-12-23 07:20:46.626709 99.37% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : payfast.astppbilling.org 2021-12-23 07:20:46.626709 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 7 and status = 0 limit 1 2021-12-23 07:20:46.626709 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_13 2021-12-23 07:20:46.626709 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] custom_function_name::::::::::1343:::::::::::::::2 2021-12-23 07:20:46.626709 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] custom_call_id 1 2021-12-23 07:20:46.626709 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_call_flow_QUERY] Query :SELECT * from call_flow WHERE id = '1' and status =0 LIMIT 1 2021-12-23 07:20:46.626709 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] priority_array : 3 2021-12-23 07:20:46.626709 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] priority : 3 2021-12-23 07:20:46.626709 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] no_answer_call_type : 10 2021-12-23 07:20:46.626709 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] extensions : 1 2021-12-23 07:20:46.626709 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] call_type : IVR 2021-12-23 07:20:46.626709 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_IVR_INFO] Query :SELECT * from pbx_ivr_specification WHERE id = 1 and status=0 LIMIT 1 2021-12-23 07:20:46.646709 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '11' LIMIT 1 2021-12-23 07:20:46.646709 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== announcement=File name==================Ring_Back__.wav 2021-12-23 07:20:46.646709 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 parsing [default->330444] continue=false Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Regex (PASS) [330444] destination_number(330444) =~ /330444/ break=on-false Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(effective_destination_number=330444) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(callstart=2021-12-23 07:20:46) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(hangup_after_bridge=true) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(account_id=4) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(parent_id=0) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(entity_id=0) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(call_processed=internal) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(call_direction=inbound) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(accountname=default) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(origination_rates_did=ID:2|CODE:^330444.*|DESTINATION:330444|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:13|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(origination_rates=0) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(original_caller_id_name=9693017122) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(original_caller_id_number=9693017122) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(effective_caller_id_name=9693017122) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(effective_caller_id_number=9693017122) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(receiver_accid=7) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(did_id=2) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(transfer_call_type=4) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(transfer_extensions=) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(busy_status=1) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(no_answer_status=1) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(always_status=1) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(transfer_status=1) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(variable_sip_to_host=${domain_name}) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action export(domain_name=payfast.astppbilling.org) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action export(sip_to_host=payfast.astppbilling.org) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action export(presence_data=x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action export(call_type=13) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(custom_priority=3) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(custom_call_id=1) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(original_did_number=330444) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(ringback=/var/www/html/astpp//upload/pbx/Ring_Back__.wav) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(module_name=pbx) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(sip_h_P-call_type=custom_forward) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(sip_h_P-Accountcode=7) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(opensips_flag=1) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(originate_disposition=no_key_press) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(variable_sip_to_host=payfast.astppbilling.org) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(userinfo_id=4) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(variable_sip_to_host=payfast.astppbilling.org) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(original_did_number=330444) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action answer() Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action ivr(IVR_Reseller_PK_Cust6) Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action lua(astpp/lib/pbx/astpp-custom_call_flow.lua) 2021-12-23 07:20:46.646709 99.37% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State Change CS_ROUTING -> CS_EXECUTE 2021-12-23 07:20:46.646709 99.37% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State ROUTING going to sleep 2021-12-23 07:20:46.646709 99.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Running State Change CS_EXECUTE (Cur 1 Tot 41) 2021-12-23 07:20:46.646709 99.37% [DEBUG] switch_channel.c:2382 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Callstate Change RINGING -> ACTIVE 2021-12-23 07:20:46.646709 99.37% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State EXECUTE 2021-12-23 07:20:46.646709 99.37% [DEBUG] mod_sofia.c:213 sofia/default/9693017122@pkcall.astppbilling.org:5044 SOFIA EXECUTE 2021-12-23 07:20:46.646709 99.37% [DEBUG] switch_core_state_machine.c:323 sofia/default/9693017122@pkcall.astppbilling.org:5044 Standard EXECUTE EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(effective_destination_number=330444) 2021-12-23 07:20:46.646709 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [effective_destination_number]=[330444] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(bridge_pre_execute_bleg_app=sched_hangup) 2021-12-23 07:20:46.646709 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2021-12-23 07:20:46.646709 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(callstart=2021-12-23 07:20:46) 2021-12-23 07:20:46.646709 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [callstart]=[2021-12-23 07:20:46] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(hangup_after_bridge=true) 2021-12-23 07:20:46.646709 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(continue_on_fail=TRUE) 2021-12-23 07:20:46.646709 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(account_id=4) 2021-12-23 07:20:46.646709 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [account_id]=[4] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(parent_id=0) 2021-12-23 07:20:46.646709 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [parent_id]=[0] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(entity_id=0) 2021-12-23 07:20:46.646709 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [entity_id]=[0] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(call_processed=internal) 2021-12-23 07:20:46.646709 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(call_direction=inbound) 2021-12-23 07:20:46.646709 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [call_direction]=[inbound] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(accountname=default) 2021-12-23 07:20:46.646709 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [accountname]=[default] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(origination_rates_did=ID:2|CODE:^330444.*|DESTINATION:330444|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:13|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7) 2021-12-23 07:20:46.646709 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [origination_rates_did]=[ID:2|CODE:^330444.*|DESTINATION:330444|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:13|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(origination_rates=0) 2021-12-23 07:20:46.646709 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [origination_rates]=[0] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(original_caller_id_name=9693017122) 2021-12-23 07:20:46.646709 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [original_caller_id_name]=[9693017122] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(original_caller_id_number=9693017122) 2021-12-23 07:20:46.646709 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [original_caller_id_number]=[9693017122] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(effective_caller_id_name=9693017122) 2021-12-23 07:20:46.646709 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [effective_caller_id_name]=[9693017122] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(effective_caller_id_number=9693017122) 2021-12-23 07:20:46.646709 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [effective_caller_id_number]=[9693017122] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(receiver_accid=7) 2021-12-23 07:20:46.646709 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [receiver_accid]=[7] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(did_id=2) 2021-12-23 07:20:46.646709 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [did_id]=[2] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(transfer_call_type=4) 2021-12-23 07:20:46.646709 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [transfer_call_type]=[4] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(transfer_extensions=) 2021-12-23 07:20:46.646709 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [transfer_extensions]=[UNDEF] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(busy_status=1) 2021-12-23 07:20:46.646709 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [busy_status]=[1] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(no_answer_status=1) 2021-12-23 07:20:46.646709 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [no_answer_status]=[1] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(always_status=1) 2021-12-23 07:20:46.646709 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [always_status]=[1] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(transfer_status=1) 2021-12-23 07:20:46.646709 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [transfer_status]=[1] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(variable_sip_to_host=payfast.astppbilling.org) 2021-12-23 07:20:46.646709 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [variable_sip_to_host]=[payfast.astppbilling.org] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 export(domain_name=payfast.astppbilling.org) 2021-12-23 07:20:46.646709 99.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[payfast.astppbilling.org] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 export(sip_to_host=payfast.astppbilling.org) 2021-12-23 07:20:46.646709 99.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[payfast.astppbilling.org] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 export(presence_data=x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162) 2021-12-23 07:20:46.646709 99.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 export(call_type=13) 2021-12-23 07:20:46.646709 99.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[13] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(custom_priority=3) 2021-12-23 07:20:46.646709 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [custom_priority]=[3] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(custom_call_id=1) 2021-12-23 07:20:46.646709 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [custom_call_id]=[1] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(original_did_number=330444) 2021-12-23 07:20:46.646709 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [original_did_number]=[330444] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(ringback=/var/www/html/astpp//upload/pbx/Ring_Back__.wav) 2021-12-23 07:20:46.646709 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [ringback]=[/var/www/html/astpp//upload/pbx/Ring_Back__.wav] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(module_name=pbx) 2021-12-23 07:20:46.646709 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [module_name]=[pbx] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(sip_h_P-call_type=custom_forward) 2021-12-23 07:20:46.646709 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [sip_h_P-call_type]=[custom_forward] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(sip_h_P-Accountcode=7) 2021-12-23 07:20:46.666705 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [sip_h_P-Accountcode]=[7] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(opensips_flag=1) 2021-12-23 07:20:46.666705 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [opensips_flag]=[1] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(originate_disposition=no_key_press) 2021-12-23 07:20:46.666705 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [originate_disposition]=[no_key_press] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(variable_sip_to_host=payfast.astppbilling.org) 2021-12-23 07:20:46.666705 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [variable_sip_to_host]=[payfast.astppbilling.org] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(userinfo_id=4) 2021-12-23 07:20:46.666705 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [userinfo_id]=[4] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(variable_sip_to_host=payfast.astppbilling.org) 2021-12-23 07:20:46.666705 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [variable_sip_to_host]=[payfast.astppbilling.org] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(original_did_number=330444) 2021-12-23 07:20:46.666705 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [original_did_number]=[330444] EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 answer() EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 ivr(IVR_Reseller_PK_Cust6) 2021-12-23 07:20:46.666705 99.37% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-exit' 2021-12-23 07:20:46.666705 99.37% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-sub' 2021-12-23 07:20:46.666705 99.37% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-exec-app' 2021-12-23 07:20:46.666705 99.37% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-play-sound' 2021-12-23 07:20:46.666705 99.37% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-back' 2021-12-23 07:20:46.666705 99.37% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-top' 2021-12-23 07:20:46.666705 99.37% [DEBUG] switch_ivr_menu.c:883 building menu 'IVR_Reseller_PK_Cust6' 2021-12-23 07:20:46.666705 99.37% [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '8' 2021-12-23 07:20:46.666705 99.37% [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '9' 2021-12-23 07:20:46.666705 99.37% [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '7' 2021-12-23 07:20:46.666705 99.37% [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '/^(\d{2,20})$/' 2021-12-23 07:20:46.666705 99.37% [DEBUG] switch_ivr_menu.c:486 Executing IVR menu IVR_Reseller_PK_Cust6 2021-12-23 07:20:46.666705 99.37% [WARNING] mod_sndfile.c:281 Error Opening File [/var/www/html/astpp/upload/pbx/welcome_v6_.wav] [File contains data in an unknown format.] 2021-12-23 07:20:46.666705 99.37% [DEBUG] switch_ivr_menu.c:378 waiting for 20/20 digits t/o 2000 2021-12-23 07:20:56.666730 98.40% [DEBUG] switch_ivr_menu.c:425 digits '' 2021-12-23 07:20:56.666730 98.40% [WARNING] mod_sndfile.c:281 Error Opening File [/var/www/html/astpp/upload/pbx/welcome_v6_.wav] [File contains data in an unknown format.] 2021-12-23 07:20:56.666730 98.40% [DEBUG] switch_ivr_menu.c:378 waiting for 20/20 digits t/o 2000 2021-12-23 07:21:06.686731 95.23% [DEBUG] switch_ivr_menu.c:425 digits '' 2021-12-23 07:21:06.686731 95.23% [WARNING] mod_sndfile.c:281 Error Opening File [/var/www/html/astpp/upload/pbx/welcome_v6_.wav] [File contains data in an unknown format.] 2021-12-23 07:21:06.686731 95.23% [DEBUG] switch_ivr_menu.c:378 waiting for 20/20 digits t/o 2000 2021-12-23 07:21:16.706735 95.13% [DEBUG] switch_ivr_menu.c:425 digits '' 2021-12-23 07:21:16.706735 95.13% [DEBUG] switch_ivr_menu.c:516 Maximum timeouts 2021-12-23 07:21:16.706735 95.13% [DEBUG] switch_ivr_menu.c:676 exit-sound '(null)' EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 lua(astpp/lib/pbx/astpp-custom_call_flow.lua) 2021-12-23 07:21:16.706735 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-12-23 07:21:16.726712 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_call_flow_QUERY] Query :SELECT * from call_flow WHERE id = '1' and status =0 LIMIT 1 2021-12-23 07:21:16.726712 95.13% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('custom_priority', '3') 2021-12-23 07:21:16.726712 95.13% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('no_answer_number', '(null)') EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 transfer(330444 XML default) 2021-12-23 07:21:16.726712 95.13% [DEBUG] switch_ivr.c:2289 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State Change CS_EXECUTE -> CS_ROUTING 2021-12-23 07:21:16.726712 95.13% [NOTICE] switch_ivr.c:2296 Transfer sofia/default/9693017122@pkcall.astppbilling.org:5044 to XML[330444@default] 2021-12-23 07:21:16.726712 95.13% [DEBUG] switch_cpp.cpp:1209 sofia/default/9693017122@pkcall.astppbilling.org:5044 destroy/unlink session from object 2021-12-23 07:21:16.726712 95.13% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State EXECUTE going to sleep 2021-12-23 07:21:16.726712 95.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Running State Change CS_ROUTING (Cur 1 Tot 41) 2021-12-23 07:21:16.726712 95.13% [DEBUG] switch_channel.c:2380 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Callstate Change ACTIVE -> RINGING 2021-12-23 07:21:16.726712 95.13% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State ROUTING 2021-12-23 07:21:16.726712 95.13% [DEBUG] mod_sofia.c:158 sofia/default/9693017122@pkcall.astppbilling.org:5044 SOFIA ROUTING 2021-12-23 07:21:16.726712 95.13% [DEBUG] switch_core_state_machine.c:230 sofia/default/9693017122@pkcall.astppbilling.org:5044 Standard ROUTING 2021-12-23 07:21:16.726712 95.13% [INFO] mod_dialplan_xml.c:639 Processing 9693017122 <9693017122>->330444 in context default 2021-12-23 07:21:16.726712 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-12-23 07:21:16.726712 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-12-23 07:21:16.746709 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2021-12-23 07:21:16.746709 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 330444 2021-12-23 07:21:16.746709 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '330444' limit 1 2021-12-23 07:21:16.746709 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '330444' AND status=0 limit 1 2021-12-23 07:21:16.746709 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '330444' and status=0 LIMIT 1 2021-12-23 07:21:16.746709 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER9693017122 2021-12-23 07:21:16.746709 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-12-23 07:21:16.746709 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'payfast.astppbilling.org' limit 1 2021-12-23 07:21:16.746709 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '7' and username = '330444' limit 1 2021-12-23 07:21:16.746709 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 9693017122 / 9693017122 2021-12-23 07:21:16.746709 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1 2021-12-23 07:21:16.746709 95.13% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] user_domainpayfast.astppbilling.org 2021-12-23 07:21:16.746709 95.13% [DEBUG] switch_cpp.cpp:1465 [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 ="330444" LIMIT 1 2021-12-23 07:21:16.766712 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] 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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="330444" LIMIT 1 2021-12-23 07:21:16.766712 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-12-23 07:21:16.766712 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound 2021-12-23 07:21:16.766712 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 7] 2021-12-23 07:21:16.766712 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1 2021-12-23 07:21:16.766712 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="330444" AND (accountid = 0 OR status = 1) LIMIT 1 2021-12-23 07:21:16.766712 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound 2021-12-23 07:21:16.766712 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 7 2021-12-23 07:21:16.766712 95.13% [DEBUG] switch_cpp.cpp:1465 [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 = '^330444.*' OR patterns = '^33044.*' OR patterns = '^3304.*' OR patterns = '^330.*' OR patterns = '^33.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC 2021-12-23 07:21:16.766712 95.13% [DEBUG] switch_cpp.cpp:1465 [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 ="330444" AND A.accountid = '7' limit 1 2021-12-23 07:21:16.786712 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 330444 2021-12-23 07:21:16.786712 95.13% [DEBUG] switch_cpp.cpp:1465 [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 ="330444" LIMIT 1 2021-12-23 07:21:16.786712 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] 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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="330444" LIMIT 1 2021-12-23 07:21:16.786712 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-12-23 07:21:16.786712 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound 2021-12-23 07:21:16.786712 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '330444' OR number = '33044' OR number = '3304' OR number = '330' OR number = '33' OR number = '3' OR number ='--') OR (number = '330444*' OR number = '33044*' OR number = '3304*' OR number = '330*' OR number = '33*' OR number = '3*' OR number ='--') OR (number = '9693017122' OR number = '969301712' OR number = '96930171' OR number = '9693017' OR number = '969301' OR number = '96930' OR number = '9693' OR number = '969' OR number = '96' OR number = '9' OR number ='--') OR (number = '9693017122*' OR number = '969301712*' OR number = '96930171*' OR number = '9693017*' OR number = '969301*' OR number = '96930*' OR number = '9693*' OR number = '969*' OR number = '96*' OR number = '9*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2021-12-23 07:21:16.786712 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2021-12-23 07:21:16.786712 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '330444' OR routing_prefix = '33044' OR routing_prefix = '3304' OR routing_prefix = '330' OR routing_prefix = '33' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 6 limit 1 2021-12-23 07:21:16.786712 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2021-12-23 07:21:16.786712 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 7 2021-12-23 07:21:16.786712 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 7135873514 2021-12-23 07:21:16.786712 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 395 2021-12-23 07:21:16.786712 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2021-12-23 07:21:16.786712 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2 2021-12-23 07:21:16.786712 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2021-12-23 07:21:16.786712 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2021-12-23 07:21:16.786712 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0 2021-12-23 07:21:16.786712 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound 2021-12-23 07:21:16.786712 95.13% [DEBUG] switch_cpp.cpp:1465 [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 ="330444" LIMIT 1 2021-12-23 07:21:16.786712 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] 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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="330444" LIMIT 1 2021-12-23 07:21:16.806711 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 330444 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 7 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your395 balance Accountid 7 !!! 2021-12-23 07:21:16.806711 95.13% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100 2021-12-23 07:21:16.806711 95.13% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 6 2021-12-23 07:21:16.806711 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "6" AND deleted = 0 limit 1 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information =================== 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 6 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 4245350336 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 395 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1 2021-12-23 07:21:16.806711 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2021-12-23 07:21:16.806711 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound 2021-12-23 07:21:16.806711 95.13% [DEBUG] switch_cpp.cpp:1465 [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 ="330444" LIMIT 1 2021-12-23 07:21:16.806711 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] 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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="330444" LIMIT 1 2021-12-23 07:21:16.806711 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 330444 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 6 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your395 balance Accountid 6 !!! 2021-12-23 07:21:16.806711 95.13% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:2|CODE:^330444.*|DESTINATION:330444|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:13|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7||ID:2|CODE:^330444.*|DESTINATION:330444|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:13|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 1 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1 2021-12-23 07:21:16.806711 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 7 AND status=0 LIMIT 1 2021-12-23 07:21:16.806711 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:7 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:7 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 7 2021-12-23 07:21:16.806711 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1 2021-12-23 07:21:16.806711 95.13% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : payfast.astppbilling.org 2021-12-23 07:21:16.806711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100 2021-12-23 07:21:16.806711 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-12-23 07:21:16.826711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1 2021-12-23 07:21:16.826711 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound 2021-12-23 07:21:16.826711 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "1" AND accounts.status = 0 2021-12-23 07:21:16.826711 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1 2021-12-23 07:21:16.826711 95.13% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : payfast.astppbilling.org 2021-12-23 07:21:16.826711 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 7 and status = 0 limit 1 2021-12-23 07:21:16.826711 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_13 2021-12-23 07:21:16.826711 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] custom_function_name::::::::::1343:::::::::::::::2 2021-12-23 07:21:16.826711 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] custom_call_id 1 2021-12-23 07:21:16.826711 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_call_flow_QUERY] Query :SELECT * from call_flow WHERE id = '1' and status =0 LIMIT 1 2021-12-23 07:21:16.826711 95.13% [ERR] mod_lua.cpp:202 ...freeswitch/scripts/astpp/lib/addons/astpp.customcall.lua:25: bad argument #1 to 'min' (number expected, got no value) stack traceback: [C]: in function 'min' ...freeswitch/scripts/astpp/lib/addons/astpp.customcall.lua:25: in function '?' /usr/share/freeswitch/scripts/astpp/scripts/astpp.xml.lua:412: in function 'freeswitch_xml_inbound' ...hare/freeswitch/scripts/astpp/scripts/astpp.dialplan.lua:762: in main chunk [C]: in function 'dofile' /usr/share/freeswitch/scripts/astpp/astpp.lua:94: in main chunk 2021-12-23 07:21:16.826711 95.13% [ERR] mod_lua.cpp:270 LUA script parse/execute error! 2021-12-23 07:21:16.826711 95.13% [WARNING] mod_dialplan_xml.c:669 Context default not found 2021-12-23 07:21:16.826711 95.13% [INFO] switch_core_state_machine.c:306 No Route, Aborting 2021-12-23 07:21:16.826711 95.13% [NOTICE] switch_core_state_machine.c:307 Hangup sofia/default/9693017122@pkcall.astppbilling.org:5044 [CS_ROUTING] [NO_ROUTE_DESTINATION] 2021-12-23 07:21:16.826711 95.13% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State ROUTING going to sleep 2021-12-23 07:21:16.826711 95.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Running State Change CS_HANGUP (Cur 1 Tot 41) 2021-12-23 07:21:16.826711 95.13% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Callstate Change RINGING -> HANGUP 2021-12-23 07:21:16.826711 95.13% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State HANGUP 2021-12-23 07:21:16.826711 95.13% [DEBUG] mod_sofia.c:468 Channel sofia/default/9693017122@pkcall.astppbilling.org:5044 hanging up, cause: NO_ROUTE_DESTINATION 2021-12-23 07:21:16.826711 95.13% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/9693017122@pkcall.astppbilling.org:5044 2021-12-23 07:21:16.826711 95.13% [DEBUG] switch_core_state_machine.c:59 sofia/default/9693017122@pkcall.astppbilling.org:5044 Standard HANGUP, cause: NO_ROUTE_DESTINATION 2021-12-23 07:21:16.826711 95.13% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State HANGUP going to sleep 2021-12-23 07:21:16.826711 95.13% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State Change CS_HANGUP -> CS_REPORTING 2021-12-23 07:21:16.826711 95.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Running State Change CS_REPORTING (Cur 1 Tot 41) 2021-12-23 07:21:16.826711 95.13% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State REPORTING 2021-12-23 07:21:16.826711 95.13% [INFO] mod_json_cdr.c:271 Process [4bf8539c-a5a4-4416-8e80-ce780834a638.cdr.json] 2021-12-23 07:21:16.866711 95.13% [DEBUG] switch_core_state_machine.c:168 sofia/default/9693017122@pkcall.astppbilling.org:5044 Standard REPORTING, cause: NO_ROUTE_DESTINATION 2021-12-23 07:21:16.866711 95.13% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State REPORTING going to sleep 2021-12-23 07:21:16.866711 95.13% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State Change CS_REPORTING -> CS_DESTROY 2021-12-23 07:21:16.866711 95.13% [DEBUG] switch_core_session.c:1753 Session 41 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Locked, Waiting on external entities 2021-12-23 07:21:16.866711 95.13% [NOTICE] switch_core_session.c:1771 Session 41 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Ended 2021-12-23 07:21:16.866711 95.13% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9693017122@pkcall.astppbilling.org:5044 [CS_DESTROY] 2021-12-23 07:21:16.866711 95.13% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Running State Change CS_DESTROY (Cur 0 Tot 41) 2021-12-23 07:21:16.866711 95.13% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State DESTROY 2021-12-23 07:21:16.866711 95.13% [DEBUG] mod_sofia.c:379 sofia/default/9693017122@pkcall.astppbilling.org:5044 SOFIA DESTROY 2021-12-23 07:21:16.866711 95.13% [DEBUG] switch_core_state_machine.c:175 sofia/default/9693017122@pkcall.astppbilling.org:5044 Standard DESTROY 2021-12-23 07:21:16.866711 95.13% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State DESTROY going to sleep freeswitch@ip-172-31-43-241>