reeswitch@ip-172-31-43-241> customCallFlowLogStart
-ERR customCallFlowLogStart Command not found!
freeswitch@ip-172-31-43-241>
freeswitch@ip-172-31-43-241>
freeswitch@ip-172-31-43-241>
freeswitch@ip-172-31-43-241>
freeswitch@ip-172-31-43-241>
freeswitch@ip-172-31-43-241>
freeswitch@ip-172-31-43-241>
freeswitch@ip-172-31-43-241>
freeswitch@ip-172-31-43-241>
freeswitch@ip-172-31-43-241>
freeswitch@ip-172-31-43-241>
freeswitch@ip-172-31-43-241>
freeswitch@ip-172-31-43-241>
2021-12-23 10:58:30.688037 95.03% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9693017122@pkcall.astppbilling.org:5022 [37d106b5-4327-42fb-93a5-723dd0e6d213]
2021-12-23 10:58:30.688037 95.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Running State Change CS_NEW (Cur 1 Tot 23)
2021-12-23 10:58:30.688037 95.03% [INFO] sofia.c:10462 sofia/default/9693017122@pkcall.astppbilling.org:5022 receiving invite from 117.247.91.162:38708 version: 1.10.7 -release-19-883d2cb662 64bit call-id: OGZjMmM4NWQ3Mzg3ZTBkNjJmNzFlMzBlYzZmMjU3OTk.
2021-12-23 10:58:30.688037 95.03% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 117.247.91.162:0.
2021-12-23 10:58:30.688037 95.03% [DEBUG] sofia.c:2419 detaching session 37d106b5-4327-42fb-93a5-723dd0e6d213
2021-12-23 10:58:30.688037 95.03% [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 10:58:30.688037 95.03% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State NEW
2021-12-23 10:58:31.268065 95.03% [DEBUG] sofia.c:2532 Re-attaching to session 37d106b5-4327-42fb-93a5-723dd0e6d213
2021-12-23 10:58:31.288045 95.03% [INFO] sofia.c:10462 sofia/default/9693017122@pkcall.astppbilling.org:5022 receiving invite from 117.247.91.162:38708 version: 1.10.7 -release-19-883d2cb662 64bit call-id: OGZjMmM4NWQ3Mzg3ZTBkNjJmNzFlMzBlYzZmMjU3OTk.
2021-12-23 10:58:31.288045 95.03% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 117.247.91.162:0.
2021-12-23 10:58:31.288045 95.03% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
2021-12-23 10:58:31.288045 95.03% [DEBUG] sofia.c:7499 Channel sofia/default/9693017122@pkcall.astppbilling.org:5022 entering state [received][100]
2021-12-23 10:58:31.288045 95.03% [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 10:58:31.288045 95.03% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/9693017122@pkcall.astppbilling.org:5022 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_codec.c:111 sofia/default/9693017122@pkcall.astppbilling.org:5022 Original read codec set to PCMA:8
2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_media.c:5973 sofia/default/9693017122@pkcall.astppbilling.org:5022 Set 2833 dtmf send payload to 101 recv payload to 101
2021-12-23 10:58:31.288045 95.03% [DEBUG] sofia.c:7933 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State Change CS_NEW -> CS_INIT
2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Running State Change CS_INIT (Cur 1 Tot 23)
2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State INIT
2021-12-23 10:58:31.288045 95.03% [DEBUG] mod_sofia.c:97 sofia/default/9693017122@pkcall.astppbilling.org:5022 SOFIA INIT
2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_state_machine.c:40 sofia/default/9693017122@pkcall.astppbilling.org:5022 Standard INIT
2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State Change CS_INIT -> CS_ROUTING
2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State INIT going to sleep
2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Running State Change CS_ROUTING (Cur 1 Tot 23)
2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_channel.c:2380 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Callstate Change DOWN -> RINGING
2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State ROUTING
2021-12-23 10:58:31.288045 95.03% [DEBUG] mod_sofia.c:158 sofia/default/9693017122@pkcall.astppbilling.org:5022 SOFIA ROUTING
2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_state_machine.c:230 sofia/default/9693017122@pkcall.astppbilling.org:5022 Standard ROUTING
2021-12-23 10:58:31.288045 95.03% [INFO] mod_dialplan_xml.c:639 Processing 9693017122 <9693017122>->330444 in context default
2021-12-23 10:58:31.308028 95.03% [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 10:58:31.308028 95.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-23 10:58:31.308028 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2021-12-23 10:58:31.308028 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 330444
2021-12-23 10:58:31.308028 95.03% [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 10:58:31.308028 95.03% [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 10:58:31.308028 95.03% [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 10:58:31.308028 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER9693017122
2021-12-23 10:58:31.308028 95.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-23 10:58:31.308028 95.03% [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 10:58:31.308028 95.03% [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 10:58:31.308028 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 9693017122 / 9693017122
2021-12-23 10:58:31.308028 95.03% [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 10:58:31.328033 95.03% [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 10:58:31.328033 95.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-23 10:58:31.328033 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
2021-12-23 10:58:31.328033 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9693017122]
2021-12-23 10:58:31.328033 95.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9693017122" AND deleted = 0 limit 1
2021-12-23 10:58:31.328033 95.03% [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 10:58:31.328033 95.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
2021-12-23 10:58:31.328033 95.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 7
2021-12-23 10:58:31.328033 95.03% [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 10:58:31.328033 95.03% [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 10:58:31.328033 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 330444
2021-12-23 10:58:31.328033 95.03% [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 10:58:31.348030 95.03% [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 10:58:31.348030 95.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-23 10:58:31.348030 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
2021-12-23 10:58:31.348030 95.03% [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 10:58:31.348030 95.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2021-12-23 10:58:31.348030 95.03% [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 10:58:31.348030 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2021-12-23 10:58:31.348030 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 4
2021-12-23 10:58:31.348030 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9693017122
2021-12-23 10:58:31.348030 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 394.7
2021-12-23 10:58:31.348030 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2021-12-23 10:58:31.348030 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
2021-12-23 10:58:31.348030 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2021-12-23 10:58:31.348030 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2021-12-23 10:58:31.348030 95.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2021-12-23 10:58:31.368032 95.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
2021-12-23 10:58:31.368032 95.03% [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 10:58:31.368032 95.03% [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 10:58:31.368032 95.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-23 10:58:31.368032 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound
2021-12-23 10:58:31.368032 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2021-12-23 10:58:31.368032 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2
2021-12-23 10:58:31.368032 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2021-12-23 10:58:31.368032 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2021-12-23 10:58:31.368032 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
2021-12-23 10:58:31.368032 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 330444
2021-12-23 10:58:31.368032 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
2021-12-23 10:58:31.368032 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 4
2021-12-23 10:58:31.368032 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2021-12-23 10:58:31.368032 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your394.7 balance Accountid 4 !!!
2021-12-23 10:58:31.368032 95.03% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100
2021-12-23 10:58:31.368032 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2021-12-23 10:58:31.368032 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
2021-12-23 10:58:31.368032 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
2021-12-23 10:58:31.368032 95.03% [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 10:58:31.368032 95.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1
2021-12-23 10:58:31.368032 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:4
2021-12-23 10:58:31.368032 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:4
2021-12-23 10:58:31.368032 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 4
2021-12-23 10:58:31.368032 95.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
2021-12-23 10:58:31.387979 95.13% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : payfast.astppbilling.org
2021-12-23 10:58:31.387979 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-23 10:58:31.387979 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2021-12-23 10:58:31.387979 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
2021-12-23 10:58:31.387979 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 10:58:31.387979 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
2021-12-23 10:58:31.387979 95.13% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : payfast.astppbilling.org
2021-12-23 10:58:31.387979 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 10:58:31.387979 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_13
2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] custom_function_name::::::::::1343:::::::::::::::2
2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] custom_call_id 1
2021-12-23 10:58:31.387979 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 10:58:31.387979 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] priority : 3
2021-12-23 10:58:31.387979 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] priority : 2
2021-12-23 10:58:31.387979 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] priority : 1
2021-12-23 10:58:31.387979 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] priority_array : 1
2021-12-23 10:58:31.387979 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] priority : 1
2021-12-23 10:58:31.387979 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] no_answer_call_type : 0
2021-12-23 10:58:31.387979 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] extensions : 3476897547
2021-12-23 10:58:31.387979 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] bridge : user/3476897547@payfast.astppbilling.org
2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="330444">
<condition field="destination_number" expression="330444">
<action application="set" data="effective_destination_number=330444"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
<action application="set" data="callstart=2021-12-23 10:58:31"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=4"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=inbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="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"/>
<action application="set" data="origination_rates=0"/>
<action application="set" data="original_caller_id_name=9693017122"/>
<action application="set" data="original_caller_id_number=9693017122"/>
<action application="set" data="effective_caller_id_name=9693017122"/>
<action application="set" data="effective_caller_id_number=9693017122"/>
<action application="set" data="receiver_accid=7"/>
<action application="set" data="did_id=2"/>
<action application="set" data="transfer_call_type=4"/>
<action application="set" data="transfer_extensions="/>
<action application="set" data="busy_status=1"/>
<action application="set" data="no_answer_status=1"/>
<action application="set" data="always_status=1"/>
<action application="set" data="transfer_status=1"/>
<action application="set" data="variable_sip_to_host=${domain_name}"/>
<action application="export" data="domain_name=payfast.astppbilling.org"/>
<action application="export" data="sip_to_host=payfast.astppbilling.org"/>
<action application="export" data="presence_data=x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162"/>
<action application="export" data="call_type=13"/>
<action application="set" data="custom_priority=1"/>
<action application="set" data="custom_call_id=1"/>
<action application="set" data="original_did_number=330444"/>
<action application="bridge" data="user/3476897547@payfast.astppbilling.org"/>
<action application="lua" data="astpp/lib/pbx/astpp-custom_call_flow.lua"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 parsing [default->330444] continue=false
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Regex (PASS) [330444] destination_number(330444) =~ /330444/ break=on-false
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(effective_destination_number=330444)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(callstart=2021-12-23 10:58:31)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(account_id=4)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(parent_id=0)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(entity_id=0)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(call_processed=internal)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(call_direction=inbound)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(accountname=default)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 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:5022 Action set(origination_rates=0)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(original_caller_id_name=9693017122)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(original_caller_id_number=9693017122)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(effective_caller_id_name=9693017122)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(effective_caller_id_number=9693017122)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(receiver_accid=7)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(did_id=2)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(transfer_call_type=4)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(transfer_extensions=)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(busy_status=1)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(no_answer_status=1)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(always_status=1)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(transfer_status=1)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(variable_sip_to_host=${domain_name})
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(domain_name=payfast.astppbilling.org)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(sip_to_host=payfast.astppbilling.org)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(presence_data=x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(call_type=13)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(custom_priority=1)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(custom_call_id=1)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(original_did_number=330444)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action bridge(user/3476897547@payfast.astppbilling.org)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action lua(astpp/lib/pbx/astpp-custom_call_flow.lua)
2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State Change CS_ROUTING -> CS_EXECUTE
2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State ROUTING going to sleep
2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Running State Change CS_EXECUTE (Cur 1 Tot 23)
2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State EXECUTE
2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_sofia.c:213 sofia/default/9693017122@pkcall.astppbilling.org:5022 SOFIA EXECUTE
2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_core_state_machine.c:323 sofia/default/9693017122@pkcall.astppbilling.org:5022 Standard EXECUTE
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(effective_destination_number=330444)
2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [effective_destination_number]=[330444]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(bridge_pre_execute_bleg_app=sched_hangup)
2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(callstart=2021-12-23 10:58:31)
2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [callstart]=[2021-12-23 10:58:31]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(hangup_after_bridge=true)
2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(continue_on_fail=TRUE)
2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(account_id=4)
2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [account_id]=[4]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(parent_id=0)
2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(entity_id=0)
2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(call_processed=internal)
2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(call_direction=inbound)
2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [call_direction]=[inbound]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(accountname=default)
2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [accountname]=[default]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 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 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [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:5022 set(origination_rates=0)
2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [origination_rates]=[0]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(original_caller_id_name=9693017122)
2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [original_caller_id_name]=[9693017122]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(original_caller_id_number=9693017122)
2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [original_caller_id_number]=[9693017122]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(effective_caller_id_name=9693017122)
2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [effective_caller_id_name]=[9693017122]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(effective_caller_id_number=9693017122)
2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [effective_caller_id_number]=[9693017122]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(receiver_accid=7)
2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [receiver_accid]=[7]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(did_id=2)
2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [did_id]=[2]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(transfer_call_type=4)
2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [transfer_call_type]=[4]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(transfer_extensions=)
2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [transfer_extensions]=[UNDEF]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(busy_status=1)
2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [busy_status]=[1]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(no_answer_status=1)
2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [no_answer_status]=[1]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(always_status=1)
2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [always_status]=[1]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(transfer_status=1)
2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [transfer_status]=[1]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(variable_sip_to_host=pkcall.astppbilling.org)
2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [variable_sip_to_host]=[pkcall.astppbilling.org]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 export(domain_name=payfast.astppbilling.org)
2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[payfast.astppbilling.org]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 export(sip_to_host=payfast.astppbilling.org)
2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[payfast.astppbilling.org]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 export(presence_data=x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162)
2021-12-23 10:58:31.387979 95.13% [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:5022 export(call_type=13)
2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[13]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(custom_priority=1)
2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [custom_priority]=[1]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(custom_call_id=1)
2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [custom_call_id]=[1]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(original_did_number=330444)
2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [original_did_number]=[330444]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 bridge(user/3476897547@payfast.astppbilling.org)
2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [domain_name]=[payfast.astppbilling.org] to event
2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [sip_to_host]=[payfast.astppbilling.org] to event
2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [presence_data]=[x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162] to event
2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [call_type]=[13] to event
2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2021-12-23 10:58:31.408028 95.13% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [domain_name]=[payfast.astppbilling.org] to event
2021-12-23 10:58:31.408028 95.13% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [sip_to_host]=[payfast.astppbilling.org] to event
2021-12-23 10:58:31.408028 95.13% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [presence_data]=[x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162] to event
2021-12-23 10:58:31.408028 95.13% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [call_type]=[13] to event
2021-12-23 10:58:31.408028 95.13% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2021-12-23 10:58:31.408028 95.13% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [error] cause: [USER_NOT_REGISTERED]
2021-12-23 10:58:31.408028 95.13% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED]
2021-12-23 10:58:31.408028 95.13% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [user] cause: [USER_NOT_REGISTERED]
2021-12-23 10:58:31.408028 95.13% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED]
2021-12-23 10:58:31.408028 95.13% [INFO] mod_dptools.c:3653 Originate Failed. Cause: USER_NOT_REGISTERED
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 lua(astpp/lib/pbx/astpp-custom_call_flow.lua)
2021-12-23 10:58:31.408028 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 10:58:31.429018 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 10:58:31.429018 95.13% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('custom_priority', '1')
2021-12-23 10:58:31.429018 95.13% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('no_answer_number', '(null)')
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 transfer(330444 XML default)
2021-12-23 10:58:31.429018 95.13% [DEBUG] switch_ivr.c:2289 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State Change CS_EXECUTE -> CS_ROUTING
2021-12-23 10:58:31.429018 95.13% [NOTICE] switch_ivr.c:2296 Transfer sofia/default/9693017122@pkcall.astppbilling.org:5022 to XML[330444@default]
2021-12-23 10:58:31.429018 95.13% [DEBUG] switch_cpp.cpp:1209 sofia/default/9693017122@pkcall.astppbilling.org:5022 destroy/unlink session from object
2021-12-23 10:58:31.429018 95.13% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State EXECUTE going to sleep
2021-12-23 10:58:31.429018 95.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Running State Change CS_ROUTING (Cur 1 Tot 23)
2021-12-23 10:58:31.429018 95.13% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State ROUTING
2021-12-23 10:58:31.429018 95.13% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
2021-12-23 10:58:31.429018 95.13% [DEBUG] mod_sofia.c:158 sofia/default/9693017122@pkcall.astppbilling.org:5022 SOFIA ROUTING
2021-12-23 10:58:31.429018 95.13% [DEBUG] switch_core_state_machine.c:230 sofia/default/9693017122@pkcall.astppbilling.org:5022 Standard ROUTING
2021-12-23 10:58:31.429018 95.13% [INFO] mod_dialplan_xml.c:639 Processing 9693017122 <9693017122>->330444 in context default
2021-12-23 10:58:31.429018 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 10:58:31.429018 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-23 10:58:31.429018 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2021-12-23 10:58:31.429018 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 330444
2021-12-23 10:58:31.429018 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 10:58:31.429018 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 10:58:31.429018 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 10:58:31.429018 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER9693017122
2021-12-23 10:58:31.429018 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-23 10:58:31.429018 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 10:58:31.468028 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 10:58:31.468028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 9693017122 / 9693017122
2021-12-23 10:58:31.468028 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 10:58:31.468028 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 10:58:31.468028 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-23 10:58:31.468028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
2021-12-23 10:58:31.468028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9693017122]
2021-12-23 10:58:31.468028 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9693017122" AND deleted = 0 limit 1
2021-12-23 10:58:31.468028 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 10:58:31.488027 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
2021-12-23 10:58:31.488027 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 7
2021-12-23 10:58:31.488027 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 10:58:31.488027 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 = '4' limit 1
2021-12-23 10:58:31.488027 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 330444
2021-12-23 10:58:31.488027 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 10:58:31.488027 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 10:58:31.488027 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-23 10:58:31.488027 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
2021-12-23 10:58:31.488027 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 10:58:31.488027 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2021-12-23 10:58:31.488027 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 = 0 limit 1
2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 4
2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9693017122
2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 394.7
2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2021-12-23 10:58:31.508028 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2021-12-23 10:58:31.508028 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
2021-12-23 10:58:31.508028 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 10:58:31.508028 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 10:58:31.508028 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound
2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2
2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 330444
2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 4
2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your394.7 balance Accountid 4 !!!
2021-12-23 10:58:31.508028 95.13% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100
2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
2021-12-23 10:58:31.508028 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 = 4 AND status=0 LIMIT 1
2021-12-23 10:58:31.508028 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1
2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:4
2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:4
2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 4
2021-12-23 10:58:31.508028 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
2021-12-23 10:58:31.508028 95.13% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : payfast.astppbilling.org
2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2021-12-23 10:58:31.508028 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
2021-12-23 10:58:31.508028 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 10:58:31.508028 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
2021-12-23 10:58:31.508028 95.13% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : payfast.astppbilling.org
2021-12-23 10:58:31.508028 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 10:58:31.508028 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_13
2021-12-23 10:58:31.508028 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] custom_function_name::::::::::1343:::::::::::::::2
2021-12-23 10:58:31.508028 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] custom_call_id 1
2021-12-23 10:58:31.508028 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 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] priority_array : 2
2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] priority : 2
2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] no_answer_call_type : 14
2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] extensions : 12
2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] condition_value['extensions']::12
2021-12-23 10:58:31.508028 95.13% [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 10:58:31.528030 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== music_file_name=File name==================file_examp_.wav
2021-12-23 10:58:31.528030 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="330444">
<condition field="destination_number" expression="330444">
<action application="set" data="effective_destination_number=330444"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
<action application="set" data="callstart=2021-12-23 10:58:31"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=4"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=inbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="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"/>
<action application="set" data="origination_rates=0"/>
<action application="set" data="original_caller_id_name=9693017122"/>
<action application="set" data="original_caller_id_number=9693017122"/>
<action application="set" data="effective_caller_id_name=9693017122"/>
<action application="set" data="effective_caller_id_number=9693017122"/>
<action application="set" data="receiver_accid=7"/>
<action application="set" data="did_id=2"/>
<action application="set" data="transfer_call_type=4"/>
<action application="set" data="transfer_extensions="/>
<action application="set" data="busy_status=1"/>
<action application="set" data="no_answer_status=1"/>
<action application="set" data="always_status=1"/>
<action application="set" data="transfer_status=1"/>
<action application="set" data="variable_sip_to_host=${domain_name}"/>
<action application="export" data="domain_name=payfast.astppbilling.org"/>
<action application="export" data="sip_to_host=payfast.astppbilling.org"/>
<action application="export" data="presence_data=x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162"/>
<action application="export" data="call_type=13"/>
<action application="set" data="custom_priority=2"/>
<action application="set" data="custom_call_id=1"/>
<action application="set" data="original_did_number=330444"/>
<action application="answer"/>
<action application="playback" data="/var/www/html/astpp//upload/pbx/file_examp_.wav"/>
<action application="lua" data="astpp/lib/pbx/astpp-custom_call_flow.lua"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 parsing [default->330444] continue=false
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Regex (PASS) [330444] destination_number(330444) =~ /330444/ break=on-false
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(effective_destination_number=330444)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(callstart=2021-12-23 10:58:31)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(account_id=4)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(parent_id=0)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(entity_id=0)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(call_processed=internal)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(call_direction=inbound)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(accountname=default)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 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:5022 Action set(origination_rates=0)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(original_caller_id_name=9693017122)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(original_caller_id_number=9693017122)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(effective_caller_id_name=9693017122)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(effective_caller_id_number=9693017122)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(receiver_accid=7)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(did_id=2)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(transfer_call_type=4)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(transfer_extensions=)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(busy_status=1)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(no_answer_status=1)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(always_status=1)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(transfer_status=1)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(variable_sip_to_host=${domain_name})
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(domain_name=payfast.astppbilling.org)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(sip_to_host=payfast.astppbilling.org)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(presence_data=x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(call_type=13)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(custom_priority=2)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(custom_call_id=1)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(original_did_number=330444)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action answer()
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action playback(/var/www/html/astpp//upload/pbx/file_examp_.wav)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action lua(astpp/lib/pbx/astpp-custom_call_flow.lua)
2021-12-23 10:58:31.528030 95.13% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State Change CS_ROUTING -> CS_EXECUTE
2021-12-23 10:58:31.528030 95.13% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State ROUTING going to sleep
2021-12-23 10:58:31.528030 95.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Running State Change CS_EXECUTE (Cur 1 Tot 23)
2021-12-23 10:58:31.528030 95.13% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State EXECUTE
2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_sofia.c:213 sofia/default/9693017122@pkcall.astppbilling.org:5022 SOFIA EXECUTE
2021-12-23 10:58:31.528030 95.13% [DEBUG] switch_core_state_machine.c:323 sofia/default/9693017122@pkcall.astppbilling.org:5022 Standard EXECUTE
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(effective_destination_number=330444)
2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [effective_destination_number]=[330444]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(bridge_pre_execute_bleg_app=sched_hangup)
2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(callstart=2021-12-23 10:58:31)
2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [callstart]=[2021-12-23 10:58:31]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(hangup_after_bridge=true)
2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(continue_on_fail=TRUE)
2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(account_id=4)
2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [account_id]=[4]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(parent_id=0)
2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(entity_id=0)
2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(call_processed=internal)
2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(call_direction=inbound)
2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [call_direction]=[inbound]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(accountname=default)
2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [accountname]=[default]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 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 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [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:5022 set(origination_rates=0)
2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [origination_rates]=[0]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(original_caller_id_name=9693017122)
2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [original_caller_id_name]=[9693017122]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(original_caller_id_number=9693017122)
2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [original_caller_id_number]=[9693017122]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(effective_caller_id_name=9693017122)
2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [effective_caller_id_name]=[9693017122]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(effective_caller_id_number=9693017122)
2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [effective_caller_id_number]=[9693017122]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(receiver_accid=7)
2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [receiver_accid]=[7]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(did_id=2)
2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [did_id]=[2]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(transfer_call_type=4)
2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [transfer_call_type]=[4]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(transfer_extensions=)
2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [transfer_extensions]=[UNDEF]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(busy_status=1)
2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [busy_status]=[1]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(no_answer_status=1)
2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [no_answer_status]=[1]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(always_status=1)
2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [always_status]=[1]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(transfer_status=1)
2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [transfer_status]=[1]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(variable_sip_to_host=payfast.astppbilling.org)
2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [variable_sip_to_host]=[payfast.astppbilling.org]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 export(domain_name=payfast.astppbilling.org)
2021-12-23 10:58:31.528030 95.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[payfast.astppbilling.org]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 export(sip_to_host=payfast.astppbilling.org)
2021-12-23 10:58:31.528030 95.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[payfast.astppbilling.org]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 export(presence_data=x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162)
2021-12-23 10:58:31.528030 95.13% [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:5022 export(call_type=13)
2021-12-23 10:58:31.528030 95.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[13]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(custom_priority=2)
2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [custom_priority]=[2]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(custom_call_id=1)
2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [custom_call_id]=[1]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(original_did_number=330444)
2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [original_did_number]=[330444]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 answer()
2021-12-23 10:58:31.528030 95.13% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/9693017122@pkcall.astppbilling.org:5022] 172.31.43.241 port 31804 -> 117.247.91.162 port 8000 codec: 8 ms: 20
2021-12-23 10:58:31.528030 95.13% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2021-12-23 10:58:31.528030 95.13% [DEBUG] switch_core_media.c:9089 sofia/default/9693017122@pkcall.astppbilling.org:5022 Set 2833 dtmf send payload to 101
2021-12-23 10:58:31.528030 95.13% [DEBUG] switch_core_media.c:9096 sofia/default/9693017122@pkcall.astppbilling.org:5022 Set 2833 dtmf receive payload to 101
2021-12-23 10:58:31.528030 95.13% [DEBUG] switch_core_media.c:9119 sofia/default/9693017122@pkcall.astppbilling.org:5022 Set rtp dtmf delay to 40
2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/9693017122@pkcall.astppbilling.org:5022:
v=0
o=FreeSWITCH 1640225307 1640225308 IN IP4 3.23.127.90
s=FreeSWITCH
c=IN IP4 3.23.127.90
t=0 0
m=audio 31804 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 10:58:31.528030 95.13% [DEBUG] sofia.c:7499 Channel sofia/default/9693017122@pkcall.astppbilling.org:5022 entering state [completed][200]
2021-12-23 10:58:31.528030 95.13% [NOTICE] mod_dptools.c:1419 Channel [sofia/default/9693017122@pkcall.astppbilling.org:5022] has been answered
2021-12-23 10:58:31.528030 95.13% [DEBUG] switch_channel.c:3950 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Callstate Change RINGING -> ACTIVE
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 playback(/var/www/html/astpp//upload/pbx/file_examp_.wav)
2021-12-23 10:58:31.548029 95.13% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur.
2021-12-23 10:58:31.548029 95.13% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
2021-12-23 10:58:31.808045 95.13% [DEBUG] sofia.c:7499 Channel sofia/default/9693017122@pkcall.astppbilling.org:5022 entering state [ready][200]
2021-12-23 10:58:31.828054 95.13% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2021-12-23 10:59:05.068046 95.77% [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:5022 lua(astpp/lib/pbx/astpp-custom_call_flow.lua)
2021-12-23 10:59:05.088029 95.77% [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 10:59:05.088029 95.77% [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 10:59:05.088029 95.77% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('custom_priority', '2')
2021-12-23 10:59:05.088029 95.77% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('no_answer_number', '(null)')
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 transfer(330444 XML default)
2021-12-23 10:59:05.088029 95.77% [DEBUG] switch_ivr.c:2289 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State Change CS_EXECUTE -> CS_ROUTING
2021-12-23 10:59:05.088029 95.77% [NOTICE] switch_ivr.c:2296 Transfer sofia/default/9693017122@pkcall.astppbilling.org:5022 to XML[330444@default]
2021-12-23 10:59:05.108034 95.77% [DEBUG] switch_cpp.cpp:1209 sofia/default/9693017122@pkcall.astppbilling.org:5022 destroy/unlink session from object
2021-12-23 10:59:05.108034 95.77% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State EXECUTE going to sleep
2021-12-23 10:59:05.108034 95.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Running State Change CS_ROUTING (Cur 1 Tot 23)
2021-12-23 10:59:05.108034 95.77% [DEBUG] switch_channel.c:2380 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Callstate Change ACTIVE -> RINGING
2021-12-23 10:59:05.108034 95.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State ROUTING
2021-12-23 10:59:05.108034 95.77% [DEBUG] mod_sofia.c:158 sofia/default/9693017122@pkcall.astppbilling.org:5022 SOFIA ROUTING
2021-12-23 10:59:05.108034 95.77% [DEBUG] switch_core_state_machine.c:230 sofia/default/9693017122@pkcall.astppbilling.org:5022 Standard ROUTING
2021-12-23 10:59:05.108034 95.77% [INFO] mod_dialplan_xml.c:639 Processing 9693017122 <9693017122>->330444 in context default
2021-12-23 10:59:05.108034 95.77% [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 10:59:05.108034 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-23 10:59:05.108034 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2021-12-23 10:59:05.108034 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 330444
2021-12-23 10:59:05.108034 95.77% [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 10:59:05.108034 95.77% [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 10:59:05.108034 95.77% [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 10:59:05.108034 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER9693017122
2021-12-23 10:59:05.108034 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-23 10:59:05.128033 95.77% [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 10:59:05.128033 95.77% [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 10:59:05.128033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 9693017122 / 9693017122
2021-12-23 10:59:05.128033 95.77% [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 10:59:05.128033 95.77% [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 10:59:05.128033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-23 10:59:05.128033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
2021-12-23 10:59:05.128033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9693017122]
2021-12-23 10:59:05.128033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9693017122" AND deleted = 0 limit 1
2021-12-23 10:59:05.148051 95.77% [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 10:59:05.148051 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
2021-12-23 10:59:05.148051 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 7
2021-12-23 10:59:05.148051 95.77% [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 10:59:05.148051 95.77% [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 10:59:05.148051 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 330444
2021-12-23 10:59:05.148051 95.77% [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 10:59:05.148051 95.77% [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 10:59:05.148051 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-23 10:59:05.148051 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
2021-12-23 10:59:05.148051 95.77% [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 10:59:05.168033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2021-12-23 10:59:05.168033 95.77% [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 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 4
2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9693017122
2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 394.7
2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2021-12-23 10:59:05.168033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2021-12-23 10:59:05.168033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
2021-12-23 10:59:05.168033 95.77% [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 10:59:05.168033 95.77% [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 10:59:05.168033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound
2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2
2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 330444
2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 4
2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your394.7 balance Accountid 4 !!!
2021-12-23 10:59:05.168033 95.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100
2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
2021-12-23 10:59:05.168033 95.77% [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 10:59:05.168033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1
2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:4
2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:4
2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 4
2021-12-23 10:59:05.168033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
2021-12-23 10:59:05.168033 95.77% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : payfast.astppbilling.org
2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2021-12-23 10:59:05.168033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
2021-12-23 10:59:05.168033 95.77% [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 10:59:05.168033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
2021-12-23 10:59:05.188033 95.77% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : payfast.astppbilling.org
2021-12-23 10:59:05.188033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 7 and status = 0 limit 1
2021-12-23 10:59:05.188033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_13
2021-12-23 10:59:05.188033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] custom_function_name::::::::::1343:::::::::::::::2
2021-12-23 10:59:05.188033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] custom_call_id 1
2021-12-23 10:59:05.188033 95.77% [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 10:59:05.188033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] priority_array : 3
2021-12-23 10:59:05.188033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] priority : 3
2021-12-23 10:59:05.188033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] no_answer_call_type : 7
2021-12-23 10:59:05.188033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] extensions : 5
2021-12-23 10:59:05.188033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] call_type : Ring group
2021-12-23 10:59:05.188033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET RING GROUP INFO] Query :SELECT id as ringgroup_id,name as ringgroup_name,strategy as ringgroup_strategy,destinations as ringgroup_destinations,description as ringgroup_description,announcementid as ringgroup_announcementid,call_record as ringgroup_call_record,skip_busy as ringgroup_skip_busy,ringbackid as ringgroup_ringbackid,calleridname as ringgroup_calleridname,calleridnumber as ringgroup_calleridnumber,no_answer as ringgroup_no_answer,no_answer_call_type as no_answer_call_type,no_answer_call_type_value,music_on_hold_type,music_on_hold from pbx_ringgroup WHERE id = 5 and status = 0 LIMIT 1
2021-12-23 10:59:05.188033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== ringgroup_dlr_str h========Count==========={"destination_1":"7135873514","delay_1":"0","time_out_1":"0","Promptdropdown_1":"1","destination_2":"6258825497","delay_2":"0","time_out_2":"0","Promptdropdown_2":"1","destination_3":"330000500055#","delay_3":"0","time_out_3":"0","Promptdropdown_3":"1"}
span style="color: green; font-weight: bold;"> 2021-12-23 10:59:05.188033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== announcement====Count===============12
2021-12-23 10:59:05.188033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== announcement===================0
2021-12-23 10:59:05.188033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== final_count========final_count===========0===
2021-12-23 10:59:05.188033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== final_count========final_count===========0===
2021-12-23 10:59:05.188033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== final_count========final_count===========0===
2021-12-23 10:59:05.188033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== ring_group_recording===================0
2021-12-23 10:59:05.188033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== ringgroup_dlr_str===================[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=4,call_timeout=0,confirm=false,announcement=no_file,dialed_user=7135873514,leg_timeout=0,leg_delay_start=0]user/7135873514@payfast.astppbilling.org|[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=4,call_timeout=0,confirm=false,announcement=no_file,dialed_user=6258825497,leg_timeout=0,leg_delay_start=0]user/6258825497@payfast.astppbilling.org|[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=4,call_timeout=0,confirm=false,announcement=no_file,dialed_user=330000500055#,leg_timeout=0,leg_delay_start=0]sofia/${sofia_profile_name}/330000500055@payfast.astppbilling.org|
span style="color: green; font-weight: bold;"> 2021-12-23 10:59:05.188033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '' LIMIT 1
2021-12-23 10:59:05.188033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="330444">
<condition field="destination_number" expression="330444">
<action application="set" data="effective_destination_number=330444"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
<action application="set" data="callstart=2021-12-23 10:59:05"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=4"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=inbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="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"/>
<action application="set" data="origination_rates=0"/>
<action application="set" data="original_caller_id_name=9693017122"/>
<action application="set" data="original_caller_id_number=9693017122"/>
<action application="set" data="effective_caller_id_name=9693017122"/>
<action application="set" data="effective_caller_id_number=9693017122"/>
<action application="set" data="receiver_accid=7"/>
<action application="set" data="did_id=2"/>
<action application="set" data="transfer_call_type=4"/>
<action application="set" data="transfer_extensions="/>
<action application="set" data="busy_status=1"/>
<action application="set" data="no_answer_status=1"/>
<action application="set" data="always_status=1"/>
<action application="set" data="transfer_status=1"/>
<action application="set" data="variable_sip_to_host=${domain_name}"/>
<action application="export" data="domain_name=payfast.astppbilling.org"/>
<action application="export" data="sip_to_host=payfast.astppbilling.org"/>
<action application="export" data="presence_data=x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162"/>
<action application="export" data="call_type=13"/>
<action application="set" data="custom_priority=3"/>
<action application="set" data="custom_call_id=1"/>
<action application="set" data="original_did_number=330444"/>
<action application="set" data="group_confirm_key=exec"/>
<action application="set" data="group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua"/>
<action application="export" data="is_recording=1"/>
<action application="export" data="media_bug_answer_req=true"/>
<action application="export" data="RECORD_STEREO=true"/>
<action application="export" data="record_sample_rate=8000"/>
<action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
<action application="set" data="ringback="/>
<action application="set" data="module_name=pbx"/>
<action application="bridge" data="{sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=4}[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=4,call_timeout=0,confirm=false,announcement=no_file,dialed_user=7135873514,leg_timeout=0,leg_delay_start=0]user/7135873514@payfast.astppbilling.org|[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=4,call_timeout=0,confirm=false,announcement=no_file,dialed_user=6258825497,leg_timeout=0,leg_delay_start=0]user/6258825497@payfast.astppbilling.org|[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=4,call_timeout=0,confirm=false,announcement=no_file,dialed_user=330000500055#,leg_timeout=0,leg_delay_start=0]sofia/${sofia_profile_name}/330000500055@payfast.astppbilling.org|"/>
<action application="lua" data="astpp/lib/pbx/astpp-custom_call_flow.lua"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 parsing [default->330444] continue=false
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Regex (PASS) [330444] destination_number(330444) =~ /330444/ break=on-false
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(effective_destination_number=330444)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(callstart=2021-12-23 10:59:05)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(account_id=4)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(parent_id=0)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(entity_id=0)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(call_processed=internal)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(call_direction=inbound)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(accountname=default)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 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:5022 Action set(origination_rates=0)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(original_caller_id_name=9693017122)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(original_caller_id_number=9693017122)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(effective_caller_id_name=9693017122)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(effective_caller_id_number=9693017122)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(receiver_accid=7)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(did_id=2)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(transfer_call_type=4)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(transfer_extensions=)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(busy_status=1)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(no_answer_status=1)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(always_status=1)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(transfer_status=1)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(variable_sip_to_host=${domain_name})
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(domain_name=payfast.astppbilling.org)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(sip_to_host=payfast.astppbilling.org)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(presence_data=x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(call_type=13)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(custom_priority=3)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(custom_call_id=1)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(original_did_number=330444)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(group_confirm_key=exec)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(is_recording=1)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(media_bug_answer_req=true)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(RECORD_STEREO=true)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(record_sample_rate=8000)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(ringback=)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(module_name=pbx)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action bridge({sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=4}[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=4,call_timeout=0,confirm=false,announcement=no_file,dialed_user=7135873514,leg_timeout=0,leg_delay_start=0]user/7135873514@payfast.astppbilling.org|[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=4,call_timeout=0,confirm=false,announcement=no_file,dialed_user=6258825497,leg_timeout=0,leg_delay_start=0]user/6258825497@payfast.astppbilling.org|[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=4,call_timeout=0,confirm=false,announcement=no_file,dialed_user=330000500055#,leg_timeout=0,leg_delay_start=0]sofia/${sofia_profile_name}/330000500055@payfast.astppbilling.org|)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action lua(astpp/lib/pbx/astpp-custom_call_flow.lua)
2021-12-23 10:59:05.188033 95.77% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State Change CS_ROUTING -> CS_EXECUTE
2021-12-23 10:59:05.188033 95.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State ROUTING going to sleep
2021-12-23 10:59:05.188033 95.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Running State Change CS_EXECUTE (Cur 1 Tot 23)
2021-12-23 10:59:05.188033 95.77% [DEBUG] switch_channel.c:2382 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Callstate Change RINGING -> ACTIVE
2021-12-23 10:59:05.188033 95.77% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State EXECUTE
2021-12-23 10:59:05.188033 95.77% [DEBUG] mod_sofia.c:213 sofia/default/9693017122@pkcall.astppbilling.org:5022 SOFIA EXECUTE
2021-12-23 10:59:05.188033 95.77% [DEBUG] switch_core_state_machine.c:323 sofia/default/9693017122@pkcall.astppbilling.org:5022 Standard EXECUTE
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(effective_destination_number=330444)
2021-12-23 10:59:05.188033 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [effective_destination_number]=[330444]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(bridge_pre_execute_bleg_app=sched_hangup)
2021-12-23 10:59:05.188033 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2021-12-23 10:59:05.188033 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(callstart=2021-12-23 10:59:05)
2021-12-23 10:59:05.188033 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [callstart]=[2021-12-23 10:59:05]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(hangup_after_bridge=true)
2021-12-23 10:59:05.188033 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(continue_on_fail=TRUE)
2021-12-23 10:59:05.188033 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(account_id=4)
2021-12-23 10:59:05.188033 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [account_id]=[4]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(parent_id=0)
2021-12-23 10:59:05.188033 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(entity_id=0)
2021-12-23 10:59:05.188033 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(call_processed=internal)
2021-12-23 10:59:05.188033 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(call_direction=inbound)
2021-12-23 10:59:05.188033 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [call_direction]=[inbound]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(accountname=default)
2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [accountname]=[default]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 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 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [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:5022 set(origination_rates=0)
2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [origination_rates]=[0]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(original_caller_id_name=9693017122)
2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [original_caller_id_name]=[9693017122]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(original_caller_id_number=9693017122)
2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [original_caller_id_number]=[9693017122]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(effective_caller_id_name=9693017122)
2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [effective_caller_id_name]=[9693017122]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(effective_caller_id_number=9693017122)
2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [effective_caller_id_number]=[9693017122]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(receiver_accid=7)
2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [receiver_accid]=[7]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(did_id=2)
2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [did_id]=[2]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(transfer_call_type=4)
2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [transfer_call_type]=[4]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(transfer_extensions=)
2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [transfer_extensions]=[UNDEF]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(busy_status=1)
2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [busy_status]=[1]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(no_answer_status=1)
2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [no_answer_status]=[1]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(always_status=1)
2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [always_status]=[1]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(transfer_status=1)
2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [transfer_status]=[1]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(variable_sip_to_host=payfast.astppbilling.org)
2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [variable_sip_to_host]=[payfast.astppbilling.org]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 export(domain_name=payfast.astppbilling.org)
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[payfast.astppbilling.org]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 export(sip_to_host=payfast.astppbilling.org)
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[payfast.astppbilling.org]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 export(presence_data=x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162)
2021-12-23 10:59:05.208063 95.77% [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:5022 export(call_type=13)
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[13]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(custom_priority=3)
2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [custom_priority]=[3]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(custom_call_id=1)
2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [custom_call_id]=[1]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(original_did_number=330444)
2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [original_did_number]=[330444]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(group_confirm_key=exec)
2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [group_confirm_key]=[exec]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [group_confirm_file]=[lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 export(is_recording=1)
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 export(media_bug_answer_req=true)
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 export(RECORD_STEREO=true)
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [RECORD_STEREO]=[true]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 export(record_sample_rate=8000)
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 export(execute_on_answer=record_session /var/lib/freeswitch/recordings/37d106b5-4327-42fb-93a5-723dd0e6d213.wav)
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/37d106b5-4327-42fb-93a5-723dd0e6d213.wav]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(ringback=)
2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [ringback]=[UNDEF]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(module_name=pbx)
2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [module_name]=[pbx]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 bridge({sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=4}[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=4,call_timeout=0,confirm=false,announcement=no_file,dialed_user=7135873514,leg_timeout=0,leg_delay_start=0]user/7135873514@payfast.astppbilling.org|[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=4,call_timeout=0,confirm=false,announcement=no_file,dialed_user=6258825497,leg_timeout=0,leg_delay_start=0]user/6258825497@payfast.astppbilling.org|[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=4,call_timeout=0,confirm=false,announcement=no_file,dialed_user=330000500055#,leg_timeout=0,leg_delay_start=0]sofia/default/330000500055@payfast.astppbilling.org|)
span style="color: goldenrod; font-weight: bold;"> 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1954 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Callstate Change ACTIVE -> RING_WAIT
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [domain_name]=[payfast.astppbilling.org] to event
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [sip_to_host]=[payfast.astppbilling.org] to event
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [presence_data]=[x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162] to event
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [call_type]=[13] to event
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [domain_name]=[payfast.astppbilling.org] to event
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [sip_to_host]=[payfast.astppbilling.org] to event
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [presence_data]=[x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162] to event
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [call_type]=[13] to event
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [domain_name]=[payfast.astppbilling.org] to event
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [sip_to_host]=[payfast.astppbilling.org] to event
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [presence_data]=[x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162] to event
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [call_type]=[13] to event
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [is_recording]=[1] to event
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/37d106b5-4327-42fb-93a5-723dd0e6d213.wav] to event
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [domain_name]=[payfast.astppbilling.org] to event
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [sip_to_host]=[payfast.astppbilling.org] to event
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [presence_data]=[x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162] to event
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [call_type]=[13] to event
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [domain_name]=[payfast.astppbilling.org] to event
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [sip_to_host]=[payfast.astppbilling.org] to event
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [presence_data]=[x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162] to event
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [call_type]=[13] to event
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [domain_name]=[payfast.astppbilling.org] to event
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [sip_to_host]=[payfast.astppbilling.org] to event
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [presence_data]=[x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162] to event
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [call_type]=[13] to event
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [is_recording]=[1] to event
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/37d106b5-4327-42fb-93a5-723dd0e6d213.wav] to event
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2021-12-23 10:59:05.208063 95.77% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [error] cause: [USER_NOT_REGISTERED]
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED]
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:2178 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Callstate Change RING_WAIT -> ACTIVE
2021-12-23 10:59:05.208063 95.77% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [user] cause: [USER_NOT_REGISTERED]
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED]
2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_channel.c:1954 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Callstate Change ACTIVE -> RING_WAIT
2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [domain_name]=[payfast.astppbilling.org] to event
2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [sip_to_host]=[payfast.astppbilling.org] to event
2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [presence_data]=[x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162] to event
2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [call_type]=[13] to event
2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [domain_name]=[payfast.astppbilling.org] to event
2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [sip_to_host]=[payfast.astppbilling.org] to event
2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [presence_data]=[x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162] to event
2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [call_type]=[13] to event
2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [domain_name]=[payfast.astppbilling.org] to event
2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [sip_to_host]=[payfast.astppbilling.org] to event
2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [presence_data]=[x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162] to event
2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [call_type]=[13] to event
2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [is_recording]=[1] to event
2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/37d106b5-4327-42fb-93a5-723dd0e6d213.wav] to event
2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2021-12-23 10:59:05.228032 95.77% [NOTICE] switch_channel.c:1123 New Channel sofia/default/6258825497@49.34.152.238:54190 [a10ac3ef-5036-4dee-8e61-cd1b97cb09d0]
2021-12-23 10:59:05.228032 95.77% [DEBUG] mod_sofia.c:5121 (sofia/default/6258825497@49.34.152.238:54190) State Change CS_NEW -> CS_INIT
2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_channel.c:2178 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Callstate Change RING_WAIT -> ACTIVE
2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6258825497@49.34.152.238:54190) Running State Change CS_INIT (Cur 2 Tot 24)
2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6258825497@49.34.152.238:54190) State INIT
2021-12-23 10:59:05.228032 95.77% [DEBUG] mod_sofia.c:97 sofia/default/6258825497@49.34.152.238:54190 SOFIA INIT
2021-12-23 10:59:05.228032 95.77% [DEBUG] sofia_glue.c:1620 sip:6258825497@49.34.152.238:39489;transport=TCP;rinstance=a6b91da4ad111090 Setting proxy route to sofia/default/6258825497@49.34.152.238:54190
2021-12-23 10:59:05.228032 95.77% [INFO] sofia_glue.c:1651 sofia/default/6258825497@49.34.152.238:54190 sending invite call-id: (null)
2021-12-23 10:59:05.228032 95.77% [DEBUG] sofia_glue.c:1654 sofia/default/6258825497@49.34.152.238:54190 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
Local SDP:
v=0
o=FreeSWITCH 1640238549 1640238550 IN IP4 3.23.127.90
s=FreeSWITCH
c=IN IP4 3.23.127.90
t=0 0
m=audio 18596 RTP/AVP 8 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_core_state_machine.c:40 sofia/default/6258825497@49.34.152.238:54190 Standard INIT
2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_core_state_machine.c:48 (sofia/default/6258825497@49.34.152.238:54190) State Change CS_INIT -> CS_ROUTING
2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6258825497@49.34.152.238:54190) State INIT going to sleep
2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6258825497@49.34.152.238:54190) Running State Change CS_ROUTING (Cur 2 Tot 24)
2021-12-23 10:59:05.228032 95.77% [DEBUG] sofia.c:7499 Channel sofia/default/6258825497@49.34.152.238:54190 entering state [calling][0]
2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6258825497@49.34.152.238:54190) State ROUTING
2021-12-23 10:59:05.228032 95.77% [DEBUG] mod_sofia.c:158 sofia/default/6258825497@49.34.152.238:54190 SOFIA ROUTING
2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_ivr_originate.c:67 (sofia/default/6258825497@49.34.152.238:54190) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6258825497@49.34.152.238:54190) State ROUTING going to sleep
2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6258825497@49.34.152.238:54190) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 24)
2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_core_state_machine.c:659 (sofia/default/6258825497@49.34.152.238:54190) State CONSUME_MEDIA
2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_core_state_machine.c:659 (sofia/default/6258825497@49.34.152.238:54190) State CONSUME_MEDIA going to sleep
2021-12-23 10:59:06.688050 94.40% [DEBUG] sofia.c:7499 Channel sofia/default/6258825497@49.34.152.238:54190 entering state [proceeding][180]
2021-12-23 10:59:06.688050 94.40% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/6258825497@49.34.152.238:54190!
2021-12-23 10:59:06.688050 94.40% [DEBUG] switch_channel.c:3494 (sofia/default/6258825497@49.34.152.238:54190) Callstate Change DOWN -> RINGING
2021-12-23 10:59:12.908043 94.40% [DEBUG] sofia.c:7499 Channel sofia/default/6258825497@49.34.152.238:54190 entering state [terminated][486]
2021-12-23 10:59:12.908043 94.40% [NOTICE] sofia.c:8738 Hangup sofia/default/6258825497@49.34.152.238:54190 [CS_CONSUME_MEDIA] [USER_BUSY]
2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6258825497@49.34.152.238:54190) Running State Change CS_HANGUP (Cur 2 Tot 24)
2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:844 (sofia/default/6258825497@49.34.152.238:54190) Callstate Change RINGING -> HANGUP
2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6258825497@49.34.152.238:54190) State HANGUP
2021-12-23 10:59:12.908043 94.40% [DEBUG] mod_sofia.c:468 Channel sofia/default/6258825497@49.34.152.238:54190 hanging up, cause: USER_BUSY
2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:59 sofia/default/6258825497@49.34.152.238:54190 Standard HANGUP, cause: USER_BUSY
2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6258825497@49.34.152.238:54190) State HANGUP going to sleep
2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:616 (sofia/default/6258825497@49.34.152.238:54190) State Change CS_HANGUP -> CS_REPORTING
2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6258825497@49.34.152.238:54190) Running State Change CS_REPORTING (Cur 2 Tot 24)
2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6258825497@49.34.152.238:54190) State REPORTING
2021-12-23 10:59:12.908043 94.40% [INFO] mod_json_cdr.c:271 Process [a10ac3ef-5036-4dee-8e61-cd1b97cb09d0.cdr.json]
2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:168 sofia/default/6258825497@49.34.152.238:54190 Standard REPORTING, cause: USER_BUSY
2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6258825497@49.34.152.238:54190) State REPORTING going to sleep
2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:607 (sofia/default/6258825497@49.34.152.238:54190) State Change CS_REPORTING -> CS_DESTROY
2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_session.c:1753 Session 24 (sofia/default/6258825497@49.34.152.238:54190) Locked, Waiting on external entities
2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 17 [USER_BUSY]
2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2021-12-23 10:59:12.908043 94.40% [NOTICE] switch_channel.c:1123 New Channel sofia/default/330000500055@payfast.astppbilling.org [491a42c9-6a4a-4e0e-9ee1-d946acbdb4a4]
2021-12-23 10:59:12.908043 94.40% [DEBUG] mod_sofia.c:5121 (sofia/default/330000500055@payfast.astppbilling.org) State Change CS_NEW -> CS_INIT
2021-12-23 10:59:12.908043 94.40% [NOTICE] switch_core_session.c:1771 Session 24 (sofia/default/6258825497@49.34.152.238:54190) Ended
2021-12-23 10:59:12.908043 94.40% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/6258825497@49.34.152.238:54190 [CS_DESTROY]
2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:735 (sofia/default/6258825497@49.34.152.238:54190) Running State Change CS_DESTROY (Cur 2 Tot 25)
2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6258825497@49.34.152.238:54190) State DESTROY
2021-12-23 10:59:12.908043 94.40% [DEBUG] mod_sofia.c:379 sofia/default/6258825497@49.34.152.238:54190 SOFIA DESTROY
2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:175 sofia/default/6258825497@49.34.152.238:54190 Standard DESTROY
2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6258825497@49.34.152.238:54190) State DESTROY going to sleep
2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/330000500055@payfast.astppbilling.org) Running State Change CS_INIT (Cur 2 Tot 25)
2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:624 (sofia/default/330000500055@payfast.astppbilling.org) State INIT
2021-12-23 10:59:12.908043 94.40% [DEBUG] mod_sofia.c:97 sofia/default/330000500055@payfast.astppbilling.org SOFIA INIT
2021-12-23 10:59:12.908043 94.40% [INFO] sofia_glue.c:1651 sofia/default/330000500055@payfast.astppbilling.org sending invite call-id: (null)
2021-12-23 10:59:12.908043 94.40% [DEBUG] sofia_glue.c:1654 sofia/default/330000500055@payfast.astppbilling.org sending invite version: 1.10.7 -release-19-883d2cb662 64bit
Local SDP:
v=0
o=FreeSWITCH 1640240626 1640240627 IN IP4 3.23.127.90
s=FreeSWITCH
c=IN IP4 3.23.127.90
t=0 0
m=audio 16526 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 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:40 sofia/default/330000500055@payfast.astppbilling.org Standard INIT
2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:48 (sofia/default/330000500055@payfast.astppbilling.org) State Change CS_INIT -> CS_ROUTING
2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:624 (sofia/default/330000500055@payfast.astppbilling.org) State INIT going to sleep
2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/330000500055@payfast.astppbilling.org) Running State Change CS_ROUTING (Cur 2 Tot 25)
2021-12-23 10:59:12.908043 94.40% [DEBUG] sofia.c:7499 Channel sofia/default/330000500055@payfast.astppbilling.org entering state [calling][0]
2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:640 (sofia/default/330000500055@payfast.astppbilling.org) State ROUTING
2021-12-23 10:59:12.908043 94.40% [DEBUG] mod_sofia.c:158 sofia/default/330000500055@payfast.astppbilling.org SOFIA ROUTING
2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_ivr_originate.c:67 (sofia/default/330000500055@payfast.astppbilling.org) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:640 (sofia/default/330000500055@payfast.astppbilling.org) State ROUTING going to sleep
2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/330000500055@payfast.astppbilling.org) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 25)
2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:659 (sofia/default/330000500055@payfast.astppbilling.org) State CONSUME_MEDIA
2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:659 (sofia/default/330000500055@payfast.astppbilling.org) State CONSUME_MEDIA going to sleep
2021-12-23 10:59:12.928038 94.40% [DEBUG] sofia.c:7499 Channel sofia/default/330000500055@payfast.astppbilling.org entering state [terminated][503]
2021-12-23 10:59:12.928038 94.40% [NOTICE] sofia.c:8738 Hangup sofia/default/330000500055@payfast.astppbilling.org [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
2021-12-23 10:59:12.928038 94.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/330000500055@payfast.astppbilling.org) Running State Change CS_HANGUP (Cur 2 Tot 25)
2021-12-23 10:59:12.928038 94.40% [DEBUG] switch_core_state_machine.c:844 (sofia/default/330000500055@payfast.astppbilling.org) Callstate Change DOWN -> HANGUP
2021-12-23 10:59:12.928038 94.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/330000500055@payfast.astppbilling.org) State HANGUP
2021-12-23 10:59:12.928038 94.40% [DEBUG] mod_sofia.c:468 Channel sofia/default/330000500055@payfast.astppbilling.org hanging up, cause: NORMAL_TEMPORARY_FAILURE
2021-12-23 10:59:12.928038 94.40% [DEBUG] switch_core_state_machine.c:59 sofia/default/330000500055@payfast.astppbilling.org Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
2021-12-23 10:59:12.928038 94.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/330000500055@payfast.astppbilling.org) State HANGUP going to sleep
2021-12-23 10:59:12.928038 94.40% [DEBUG] switch_core_state_machine.c:616 (sofia/default/330000500055@payfast.astppbilling.org) State Change CS_HANGUP -> CS_REPORTING
2021-12-23 10:59:12.928038 94.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/330000500055@payfast.astppbilling.org) Running State Change CS_REPORTING (Cur 2 Tot 25)
2021-12-23 10:59:12.928038 94.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/330000500055@payfast.astppbilling.org) State REPORTING
2021-12-23 10:59:12.928038 94.40% [INFO] mod_json_cdr.c:271 Process [491a42c9-6a4a-4e0e-9ee1-d946acbdb4a4.cdr.json]
2021-12-23 10:59:12.928038 94.40% [DEBUG] switch_core_state_machine.c:168 sofia/default/330000500055@payfast.astppbilling.org Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
2021-12-23 10:59:12.928038 94.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/330000500055@payfast.astppbilling.org) State REPORTING going to sleep
2021-12-23 10:59:12.928038 94.40% [DEBUG] switch_core_state_machine.c:607 (sofia/default/330000500055@payfast.astppbilling.org) State Change CS_REPORTING -> CS_DESTROY
2021-12-23 10:59:12.928038 94.40% [DEBUG] switch_core_session.c:1753 Session 25 (sofia/default/330000500055@payfast.astppbilling.org) Locked, Waiting on external entities
2021-12-23 10:59:12.928038 94.40% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
2021-12-23 10:59:12.928038 94.40% [INFO] mod_dptools.c:3653 Originate Failed. Cause: NORMAL_TEMPORARY_FAILURE
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 lua(astpp/lib/pbx/astpp-custom_call_flow.lua)
2021-12-23 10:59:12.947978 94.40% [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 10:59:12.947978 94.40% [NOTICE] switch_core_session.c:1771 Session 25 (sofia/default/330000500055@payfast.astppbilling.org) Ended
2021-12-23 10:59:12.947978 94.40% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/330000500055@payfast.astppbilling.org [CS_DESTROY]
2021-12-23 10:59:12.947978 94.40% [DEBUG] switch_core_state_machine.c:735 (sofia/default/330000500055@payfast.astppbilling.org) Running State Change CS_DESTROY (Cur 1 Tot 25)
2021-12-23 10:59:12.947978 94.40% [DEBUG] switch_core_state_machine.c:745 (sofia/default/330000500055@payfast.astppbilling.org) State DESTROY
2021-12-23 10:59:12.947978 94.40% [DEBUG] mod_sofia.c:379 sofia/default/330000500055@payfast.astppbilling.org SOFIA DESTROY
2021-12-23 10:59:12.947978 94.40% [DEBUG] switch_core_state_machine.c:175 sofia/default/330000500055@payfast.astppbilling.org Standard DESTROY
2021-12-23 10:59:12.947978 94.40% [DEBUG] switch_core_state_machine.c:745 (sofia/default/330000500055@payfast.astppbilling.org) State DESTROY going to sleep
2021-12-23 10:59:12.947978 94.40% [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 10:59:12.947978 94.40% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('custom_priority', '3')
2021-12-23 10:59:12.947978 94.40% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('no_answer_number', '(null)')
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 transfer(330444 XML default)
2021-12-23 10:59:12.947978 94.40% [DEBUG] switch_ivr.c:2289 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State Change CS_EXECUTE -> CS_ROUTING
2021-12-23 10:59:12.947978 94.40% [NOTICE] switch_ivr.c:2296 Transfer sofia/default/9693017122@pkcall.astppbilling.org:5022 to XML[330444@default]
2021-12-23 10:59:12.947978 94.40% [DEBUG] switch_cpp.cpp:1209 sofia/default/9693017122@pkcall.astppbilling.org:5022 destroy/unlink session from object
2021-12-23 10:59:12.947978 94.40% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State EXECUTE going to sleep
2021-12-23 10:59:12.947978 94.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Running State Change CS_ROUTING (Cur 1 Tot 25)
2021-12-23 10:59:12.947978 94.40% [DEBUG] switch_channel.c:2380 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Callstate Change ACTIVE -> RINGING
2021-12-23 10:59:12.947978 94.40% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State ROUTING
2021-12-23 10:59:12.947978 94.40% [DEBUG] mod_sofia.c:158 sofia/default/9693017122@pkcall.astppbilling.org:5022 SOFIA ROUTING
2021-12-23 10:59:12.947978 94.40% [DEBUG] switch_core_state_machine.c:230 sofia/default/9693017122@pkcall.astppbilling.org:5022 Standard ROUTING
2021-12-23 10:59:12.947978 94.40% [INFO] mod_dialplan_xml.c:639 Processing 9693017122 <9693017122>->330444 in context default
2021-12-23 10:59:12.947978 94.40% [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 10:59:12.968036 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-23 10:59:12.968036 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2021-12-23 10:59:12.968036 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 330444
2021-12-23 10:59:12.968036 94.40% [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 10:59:12.968036 94.40% [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 10:59:12.968036 94.40% [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 10:59:12.968036 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER9693017122
2021-12-23 10:59:12.968036 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-23 10:59:12.968036 94.40% [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 10:59:12.968036 94.40% [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 10:59:12.968036 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 9693017122 / 9693017122
2021-12-23 10:59:12.968036 94.40% [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 10:59:12.968036 94.40% [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 10:59:12.968036 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-23 10:59:12.968036 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
2021-12-23 10:59:12.968036 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9693017122]
2021-12-23 10:59:12.968036 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9693017122" AND deleted = 0 limit 1
2021-12-23 10:59:12.988023 94.40% [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 10:59:12.988023 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
2021-12-23 10:59:12.988023 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 7
2021-12-23 10:59:12.988023 94.40% [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 10:59:12.988023 94.40% [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 10:59:12.988023 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 330444
2021-12-23 10:59:12.988023 94.40% [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 10:59:12.988023 94.40% [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 10:59:12.988023 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-23 10:59:12.988023 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
2021-12-23 10:59:13.008030 94.40% [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 10:59:13.008030 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2021-12-23 10:59:13.008030 94.40% [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 10:59:13.008030 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2021-12-23 10:59:13.008030 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 4
2021-12-23 10:59:13.008030 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9693017122
2021-12-23 10:59:13.008030 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 394.7
2021-12-23 10:59:13.008030 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2021-12-23 10:59:13.008030 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
2021-12-23 10:59:13.008030 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2021-12-23 10:59:13.008030 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2021-12-23 10:59:13.008030 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2021-12-23 10:59:13.008030 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
2021-12-23 10:59:13.008030 94.40% [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 10:59:13.008030 94.40% [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 10:59:13.027981 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound
2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2
2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 330444
2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 4
2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your394.7 balance Accountid 4 !!!
2021-12-23 10:59:13.027981 94.40% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100
2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
2021-12-23 10:59:13.027981 94.40% [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 10:59:13.027981 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1
2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:4
2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:4
2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 4
2021-12-23 10:59:13.027981 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
2021-12-23 10:59:13.027981 94.40% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : payfast.astppbilling.org
2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2021-12-23 10:59:13.027981 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
2021-12-23 10:59:13.027981 94.40% [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 10:59:13.027981 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
2021-12-23 10:59:13.027981 94.40% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : payfast.astppbilling.org
2021-12-23 10:59:13.027981 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 7 and status = 0 limit 1
2021-12-23 10:59:13.027981 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_13
2021-12-23 10:59:13.027981 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] custom_function_name::::::::::1343:::::::::::::::2
2021-12-23 10:59:13.027981 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] custom_call_id 1
2021-12-23 10:59:13.027981 94.40% [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 10:59:13.048032 94.40% [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 10:59:13.048032 94.40% [ERR] mod_lua.cpp:270 LUA script parse/execute error!
2021-12-23 10:59:13.048032 94.40% [WARNING] mod_dialplan_xml.c:669 Context default not found
2021-12-23 10:59:13.048032 94.40% [INFO] switch_core_state_machine.c:306 No Route, Aborting
2021-12-23 10:59:13.048032 94.40% [NOTICE] switch_core_state_machine.c:307 Hangup sofia/default/9693017122@pkcall.astppbilling.org:5022 [CS_ROUTING] [NO_ROUTE_DESTINATION]
2021-12-23 10:59:13.048032 94.40% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State ROUTING going to sleep
2021-12-23 10:59:13.048032 94.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Running State Change CS_HANGUP (Cur 1 Tot 25)
2021-12-23 10:59:13.048032 94.40% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Callstate Change RINGING -> HANGUP
2021-12-23 10:59:13.048032 94.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State HANGUP
2021-12-23 10:59:13.048032 94.40% [DEBUG] mod_sofia.c:462 sofia/default/9693017122@pkcall.astppbilling.org:5022 Overriding SIP cause 404 with 503 from the other leg
2021-12-23 10:59:13.048032 94.40% [DEBUG] mod_sofia.c:468 Channel sofia/default/9693017122@pkcall.astppbilling.org:5022 hanging up, cause: NO_ROUTE_DESTINATION
2021-12-23 10:59:13.048032 94.40% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/9693017122@pkcall.astppbilling.org:5022
2021-12-23 10:59:13.048032 94.40% [DEBUG] switch_core_state_machine.c:59 sofia/default/9693017122@pkcall.astppbilling.org:5022 Standard HANGUP, cause: NO_ROUTE_DESTINATION
2021-12-23 10:59:13.048032 94.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State HANGUP going to sleep
2021-12-23 10:59:13.048032 94.40% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State Change CS_HANGUP -> CS_REPORTING
2021-12-23 10:59:13.048032 94.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Running State Change CS_REPORTING (Cur 1 Tot 25)
2021-12-23 10:59:13.048032 94.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State REPORTING
2021-12-23 10:59:13.048032 94.40% [INFO] mod_json_cdr.c:271 Process [37d106b5-4327-42fb-93a5-723dd0e6d213.cdr.json]
2021-12-23 10:59:13.067992 94.40% [DEBUG] switch_core_state_machine.c:168 sofia/default/9693017122@pkcall.astppbilling.org:5022 Standard REPORTING, cause: NO_ROUTE_DESTINATION
2021-12-23 10:59:13.067992 94.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State REPORTING going to sleep
2021-12-23 10:59:13.067992 94.40% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State Change CS_REPORTING -> CS_DESTROY
2021-12-23 10:59:13.067992 94.40% [DEBUG] switch_core_session.c:1753 Session 23 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Locked, Waiting on external entities
2021-12-23 10:59:13.067992 94.40% [NOTICE] switch_core_session.c:1771 Session 23 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Ended
2021-12-23 10:59:13.067992 94.40% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9693017122@pkcall.astppbilling.org:5022 [CS_DESTROY]
2021-12-23 10:59:13.067992 94.40% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Running State Change CS_DESTROY (Cur 0 Tot 25)
2021-12-23 10:59:13.067992 94.40% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State DESTROY
2021-12-23 10:59:13.067992 94.40% [DEBUG] mod_sofia.c:379 sofia/default/9693017122@pkcall.astppbilling.org:5022 SOFIA DESTROY
2021-12-23 10:59:13.067992 94.40% [DEBUG] switch_core_state_machine.c:175 sofia/default/9693017122@pkcall.astppbilling.org:5022 Standard DESTROY
2021-12-23 10:59:13.067992 94.40% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State DESTROY going to sleep
2021-12-23 11:14:07.948025 94.43% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [9693017122@pkcall.astppbilling.org] from ip 117.247.91.162
2021-12-23 11:14:08.488043 94.40% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [4727985745@newpbx.astppbilling.org] from ip 117.247.91.162
2021-12-23 11:14:08.768028 94.40% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [7516854441@pkcall.astppbilling.org] from ip 117.247.91.162
freeswitch@ip-172-31-43-241>