freeswitch@AlphaQA> 2023-02-04 04:28:02.538802 96.57% [NOTICE] switch_channel.c:1123 New Channel sofia/alpha/900088@alpha5.astppbilling.org:5074 [8f11615d-75cb-4120-99d8-a923ad646c83] 2023-02-04 04:28:02.538802 96.57% [DEBUG] switch_core_state_machine.c:581 (sofia/alpha/900088@alpha5.astppbilling.org:5074) Running State Change CS_NEW (Cur 1 Tot 11) 2023-02-04 04:28:02.538802 96.57% [INFO] sofia.c:10462 sofia/alpha/900088@alpha5.astppbilling.org:5074 receiving invite from 43.250.157.10:30620 version: 1.10.7 -release 64bit call-id: OWVmYzQyNDlkMGFiYzliYTA3NDVlMzEyYmQ2ODBhZTI. 2023-02-04 04:28:02.538802 96.57% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 43.250.157.10:0. 2023-02-04 04:28:02.538802 96.57% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'alpha' for [130303030@alpha5.astppbilling.org] from ip 43.250.157.10 2023-02-04 04:28:02.538802 96.57% [DEBUG] switch_core_state_machine.c:600 (sofia/alpha/900088@alpha5.astppbilling.org:5074) State NEW 2023-02-04 04:28:02.538802 96.57% [DEBUG] sofia.c:2419 detaching session 8f11615d-75cb-4120-99d8-a923ad646c83 2023-02-04 04:28:02.858805 96.57% [DEBUG] sofia.c:2532 Re-attaching to session 8f11615d-75cb-4120-99d8-a923ad646c83 2023-02-04 04:28:02.858805 96.57% [INFO] sofia.c:10462 sofia/alpha/900088@alpha5.astppbilling.org:5074 receiving invite from 43.250.157.10:30620 version: 1.10.7 -release 64bit call-id: OWVmYzQyNDlkMGFiYzliYTA3NDVlMzEyYmQ2ODBhZTI. 2023-02-04 04:28:02.858805 96.57% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 43.250.157.10:0. 2023-02-04 04:28:02.878802 96.57% [DEBUG] sofia.c:7499 Channel sofia/alpha/900088@alpha5.astppbilling.org:5074 entering state [received][100] 2023-02-04 04:28:02.878802 96.57% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=Z 0 0 IN IP4 43.250.157.10 s=Z c=IN IP4 43.250.157.10 t=0 0 m=audio 30652 RTP/AVP 3 110 8 0 98 101 a=rtpmap:110 speex/8000 a=rtpmap:98 iLBC/8000 a=fmtp:98 mode=20 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G729:18:8000:20:8000:1] 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[G729:18:8000:20:8000:1] 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1] 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[G729:18:8000:20:8000:1] 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_core_media.c:3870 Set Codec sofia/alpha/900088@alpha5.astppbilling.org:5074 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_core_codec.c:111 sofia/alpha/900088@alpha5.astppbilling.org:5074 Original read codec set to PCMA:8 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_core_media.c:5973 sofia/alpha/900088@alpha5.astppbilling.org:5074 Set 2833 dtmf send payload to 101 recv payload to 101 2023-02-04 04:28:02.878802 96.57% [DEBUG] sofia.c:7933 (sofia/alpha/900088@alpha5.astppbilling.org:5074) State Change CS_NEW -> CS_INIT 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_core_state_machine.c:581 (sofia/alpha/900088@alpha5.astppbilling.org:5074) Running State Change CS_INIT (Cur 1 Tot 11) 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_core_state_machine.c:624 (sofia/alpha/900088@alpha5.astppbilling.org:5074) State INIT 2023-02-04 04:28:02.878802 96.57% [DEBUG] mod_sofia.c:97 sofia/alpha/900088@alpha5.astppbilling.org:5074 SOFIA INIT 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_core_state_machine.c:40 sofia/alpha/900088@alpha5.astppbilling.org:5074 Standard INIT 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_core_state_machine.c:48 (sofia/alpha/900088@alpha5.astppbilling.org:5074) State Change CS_INIT -> CS_ROUTING 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_core_state_machine.c:624 (sofia/alpha/900088@alpha5.astppbilling.org:5074) State INIT going to sleep 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_core_state_machine.c:581 (sofia/alpha/900088@alpha5.astppbilling.org:5074) Running State Change CS_ROUTING (Cur 1 Tot 11) 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_channel.c:2380 (sofia/alpha/900088@alpha5.astppbilling.org:5074) Callstate Change DOWN -> RINGING 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_core_state_machine.c:640 (sofia/alpha/900088@alpha5.astppbilling.org:5074) State ROUTING 2023-02-04 04:28:02.878802 96.57% [DEBUG] mod_sofia.c:158 sofia/alpha/900088@alpha5.astppbilling.org:5074 SOFIA ROUTING 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_core_state_machine.c:230 sofia/alpha/900088@alpha5.astppbilling.org:5074 Standard ROUTING 2023-02-04 04:28:02.878802 96.57% [INFO] mod_dialplan_xml.c:639 Processing 900088 <900088>->130303030 in context default 2023-02-04 04:28:02.878802 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-02-04 04:28:02.878802 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 130303030 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0 2023-02-04 04:28:02.878802 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER900088 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '130303030' limit 1 2023-02-04 04:28:02.878802 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 900088 / 900088 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT 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 WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="130303030" limit 1 2023-02-04 04:28:02.878802 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound 2023-02-04 04:28:02.878802 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 900088] 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "900088" AND deleted = 0 limit 1 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^130303030.*' OR blocked_patterns = '^13030303.*' OR blocked_patterns = '^1303030.*' OR blocked_patterns = '^130303.*' OR blocked_patterns = '^13030.*' OR blocked_patterns = '^1303.*' OR blocked_patterns = '^130.*' OR blocked_patterns = '^13.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 404 limit 1 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0 2023-02-04 04:28:02.878802 96.57% [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 = '^130303030.*' OR patterns = '^13030303.*' OR patterns = '^1303030.*' OR patterns = '^130303.*' OR patterns = '^13030.*' OR patterns = '^1303.*' OR patterns = '^130.*' OR patterns = '^13.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 404 ORDER BY LENGTH(PKGPTR.patterns) DESC 2023-02-04 04:28:02.878802 96.57% [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 ="130303030" AND A.accountid = '404' limit 1 2023-02-04 04:28:02.878802 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 130303030 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT 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 WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="130303030" limit 1 2023-02-04 04:28:02.878802 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound 2023-02-04 04:28:02.878802 96.57% [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 = '130303030' OR number = '13030303' OR number = '1303030' OR number = '130303' OR number = '13030' OR number = '1303' OR number = '130' OR number = '13' OR number = '1' OR number ='--') OR (number = '130303030*' OR number = '13030303*' OR number = '1303030*' OR number = '130303*' OR number = '13030*' OR number = '1303*' OR number = '130*' OR number = '13*' OR number = '1*' OR number ='--') OR (number = '900088' OR number = '90008' OR number = '9000' OR number = '900' OR number = '90' OR number = '9' OR number ='--') OR (number = '900088*' OR number = '90008*' OR number = '9000*' OR number = '900*' OR number = '90*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '130303030' OR routing_prefix = '13030303' OR routing_prefix = '1303030' OR routing_prefix = '130303' OR routing_prefix = '13030' OR routing_prefix = '1303' OR routing_prefix = '130' OR routing_prefix = '13' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 403 limit 1 2023-02-04 04:28:02.878802 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2023-02-04 04:28:02.878802 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 404 2023-02-04 04:28:02.878802 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 900088 2023-02-04 04:28:02.878802 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 20000 2023-02-04 04:28:02.878802 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2023-02-04 04:28:02.878802 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 80 2023-02-04 04:28:02.878802 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2023-02-04 04:28:02.878802 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::80 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::80 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^130303030.*' OR pattern = '^13030303.*' OR pattern = '^1303030.*' OR pattern = '^130303.*' OR pattern = '^13030.*' OR pattern = '^1303.*' OR pattern = '^130.*' OR pattern = '^13.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^900088.*' OR caller_id_pattern = '^90008.*' OR caller_id_pattern = '^9000.*' OR caller_id_pattern = '^900.*' OR caller_id_pattern = '^90.*' OR caller_id_pattern = '^9.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 80 OR accountid=404) ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2023-02-04 04:28:02.878802 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound 2023-02-04 04:28:02.878802 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2023-02-04 04:28:02.878802 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 60 2023-02-04 04:28:02.878802 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2023-02-04 04:28:02.878802 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2023-02-04 04:28:02.878802 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.99000 2023-02-04 04:28:02.878802 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : NO DESTINATION 2023-02-04 04:28:02.878802 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 58 2023-02-04 04:28:02.878802 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 404 2023-02-04 04:28:02.878802 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 2023-02-04 04:28:02.878802 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type: 2023-02-04 04:28:02.878802 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2023-02-04 04:28:02.878802 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your20000 balance Accountid 404 !!! 2023-02-04 04:28:02.878802 96.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 1000 mins! 2023-02-04 04:28:02.878802 96.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 403 2023-02-04 04:28:02.878802 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "403" AND deleted = 0 limit 1 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^130303030.*' OR blocked_patterns = '^13030303.*' OR blocked_patterns = '^1303030.*' OR blocked_patterns = '^130303.*' OR blocked_patterns = '^13030.*' OR blocked_patterns = '^1303.*' OR blocked_patterns = '^130.*' OR blocked_patterns = '^13.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 403 limit 1 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information =================== 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 403 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 900077 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 3000 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 3 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::3 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::3 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^130303030.*' OR pattern = '^13030303.*' OR pattern = '^1303030.*' OR pattern = '^130303.*' OR pattern = '^13030.*' OR pattern = '^1303.*' OR pattern = '^130.*' OR pattern = '^13.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^900088.*' OR caller_id_pattern = '^90008.*' OR caller_id_pattern = '^9000.*' OR caller_id_pattern = '^900.*' OR caller_id_pattern = '^90.*' OR caller_id_pattern = '^9.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 3 OR accountid=403) ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 4 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : UKKKKK 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 15 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 403 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type: 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your3000 balance Accountid 403 !!! 2023-02-04 04:28:02.898790 96.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 1000 mins! 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:60|CODE:^1.*|DESTINATION:NO DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.99000|INC:60|INITIALBLOCK:60|RATEGROUP:80|MARKUP:0|CI:58|ACCID:404||ID:4|CODE:^1.*|DESTINATION:UKKKKK|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:3|MARKUP:0|CI:15|ACCID:403 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 1 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 1000 minutes 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id : 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=3 ORDER by id asc 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^130303030.*' OR pattern = '^13030303.*' OR pattern = '^1303030.*' OR pattern = '^130303.*' OR pattern = '^13030.*' OR pattern = '^1303.*' OR pattern = '^130.*' OR pattern = '^13.*' OR pattern = '^1.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (3) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information =================== 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.* 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : BETA DESTINATION 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.* 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip : 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 3 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable : 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 4 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES======================= 2023-02-04 04:28:02.898790 96.57% [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 = 404 AND status=0 LIMIT 1 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 1000 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-02-04 04:28:02.898790 96.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::3 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 4) AND status=0 limit 1 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 3) AND status=0 limit 1 2023-02-04 04:28:02.898790 96.57% [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 ="130303030" LIMIT 1 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 parsing [default->130303030] continue=false Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Regex (PASS) [130303030] destination_number(130303030) =~ /130303030/ break=on-false Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action set(effective_destination_number=130303030) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action set(bridge_pre_execute_bleg_data=+60000 normal_clearing) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action set(notify_flag=0) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action set(notify_credit_limit=5.00000) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action set(type=0) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action set(callstart=2023-02-04 04:28:02) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action set(hangup_after_bridge=true) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action set(continue_on_fail=TRUE) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action set(account_id=404) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action set(parent_id=403) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action set(entity_id=0) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action set(call_processed=internal) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action set(call_direction=outbound) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action set(accountname=default) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action export(t38_passthru=true) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action set(fax_enable_t38=true) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action set(fax_enable_t38_request=true) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action set(origination_rates=ID:60|CODE:^1.*|DESTINATION:NO DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.99000|INC:60|INITIALBLOCK:60|RATEGROUP:80|MARKUP:0|CI:58|ACCID:404||ID:4|CODE:^1.*|DESTINATION:UKKKKK|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:3|MARKUP:0|CI:15|ACCID:403) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action set(original_caller_id_name=900088) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action set(original_caller_id_number=900088) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action set(effective_caller_id_name=900088) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action set(effective_caller_id_number=900088) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action set(calltype=STANDARD) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action set(termination_rates=ID:2|CODE:^1.*|DESTINATION:BETA DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:3|PROVIDER:4) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action set(trunk_id=3) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action set(provider_id=4) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action set(rate_flag=0) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action set(daily_call_credit_limit=700.00000) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action set(monthly_call_credit_limit=900.00000) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action set(daily_call_used_limit=0.00000) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action set(monthly_call_used_limit=0.00000) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action set(quality_trunk_seq=3) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action set(force_trunk_flag=0) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action export(presence_data=trunk_id=3) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action set(intcall=0) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action export(presence_id=130303030) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action export(presence_data=x//403|||PK Reseller Customer(900088)|||^1.* // NO DESTINATION // 1.99000 |||PK-QA-TRUNK // ^1.* // BETA DESTINATION // 0.30000 // trunk_id=3|||STD|||43.250.157.10|||0.60000 // ^1.* // UKKKKK) Dialplan: sofia/alpha/900088@alpha5.astppbilling.org:5074 Action bridge({sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:G729:PCMU]sofia/gateway/YourProvider/130303030) 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_core_state_machine.c:281 (sofia/alpha/900088@alpha5.astppbilling.org:5074) State Change CS_ROUTING -> CS_EXECUTE 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_core_state_machine.c:640 (sofia/alpha/900088@alpha5.astppbilling.org:5074) State ROUTING going to sleep 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_core_state_machine.c:581 (sofia/alpha/900088@alpha5.astppbilling.org:5074) Running State Change CS_EXECUTE (Cur 1 Tot 11) 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_core_state_machine.c:647 (sofia/alpha/900088@alpha5.astppbilling.org:5074) State EXECUTE 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_sofia.c:213 sofia/alpha/900088@alpha5.astppbilling.org:5074 SOFIA EXECUTE 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_core_state_machine.c:323 sofia/alpha/900088@alpha5.astppbilling.org:5074 Standard EXECUTE EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 set(effective_destination_number=130303030) 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_dptools.c:1685 SET sofia/alpha/900088@alpha5.astppbilling.org:5074 [effective_destination_number]=[130303030] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 set(bridge_pre_execute_bleg_app=sched_hangup) 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_dptools.c:1685 SET sofia/alpha/900088@alpha5.astppbilling.org:5074 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 set(bridge_pre_execute_bleg_data=+60000 normal_clearing) 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_dptools.c:1685 SET sofia/alpha/900088@alpha5.astppbilling.org:5074 [bridge_pre_execute_bleg_data]=[+60000 normal_clearing] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 set(notify_flag=0) 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_dptools.c:1685 SET sofia/alpha/900088@alpha5.astppbilling.org:5074 [notify_flag]=[0] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 set(notify_credit_limit=5.00000) 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_dptools.c:1685 SET sofia/alpha/900088@alpha5.astppbilling.org:5074 [notify_credit_limit]=[5.00000] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 set(type=0) 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_dptools.c:1685 SET sofia/alpha/900088@alpha5.astppbilling.org:5074 [type]=[0] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 set(callstart=2023-02-04 04:28:02) 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_dptools.c:1685 SET sofia/alpha/900088@alpha5.astppbilling.org:5074 [callstart]=[2023-02-04 04:28:02] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 set(hangup_after_bridge=true) 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_dptools.c:1685 SET sofia/alpha/900088@alpha5.astppbilling.org:5074 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 set(continue_on_fail=TRUE) 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_dptools.c:1685 SET sofia/alpha/900088@alpha5.astppbilling.org:5074 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 set(account_id=404) 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_dptools.c:1685 SET sofia/alpha/900088@alpha5.astppbilling.org:5074 [account_id]=[404] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 set(parent_id=403) 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_dptools.c:1685 SET sofia/alpha/900088@alpha5.astppbilling.org:5074 [parent_id]=[403] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 set(entity_id=0) 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_dptools.c:1685 SET sofia/alpha/900088@alpha5.astppbilling.org:5074 [entity_id]=[0] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 set(call_processed=internal) 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_dptools.c:1685 SET sofia/alpha/900088@alpha5.astppbilling.org:5074 [call_processed]=[internal] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 set(call_direction=outbound) 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_dptools.c:1685 SET sofia/alpha/900088@alpha5.astppbilling.org:5074 [call_direction]=[outbound] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 set(accountname=default) 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_dptools.c:1685 SET sofia/alpha/900088@alpha5.astppbilling.org:5074 [accountname]=[default] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 export(t38_passthru=true) 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 set(fax_enable_t38=true) 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_dptools.c:1685 SET sofia/alpha/900088@alpha5.astppbilling.org:5074 [fax_enable_t38]=[true] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 set(fax_enable_t38_request=true) 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_dptools.c:1685 SET sofia/alpha/900088@alpha5.astppbilling.org:5074 [fax_enable_t38_request]=[true] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 set(origination_rates=ID:60|CODE:^1.*|DESTINATION:NO DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.99000|INC:60|INITIALBLOCK:60|RATEGROUP:80|MARKUP:0|CI:58|ACCID:404||ID:4|CODE:^1.*|DESTINATION:UKKKKK|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:3|MARKUP:0|CI:15|ACCID:403) 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_dptools.c:1685 SET sofia/alpha/900088@alpha5.astppbilling.org:5074 [origination_rates]=[ID:60|CODE:^1.*|DESTINATION:NO DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.99000|INC:60|INITIALBLOCK:60|RATEGROUP:80|MARKUP:0|CI:58|ACCID:404||ID:4|CODE:^1.*|DESTINATION:UKKKKK|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:3|MARKUP:0|CI:15|ACCID:403] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 set(original_caller_id_name=900088) 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_dptools.c:1685 SET sofia/alpha/900088@alpha5.astppbilling.org:5074 [original_caller_id_name]=[900088] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 set(original_caller_id_number=900088) 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_dptools.c:1685 SET sofia/alpha/900088@alpha5.astppbilling.org:5074 [original_caller_id_number]=[900088] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 set(effective_caller_id_name=900088) 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_dptools.c:1685 SET sofia/alpha/900088@alpha5.astppbilling.org:5074 [effective_caller_id_name]=[900088] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 set(effective_caller_id_number=900088) 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_dptools.c:1685 SET sofia/alpha/900088@alpha5.astppbilling.org:5074 [effective_caller_id_number]=[900088] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 set(calltype=STANDARD) 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_dptools.c:1685 SET sofia/alpha/900088@alpha5.astppbilling.org:5074 [calltype]=[STANDARD] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 set(termination_rates=ID:2|CODE:^1.*|DESTINATION:BETA DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:3|PROVIDER:4) 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_dptools.c:1685 SET sofia/alpha/900088@alpha5.astppbilling.org:5074 [termination_rates]=[ID:2|CODE:^1.*|DESTINATION:BETA DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:3|PROVIDER:4] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 set(trunk_id=3) 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_dptools.c:1685 SET sofia/alpha/900088@alpha5.astppbilling.org:5074 [trunk_id]=[3] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 set(provider_id=4) 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_dptools.c:1685 SET sofia/alpha/900088@alpha5.astppbilling.org:5074 [provider_id]=[4] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 set(rate_flag=0) 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_dptools.c:1685 SET sofia/alpha/900088@alpha5.astppbilling.org:5074 [rate_flag]=[0] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 set(daily_call_credit_limit=700.00000) 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_dptools.c:1685 SET sofia/alpha/900088@alpha5.astppbilling.org:5074 [daily_call_credit_limit]=[700.00000] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 set(monthly_call_credit_limit=900.00000) 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_dptools.c:1685 SET sofia/alpha/900088@alpha5.astppbilling.org:5074 [monthly_call_credit_limit]=[900.00000] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 set(daily_call_used_limit=0.00000) 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_dptools.c:1685 SET sofia/alpha/900088@alpha5.astppbilling.org:5074 [daily_call_used_limit]=[0.00000] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 set(monthly_call_used_limit=0.00000) 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_dptools.c:1685 SET sofia/alpha/900088@alpha5.astppbilling.org:5074 [monthly_call_used_limit]=[0.00000] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 set(quality_trunk_seq=3) 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_dptools.c:1685 SET sofia/alpha/900088@alpha5.astppbilling.org:5074 [quality_trunk_seq]=[3] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 set(force_trunk_flag=0) 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_dptools.c:1685 SET sofia/alpha/900088@alpha5.astppbilling.org:5074 [force_trunk_flag]=[0] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 export(presence_data=trunk_id=3) 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=3] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 set(intcall=0) 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_dptools.c:1685 SET sofia/alpha/900088@alpha5.astppbilling.org:5074 [intcall]=[0] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 export(presence_id=130303030) 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[130303030] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 export(presence_data=x//403|||PK Reseller Customer(900088)|||^1.* // NO DESTINATION // 1.99000 |||PK-QA-TRUNK // ^1.* // BETA DESTINATION // 0.30000 // trunk_id=3|||STD|||43.250.157.10|||0.60000 // ^1.* // UKKKKK) 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//403|||PK Reseller Customer(900088)|||^1.* // NO DESTINATION // 1.99000 |||PK-QA-TRUNK // ^1.* // BETA DESTINATION // 0.30000 // trunk_id=3|||STD|||43.250.157.10|||0.60000 // ^1.* // UKKKKK] EXECUTE [depth=0] sofia/alpha/900088@alpha5.astppbilling.org:5074 bridge({sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:G729:PCMU]sofia/gateway/YourProvider/130303030) 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_channel.c:1269 sofia/alpha/900088@alpha5.astppbilling.org:5074 EXPORTING[export_vars] [t38_passthru]=[true] to event 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_channel.c:1269 sofia/alpha/900088@alpha5.astppbilling.org:5074 EXPORTING[export_vars] [presence_data]=[x//403|||PK Reseller Customer(900088)|||^1.* // NO DESTINATION // 1.99000 |||PK-QA-TRUNK // ^1.* // BETA DESTINATION // 0.30000 // trunk_id=3|||STD|||43.250.157.10|||0.60000 // ^1.* // UKKKKK] to event 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_channel.c:1269 sofia/alpha/900088@alpha5.astppbilling.org:5074 EXPORTING[export_vars] [presence_id]=[130303030] to event 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_channel.c:1269 sofia/alpha/900088@alpha5.astppbilling.org:5074 EXPORTING[export_vars] [presence_data]=[x//403|||PK Reseller Customer(900088)|||^1.* // NO DESTINATION // 1.99000 |||PK-QA-TRUNK // ^1.* // BETA DESTINATION // 0.30000 // trunk_id=3|||STD|||43.250.157.10|||0.60000 // ^1.* // UKKKKK] to event 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables 2023-02-04 04:28:02.898790 96.57% [NOTICE] switch_channel.c:1123 New Channel sofia/default/130303030 [c75dc2e7-80d5-47f5-a4b7-a57ab4be7390] 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_sofia.c:5121 (sofia/default/130303030) State Change CS_NEW -> CS_INIT 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/130303030) Running State Change CS_INIT (Cur 2 Tot 12) 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/130303030) State INIT 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_sofia.c:97 sofia/default/130303030 SOFIA INIT 2023-02-04 04:28:02.898790 96.57% [INFO] sofia_glue.c:1651 sofia/default/130303030 sending invite call-id: (null) 2023-02-04 04:28:02.898790 96.57% [DEBUG] sofia_glue.c:1654 sofia/default/130303030 sending invite version: 1.10.7 -release 64bit Local SDP: v=0 o=FreeSWITCH 1675467716 1675467717 IN IP4 168.119.48.166 s=FreeSWITCH c=IN IP4 168.119.48.166 t=0 0 m=audio 17166 RTP/AVP 8 18 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_core_state_machine.c:40 sofia/default/130303030 Standard INIT 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_core_state_machine.c:48 (sofia/default/130303030) State Change CS_INIT -> CS_ROUTING 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/130303030) State INIT going to sleep 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/130303030) Running State Change CS_ROUTING (Cur 2 Tot 12) 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/130303030) State ROUTING 2023-02-04 04:28:02.898790 96.57% [DEBUG] mod_sofia.c:158 sofia/default/130303030 SOFIA ROUTING 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_ivr_originate.c:67 (sofia/default/130303030) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/130303030) State ROUTING going to sleep 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/130303030) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 12) 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_core_state_machine.c:659 (sofia/default/130303030) State CONSUME_MEDIA 2023-02-04 04:28:02.898790 96.57% [DEBUG] switch_core_state_machine.c:659 (sofia/default/130303030) State CONSUME_MEDIA going to sleep 2023-02-04 04:28:02.898790 96.57% [DEBUG] sofia.c:7499 Channel sofia/default/130303030 entering state [calling][0] 2023-02-04 04:28:03.198808 96.20% [DEBUG] sofia.c:7499 Channel sofia/default/130303030 entering state [completing][200] 2023-02-04 04:28:03.198808 96.20% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=root 247485711 247485711 IN IP4 159.203.131.36 s=Asterisk PBX 16.4.0 c=IN IP4 159.203.131.36 t=0 0 m=audio 11416 RTP/AVP 0 8 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=maxptime:150 2023-02-04 04:28:03.198808 96.20% [DEBUG] sofia.c:7499 Channel sofia/default/130303030 entering state [ready][200] 2023-02-04 04:28:03.198808 96.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:150:64000:1]/[PCMA:8:8000:20:64000:1] 2023-02-04 04:28:03.198808 96.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:150:64000:1]/[G729:18:8000:20:8000:1] 2023-02-04 04:28:03.198808 96.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:150:64000:1]/[PCMU:0:8000:20:64000:1] 2023-02-04 04:28:03.198808 96.20% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2023-02-04 04:28:03.198808 96.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1] 2023-02-04 04:28:03.198808 96.20% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2023-02-04 04:28:03.198808 96.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1] 2023-02-04 04:28:03.198808 96.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMU:0:8000:20:64000:1] 2023-02-04 04:28:03.198808 96.20% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2023-02-04 04:28:03.198808 96.20% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/130303030 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2023-02-04 04:28:03.198808 96.20% [DEBUG] switch_core_codec.c:111 sofia/default/130303030 Original read codec set to PCMU:0 2023-02-04 04:28:03.198808 96.20% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2023-02-04 04:28:03.198808 96.20% [DEBUG] switch_core_media.c:5973 sofia/default/130303030 Set 2833 dtmf send payload to 101 recv payload to 101 2023-02-04 04:28:03.198808 96.20% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/130303030] 168.119.48.166 port 17166 -> 159.203.131.36 port 11416 codec: 0 ms: 20 2023-02-04 04:28:03.198808 96.20% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms 2023-02-04 04:28:03.198808 96.20% [DEBUG] switch_core_media.c:9089 sofia/default/130303030 Set 2833 dtmf send payload to 101 2023-02-04 04:28:03.198808 96.20% [DEBUG] switch_core_media.c:9096 sofia/default/130303030 Set 2833 dtmf receive payload to 101 2023-02-04 04:28:03.198808 96.20% [DEBUG] switch_core_media.c:9119 sofia/default/130303030 Set rtp dtmf delay to 40 2023-02-04 04:28:03.198808 96.20% [NOTICE] sofia.c:8683 Channel [sofia/default/130303030] has been answered 2023-02-04 04:28:03.198808 96.20% [DEBUG] switch_channel.c:3950 (sofia/default/130303030) Callstate Change DOWN -> ACTIVE 2023-02-04 04:28:03.218798 96.20% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/alpha/900088@alpha5.astppbilling.org:5074] 168.119.48.166 port 26612 -> 43.250.157.10 port 30652 codec: 8 ms: 20 2023-02-04 04:28:03.218798 96.20% [DEBUG] switch_rtp.c:4641 Not using a timer 2023-02-04 04:28:03.218798 96.20% [DEBUG] switch_core_media.c:9089 sofia/alpha/900088@alpha5.astppbilling.org:5074 Set 2833 dtmf send payload to 101 2023-02-04 04:28:03.218798 96.20% [DEBUG] switch_core_media.c:9096 sofia/alpha/900088@alpha5.astppbilling.org:5074 Set 2833 dtmf receive payload to 101 2023-02-04 04:28:03.218798 96.20% [DEBUG] switch_core_media.c:9119 sofia/alpha/900088@alpha5.astppbilling.org:5074 Set rtp dtmf delay to 40 2023-02-04 04:28:03.218798 96.20% [DEBUG] mod_sofia.c:913 Local SDP sofia/alpha/900088@alpha5.astppbilling.org:5074: v=0 o=FreeSWITCH 1675458271 1675458272 IN IP4 168.119.48.166 s=FreeSWITCH c=IN IP4 168.119.48.166 t=0 0 m=audio 26612 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2023-02-04 04:28:03.218798 96.20% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/alpha/900088@alpha5.astppbilling.org:5074] has been answered 2023-02-04 04:28:03.218798 96.20% [DEBUG] switch_channel.c:3950 (sofia/alpha/900088@alpha5.astppbilling.org:5074) Callstate Change RINGING -> ACTIVE 2023-02-04 04:28:03.218798 96.20% [DEBUG] sofia.c:7499 Channel sofia/alpha/900088@alpha5.astppbilling.org:5074 entering state [completed][200] 2023-02-04 04:28:03.218798 96.20% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/130303030] Peer UUID: c75dc2e7-80d5-47f5-a4b7-a57ab4be7390 2023-02-04 04:28:03.218798 96.20% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/130303030) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2023-02-04 04:28:03.218798 96.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/130303030) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 12) 2023-02-04 04:28:03.218798 96.20% [DEBUG] switch_core_state_machine.c:650 (sofia/default/130303030) State EXCHANGE_MEDIA 2023-02-04 04:28:03.218798 96.20% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA 2023-02-04 04:28:03.358803 96.20% [DEBUG] sofia.c:7499 Channel sofia/alpha/900088@alpha5.astppbilling.org:5074 entering state [ready][200] 2023-02-04 04:28:03.398815 96.20% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed. 2023-02-04 04:28:03.398815 96.20% [DEBUG] switch_ivr_bridge.c:655 sofia/default/130303030 Bridge execute app sched_hangup(+60000 normal_clearing) 2023-02-04 04:28:03.418821 96.20% [DEBUG] switch_ivr.c:632 sofia/default/130303030 Command Execute [depth=0] sched_hangup(+60000 normal_clearing) EXECUTE [depth=0] sofia/default/130303030 sched_hangup(+60000 normal_clearing) 2023-02-04 04:28:03.418821 96.20% [DEBUG] switch_scheduler.c:263 Added task 5 switch_ivr_schedule_hangup (c75dc2e7-80d5-47f5-a4b7-a57ab4be7390) to run at 1675544883 2023-02-04 04:28:03.538815 96.20% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed. freeswitch@AlphaQA>