om ip 157.32.111.121
2023-06-21 07:17:29.730705 73.80% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9900120420@13.232.246.166 [903ea759-e602-4e26-b88d-2891ca68adb7]
2023-06-21 07:17:29.730705 73.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_NEW (Cur 1 Tot 145)
2023-06-21 07:17:29.730705 73.80% [INFO] sofia.c:10453 sofia/default/9900120420@13.232.246.166 receiving invite from 13.232.246.166:5077 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: 860c7b33-8aa6-123c-65b2-02c9c4cfda14
2023-06-21 07:17:29.730705 73.80% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 13.232.246.166:0.
2023-06-21 07:17:29.730705 73.80% [DEBUG] sofia.c:10576 IP 13.232.246.166 Approved by acl "default[]". Access Granted.
2023-06-21 07:17:29.730705 73.80% [DEBUG] sofia.c:7487 Channel sofia/default/9900120420@13.232.246.166 entering state [received][100]
2023-06-21 07:17:29.730705 73.80% [DEBUG] sofia.c:7497 Remote SDP:
v=0
o=FreeSWITCH 1687300287 1687300288 IN IP4 13.232.246.166
s=FreeSWITCH
c=IN IP4 13.232.246.166
t=0 0
m=audio 31562 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2023-06-21 07:17:29.730705 73.80% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-06-21 07:17:29.730705 73.80% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2023-06-21 07:17:29.730705 73.80% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-06-21 07:17:29.730705 73.80% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2023-06-21 07:17:29.730705 73.80% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000
2023-06-21 07:17:29.730705 73.80% [DEBUG] switch_core_media.c:3750 Set Codec sofia/default/9900120420@13.232.246.166 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2023-06-21 07:17:29.730705 73.80% [DEBUG] switch_core_codec.c:111 sofia/default/9900120420@13.232.246.166 Original read codec set to PCMU:0
2023-06-21 07:17:29.730705 73.80% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000
2023-06-21 07:17:29.730705 73.80% [DEBUG] switch_core_media.c:5850 sofia/default/9900120420@13.232.246.166 Set 2833 dtmf send payload to 101 recv payload to 101
2023-06-21 07:17:29.730705 73.80% [DEBUG] sofia.c:7921 (sofia/default/9900120420@13.232.246.166) State Change CS_NEW -> CS_INIT
2023-06-21 07:17:29.730705 73.80% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9900120420@13.232.246.166) State NEW
2023-06-21 07:17:29.730705 73.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_INIT (Cur 1 Tot 145)
2023-06-21 07:17:29.730705 73.80% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9900120420@13.232.246.166) State INIT
2023-06-21 07:17:29.730705 73.80% [DEBUG] mod_sofia.c:97 sofia/default/9900120420@13.232.246.166 SOFIA INIT
2023-06-21 07:17:29.730705 73.80% [DEBUG] switch_core_state_machine.c:40 sofia/default/9900120420@13.232.246.166 Standard INIT
2023-06-21 07:17:29.730705 73.80% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9900120420@13.232.246.166) State Change CS_INIT -> CS_ROUTING
2023-06-21 07:17:29.730705 73.80% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9900120420@13.232.246.166) State INIT going to sleep
2023-06-21 07:17:29.730705 73.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_ROUTING (Cur 1 Tot 145)
2023-06-21 07:17:29.730705 73.80% [DEBUG] switch_channel.c:2380 (sofia/default/9900120420@13.232.246.166) Callstate Change DOWN -> RINGING
2023-06-21 07:17:29.730705 73.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9900120420@13.232.246.166) State ROUTING
2023-06-21 07:17:29.730705 73.80% [DEBUG] mod_sofia.c:158 sofia/default/9900120420@13.232.246.166 SOFIA ROUTING
2023-06-21 07:17:29.730705 73.80% [DEBUG] switch_core_state_machine.c:230 sofia/default/9900120420@13.232.246.166 Standard ROUTING
2023-06-21 07:17:29.730705 73.80% [INFO] mod_dialplan_xml.c:639 Processing CallerPKCommunitySix <9900120420>->10050 in context default
2023-06-21 07:17:29.750697 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
2023-06-21 07:17:29.750697 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2023-06-21 07:17:29.750697 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2023-06-21 07:17:29.750697 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-06-21 07:17:29.770666 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2023-06-21 07:17:29.770666 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 10050
2023-06-21 07:17:29.770666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '10050' limit 1
2023-06-21 07:17:29.770666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
2023-06-21 07:17:29.770666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '10050' and status=0 LIMIT 1
2023-06-21 07:17:29.770666 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+alpha
2023-06-21 07:17:29.770666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-06-21 07:17:29.770666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '95.217.238.195' limit 1
2023-06-21 07:17:29.770666 73.80% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
2023-06-21 07:17:29.770666 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : CallerPKCommunitySix / 9900120420
2023-06-21 07:17:29.770666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number
2023-06-21 07:17:29.770666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 10050 AND status=0 limit 1
2023-06-21 07:17:29.770666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
2023-06-21 07:17:29.770666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
2023-06-21 07:17:29.770666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
2023-06-21 07:17:29.770666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10050" LIMIT 1
2023-06-21 07:17:29.770666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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 ="10050" LIMIT 1
2023-06-21 07:17:29.770666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-06-21 07:17:29.770666 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
2023-06-21 07:17:29.770666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("13.232.246.166") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 - SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1)) AND "10050" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2023-06-21 07:17:29.770666 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 8871343676]
2023-06-21 07:17:29.770666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =10050
2023-06-21 07:17:29.770666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "8871343676" AND deleted = 0 limit 1
2023-06-21 07:17:29.770666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
2023-06-21 07:17:29.770666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
2023-06-21 07:17:29.770666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
2023-06-21 07:17:29.770666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
2023-06-21 07:17:29.770666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 7
2023-06-21 07:17:29.770666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^10050.*' OR patterns = '^1005.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC
2023-06-21 07:17:29.770666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="10050" AND A.accountid = '7' limit 1
2023-06-21 07:17:29.770666 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 10050
2023-06-21 07:17:29.770666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
2023-06-21 07:17:29.770666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
2023-06-21 07:17:29.770666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
2023-06-21 07:17:29.770666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10050" LIMIT 1
2023-06-21 07:17:29.770666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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 ="10050" LIMIT 1
2023-06-21 07:17:29.770666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-06-21 07:17:29.770666 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
2023-06-21 07:17:29.770666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '10050' OR number = '1005' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '10050*' OR number = '1005*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '9900120420' OR number = '990012042' OR number = '99001204' OR number = '9900120' OR number = '990012' OR number = '99001' OR number = '9900' OR number = '990' OR number = '99' OR number = '9' OR number ='--') OR (number = '9900120420*' OR number = '990012042*' OR number = '99001204*' OR number = '9900120*' OR number = '990012*' OR number = '99001*' OR number = '9900*' OR number = '990*' OR number = '99*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2023-06-21 07:17:29.770666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2023-06-21 07:17:29.770666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '10050' OR routing_prefix = '1005' OR routing_prefix = '100' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2023-06-21 07:17:29.790665 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2023-06-21 07:17:29.790665 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 7
2023-06-21 07:17:29.790665 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 8871343676
2023-06-21 07:17:29.790665 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
2023-06-21 07:17:29.790665 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 79402.65
2023-06-21 07:17:29.790665 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2023-06-21 07:17:29.790665 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 4
2023-06-21 07:17:29.790665 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2023-06-21 07:17:29.790665 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2023-06-21 07:17:29.790665 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2023-06-21 07:17:29.790665 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::4
2023-06-21 07:17:29.790665 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
2023-06-21 07:17:29.790665 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10050" LIMIT 1
2023-06-21 07:17:29.790665 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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 ="10050" LIMIT 1
2023-06-21 07:17:29.790665 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-06-21 07:17:29.790665 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound
2023-06-21 07:17:29.790665 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2023-06-21 07:17:29.790665 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 13
2023-06-21 07:17:29.790665 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2023-06-21 07:17:29.790665 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2023-06-21 07:17:29.790665 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.20000
2023-06-21 07:17:29.790665 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 10050
2023-06-21 07:17:29.790665 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
2023-06-21 07:17:29.790665 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 7
2023-06-21 07:17:29.790665 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2023-06-21 07:17:29.790665 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
2023-06-21 07:17:29.790665 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your79402.65 balance Accountid 7 !!!
2023-06-21 07:17:29.790665 73.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 500 mins!
2023-06-21 07:17:29.790665 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 500 minutes
2023-06-21 07:17:29.790665 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
2023-06-21 07:17:29.790665 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
2023-06-21 07:17:29.790665 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 7 AND status=0 LIMIT 1
2023-06-21 07:17:29.790665 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1
2023-06-21 07:17:29.790665 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
2023-06-21 07:17:29.790665 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:7
2023-06-21 07:17:29.790665 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:7
2023-06-21 07:17:29.790665 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 7
2023-06-21 07:17:29.790665 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
2023-06-21 07:17:29.790665 73.80% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : alpha6.astppbilling.org
2023-06-21 07:17:29.790665 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 500
2023-06-21 07:17:29.790665 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-06-21 07:17:29.790665 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2023-06-21 07:17:29.790665 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
2023-06-21 07:17:29.790665 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "3" AND accounts.status = 0
2023-06-21 07:17:29.790665 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
2023-06-21 07:17:29.790665 73.80% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : alpha6.astppbilling.org
2023-06-21 07:17:29.790665 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_7
2023-06-21 07:17:29.790665 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : 7
2023-06-21 07:17:29.790665 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : Ring Group
2023-06-21 07:17:29.790665 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : Query - SELECT call_screening from accounts WHERE id = '7' LIMIT 1
2023-06-21 07:17:29.790665 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : Screening Option - 1
2023-06-21 07:17:29.790665 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : is_intro_recorded - false
2023-06-21 07:17:29.790665 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : introduction_recording_name -
2023-06-21 07:17:29.790665 73.80% [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,greetingid as ringgroup_greetingid,calleridnumber as ringgroup_calleridnumber,no_answer as ringgroup_no_answer,no_answer_call_type as no_answer_call_type,voicemail_set,no_answer_call_type_value, greetingid as ringgroup_greetingid, music_on_hold_type,music_on_hold from pbx_ringgroup WHERE id = 3 and status = 0 LIMIT 1
2023-06-21 07:17:29.790665 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Conference greetingid::1
2023-06-21 07:17:29.790665 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '1' LIMIT 1
2023-06-21 07:17:29.790665 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== music_file_name=File name==================ASTPPWelcomeRingGroup_200623102014.wav
2023-06-21 07:17:29.790665 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT name FROM pbx_music_on_hold WHERE id = 1 ORDER BY RAND() LIMIT 1
2023-06-21 07:17:29.790665 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] music on hold name :- OnHoldGlobal
2023-06-21 07:17:29.790665 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
2023-06-21 07:17:29.810666 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== announcement===================5
2023-06-21 07:17:29.810666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '5' LIMIT 1
2023-06-21 07:17:29.810666 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== 1 announcement=File name==================CantinaBand60_200623114125.wav
2023-06-21 07:17:29.810666 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Final Count : 0===
2023-06-21 07:17:29.810666 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC1]
2023-06-21 07:17:29.810666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="8827185844" AND domains.domain="alpha6.astppbilling.org" limit 1
2023-06-21 07:17:29.810666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_extensions_forwarding] Query :select sip_devices.id,sip_device_routing.call_forwarding_flag,sip_device_routing.call_forwarding_destination from sip_devices JOIN sip_device_routing ON sip_devices.id = sip_device_routing.sip_device_id where sip_devices.username = "8827185844"
2023-06-21 07:17:29.810666 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC3]
2023-06-21 07:17:29.810666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="8827185844" AND domains.domain="alpha6.astppbilling.org" limit 1
2023-06-21 07:17:29.810666 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Final Count : 0===
2023-06-21 07:17:29.810666 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC1]
2023-06-21 07:17:29.810666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="8871343676" AND domains.domain="alpha6.astppbilling.org" limit 1
2023-06-21 07:17:29.810666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_extensions_forwarding] Query :select sip_devices.id,sip_device_routing.call_forwarding_flag,sip_device_routing.call_forwarding_destination from sip_devices JOIN sip_device_routing ON sip_devices.id = sip_device_routing.sip_device_id where sip_devices.username = "8871343676"
2023-06-21 07:17:29.810666 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC3]
2023-06-21 07:17:29.810666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="8871343676" AND domains.domain="alpha6.astppbilling.org" limit 1
2023-06-21 07:17:29.810666 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] RingGroup Recording Flag : 1
2023-06-21 07:17:29.810666 73.80% [INFO] switch_cpp.cpp:1465 [ASTPP] RingGroup Dlr Str : [sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=20,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=CantinaBand60_200623114125.wav,dialed_user=8827185844,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=20,leg_delay_start=0]user/8827185844@alpha6.astppbilling.org|[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=10,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=CantinaBand60_200623114125.wav,dialed_user=8871343676,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=10,leg_delay_start=0]user/8871343676@alpha6.astppbilling.org|
2023-06-21 07:17:29.810666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '${eg-ring}' LIMIT 1
2023-06-21 07:17:29.810666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
2023-06-21 07:17:29.810666 73.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
2023-06-21 07:17:29.810666 73.80% [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="10050">
<condition field="destination_number" expression="10050">
<action application="set" data="effective_destination_number=10050"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+30000 normal_clearing"/>
<action application="set" data="type=0"/>
<action application="set" data="callstart=2023-06-21 07:17:29"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=7"/>
<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=CommunityVsix"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<action application="sleep" data="500"/>
<action application="playback" data="/usr/local/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav"/>
<action application="say" data="en NUMBER PRONOUNCED 500"/>
<action application="playback" data="/usr/local/freeswitch/sounds/en/us/callie/astpp-minute.wav"/>
<action application="set" data="ringback=%(2000,4000,440.0,480.0)"/>
<action application="set" data="origination_rates_did=ID:13|CODE:^10050.*|DESTINATION:10050|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:1.20000|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=CallerPKCommunitySix"/>
<action application="set" data="original_caller_id_number=9900120420"/>
<action application="set" data="effective_caller_id_name=CallerPKCommunitySix"/>
<action application="set" data="effective_caller_id_number=9900120420"/>
<action application="set" data="receiver_accid=7"/>
<action application="set" data="did_id=13"/>
<action application="set" data="transfer_call_type=4"/>
<action application="set" data="transfer_extensions=91000070000"/>
<action application="set" data="busy_status=0"/>
<action application="set" data="no_answer_status=1"/>
<action application="set" data="always_status=1"/>
<action application="set" data="transfer_status=0"/>
<action application="set" data="variable_sip_to_host=${domain_name}"/>
<action application="set" data="variable_sip_network_ip=13.232.246.166"/>
<action application="set" data="variable_sip_network_port=5077"/>
<action application="export" data="domain_name=alpha6.astppbilling.org"/>
<action application="export" data="sip_to_host=alpha6.astppbilling.org"/>
<action application="export" data="presence_data=x|||PK Postpaid Customer(8871343676)|||^10050.* // 10050 // 1.20000|||||||||DID|||13.232.246.166"/>
<action application="export" data="call_type=7"/>
<action application="set" data="did_calltype=7"/>
<action application="set" data="did_extensions=3"/>
<action application="set" data="daily_call_credit_limit=0.00000"/>
<action application="set" data="monthly_call_credit_limit=0.00000"/>
<action application="set" data="daily_call_used_limit=0.00000"/>
<action application="set" data="monthly_call_used_limit=0.00000"/>
<action application="playback" data="/var/www/html/astpp//upload/pbx/ASTPPWelcomeRingGroup_200623102014.wav"/>
<action application="bridge_export" data="hold_music=local_stream://OnHoldGlobal"/>
<action application="set" data="group_confirm_key=exec"/>
<action application="set" data="group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua"/>
<action application="set" data="effective_caller_id_name=RINGGROUPCID#CallerPKCommunitySix"/>
<action application="set" data="effective_caller_id_number=777799#9900120420"/>
<action application="set" data="ringback=${eg-ring}"/>
<action application="set" data="module_name=pbx"/>
<action application="db" data="insert/pickup_any_group_${callgroup}/3/${uuid}"/>
<action application="set" data="dialed_extension=transfer_call"/>
<action application="export" data="dialed_extension=transfer_call"/>
<action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
<action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
<action application="export" data="ring_group_transfer=true"/>
<action application="set" data="fail_on_single_reject=CALL_REJECTED"/>
<action application="bridge" data="{sip_h_P-call_type='custom_forward'}[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=20,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=CantinaBand60_200623114125.wav,dialed_user=8827185844,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=20,leg_delay_start=0]user/8827185844@alpha6.astppbilling.org|[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=10,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=CantinaBand60_200623114125.wav,dialed_user=8871343676,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=10,leg_delay_start=0]user/8871343676@alpha6.astppbilling.org|"/>
<action application="set" data="original_did_number=10050"/>
<action application="set" data="no_answer_number="/>
<action application="set" data="no_answer_call_type=ringgroup"/>
<action application="set" data="no_answer_call_type_value=2"/>
<action application="set" data="variable_sip_to_host=alpha6.astppbilling.org"/>
<action application="set" data="userinfo_id=7"/>
<action application="set" data="variable_sip_to_host=alpha6.astppbilling.org"/>
<action application="set" data="opensips_flag=1"/>
<action application="lua" data="astpp/lib/pbx/astpp.ring_group_destination.lua"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/9900120420@13.232.246.166 parsing [default->10050] continue=false
Dialplan: sofia/default/9900120420@13.232.246.166 Regex (PASS) [10050] destination_number(10050) =~ /10050/ break=on-false
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(effective_destination_number=10050)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(bridge_pre_execute_bleg_data=+30000 normal_clearing)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(type=0)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(callstart=2023-06-21 07:17:29)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(account_id=7)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(parent_id=0)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(entity_id=0)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(call_processed=internal)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(call_direction=inbound)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(accountname=CommunityVsix)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/9900120420@13.232.246.166 Action sleep(500)
Dialplan: sofia/default/9900120420@13.232.246.166 Action playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav)
Dialplan: sofia/default/9900120420@13.232.246.166 Action say(en NUMBER PRONOUNCED 500)
Dialplan: sofia/default/9900120420@13.232.246.166 Action playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-minute.wav)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(ringback=%(2000,4000,440.0,480.0))
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(origination_rates_did=ID:13|CODE:^10050.*|DESTINATION:10050|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:1.20000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(origination_rates=0)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(original_caller_id_name=CallerPKCommunitySix)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(original_caller_id_number=9900120420)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(effective_caller_id_name=CallerPKCommunitySix)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(effective_caller_id_number=9900120420)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(receiver_accid=7)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(did_id=13)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(transfer_call_type=4)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(transfer_extensions=91000070000)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(busy_status=0)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(no_answer_status=1)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(always_status=1)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(transfer_status=0)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(variable_sip_to_host=${domain_name})
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(variable_sip_network_ip=13.232.246.166)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(variable_sip_network_port=5077)
Dialplan: sofia/default/9900120420@13.232.246.166 Action export(domain_name=alpha6.astppbilling.org)
Dialplan: sofia/default/9900120420@13.232.246.166 Action export(sip_to_host=alpha6.astppbilling.org)
Dialplan: sofia/default/9900120420@13.232.246.166 Action export(presence_data=x|||PK Postpaid Customer(8871343676)|||^10050.* // 10050 // 1.20000|||||||||DID|||13.232.246.166)
Dialplan: sofia/default/9900120420@13.232.246.166 Action export(call_type=7)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(did_calltype=7)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(did_extensions=3)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(daily_call_credit_limit=0.00000)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(monthly_call_credit_limit=0.00000)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(daily_call_used_limit=0.00000)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(monthly_call_used_limit=0.00000)
Dialplan: sofia/default/9900120420@13.232.246.166 Action playback(/var/www/html/astpp//upload/pbx/ASTPPWelcomeRingGroup_200623102014.wav)
Dialplan: sofia/default/9900120420@13.232.246.166 Action bridge_export(hold_music=local_stream://OnHoldGlobal)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(group_confirm_key=exec)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(effective_caller_id_name=RINGGROUPCID#CallerPKCommunitySix)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(effective_caller_id_number=777799#9900120420)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(ringback=${eg-ring})
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(module_name=pbx)
Dialplan: sofia/default/9900120420@13.232.246.166 Action db(insert/pickup_any_group_${callgroup}/3/${uuid})
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(dialed_extension=transfer_call)
Dialplan: sofia/default/9900120420@13.232.246.166 Action export(dialed_extension=transfer_call)
Dialplan: sofia/default/9900120420@13.232.246.166 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
Dialplan: sofia/default/9900120420@13.232.246.166 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
Dialplan: sofia/default/9900120420@13.232.246.166 Action export(ring_group_transfer=true)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(fail_on_single_reject=CALL_REJECTED)
Dialplan: sofia/default/9900120420@13.232.246.166 Action bridge({sip_h_P-call_type='custom_forward'}[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=20,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=CantinaBand60_200623114125.wav,dialed_user=8827185844,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=20,leg_delay_start=0]user/8827185844@alpha6.astppbilling.org|[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=10,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=CantinaBand60_200623114125.wav,dialed_user=8871343676,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=10,leg_delay_start=0]user/8871343676@alpha6.astppbilling.org|)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(original_did_number=10050)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(no_answer_number=)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(no_answer_call_type=ringgroup)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(no_answer_call_type_value=2)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(variable_sip_to_host=alpha6.astppbilling.org)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(userinfo_id=7)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(variable_sip_to_host=alpha6.astppbilling.org)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(opensips_flag=1)
Dialplan: sofia/default/9900120420@13.232.246.166 Action lua(astpp/lib/pbx/astpp.ring_group_destination.lua)
2023-06-21 07:17:29.810666 73.80% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9900120420@13.232.246.166) State Change CS_ROUTING -> CS_EXECUTE
2023-06-21 07:17:29.810666 73.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9900120420@13.232.246.166) State ROUTING going to sleep
2023-06-21 07:17:29.810666 73.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_EXECUTE (Cur 1 Tot 145)
2023-06-21 07:17:29.810666 73.80% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9900120420@13.232.246.166) State EXECUTE
2023-06-21 07:17:29.810666 73.80% [DEBUG] mod_sofia.c:213 sofia/default/9900120420@13.232.246.166 SOFIA EXECUTE
2023-06-21 07:17:29.810666 73.80% [DEBUG] switch_core_state_machine.c:323 sofia/default/9900120420@13.232.246.166 Standard EXECUTE
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(effective_destination_number=10050)
2023-06-21 07:17:29.810666 73.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [effective_destination_number]=[10050]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(bridge_pre_execute_bleg_app=sched_hangup)
2023-06-21 07:17:29.810666 73.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(bridge_pre_execute_bleg_data=+30000 normal_clearing)
2023-06-21 07:17:29.810666 73.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [bridge_pre_execute_bleg_data]=[+30000 normal_clearing]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(type=0)
2023-06-21 07:17:29.810666 73.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [type]=[0]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(callstart=2023-06-21 07:17:29)
2023-06-21 07:17:29.810666 73.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [callstart]=[2023-06-21 07:17:29]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(hangup_after_bridge=true)
2023-06-21 07:17:29.810666 73.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(continue_on_fail=TRUE)
2023-06-21 07:17:29.810666 73.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(account_id=7)
2023-06-21 07:17:29.810666 73.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [account_id]=[7]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(parent_id=0)
2023-06-21 07:17:29.810666 73.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(entity_id=0)
2023-06-21 07:17:29.810666 73.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(call_processed=internal)
2023-06-21 07:17:29.810666 73.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(call_direction=inbound)
2023-06-21 07:17:29.810666 73.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [call_direction]=[inbound]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(accountname=CommunityVsix)
2023-06-21 07:17:29.810666 73.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [accountname]=[CommunityVsix]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(filename1=astpp.pbx.lua)
2023-06-21 07:17:29.810666 73.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [filename1]=[astpp.pbx.lua]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 sleep(500)
2023-06-21 07:17:30.310697 73.80% [DEBUG] switch_core_session.c:2785 Application playback Requires media! pre_answering channel sofia/default/9900120420@13.232.246.166
2023-06-21 07:17:30.310697 73.80% [INFO] switch_core_session.c:2787 Sending early media
2023-06-21 07:17:30.310697 73.80% [DEBUG] switch_core_media.c:8651 AUDIO RTP [sofia/default/9900120420@13.232.246.166] 95.217.238.195 port 17144 -> 13.232.246.166 port 31562 codec: 0 ms: 20
2023-06-21 07:17:30.310697 73.80% [DEBUG] switch_rtp.c:4377 Starting timer [soft] 160 bytes per 20ms
2023-06-21 07:17:30.310697 73.80% [DEBUG] switch_core_media.c:8963 sofia/default/9900120420@13.232.246.166 Set 2833 dtmf send payload to 101
2023-06-21 07:17:30.310697 73.80% [DEBUG] switch_core_media.c:8970 sofia/default/9900120420@13.232.246.166 Set 2833 dtmf receive payload to 101
2023-06-21 07:17:30.310697 73.80% [DEBUG] switch_core_media.c:8993 sofia/default/9900120420@13.232.246.166 Set rtp dtmf delay to 40
2023-06-21 07:17:30.310697 73.80% [DEBUG] mod_sofia.c:2609 Ring SDP:
v=0
o=FreeSWITCH 1687314706 1687314707 IN IP4 95.217.238.195
s=FreeSWITCH
c=IN IP4 95.217.238.195
t=0 0
m=audio 17144 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2023-06-21 07:17:30.310697 73.80% [NOTICE] mod_sofia.c:2612 Pre-Answer sofia/default/9900120420@13.232.246.166!
2023-06-21 07:17:30.310697 73.80% [DEBUG] switch_channel.c:3566 (sofia/default/9900120420@13.232.246.166) Callstate Change RINGING -> EARLY
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav)
2023-06-21 07:17:30.310697 73.80% [DEBUG] sofia.c:7487 Channel sofia/default/9900120420@13.232.246.166 entering state [early][183]
2023-06-21 07:17:30.310697 73.80% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav sample rate 16000 doesn't match requested rate 8000
2023-06-21 07:17:30.310697 73.80% [DEBUG] switch_ivr_play_say.c:1566 Codec Activated L16@8000hz 1 channels 20ms
2023-06-21 07:17:30.650678 74.67% [DEBUG] switch_rtp.c:7511 Correct audio ip/port confirmed.
2023-06-21 07:17:31.510676 75.97% [DEBUG] switch_ivr_play_say.c:2015 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 say(en NUMBER PRONOUNCED 500)
2023-06-21 07:17:31.530666 75.97% [DEBUG] switch_ivr_play_say.c:1566 Codec Activated L16@8000hz 1 channels 20ms
2023-06-21 07:17:32.750682 78.10% [DEBUG] switch_ivr_play_say.c:2015 done playing file file_string://digits/5.wav!digits/hundred.wav
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-minute.wav)
2023-06-21 07:17:32.750682 78.10% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-minute.wav sample rate 16000 doesn't match requested rate 8000
2023-06-21 07:17:32.750682 78.10% [DEBUG] switch_ivr_play_say.c:1566 Codec Activated L16@8000hz 1 channels 20ms
2023-06-21 07:17:33.230708 78.10% [DEBUG] switch_ivr_play_say.c:2015 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-minute.wav
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(ringback=%(2000,4000,440.0,480.0))
2023-06-21 07:17:33.230708 78.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [ringback]=[%(2000,4000,440.0,480.0)]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(origination_rates_did=ID:13|CODE:^10050.*|DESTINATION:10050|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:1.20000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7)
2023-06-21 07:17:33.230708 78.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [origination_rates_did]=[ID:13|CODE:^10050.*|DESTINATION:10050|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:1.20000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(origination_rates=0)
2023-06-21 07:17:33.230708 78.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [origination_rates]=[0]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(original_caller_id_name=CallerPKCommunitySix)
2023-06-21 07:17:33.230708 78.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [original_caller_id_name]=[CallerPKCommunitySix]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(original_caller_id_number=9900120420)
2023-06-21 07:17:33.230708 78.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [original_caller_id_number]=[9900120420]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(effective_caller_id_name=CallerPKCommunitySix)
2023-06-21 07:17:33.230708 78.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [effective_caller_id_name]=[CallerPKCommunitySix]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(effective_caller_id_number=9900120420)
2023-06-21 07:17:33.230708 78.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [effective_caller_id_number]=[9900120420]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(receiver_accid=7)
2023-06-21 07:17:33.230708 78.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [receiver_accid]=[7]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(did_id=13)
2023-06-21 07:17:33.250680 78.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [did_id]=[13]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(transfer_call_type=4)
2023-06-21 07:17:33.250680 78.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [transfer_call_type]=[4]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(transfer_extensions=91000070000)
2023-06-21 07:17:33.250680 78.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [transfer_extensions]=[91000070000]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(busy_status=0)
2023-06-21 07:17:33.250680 78.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [busy_status]=[0]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(no_answer_status=1)
2023-06-21 07:17:33.250680 78.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [no_answer_status]=[1]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(always_status=1)
2023-06-21 07:17:33.250680 78.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [always_status]=[1]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(transfer_status=0)
2023-06-21 07:17:33.250680 78.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [transfer_status]=[0]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(variable_sip_to_host=95.217.238.195)
2023-06-21 07:17:33.250680 78.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [variable_sip_to_host]=[95.217.238.195]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(variable_sip_network_ip=13.232.246.166)
2023-06-21 07:17:33.250680 78.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [variable_sip_network_ip]=[13.232.246.166]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(variable_sip_network_port=5077)
2023-06-21 07:17:33.250680 78.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [variable_sip_network_port]=[5077]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 export(domain_name=alpha6.astppbilling.org)
2023-06-21 07:17:33.250680 78.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[alpha6.astppbilling.org]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 export(sip_to_host=alpha6.astppbilling.org)
2023-06-21 07:17:33.250680 78.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[alpha6.astppbilling.org]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 export(presence_data=x|||PK Postpaid Customer(8871343676)|||^10050.* // 10050 // 1.20000|||||||||DID|||13.232.246.166)
2023-06-21 07:17:33.250680 78.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||PK Postpaid Customer(8871343676)|||^10050.* // 10050 // 1.20000|||||||||DID|||13.232.246.166]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 export(call_type=7)
2023-06-21 07:17:33.250680 78.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[7]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(did_calltype=7)
2023-06-21 07:17:33.250680 78.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [did_calltype]=[7]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(did_extensions=3)
2023-06-21 07:17:33.250680 78.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [did_extensions]=[3]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(daily_call_credit_limit=0.00000)
2023-06-21 07:17:33.250680 78.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [daily_call_credit_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(monthly_call_credit_limit=0.00000)
2023-06-21 07:17:33.250680 78.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [monthly_call_credit_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(daily_call_used_limit=0.00000)
2023-06-21 07:17:33.250680 78.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [daily_call_used_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(monthly_call_used_limit=0.00000)
2023-06-21 07:17:33.250680 78.10% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [monthly_call_used_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 playback(/var/www/html/astpp//upload/pbx/ASTPPWelcomeRingGroup_200623102014.wav)
2023-06-21 07:17:33.250680 78.10% [DEBUG] switch_core_file.c:444 File /var/www/html/astpp//upload/pbx/ASTPPWelcomeRingGroup_200623102014.wav sample rate 16000 doesn't match requested rate 8000
2023-06-21 07:17:33.250680 78.10% [DEBUG] switch_ivr_play_say.c:1566 Codec Activated L16@8000hz 1 channels 20ms
2023-06-21 07:17:42.530665 86.77% [DEBUG] switch_ivr_play_say.c:2015 done playing file /var/www/html/astpp//upload/pbx/ASTPPWelcomeRingGroup_200623102014.wav
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 bridge_export(hold_music=local_stream://OnHoldGlobal)
2023-06-21 07:17:42.530665 86.77% [DEBUG] switch_channel.c:1315 EXPORT (bridge_export_vars) [hold_music]=[local_stream://OnHoldGlobal]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(group_confirm_key=exec)
2023-06-21 07:17:42.530665 86.77% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [group_confirm_key]=[exec]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
2023-06-21 07:17:42.530665 86.77% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [group_confirm_file]=[lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(effective_caller_id_name=RINGGROUPCID#CallerPKCommunitySix)
span style="color: goldenrod; font-weight: bold;"> 2023-06-21 07:17:42.530665 86.77% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [effective_caller_id_name]=[RINGGROUPCID#CallerPKCommunitySix]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(effective_caller_id_number=777799#9900120420)
span style="color: goldenrod; font-weight: bold;"> 2023-06-21 07:17:42.530665 86.77% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [effective_caller_id_number]=[777799#9900120420]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(ringback=%(2000,1000,475,375))
2023-06-21 07:17:42.530665 86.77% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [ringback]=[%(2000,1000,475,375)]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(module_name=pbx)
2023-06-21 07:17:42.530665 86.77% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [module_name]=[pbx]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 db(insert/pickup_any_group_/3/903ea759-e602-4e26-b88d-2891ca68adb7)
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(dialed_extension=transfer_call)
2023-06-21 07:17:42.530665 86.77% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 export(dialed_extension=transfer_call)
2023-06-21 07:17:42.530665 86.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
2023-06-21 07:17:42.530665 86.77% [INFO] switch_ivr_async.c:4780 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
2023-06-21 07:17:42.530665 86.77% [INFO] switch_ivr_async.c:4780 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 export(ring_group_transfer=true)
2023-06-21 07:17:42.530665 86.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [ring_group_transfer]=[true]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(fail_on_single_reject=CALL_REJECTED)
2023-06-21 07:17:42.550668 86.77% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [fail_on_single_reject]=[CALL_REJECTED]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 bridge({sip_h_P-call_type='custom_forward'}[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=20,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=CantinaBand60_200623114125.wav,dialed_user=8827185844,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=20,leg_delay_start=0]user/8827185844@alpha6.astppbilling.org|[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=10,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=CantinaBand60_200623114125.wav,dialed_user=8871343676,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=10,leg_delay_start=0]user/8871343676@alpha6.astppbilling.org|)
2023-06-21 07:17:42.550668 86.77% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [domain_name]=[alpha6.astppbilling.org] to event
2023-06-21 07:17:42.550668 86.77% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [sip_to_host]=[alpha6.astppbilling.org] to event
2023-06-21 07:17:42.550668 86.77% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [presence_data]=[x|||PK Postpaid Customer(8871343676)|||^10050.* // 10050 // 1.20000|||||||||DID|||13.232.246.166] to event
2023-06-21 07:17:42.550668 86.77% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [call_type]=[7] to event
2023-06-21 07:17:42.550668 86.77% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
2023-06-21 07:17:42.550668 86.77% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
2023-06-21 07:17:42.550668 86.77% [DEBUG] switch_ivr_originate.c:2291 Parsing global variables
2023-06-21 07:17:42.550668 86.77% [DEBUG] switch_ivr_originate.c:2853 Parsing session specific variables
2023-06-21 07:17:42.550668 86.77% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [domain_name]=[alpha6.astppbilling.org] to event
2023-06-21 07:17:42.550668 86.77% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [sip_to_host]=[alpha6.astppbilling.org] to event
2023-06-21 07:17:42.550668 86.77% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [presence_data]=[x|||PK Postpaid Customer(8871343676)|||^10050.* // 10050 // 1.20000|||||||||DID|||13.232.246.166] to event
2023-06-21 07:17:42.550668 86.77% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [call_type]=[7] to event
2023-06-21 07:17:42.550668 86.77% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
2023-06-21 07:17:42.550668 86.77% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
2023-06-21 07:17:42.550668 86.77% [DEBUG] switch_ivr_originate.c:2291 Parsing global variables
2023-06-21 07:17:42.550668 86.77% [NOTICE] switch_channel.c:1123 New Channel sofia/default/8827185844@192.168.1.51 [8b10d564-8938-4187-b252-4b662a6148dc]
2023-06-21 07:17:42.550668 86.77% [DEBUG] mod_sofia.c:5117 (sofia/default/8827185844@192.168.1.51) State Change CS_NEW -> CS_INIT
2023-06-21 07:17:42.550668 86.77% [DEBUG] switch_ivr_originate.c:3161 sofia/default/8827185844@192.168.1.51 Setting leg timeout to 20
2023-06-21 07:17:42.550668 86.77% [DEBUG] switch_ivr_originate.c:3161 sofia/default/8827185844@192.168.1.51 Setting leg timeout to 20
2023-06-21 07:17:42.550668 86.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8827185844@192.168.1.51) Running State Change CS_INIT (Cur 2 Tot 146)
2023-06-21 07:17:42.550668 86.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8827185844@192.168.1.51) State INIT
2023-06-21 07:17:42.550668 86.77% [DEBUG] mod_sofia.c:97 sofia/default/8827185844@192.168.1.51 SOFIA INIT
2023-06-21 07:17:42.550668 86.77% [DEBUG] sofia_glue.c:1623 sip:8827185844@103.240.35.46:5060 Setting proxy route to sofia/default/8827185844@192.168.1.51
2023-06-21 07:17:42.550668 86.77% [INFO] sofia_glue.c:1654 sofia/default/8827185844@192.168.1.51 sending invite call-id: (null)
2023-06-21 07:17:42.550668 86.77% [DEBUG] sofia_glue.c:1657 sofia/default/8827185844@192.168.1.51 sending invite version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit
Local SDP:
v=0
o=FreeSWITCH 1687313106 1687313107 IN IP4 95.217.238.195
s=FreeSWITCH
c=IN IP4 95.217.238.195
t=0 0
m=audio 18756 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2023-06-21 07:17:42.550668 86.77% [DEBUG] switch_core_state_machine.c:40 sofia/default/8827185844@192.168.1.51 Standard INIT
2023-06-21 07:17:42.550668 86.77% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8827185844@192.168.1.51) State Change CS_INIT -> CS_ROUTING
2023-06-21 07:17:42.550668 86.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8827185844@192.168.1.51) State INIT going to sleep
2023-06-21 07:17:42.550668 86.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8827185844@192.168.1.51) Running State Change CS_ROUTING (Cur 2 Tot 146)
2023-06-21 07:17:42.550668 86.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8827185844@192.168.1.51) State ROUTING
2023-06-21 07:17:42.550668 86.77% [DEBUG] mod_sofia.c:158 sofia/default/8827185844@192.168.1.51 SOFIA ROUTING
2023-06-21 07:17:42.550668 86.77% [DEBUG] switch_ivr_originate.c:67 (sofia/default/8827185844@192.168.1.51) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2023-06-21 07:17:42.550668 86.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8827185844@192.168.1.51) State ROUTING going to sleep
2023-06-21 07:17:42.550668 86.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8827185844@192.168.1.51) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 146)
2023-06-21 07:17:42.550668 86.77% [DEBUG] sofia.c:7487 Channel sofia/default/8827185844@192.168.1.51 entering state [calling][0]
2023-06-21 07:17:42.550668 86.77% [DEBUG] switch_core_state_machine.c:659 (sofia/default/8827185844@192.168.1.51) State CONSUME_MEDIA
2023-06-21 07:17:42.550668 86.77% [DEBUG] switch_core_state_machine.c:659 (sofia/default/8827185844@192.168.1.51) State CONSUME_MEDIA going to sleep
2023-06-21 07:17:58.010666 68.33% [WARNING] sofia_reg.c:1846 SIP auth challenge (REGISTER) on sofia profile 'default' for [2271920202@alpha.astppbilling.org] from ip 157.32.111.121
2023-06-21 07:17:58.330693 68.33% [WARNING] sofia_reg.c:3211 Can't find user [2271920202@alpha.astppbilling.org] from 157.32.111.121
You must define a domain called 'alpha.astppbilling.org' in your directory and add a user with the id="2271920202" attribute
and you must configure your device to use the proper domain in its authentication credentials.
2023-06-21 07:17:58.330693 68.33% [WARNING] sofia_reg.c:1791 SIP auth failure (REGISTER) on sofia profile 'default' for [2271920202@alpha.astppbilling.org] from ip 157.32.111.121
2023-06-21 07:18:03.010662 64.80% [NOTICE] switch_ivr_originate.c:364 Hangup sofia/default/8827185844@192.168.1.51 [CS_CONSUME_MEDIA] [ALLOTTED_TIMEOUT]
2023-06-21 07:18:03.010662 64.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8827185844@192.168.1.51) Running State Change CS_HANGUP (Cur 2 Tot 146)
2023-06-21 07:18:03.010662 64.80% [DEBUG] switch_core_state_machine.c:844 (sofia/default/8827185844@192.168.1.51) Callstate Change DOWN -> HANGUP
2023-06-21 07:18:03.010662 64.80% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8827185844@192.168.1.51) State HANGUP
2023-06-21 07:18:03.010662 64.80% [DEBUG] mod_sofia.c:468 Channel sofia/default/8827185844@192.168.1.51 hanging up, cause: ALLOTTED_TIMEOUT
2023-06-21 07:18:03.010662 64.80% [DEBUG] mod_sofia.c:536 Sending CANCEL to sofia/default/8827185844@192.168.1.51
2023-06-21 07:18:03.010662 64.80% [DEBUG] switch_core_state_machine.c:59 sofia/default/8827185844@192.168.1.51 Standard HANGUP, cause: ALLOTTED_TIMEOUT
2023-06-21 07:18:03.010662 64.80% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8827185844@192.168.1.51) State HANGUP going to sleep
2023-06-21 07:18:03.010662 64.80% [DEBUG] switch_core_state_machine.c:616 (sofia/default/8827185844@192.168.1.51) State Change CS_HANGUP -> CS_REPORTING
2023-06-21 07:18:03.010662 64.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8827185844@192.168.1.51) Running State Change CS_REPORTING (Cur 2 Tot 146)
2023-06-21 07:18:03.010662 64.80% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8827185844@192.168.1.51) State REPORTING
2023-06-21 07:18:03.010662 64.80% [INFO] mod_json_cdr.c:272 Process [8b10d564-8938-4187-b252-4b662a6148dc.cdr.json]
2023-06-21 07:18:03.030663 64.80% [DEBUG] switch_core_state_machine.c:168 sofia/default/8827185844@192.168.1.51 Standard REPORTING, cause: ALLOTTED_TIMEOUT
2023-06-21 07:18:03.030663 64.80% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8827185844@192.168.1.51) State REPORTING going to sleep
2023-06-21 07:18:03.030663 64.80% [DEBUG] switch_core_state_machine.c:607 (sofia/default/8827185844@192.168.1.51) State Change CS_REPORTING -> CS_DESTROY
2023-06-21 07:18:03.030663 64.80% [DEBUG] switch_core_session.c:1743 Session 146 (sofia/default/8827185844@192.168.1.51) Locked, Waiting on external entities
2023-06-21 07:18:03.030663 64.80% [DEBUG] switch_ivr_originate.c:4045 Originate Resulted in Error Cause: 802 [ALLOTTED_TIMEOUT]
2023-06-21 07:18:03.030663 64.80% [DEBUG] switch_ivr_originate.c:2853 Parsing session specific variables
2023-06-21 07:18:03.030663 64.80% [NOTICE] switch_core_session.c:1761 Session 146 (sofia/default/8827185844@192.168.1.51) Ended
2023-06-21 07:18:03.030663 64.80% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/8827185844@192.168.1.51 [CS_DESTROY]
2023-06-21 07:18:03.030663 64.80% [DEBUG] switch_core_state_machine.c:735 (sofia/default/8827185844@192.168.1.51) Running State Change CS_DESTROY (Cur 1 Tot 146)
2023-06-21 07:18:03.030663 64.80% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8827185844@192.168.1.51) State DESTROY
2023-06-21 07:18:03.030663 64.80% [DEBUG] mod_sofia.c:379 sofia/default/8827185844@192.168.1.51 SOFIA DESTROY
2023-06-21 07:18:03.030663 64.80% [DEBUG] switch_core_state_machine.c:175 sofia/default/8827185844@192.168.1.51 Standard DESTROY
2023-06-21 07:18:03.030663 64.80% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8827185844@192.168.1.51) State DESTROY going to sleep
2023-06-21 07:18:03.050668 64.80% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [domain_name]=[alpha6.astppbilling.org] to event
2023-06-21 07:18:03.050668 64.80% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [sip_to_host]=[alpha6.astppbilling.org] to event
2023-06-21 07:18:03.050668 64.80% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [presence_data]=[x|||PK Postpaid Customer(8871343676)|||^10050.* // 10050 // 1.20000|||||||||DID|||13.232.246.166] to event
2023-06-21 07:18:03.050668 64.80% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [call_type]=[7] to event
2023-06-21 07:18:03.050668 64.80% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
2023-06-21 07:18:03.050668 64.80% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
2023-06-21 07:18:03.050668 64.80% [DEBUG] switch_ivr_originate.c:2291 Parsing global variables
2023-06-21 07:18:03.050668 64.80% [NOTICE] switch_channel.c:1123 New Channel sofia/default/8871343676@103.240.35.46:60309 [cd6a0b91-c7c2-4e01-8520-e203a248c4b6]
2023-06-21 07:18:03.050668 64.80% [DEBUG] mod_sofia.c:5117 (sofia/default/8871343676@103.240.35.46:60309) State Change CS_NEW -> CS_INIT
2023-06-21 07:18:03.050668 64.80% [DEBUG] switch_ivr_originate.c:3161 sofia/default/8871343676@103.240.35.46:60309 Setting leg timeout to 10
2023-06-21 07:18:03.050668 64.80% [DEBUG] switch_ivr_originate.c:3161 sofia/default/8871343676@103.240.35.46:60309 Setting leg timeout to 10
2023-06-21 07:18:03.050668 64.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@103.240.35.46:60309) Running State Change CS_INIT (Cur 2 Tot 147)
2023-06-21 07:18:03.050668 64.80% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8871343676@103.240.35.46:60309) State INIT
2023-06-21 07:18:03.050668 64.80% [DEBUG] mod_sofia.c:97 sofia/default/8871343676@103.240.35.46:60309 SOFIA INIT
2023-06-21 07:18:03.050668 64.80% [DEBUG] sofia_glue.c:1623 sip:8871343676@103.240.35.46:41278;rinstance=b0edea4f584a0da4;transport=TCP Setting proxy route to sofia/default/8871343676@103.240.35.46:60309
2023-06-21 07:18:03.050668 64.80% [INFO] sofia_glue.c:1654 sofia/default/8871343676@103.240.35.46:60309 sending invite call-id: (null)
2023-06-21 07:18:03.050668 64.80% [DEBUG] sofia_glue.c:1657 sofia/default/8871343676@103.240.35.46:60309 sending invite version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit
Local SDP:
v=0
o=FreeSWITCH 1687312221 1687312222 IN IP4 95.217.238.195
s=FreeSWITCH
c=IN IP4 95.217.238.195
t=0 0
m=audio 19662 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2023-06-21 07:18:03.050668 64.80% [DEBUG] switch_core_state_machine.c:40 sofia/default/8871343676@103.240.35.46:60309 Standard INIT
2023-06-21 07:18:03.050668 64.80% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8871343676@103.240.35.46:60309) State Change CS_INIT -> CS_ROUTING
2023-06-21 07:18:03.050668 64.80% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8871343676@103.240.35.46:60309) State INIT going to sleep
2023-06-21 07:18:03.050668 64.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@103.240.35.46:60309) Running State Change CS_ROUTING (Cur 2 Tot 147)
2023-06-21 07:18:03.050668 64.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8871343676@103.240.35.46:60309) State ROUTING
2023-06-21 07:18:03.050668 64.80% [DEBUG] mod_sofia.c:158 sofia/default/8871343676@103.240.35.46:60309 SOFIA ROUTING
2023-06-21 07:18:03.050668 64.80% [DEBUG] switch_ivr_originate.c:67 (sofia/default/8871343676@103.240.35.46:60309) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2023-06-21 07:18:03.050668 64.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8871343676@103.240.35.46:60309) State ROUTING going to sleep
2023-06-21 07:18:03.050668 64.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@103.240.35.46:60309) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 147)
2023-06-21 07:18:03.050668 64.80% [DEBUG] sofia.c:7487 Channel sofia/default/8871343676@103.240.35.46:60309 entering state [calling][0]
2023-06-21 07:18:03.050668 64.80% [DEBUG] switch_core_state_machine.c:659 (sofia/default/8871343676@103.240.35.46:60309) State CONSUME_MEDIA
2023-06-21 07:18:03.050668 64.80% [DEBUG] switch_core_state_machine.c:659 (sofia/default/8871343676@103.240.35.46:60309) State CONSUME_MEDIA going to sleep
2023-06-21 07:18:04.110664 63.63% [DEBUG] sofia.c:7487 Channel sofia/default/8871343676@103.240.35.46:60309 entering state [proceeding][180]
2023-06-21 07:18:04.110664 63.63% [NOTICE] sofia.c:7598 Ring-Ready sofia/default/8871343676@103.240.35.46:60309!
2023-06-21 07:18:04.110664 63.63% [DEBUG] switch_channel.c:3494 (sofia/default/8871343676@103.240.35.46:60309) Callstate Change DOWN -> RINGING
2023-06-21 07:18:04.130662 63.63% [DEBUG] switch_ivr_originate.c:1353 Raw Codec Activation Success L16@8000hz 1 channel 20ms
2023-06-21 07:18:04.130662 63.63% [DEBUG] switch_core_codec.c:223 sofia/default/9900120420@13.232.246.166 Push codec L16:100
2023-06-21 07:18:04.130662 63.63% [DEBUG] switch_ivr_originate.c:1427 Play Ringback Tone [%(2000,1000,475,375)]
2023-06-21 07:18:14.010673 51.43% [NOTICE] switch_ivr_originate.c:364 Hangup sofia/default/8871343676@103.240.35.46:60309 [CS_CONSUME_MEDIA] [ALLOTTED_TIMEOUT]
2023-06-21 07:18:14.010673 51.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@103.240.35.46:60309) Running State Change CS_HANGUP (Cur 2 Tot 147)
2023-06-21 07:18:14.010673 51.43% [DEBUG] switch_core_state_machine.c:844 (sofia/default/8871343676@103.240.35.46:60309) Callstate Change RINGING -> HANGUP
2023-06-21 07:18:14.010673 51.43% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8871343676@103.240.35.46:60309) State HANGUP
2023-06-21 07:18:14.010673 51.43% [DEBUG] mod_sofia.c:468 Channel sofia/default/8871343676@103.240.35.46:60309 hanging up, cause: ALLOTTED_TIMEOUT
2023-06-21 07:18:14.010673 51.43% [DEBUG] mod_sofia.c:536 Sending CANCEL to sofia/default/8871343676@103.240.35.46:60309
2023-06-21 07:18:14.010673 51.43% [DEBUG] switch_core_state_machine.c:59 sofia/default/8871343676@103.240.35.46:60309 Standard HANGUP, cause: ALLOTTED_TIMEOUT
2023-06-21 07:18:14.010673 51.43% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8871343676@103.240.35.46:60309) State HANGUP going to sleep
2023-06-21 07:18:14.010673 51.43% [DEBUG] switch_core_state_machine.c:616 (sofia/default/8871343676@103.240.35.46:60309) State Change CS_HANGUP -> CS_REPORTING
2023-06-21 07:18:14.010673 51.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@103.240.35.46:60309) Running State Change CS_REPORTING (Cur 2 Tot 147)
2023-06-21 07:18:14.010673 51.43% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8871343676@103.240.35.46:60309) State REPORTING
2023-06-21 07:18:14.010673 51.43% [INFO] mod_json_cdr.c:272 Process [cd6a0b91-c7c2-4e01-8520-e203a248c4b6.cdr.json]
2023-06-21 07:18:14.031368 51.43% [DEBUG] switch_core_state_machine.c:168 sofia/default/8871343676@103.240.35.46:60309 Standard REPORTING, cause: ALLOTTED_TIMEOUT
2023-06-21 07:18:14.031368 51.43% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8871343676@103.240.35.46:60309) State REPORTING going to sleep
2023-06-21 07:18:14.031368 51.43% [DEBUG] switch_core_state_machine.c:607 (sofia/default/8871343676@103.240.35.46:60309) State Change CS_REPORTING -> CS_DESTROY
2023-06-21 07:18:14.031368 51.43% [DEBUG] switch_core_session.c:1743 Session 147 (sofia/default/8871343676@103.240.35.46:60309) Locked, Waiting on external entities
2023-06-21 07:18:14.031368 51.43% [DEBUG] switch_core_codec.c:248 sofia/default/9900120420@13.232.246.166 Restore previous codec PCMU:0.
2023-06-21 07:18:14.031368 51.43% [DEBUG] switch_ivr_originate.c:4045 Originate Resulted in Error Cause: 802 [ALLOTTED_TIMEOUT]
2023-06-21 07:18:14.031368 51.43% [NOTICE] switch_core_session.c:1761 Session 147 (sofia/default/8871343676@103.240.35.46:60309) Ended
2023-06-21 07:18:14.031368 51.43% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/8871343676@103.240.35.46:60309 [CS_DESTROY]
2023-06-21 07:18:14.031368 51.43% [DEBUG] switch_core_state_machine.c:735 (sofia/default/8871343676@103.240.35.46:60309) Running State Change CS_DESTROY (Cur 1 Tot 147)
2023-06-21 07:18:14.031368 51.43% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8871343676@103.240.35.46:60309) State DESTROY
2023-06-21 07:18:14.031368 51.43% [INFO] mod_dptools.c:3637 Originate Failed. Cause: ALLOTTED_TIMEOUT
2023-06-21 07:18:14.031368 51.43% [DEBUG] mod_sofia.c:379 sofia/default/8871343676@103.240.35.46:60309 SOFIA DESTROY
2023-06-21 07:18:14.031368 51.43% [DEBUG] switch_core_state_machine.c:175 sofia/default/8871343676@103.240.35.46:60309 Standard DESTROY
2023-06-21 07:18:14.031368 51.43% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8871343676@103.240.35.46:60309) State DESTROY going to sleep
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(original_did_number=10050)
2023-06-21 07:18:14.031368 51.43% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [original_did_number]=[10050]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(no_answer_number=)
2023-06-21 07:18:14.031368 51.43% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [no_answer_number]=[UNDEF]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(no_answer_call_type=ringgroup)
2023-06-21 07:18:14.031368 51.43% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [no_answer_call_type]=[ringgroup]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(no_answer_call_type_value=2)
2023-06-21 07:18:14.031368 51.43% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [no_answer_call_type_value]=[2]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(variable_sip_to_host=alpha6.astppbilling.org)
2023-06-21 07:18:14.031368 51.43% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [variable_sip_to_host]=[alpha6.astppbilling.org]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(userinfo_id=7)
2023-06-21 07:18:14.031368 51.43% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [userinfo_id]=[7]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(variable_sip_to_host=alpha6.astppbilling.org)
2023-06-21 07:18:14.031368 51.43% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [variable_sip_to_host]=[alpha6.astppbilling.org]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(opensips_flag=1)
2023-06-21 07:18:14.031368 51.43% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [opensips_flag]=[1]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 lua(astpp/lib/pbx/astpp.ring_group_destination.lua)
2023-06-21 07:18:14.050682 51.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2023-06-21 07:18:14.050682 51.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
2023-06-21 07:18:14.050682 51.43% [WARNING] switch_cpp.cpp:1465 [ASTPP] This Is Last Dispositions ALLOTTED_TIMEOUT This Is No Answer Number : 2
2023-06-21 07:18:14.050682 51.43% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('no_answer_call_type', '7')
2023-06-21 07:18:14.050682 51.43% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('no_answer_number', '2')
2023-06-21 07:18:14.050682 51.43% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('no_answer_flag', 'true')
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 transfer(7 XML default)
2023-06-21 07:18:14.050682 51.43% [DEBUG] switch_ivr.c:2288 (sofia/default/9900120420@13.232.246.166) State Change CS_EXECUTE -> CS_ROUTING
2023-06-21 07:18:14.050682 51.43% [NOTICE] switch_ivr.c:2295 Transfer sofia/default/9900120420@13.232.246.166 to XML[7@default]
2023-06-21 07:18:14.050682 51.43% [DEBUG] switch_cpp.cpp:1209 sofia/default/9900120420@13.232.246.166 destroy/unlink session from object
2023-06-21 07:18:14.050682 51.43% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9900120420@13.232.246.166) State EXECUTE going to sleep
2023-06-21 07:18:14.050682 51.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_ROUTING (Cur 1 Tot 147)
2023-06-21 07:18:14.050682 51.43% [DEBUG] switch_channel.c:2380 (sofia/default/9900120420@13.232.246.166) Callstate Change EARLY -> RINGING
2023-06-21 07:18:14.050682 51.43% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9900120420@13.232.246.166) State ROUTING
2023-06-21 07:18:14.050682 51.43% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
2023-06-21 07:18:14.050682 51.43% [DEBUG] mod_sofia.c:158 sofia/default/9900120420@13.232.246.166 SOFIA ROUTING
2023-06-21 07:18:14.050682 51.43% [DEBUG] switch_core_state_machine.c:230 sofia/default/9900120420@13.232.246.166 Standard ROUTING
2023-06-21 07:18:14.050682 51.43% [INFO] mod_dialplan_xml.c:639 Processing CallerPKCommunitySix <9900120420>->7 in context default
2023-06-21 07:18:14.070662 51.43% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
2023-06-21 07:18:14.070662 51.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2023-06-21 07:18:14.070662 51.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2023-06-21 07:18:14.070662 51.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-06-21 07:18:14.070662 51.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2023-06-21 07:18:14.070662 51.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Hunt Destination Number: 7
2023-06-21 07:18:14.070662 51.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
2023-06-21 07:18:14.070662 51.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
2023-06-21 07:18:14.070662 51.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Feature Code Transfer Blind Value :*2
2023-06-21 07:18:14.070662 51.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 7
2023-06-21 07:18:14.070662 51.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '7' limit 1
2023-06-21 07:18:14.070662 51.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
2023-06-21 07:18:14.070662 51.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '7' and status=0 LIMIT 1
2023-06-21 07:18:14.070662 51.43% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+alpha
2023-06-21 07:18:14.070662 51.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-06-21 07:18:14.070662 51.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'alpha6.astppbilling.org' limit 1
2023-06-21 07:18:14.070662 51.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '7' and username = '7' limit 1
2023-06-21 07:18:14.070662 51.43% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
2023-06-21 07:18:14.070662 51.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : RINGGROUPCID#CallerPKCommunitySix / 777799#9900120420
span style="color: goldenrod; font-weight: bold;"> 2023-06-21 07:18:14.070662 51.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number
2023-06-21 07:18:14.070662 51.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 7 AND status=0 limit 1
2023-06-21 07:18:14.070662 51.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
2023-06-21 07:18:14.070662 51.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="7" AND domains.domain="alpha6.astppbilling.org" limit 1
2023-06-21 07:18:14.070662 51.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2023-06-21 07:18:14.070662 51.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("13.232.246.166") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 - SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1)) AND "7" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2023-06-21 07:18:14.070662 51.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 8871343676]
2023-06-21 07:18:14.070662 51.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =7
2023-06-21 07:18:14.070662 51.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "8871343676" AND deleted = 0 limit 1
2023-06-21 07:18:14.090675 51.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^7.*' OR blocked_patterns ='--') AND accountid = 7 limit 1
2023-06-21 07:18:14.090675 51.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
2023-06-21 07:18:14.090675 51.43% [ERR] mod_lua.cpp:202 ...ip_pbx/freeswitch/scripts/astpp/lib/addons/astpp.pbx.lua:1796: attempt to index global 'didinfo' (a nil value)
stack traceback:
...ip_pbx/freeswitch/scripts/astpp/lib/addons/astpp.pbx.lua:1796: in function 'ringgroup_no_answer_forward'
./astpp/scripts/astpp.dialplan.lua:355: in main chunk
[C]: in function 'dofile'
./astpp/astpp_deb9.lua:138: in main chunk
2023-06-21 07:18:14.090675 51.43% [ERR] mod_lua.cpp:269 LUA script parse/execute error!
2023-06-21 07:18:14.090675 51.43% [WARNING] mod_dialplan_xml.c:669 Context default not found
2023-06-21 07:18:14.090675 51.43% [INFO] switch_core_state_machine.c:306 No Route, Aborting
2023-06-21 07:18:14.090675 51.43% [NOTICE] switch_core_state_machine.c:307 Hangup sofia/default/9900120420@13.232.246.166 [CS_ROUTING] [NO_ROUTE_DESTINATION]
2023-06-21 07:18:14.090675 51.43% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9900120420@13.232.246.166) State ROUTING going to sleep
2023-06-21 07:18:14.090675 51.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_HANGUP (Cur 1 Tot 147)
2023-06-21 07:18:14.090675 51.43% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9900120420@13.232.246.166) Callstate Change RINGING -> HANGUP
2023-06-21 07:18:14.090675 51.43% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9900120420@13.232.246.166) State HANGUP
2023-06-21 07:18:14.090675 51.43% [DEBUG] mod_sofia.c:468 Channel sofia/default/9900120420@13.232.246.166 hanging up, cause: NO_ROUTE_DESTINATION
2023-06-21 07:18:14.090675 51.43% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 404
2023-06-21 07:18:14.090675 51.43% [DEBUG] switch_core_state_machine.c:59 sofia/default/9900120420@13.232.246.166 Standard HANGUP, cause: NO_ROUTE_DESTINATION
2023-06-21 07:18:14.090675 51.43% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9900120420@13.232.246.166) State HANGUP going to sleep
2023-06-21 07:18:14.090675 51.43% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9900120420@13.232.246.166) State Change CS_HANGUP -> CS_REPORTING
2023-06-21 07:18:14.090675 51.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_REPORTING (Cur 1 Tot 147)
2023-06-21 07:18:14.090675 51.43% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9900120420@13.232.246.166) State REPORTING
2023-06-21 07:18:14.090675 51.43% [INFO] mod_json_cdr.c:272 Process [903ea759-e602-4e26-b88d-2891ca68adb7.cdr.json]
2023-06-21 07:18:14.110667 51.43% [DEBUG] switch_core_state_machine.c:168 sofia/default/9900120420@13.232.246.166 Standard REPORTING, cause: NO_ROUTE_DESTINATION
2023-06-21 07:18:14.110667 51.43% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9900120420@13.232.246.166) State REPORTING going to sleep
2023-06-21 07:18:14.110667 51.43% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9900120420@13.232.246.166) State Change CS_REPORTING -> CS_DESTROY
2023-06-21 07:18:14.110667 51.43% [DEBUG] switch_core_session.c:1743 Session 145 (sofia/default/9900120420@13.232.246.166) Locked, Waiting on external entities
2023-06-21 07:18:14.110667 51.43% [NOTICE] switch_core_session.c:1761 Session 145 (sofia/default/9900120420@13.232.246.166) Ended
2023-06-21 07:18:14.110667 51.43% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/9900120420@13.232.246.166 [CS_DESTROY]
2023-06-21 07:18:14.110667 51.43% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9900120420@13.232.246.166) Running State Change CS_DESTROY (Cur 0 Tot 147)
2023-06-21 07:18:14.110667 51.43% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9900120420@13.232.246.166) State DESTROY
2023-06-21 07:18:14.110667 51.43% [DEBUG] mod_sofia.c:379 sofia/default/9900120420@13.232.246.166 SOFIA DESTROY
2023-06-21 07:18:14.110667 51.43% [DEBUG] switch_core_state_machine.c:175 sofia/default/9900120420@13.232.246.166 Standard DESTROY
2023-06-21 07:18:14.110667 51.43% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9900120420@13.232.246.166) State DESTROY going to sleep
2023-06-21 07:18:30.730664 44.30% [WARNING] sofia_reg.c:1846 SIP auth challenge (REGISTER) on sofia profile 'default' for [2271920202@alpha.astppbilling.org] from ip 157.32.111.121