freeswitch@ip-172-31-43-241>
freeswitch@ip-172-31-43-241>
freeswitch@ip-172-31-43-241>
2021-12-23 08:10:36.186694 99.23% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9693017122@pkcall.astppbilling.org:5044 [9a355887-1e79-46de-9607-b3e27c0ca429]
2021-12-23 08:10:36.186694 99.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Running State Change CS_NEW (Cur 1 Tot 47)
2021-12-23 08:10:36.186694 99.23% [INFO] sofia.c:10462 sofia/default/9693017122@pkcall.astppbilling.org:5044 receiving invite from 117.247.91.162:52524 version: 1.10.7 -release-19-883d2cb662 64bit call-id: ZmQ5NTZmYmUxZDM0NDJlMzJjNTg2MWE5N2Y0YzE2OWE.
2021-12-23 08:10:36.186694 99.23% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 117.247.91.162:0.
2021-12-23 08:10:36.186694 99.23% [DEBUG] sofia.c:2419 detaching session 9a355887-1e79-46de-9607-b3e27c0ca429
2021-12-23 08:10:36.186694 99.23% [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 08:10:36.186694 99.23% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State NEW
2021-12-23 08:10:36.726728 99.20% [DEBUG] sofia.c:2532 Re-attaching to session 9a355887-1e79-46de-9607-b3e27c0ca429
2021-12-23 08:10:36.746710 99.20% [INFO] sofia.c:10462 sofia/default/9693017122@pkcall.astppbilling.org:5044 receiving invite from 117.247.91.162:52524 version: 1.10.7 -release-19-883d2cb662 64bit call-id: ZmQ5NTZmYmUxZDM0NDJlMzJjNTg2MWE5N2Y0YzE2OWE.
2021-12-23 08:10:36.746710 99.20% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 117.247.91.162:0.
2021-12-23 08:10:36.746710 99.20% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
2021-12-23 08:10:36.746710 99.20% [DEBUG] sofia.c:7499 Channel sofia/default/9693017122@pkcall.astppbilling.org:5044 entering state [received][100]
2021-12-23 08:10:36.746710 99.20% [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 08:10:36.746710 99.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/9693017122@pkcall.astppbilling.org:5044 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_codec.c:111 sofia/default/9693017122@pkcall.astppbilling.org:5044 Original read codec set to PCMA:8
2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_media.c:5973 sofia/default/9693017122@pkcall.astppbilling.org:5044 Set 2833 dtmf send payload to 101 recv payload to 101
2021-12-23 08:10:36.746710 99.20% [DEBUG] sofia.c:7933 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State Change CS_NEW -> CS_INIT
2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Running State Change CS_INIT (Cur 1 Tot 47)
2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State INIT
2021-12-23 08:10:36.746710 99.20% [DEBUG] mod_sofia.c:97 sofia/default/9693017122@pkcall.astppbilling.org:5044 SOFIA INIT
2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_state_machine.c:40 sofia/default/9693017122@pkcall.astppbilling.org:5044 Standard INIT
2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State Change CS_INIT -> CS_ROUTING
2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State INIT going to sleep
2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Running State Change CS_ROUTING (Cur 1 Tot 47)
2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_channel.c:2380 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Callstate Change DOWN -> RINGING
2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State ROUTING
2021-12-23 08:10:36.746710 99.20% [DEBUG] mod_sofia.c:158 sofia/default/9693017122@pkcall.astppbilling.org:5044 SOFIA ROUTING
2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_state_machine.c:230 sofia/default/9693017122@pkcall.astppbilling.org:5044 Standard ROUTING
2021-12-23 08:10:36.746710 99.20% [INFO] mod_dialplan_xml.c:639 Processing 9693017122 <9693017122>->330444 in context default
2021-12-23 08:10:36.746710 99.20% [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 08:10:36.746710 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-23 08:10:36.766710 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2021-12-23 08:10:36.766710 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 330444
2021-12-23 08:10:36.766710 99.20% [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 08:10:36.766710 99.20% [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 08:10:36.766710 99.20% [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 08:10:36.766710 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER9693017122
2021-12-23 08:10:36.766710 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-23 08:10:36.766710 99.20% [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 08:10:36.766710 99.20% [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 08:10:36.766710 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 9693017122 / 9693017122
2021-12-23 08:10:36.766710 99.20% [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 08:10:36.766710 99.20% [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 08:10:36.766710 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-23 08:10:36.766710 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
2021-12-23 08:10:36.766710 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9693017122]
2021-12-23 08:10:36.766710 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9693017122" AND deleted = 0 limit 1
2021-12-23 08:10:36.786709 99.20% [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 08:10:36.786709 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
2021-12-23 08:10:36.786709 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 7
2021-12-23 08:10:36.786709 99.20% [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 08:10:36.786709 99.20% [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 08:10:36.806710 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 330444
2021-12-23 08:10:36.806710 99.20% [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 08:10:36.806710 99.20% [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 08:10:36.806710 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-23 08:10:36.806710 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
2021-12-23 08:10:36.806710 99.20% [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 08:10:36.806710 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2021-12-23 08:10:36.806710 99.20% [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 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 4
2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9693017122
2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 394.7
2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2021-12-23 08:10:36.826711 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2021-12-23 08:10:36.826711 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
2021-12-23 08:10:36.826711 99.20% [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 08:10:36.826711 99.20% [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 08:10:36.826711 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound
2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2
2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 330444
2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 4
2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your394.7 balance Accountid 4 !!!
2021-12-23 08:10:36.826711 99.20% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100
2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
2021-12-23 08:10:36.826711 99.20% [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 08:10:36.826711 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1
2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:4
2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:4
2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 4
2021-12-23 08:10:36.826711 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
2021-12-23 08:10:36.826711 99.20% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : payfast.astppbilling.org
2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2021-12-23 08:10:36.826711 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
2021-12-23 08:10:36.826711 99.20% [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 = "2" AND accounts.status = 0
2021-12-23 08:10:36.826711 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
2021-12-23 08:10:36.826711 99.20% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : payfast.astppbilling.org
2021-12-23 08:10:36.826711 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 7 and status = 0 limit 1
2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_10
2021-12-23 08:10:36.846712 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : 10
2021-12-23 08:10:36.846712 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : IVR
2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_IVR_INFO] Query :SELECT * from pbx_ivr_specification WHERE id = 2 and status=0 LIMIT 1
2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '0' LIMIT 1
2021-12-23 08:10:36.846712 99.20% [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 08:10:36"/>
<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:10|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=10"/>
<action application="set" data="did_calltype=10"/>
<action application="set" data="did_extensions=2"/>
<action application="set" data="ringback=0"/>
<action application="set" data="module_name=pbx"/>
<action application="set" data="sip_h_P-call_type=custom_forward"/>
<action application="set" data="sip_h_P-Accountcode=7"/>
<action application="set" data="variable_sip_to_host=payfast.astppbilling.org"/>
<action application="set" data="userinfo_id=4"/>
<action application="set" data="variable_sip_to_host=payfast.astppbilling.org"/>
<action application="set" data="original_did_number=330444"/>
<action application="answer"/>
<action application="ivr" data="IVR_CUST_Reseller_PK_Admin0"/>
<action application="lua" data="astpp/lib/pbx/astpp-failover_ivr_destination.lua"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 parsing [default->330444] continue=false
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Regex (PASS) [330444] destination_number(330444) =~ /330444/ break=on-false
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(effective_destination_number=330444)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(callstart=2021-12-23 08:10:36)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(account_id=4)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(parent_id=0)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(entity_id=0)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(call_processed=internal)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(call_direction=inbound)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(accountname=default)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(origination_rates_did=ID:2|CODE:^330444.*|DESTINATION:330444|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(origination_rates=0)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(original_caller_id_name=9693017122)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(original_caller_id_number=9693017122)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(effective_caller_id_name=9693017122)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(effective_caller_id_number=9693017122)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(receiver_accid=7)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(did_id=2)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(transfer_call_type=4)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(transfer_extensions=)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(busy_status=1)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(no_answer_status=1)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(always_status=1)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(transfer_status=1)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(variable_sip_to_host=${domain_name})
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action export(domain_name=payfast.astppbilling.org)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action export(sip_to_host=payfast.astppbilling.org)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action export(presence_data=x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action export(call_type=10)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(did_calltype=10)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(did_extensions=2)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(ringback=0)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(module_name=pbx)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(sip_h_P-call_type=custom_forward)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(sip_h_P-Accountcode=7)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(variable_sip_to_host=payfast.astppbilling.org)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(userinfo_id=4)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(variable_sip_to_host=payfast.astppbilling.org)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(original_did_number=330444)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action answer()
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action ivr(IVR_CUST_Reseller_PK_Admin0)
Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action lua(astpp/lib/pbx/astpp-failover_ivr_destination.lua)
2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State Change CS_ROUTING -> CS_EXECUTE
2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State ROUTING going to sleep
2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Running State Change CS_EXECUTE (Cur 1 Tot 47)
2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State EXECUTE
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_sofia.c:213 sofia/default/9693017122@pkcall.astppbilling.org:5044 SOFIA EXECUTE
2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_core_state_machine.c:323 sofia/default/9693017122@pkcall.astppbilling.org:5044 Standard EXECUTE
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(effective_destination_number=330444)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [effective_destination_number]=[330444]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(bridge_pre_execute_bleg_app=sched_hangup)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(callstart=2021-12-23 08:10:36)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [callstart]=[2021-12-23 08:10:36]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(hangup_after_bridge=true)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(continue_on_fail=TRUE)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(account_id=4)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [account_id]=[4]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(parent_id=0)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(entity_id=0)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(call_processed=internal)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(call_direction=inbound)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [call_direction]=[inbound]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(accountname=default)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [accountname]=[default]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(origination_rates_did=ID:2|CODE:^330444.*|DESTINATION:330444|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [origination_rates_did]=[ID:2|CODE:^330444.*|DESTINATION:330444|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(origination_rates=0)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [origination_rates]=[0]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(original_caller_id_name=9693017122)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [original_caller_id_name]=[9693017122]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(original_caller_id_number=9693017122)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [original_caller_id_number]=[9693017122]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(effective_caller_id_name=9693017122)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [effective_caller_id_name]=[9693017122]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(effective_caller_id_number=9693017122)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [effective_caller_id_number]=[9693017122]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(receiver_accid=7)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [receiver_accid]=[7]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(did_id=2)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [did_id]=[2]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(transfer_call_type=4)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [transfer_call_type]=[4]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(transfer_extensions=)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [transfer_extensions]=[UNDEF]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(busy_status=1)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [busy_status]=[1]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(no_answer_status=1)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [no_answer_status]=[1]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(always_status=1)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [always_status]=[1]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(transfer_status=1)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [transfer_status]=[1]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(variable_sip_to_host=pkcall.astppbilling.org)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [variable_sip_to_host]=[pkcall.astppbilling.org]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 export(domain_name=payfast.astppbilling.org)
2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[payfast.astppbilling.org]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 export(sip_to_host=payfast.astppbilling.org)
2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[payfast.astppbilling.org]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 export(presence_data=x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162)
2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 export(call_type=10)
2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[10]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(did_calltype=10)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [did_calltype]=[10]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(did_extensions=2)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [did_extensions]=[2]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(ringback=0)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [ringback]=[0]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(module_name=pbx)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [module_name]=[pbx]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(sip_h_P-call_type=custom_forward)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [sip_h_P-call_type]=[custom_forward]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(sip_h_P-Accountcode=7)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [sip_h_P-Accountcode]=[7]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(variable_sip_to_host=payfast.astppbilling.org)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [variable_sip_to_host]=[payfast.astppbilling.org]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(userinfo_id=4)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [userinfo_id]=[4]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(variable_sip_to_host=payfast.astppbilling.org)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [variable_sip_to_host]=[payfast.astppbilling.org]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(original_did_number=330444)
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [original_did_number]=[330444]
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 answer()
2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/9693017122@pkcall.astppbilling.org:5044] 172.31.43.241 port 20268 -> 117.247.91.162 port 8000 codec: 8 ms: 20
2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_core_media.c:9089 sofia/default/9693017122@pkcall.astppbilling.org:5044 Set 2833 dtmf send payload to 101
2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_core_media.c:9096 sofia/default/9693017122@pkcall.astppbilling.org:5044 Set 2833 dtmf receive payload to 101
2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_core_media.c:9119 sofia/default/9693017122@pkcall.astppbilling.org:5044 Set rtp dtmf delay to 40
2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/9693017122@pkcall.astppbilling.org:5044:
v=0
o=FreeSWITCH 1640226768 1640226769 IN IP4 3.23.127.90
s=FreeSWITCH
c=IN IP4 3.23.127.90
t=0 0
m=audio 20268 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 08:10:36.846712 99.20% [DEBUG] sofia.c:7499 Channel sofia/default/9693017122@pkcall.astppbilling.org:5044 entering state [completed][200]
2021-12-23 08:10:36.846712 99.20% [NOTICE] mod_dptools.c:1419 Channel [sofia/default/9693017122@pkcall.astppbilling.org:5044] has been answered
2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_channel.c:3950 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Callstate Change RINGING -> ACTIVE
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 ivr(IVR_CUST_Reseller_PK_Admin0)
2021-12-23 08:10:36.866709 99.20% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-exit'
2021-12-23 08:10:36.866709 99.20% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-sub'
2021-12-23 08:10:36.866709 99.20% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-exec-app'
2021-12-23 08:10:36.866709 99.20% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-play-sound'
2021-12-23 08:10:36.866709 99.20% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-back'
2021-12-23 08:10:36.866709 99.20% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-top'
2021-12-23 08:10:36.866709 99.20% [DEBUG] switch_ivr_menu.c:883 building menu 'IVR_CUST_Reseller_PK_Admin0'
2021-12-23 08:10:36.866709 99.20% [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '8'
2021-12-23 08:10:36.866709 99.20% [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '9'
2021-12-23 08:10:36.866709 99.20% [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '7'
2021-12-23 08:10:36.866709 99.20% [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '/^(\d{2,20})$/'
2021-12-23 08:10:36.866709 99.20% [DEBUG] switch_ivr_menu.c:486 Executing IVR menu IVR_CUST_Reseller_PK_Admin0
2021-12-23 08:10:36.866709 99.20% [WARNING] mod_sndfile.c:281 Error Opening File [/var/www/html/astpp/upload/pbx/welcome_v6_.wav] [File contains data in an unknown format.]
2021-12-23 08:10:36.866709 99.20% [DEBUG] switch_ivr_menu.c:378 waiting for 20/20 digits t/o 2000
2021-12-23 08:10:37.126709 99.20% [DEBUG] sofia.c:7499 Channel sofia/default/9693017122@pkcall.astppbilling.org:5044 entering state [ready][200]
2021-12-23 08:10:37.166726 99.20% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2021-12-23 08:10:46.866741 98.23% [DEBUG] switch_ivr_menu.c:425 digits ''
2021-12-23 08:10:46.866741 98.23% [WARNING] mod_sndfile.c:281 Error Opening File [/var/www/html/astpp/upload/pbx/welcome_v6_.wav] [File contains data in an unknown format.]
2021-12-23 08:10:46.866741 98.23% [DEBUG] switch_ivr_menu.c:378 waiting for 20/20 digits t/o 2000
2021-12-23 08:10:56.886733 98.07% [DEBUG] switch_ivr_menu.c:425 digits ''
2021-12-23 08:10:56.886733 98.07% [WARNING] mod_sndfile.c:281 Error Opening File [/var/www/html/astpp/upload/pbx/welcome_v6_.wav] [File contains data in an unknown format.]
2021-12-23 08:10:56.886733 98.07% [DEBUG] switch_ivr_menu.c:378 waiting for 20/20 digits t/o 2000
2021-12-23 08:11:03.746749 94.97% [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 08:11:04.386730 94.87% [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 08:11:04.986731 94.87% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [7516854441@pkcall.astppbilling.org] from ip 117.247.91.162
2021-12-23 08:11:06.906727 94.80% [DEBUG] switch_ivr_menu.c:425 digits ''
2021-12-23 08:11:06.906727 94.80% [DEBUG] switch_ivr_menu.c:516 Maximum timeouts
2021-12-23 08:11:06.906727 94.80% [DEBUG] switch_ivr_menu.c:676 exit-sound '(null)'
EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 lua(astpp/lib/pbx/astpp-failover_ivr_destination.lua)
2021-12-23 08:11:06.926707 94.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2021-12-23 08:11:06.926707 94.80% [DEBUG] switch_cpp.cpp:1209 sofia/default/9693017122@pkcall.astppbilling.org:5044 destroy/unlink session from object
2021-12-23 08:11:06.926707 94.80% [NOTICE] switch_core_state_machine.c:382 sofia/default/9693017122@pkcall.astppbilling.org:5044 has executed the last dialplan instruction, hanging up.
2021-12-23 08:11:06.926707 94.80% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/9693017122@pkcall.astppbilling.org:5044 [CS_EXECUTE] [NORMAL_CLEARING]
2021-12-23 08:11:06.926707 94.80% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State EXECUTE going to sleep
2021-12-23 08:11:06.926707 94.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Running State Change CS_HANGUP (Cur 1 Tot 47)
2021-12-23 08:11:06.926707 94.80% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Callstate Change ACTIVE -> HANGUP
2021-12-23 08:11:06.926707 94.80% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State HANGUP
2021-12-23 08:11:06.926707 94.80% [DEBUG] mod_sofia.c:468 Channel sofia/default/9693017122@pkcall.astppbilling.org:5044 hanging up, cause: NORMAL_CLEARING
2021-12-23 08:11:06.926707 94.80% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/9693017122@pkcall.astppbilling.org:5044
2021-12-23 08:11:06.926707 94.80% [DEBUG] switch_core_state_machine.c:59 sofia/default/9693017122@pkcall.astppbilling.org:5044 Standard HANGUP, cause: NORMAL_CLEARING
2021-12-23 08:11:06.926707 94.80% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State HANGUP going to sleep
2021-12-23 08:11:06.926707 94.80% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State Change CS_HANGUP -> CS_REPORTING
2021-12-23 08:11:06.926707 94.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Running State Change CS_REPORTING (Cur 1 Tot 47)
2021-12-23 08:11:06.926707 94.80% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State REPORTING
2021-12-23 08:11:06.926707 94.80% [INFO] mod_json_cdr.c:271 Process [9a355887-1e79-46de-9607-b3e27c0ca429.cdr.json]
2021-12-23 08:11:06.986729 94.80% [DEBUG] switch_core_state_machine.c:168 sofia/default/9693017122@pkcall.astppbilling.org:5044 Standard REPORTING, cause: NORMAL_CLEARING
2021-12-23 08:11:06.986729 94.80% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State REPORTING going to sleep
2021-12-23 08:11:06.986729 94.80% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State Change CS_REPORTING -> CS_DESTROY
2021-12-23 08:11:06.986729 94.80% [DEBUG] switch_core_session.c:1753 Session 47 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Locked, Waiting on external entities
2021-12-23 08:11:06.986729 94.80% [NOTICE] switch_core_session.c:1771 Session 47 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Ended
2021-12-23 08:11:06.986729 94.80% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9693017122@pkcall.astppbilling.org:5044 [CS_DESTROY]
2021-12-23 08:11:06.986729 94.80% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Running State Change CS_DESTROY (Cur 0 Tot 47)
2021-12-23 08:11:06.986729 94.80% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State DESTROY
2021-12-23 08:11:06.986729 94.80% [DEBUG] mod_sofia.c:379 sofia/default/9693017122@pkcall.astppbilling.org:5044 SOFIA DESTROY
2021-12-23 08:11:06.986729 94.80% [DEBUG] switch_core_state_machine.c:175 sofia/default/9693017122@pkcall.astppbilling.org:5044 Standard DESTROY
2021-12-23 08:11:06.986729 94.80% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State DESTROY going to sleep
freeswitch@ip-172-31-43-241>