freeswitch@devangASTPP> 2022-06-15 05:42:18.577275 91.70% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [8828803803@astppqa601.astppbilling.org] from ip 103.240.35.46 2022-06-15 05:42:18.917259 91.70% [WARNING] sofia_reg.c:3223 Can't find user [8828803803@astppqa601.astppbilling.org] from 103.240.35.46 You must define a domain called 'astppqa601.astppbilling.org' in your directory and add a user with the id="8828803803" attribute and you must configure your device to use the proper domain in its authentication credentials. 2022-06-15 05:42:36.077272 94.77% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9999000010@astppqa603.astppbilling.org:5072 [631edd47-620d-41e7-a469-fdc1bbd63cd8] 2022-06-15 05:42:36.077272 94.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9999000010@astppqa603.astppbilling.org:5072) Running State Change CS_NEW (Cur 1 Tot 2504) 2022-06-15 05:42:36.077272 94.77% [INFO] sofia.c:10462 sofia/default/9999000010@astppqa603.astppbilling.org:5072 receiving invite from 103.240.35.46:59643 version: 1.10.7 -release 64bit call-id: aHVU6HllDuFGnziLSBmt6g.. 2022-06-15 05:42:36.077272 94.77% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0. 2022-06-15 05:42:36.077272 94.77% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [1054546@astppqa603.astppbilling.org] from ip 103.240.35.46 2022-06-15 05:42:36.077272 94.77% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9999000010@astppqa603.astppbilling.org:5072) State NEW 2022-06-15 05:42:36.077272 94.77% [DEBUG] sofia.c:2419 detaching session 631edd47-620d-41e7-a469-fdc1bbd63cd8 2022-06-15 05:42:36.397259 94.77% [DEBUG] sofia.c:2532 Re-attaching to session 631edd47-620d-41e7-a469-fdc1bbd63cd8 2022-06-15 05:42:36.417258 94.77% [INFO] sofia.c:10462 sofia/default/9999000010@astppqa603.astppbilling.org:5072 receiving invite from 103.240.35.46:59643 version: 1.10.7 -release 64bit call-id: aHVU6HllDuFGnziLSBmt6g.. 2022-06-15 05:42:36.417258 94.77% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0. 2022-06-15 05:42:36.417258 94.77% [DEBUG] sofia.c:11672 Setting NAT mode based on via received 2022-06-15 05:42:36.417258 94.77% [DEBUG] sofia.c:7499 Channel sofia/default/9999000010@astppqa603.astppbilling.org:5072 entering state [received][100] 2022-06-15 05:42:36.417258 94.77% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=Z 0 0 IN IP4 192.168.1.13 s=Z c=IN IP4 192.168.1.13 t=0 0 m=audio 8000 RTP/AVP 3 110 8 0 97 101 a=rtpmap:110 speex/8000 a=rtpmap:97 iLBC/8000 a=fmtp:97 mode=30 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 2022-06-15 05:42:36.417258 94.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2022-06-15 05:42:36.417258 94.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] 2022-06-15 05:42:36.417258 94.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2022-06-15 05:42:36.417258 94.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2022-06-15 05:42:36.417258 94.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-06-15 05:42:36.417258 94.77% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-06-15 05:42:36.417258 94.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-06-15 05:42:36.417258 94.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-06-15 05:42:36.417258 94.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-06-15 05:42:36.417258 94.77% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2022-06-15 05:42:36.417258 94.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2022-06-15 05:42:36.417258 94.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMU:0:8000:20:64000:1] 2022-06-15 05:42:36.417258 94.77% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2022-06-15 05:42:36.417258 94.77% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/9999000010@astppqa603.astppbilling.org:5072 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-06-15 05:42:36.417258 94.77% [DEBUG] switch_core_codec.c:111 sofia/default/9999000010@astppqa603.astppbilling.org:5072 Original read codec set to PCMA:8 2022-06-15 05:42:36.417258 94.77% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2022-06-15 05:42:36.417258 94.77% [DEBUG] switch_core_media.c:5973 sofia/default/9999000010@astppqa603.astppbilling.org:5072 Set 2833 dtmf send payload to 101 recv payload to 101 2022-06-15 05:42:36.417258 94.77% [DEBUG] sofia.c:7933 (sofia/default/9999000010@astppqa603.astppbilling.org:5072) State Change CS_NEW -> CS_INIT 2022-06-15 05:42:36.417258 94.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9999000010@astppqa603.astppbilling.org:5072) Running State Change CS_INIT (Cur 1 Tot 2504) 2022-06-15 05:42:36.417258 94.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9999000010@astppqa603.astppbilling.org:5072) State INIT 2022-06-15 05:42:36.417258 94.77% [DEBUG] mod_sofia.c:97 sofia/default/9999000010@astppqa603.astppbilling.org:5072 SOFIA INIT 2022-06-15 05:42:36.417258 94.77% [DEBUG] switch_core_state_machine.c:40 sofia/default/9999000010@astppqa603.astppbilling.org:5072 Standard INIT 2022-06-15 05:42:36.417258 94.77% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9999000010@astppqa603.astppbilling.org:5072) State Change CS_INIT -> CS_ROUTING 2022-06-15 05:42:36.417258 94.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9999000010@astppqa603.astppbilling.org:5072) State INIT going to sleep 2022-06-15 05:42:36.417258 94.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9999000010@astppqa603.astppbilling.org:5072) Running State Change CS_ROUTING (Cur 1 Tot 2504) 2022-06-15 05:42:36.417258 94.77% [DEBUG] switch_channel.c:2380 (sofia/default/9999000010@astppqa603.astppbilling.org:5072) Callstate Change DOWN -> RINGING 2022-06-15 05:42:36.417258 94.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9999000010@astppqa603.astppbilling.org:5072) State ROUTING 2022-06-15 05:42:36.417258 94.77% [DEBUG] mod_sofia.c:158 sofia/default/9999000010@astppqa603.astppbilling.org:5072 SOFIA ROUTING 2022-06-15 05:42:36.417258 94.77% [DEBUG] switch_core_state_machine.c:230 sofia/default/9999000010@astppqa603.astppbilling.org:5072 Standard ROUTING 2022-06-15 05:42:36.417258 94.77% [INFO] mod_dialplan_xml.c:639 Processing 9999000010 <9999000010>->1054546 in context default 2022-06-15 05:42:36.437261 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE 2022-06-15 05:42:36.437261 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2022-06-15 05:42:36.437261 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2022-06-15 05:42:36.437261 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1054546 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '1054546' limit 1 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '1054546' and status=0 LIMIT 1 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER9999000010 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'astppqa603.astppbilling.org' limit 1 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '113' and username = '1054546' limit 1 2022-06-15 05:42:36.457250 94.77% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 9999000010 / 9999000010 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 6 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 105454 AND status=0 limit 1 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2022-06-15 05:42:36.457250 94.77% [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="1054546" AND domains.domain="astppqa603.astppbilling.org" limit 1 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 103.240.35.46 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9999000010] 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =1054546 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9999000010" AND deleted = 0 limit 1 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^1054546.*' OR blocked_patterns = '^105454.*' OR blocked_patterns = '^10545.*' OR blocked_patterns = '^1054.*' OR blocked_patterns = '^105.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 113 limit 1 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^1054546.*' OR patterns = '^105454.*' OR patterns = '^10545.*' OR patterns = '^1054.*' OR patterns = '^105.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 113 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="1054546" AND A.accountid = '113' limit 1 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 1054546 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2022-06-15 05:42:36.457250 94.77% [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="1054546" AND domains.domain="astppqa603.astppbilling.org" limit 1 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '1054546' OR number = '105454' OR number = '10545' OR number = '1054' OR number = '105' OR number = '10' OR number = '1' OR number ='--') OR (number = '1054546*' OR number = '105454*' OR number = '10545*' OR number = '1054*' OR number = '105*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '9999000010' OR number = '999900001' OR number = '99990000' OR number = '9999000' OR number = '999900' OR number = '99990' OR number = '9999' OR number = '999' OR number = '99' OR number = '9' OR number ='--') OR (number = '9999000010*' OR number = '999900001*' OR number = '99990000*' OR number = '9999000*' OR number = '999900*' OR number = '99990*' OR number = '9999*' OR number = '999*' OR number = '99*' OR number = '9*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '1054546' OR routing_prefix = '105454' OR routing_prefix = '10545' OR routing_prefix = '1054' OR routing_prefix = '105' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 113 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9999000010 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 20000 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 30 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::30 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::30 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-30 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-30 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-30 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-06-15 05:42:36 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.* 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.* 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-06-15 05:42:36 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^93.* 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.* 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-06-15 05:42:36 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^1.* 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.* 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-06-15 05:42:36 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^1.* 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.* 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.60000 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:30 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '30' and status=0 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.60000 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 45 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : PK Trunk QA 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 152 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 113 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type: 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Shadow_billing_rates]SHADOWBILLING:0|ID:45|CODE:^1.*|DESTINATION:PK Trunk QA |CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:30|MARKUP:0|CI:152|ACCID:113!!! 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your20000 balance Accountid 113 !!! 2022-06-15 05:42:36.457250 94.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins! 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id : 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=30 ORDER by id asc 2022-06-15 05:42:36.457250 94.77% [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 = '^1054546.*' OR pattern = '^105454.*' OR pattern = '^10545.*' OR pattern = '^1054.*' OR pattern = '^105.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (24) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information =================== 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 28 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.* 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Quality destination One 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.* 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip : 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 24 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : QualityGateway11 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable : 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES======================= 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 113 AND status=0 LIMIT 1 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1 2022-06-15 05:42:36.457250 94.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::30 2022-06-15 05:42:36.457250 94.77% [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 = 3) AND status=0 limit 1 2022-06-15 05:42:36.457250 94.77% [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 = 24) AND status=0 limit 1 2022-06-15 05:42:36.457250 94.77% [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="9999000010" AND domains.domain="astppqa603.astppbilling.org" limit 1 2022-06-15 05:42:36.457250 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, 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 ="1054546" LIMIT 1 2022-06-15 05:42:36.457250 94.77% [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 ="1054546" LIMIT 1 2022-06-15 05:42:36.477238 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-06-15 05:42:36.477238 94.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 parsing [default->1054546] continue=false Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Regex (PASS) [1054546] destination_number(1054546) =~ /1054546/ break=on-false Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Action set(effective_destination_number=1054546) Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Action set(notify_flag=0) Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Action set(notify_credit_limit=5000.00000) Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Action set(type=0) Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Action set(callstart=2022-06-15 05:42:36) Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Action set(hangup_after_bridge=true) Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Action set(account_id=113) Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Action set(parent_id=0) Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Action set(entity_id=0) Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Action set(call_processed=internal) Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Action set(call_direction=outbound) Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Action set(accountname=default) Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Action export(t38_passthru=true) Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Action set(fax_enable_t38=true) Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Action set(fax_enable_t38_request=true) Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Action set(origination_rates=SHADOWBILLING:0|ID:45|CODE:^1.*|DESTINATION:PK Trunk QA |CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:30|MARKUP:0|CI:152|ACCID:113) Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Action set(original_caller_id_name=9999000010) Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Action set(original_caller_id_number=9999000010) Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Action set(effective_caller_id_name=9999000010) Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Action set(effective_caller_id_number=9999000010) Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Action set(calltype=STANDARD) Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Action set(termination_rates=ID:28|CODE:^1.*|DESTINATION:Quality destination One|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:60|TRUNK:24|PROVIDER:3) Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Action set(trunk_id=24) Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Action set(provider_id=3) Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Action set(rate_flag=0) Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Action set(quality_trunk_seq=24) Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Action set(force_trunk_flag=0) Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Action export(presence_data=trunk_id=24) Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Action set(intcall=0) Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Action export(presence_id=1054546) Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Action export(presence_data=x|||Admin's cust(9999000010)|||^1.* // PK Trunk QA // 0.60000 |||Quality Trunk 11 // ^1.* // Quality destination One // 0.10000 // trunk_id=24|||STD|||103.240.35.46) Dialplan: sofia/default/9999000010@astppqa603.astppbilling.org:5072 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/QualityGateway11/1054546;fs_path=sip:103.240.35.46:59643) 2022-06-15 05:42:36.477238 94.77% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9999000010@astppqa603.astppbilling.org:5072) State Change CS_ROUTING -> CS_EXECUTE 2022-06-15 05:42:36.477238 94.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9999000010@astppqa603.astppbilling.org:5072) State ROUTING going to sleep 2022-06-15 05:42:36.477238 94.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9999000010@astppqa603.astppbilling.org:5072) Running State Change CS_EXECUTE (Cur 1 Tot 2504) 2022-06-15 05:42:36.477238 94.77% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9999000010@astppqa603.astppbilling.org:5072) State EXECUTE 2022-06-15 05:42:36.477238 94.77% [DEBUG] mod_sofia.c:213 sofia/default/9999000010@astppqa603.astppbilling.org:5072 SOFIA EXECUTE 2022-06-15 05:42:36.477238 94.77% [DEBUG] switch_core_state_machine.c:323 sofia/default/9999000010@astppqa603.astppbilling.org:5072 Standard EXECUTE EXECUTE [depth=0] sofia/default/9999000010@astppqa603.astppbilling.org:5072 set(effective_destination_number=1054546) 2022-06-15 05:42:36.477238 94.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9999000010@astppqa603.astppbilling.org:5072 [effective_destination_number]=[1054546] EXECUTE [depth=0] sofia/default/9999000010@astppqa603.astppbilling.org:5072 set(bridge_pre_execute_bleg_app=sched_hangup) 2022-06-15 05:42:36.477238 94.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9999000010@astppqa603.astppbilling.org:5072 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/9999000010@astppqa603.astppbilling.org:5072 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2022-06-15 05:42:36.477238 94.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9999000010@astppqa603.astppbilling.org:5072 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE [depth=0] sofia/default/9999000010@astppqa603.astppbilling.org:5072 set(notify_flag=0) 2022-06-15 05:42:36.477238 94.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9999000010@astppqa603.astppbilling.org:5072 [notify_flag]=[0] EXECUTE [depth=0] sofia/default/9999000010@astppqa603.astppbilling.org:5072 set(notify_credit_limit=5000.00000) 2022-06-15 05:42:36.477238 94.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9999000010@astppqa603.astppbilling.org:5072 [notify_credit_limit]=[5000.00000] EXECUTE [depth=0] sofia/default/9999000010@astppqa603.astppbilling.org:5072 set(type=0) 2022-06-15 05:42:36.477238 94.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9999000010@astppqa603.astppbilling.org:5072 [type]=[0] EXECUTE [depth=0] sofia/default/9999000010@astppqa603.astppbilling.org:5072 set(callstart=2022-06-15 05:42:36) 2022-06-15 05:42:36.477238 94.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9999000010@astppqa603.astppbilling.org:5072 [callstart]=[2022-06-15 05:42:36] EXECUTE [depth=0] sofia/default/9999000010@astppqa603.astppbilling.org:5072 set(hangup_after_bridge=true) 2022-06-15 05:42:36.477238 94.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9999000010@astppqa603.astppbilling.org:5072 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/9999000010@astppqa603.astppbilling.org:5072 set(continue_on_fail=TRUE) 2022-06-15 05:42:36.477238 94.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9999000010@astppqa603.astppbilling.org:5072 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/9999000010@astppqa603.astppbilling.org:5072 set(account_id=113) 2022-06-15 05:42:36.477238 94.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9999000010@astppqa603.astppbilling.org:5072 [account_id]=[113] EXECUTE [depth=0] sofia/default/9999000010@astppqa603.astppbilling.org:5072 set(parent_id=0) 2022-06-15 05:42:36.477238 94.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9999000010@astppqa603.astppbilling.org:5072 [parent_id]=[0] EXECUTE [depth=0] sofia/default/9999000010@astppqa603.astppbilling.org:5072 set(entity_id=0) 2022-06-15 05:42:36.477238 94.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9999000010@astppqa603.astppbilling.org:5072 [entity_id]=[0] EXECUTE [depth=0] sofia/default/9999000010@astppqa603.astppbilling.org:5072 set(call_processed=internal) 2022-06-15 05:42:36.477238 94.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9999000010@astppqa603.astppbilling.org:5072 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/9999000010@astppqa603.astppbilling.org:5072 set(call_direction=outbound) 2022-06-15 05:42:36.477238 94.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9999000010@astppqa603.astppbilling.org:5072 [call_direction]=[outbound] EXECUTE [depth=0] sofia/default/9999000010@astppqa603.astppbilling.org:5072 set(accountname=default) 2022-06-15 05:42:36.477238 94.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9999000010@astppqa603.astppbilling.org:5072 [accountname]=[default] EXECUTE [depth=0] sofia/default/9999000010@astppqa603.astppbilling.org:5072 export(t38_passthru=true) 2022-06-15 05:42:36.477238 94.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true] EXECUTE [depth=0] sofia/default/9999000010@astppqa603.astppbilling.org:5072 set(fax_enable_t38=true) 2022-06-15 05:42:36.477238 94.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9999000010@astppqa603.astppbilling.org:5072 [fax_enable_t38]=[true] EXECUTE [depth=0] sofia/default/9999000010@astppqa603.astppbilling.org:5072 set(fax_enable_t38_request=true) 2022-06-15 05:42:36.477238 94.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9999000010@astppqa603.astppbilling.org:5072 [fax_enable_t38_request]=[true] EXECUTE [depth=0] sofia/default/9999000010@astppqa603.astppbilling.org:5072 set(filename1=astpp.pbx.lua) 2022-06-15 05:42:36.477238 94.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9999000010@astppqa603.astppbilling.org:5072 [filename1]=[astpp.pbx.lua] EXECUTE [depth=0] sofia/default/9999000010@astppqa603.astppbilling.org:5072 set(origination_rates=SHADOWBILLING:0|ID:45|CODE:^1.*|DESTINATION:PK Trunk QA |CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:30|MARKUP:0|CI:152|ACCID:113) 2022-06-15 05:42:36.477238 94.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9999000010@astppqa603.astppbilling.org:5072 [origination_rates]=[SHADOWBILLING:0|ID:45|CODE:^1.*|DESTINATION:PK Trunk QA |CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:30|MARKUP:0|CI:152|ACCID:113] EXECUTE [depth=0] sofia/default/9999000010@astppqa603.astppbilling.org:5072 set(original_caller_id_name=9999000010) 2022-06-15 05:42:36.477238 94.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9999000010@astppqa603.astppbilling.org:5072 [original_caller_id_name]=[9999000010] EXECUTE [depth=0] sofia/default/9999000010@astppqa603.astppbilling.org:5072 set(original_caller_id_number=9999000010) 2022-06-15 05:42:36.477238 94.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9999000010@astppqa603.astppbilling.org:5072 [original_caller_id_number]=[9999000010] EXECUTE [depth=0] sofia/default/9999000010@astppqa603.astppbilling.org:5072 set(effective_caller_id_name=9999000010) 2022-06-15 05:42:36.477238 94.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9999000010@astppqa603.astppbilling.org:5072 [effective_caller_id_name]=[9999000010] EXECUTE [depth=0] sofia/default/9999000010@astppqa603.astppbilling.org:5072 set(effective_caller_id_number=9999000010) 2022-06-15 05:42:36.477238 94.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9999000010@astppqa603.astppbilling.org:5072 [effective_caller_id_number]=[9999000010] EXECUTE [depth=0] sofia/default/9999000010@astppqa603.astppbilling.org:5072 set(calltype=STANDARD) 2022-06-15 05:42:36.477238 94.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9999000010@astppqa603.astppbilling.org:5072 [calltype]=[STANDARD] EXECUTE [depth=0] sofia/default/9999000010@astppqa603.astppbilling.org:5072 set(termination_rates=ID:28|CODE:^1.*|DESTINATION:Quality destination One|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:60|TRUNK:24|PROVIDER:3) 2022-06-15 05:42:36.477238 94.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9999000010@astppqa603.astppbilling.org:5072 [termination_rates]=[ID:28|CODE:^1.*|DESTINATION:Quality destination One|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:60|TRUNK:24|PROVIDER:3] EXECUTE [depth=0] sofia/default/9999000010@astppqa603.astppbilling.org:5072 set(trunk_id=24) 2022-06-15 05:42:36.477238 94.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9999000010@astppqa603.astppbilling.org:5072 [trunk_id]=[24] EXECUTE [depth=0] sofia/default/9999000010@astppqa603.astppbilling.org:5072 set(provider_id=3) 2022-06-15 05:42:36.477238 94.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9999000010@astppqa603.astppbilling.org:5072 [provider_id]=[3] EXECUTE [depth=0] sofia/default/9999000010@astppqa603.astppbilling.org:5072 set(rate_flag=0) 2022-06-15 05:42:36.477238 94.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9999000010@astppqa603.astppbilling.org:5072 [rate_flag]=[0] EXECUTE [depth=0] sofia/default/9999000010@astppqa603.astppbilling.org:5072 set(quality_trunk_seq=24) 2022-06-15 05:42:36.477238 94.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9999000010@astppqa603.astppbilling.org:5072 [quality_trunk_seq]=[24] EXECUTE [depth=0] sofia/default/9999000010@astppqa603.astppbilling.org:5072 set(force_trunk_flag=0) 2022-06-15 05:42:36.477238 94.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9999000010@astppqa603.astppbilling.org:5072 [force_trunk_flag]=[0] EXECUTE [depth=0] sofia/default/9999000010@astppqa603.astppbilling.org:5072 export(presence_data=trunk_id=24) 2022-06-15 05:42:36.477238 94.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=24] EXECUTE [depth=0] sofia/default/9999000010@astppqa603.astppbilling.org:5072 set(intcall=0) 2022-06-15 05:42:36.477238 94.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9999000010@astppqa603.astppbilling.org:5072 [intcall]=[0] EXECUTE [depth=0] sofia/default/9999000010@astppqa603.astppbilling.org:5072 export(presence_id=1054546) 2022-06-15 05:42:36.477238 94.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[1054546] EXECUTE [depth=0] sofia/default/9999000010@astppqa603.astppbilling.org:5072 export(presence_data=x|||Admin's cust(9999000010)|||^1.* // PK Trunk QA // 0.60000 |||Quality Trunk 11 // ^1.* // Quality destination One // 0.10000 // trunk_id=24|||STD|||103.240.35.46) 2022-06-15 05:42:36.477238 94.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Admin's cust(9999000010)|||^1.* // PK Trunk QA // 0.60000 |||Quality Trunk 11 // ^1.* // Quality destination One // 0.10000 // trunk_id=24|||STD|||103.240.35.46] EXECUTE [depth=0] sofia/default/9999000010@astppqa603.astppbilling.org:5072 bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/QualityGateway11/1054546;fs_path=sip:103.240.35.46:59643) 2022-06-15 05:42:36.477238 94.77% [DEBUG] switch_channel.c:1269 sofia/default/9999000010@astppqa603.astppbilling.org:5072 EXPORTING[export_vars] [t38_passthru]=[true] to event 2022-06-15 05:42:36.477238 94.77% [DEBUG] switch_channel.c:1269 sofia/default/9999000010@astppqa603.astppbilling.org:5072 EXPORTING[export_vars] [presence_data]=[x|||Admin's cust(9999000010)|||^1.* // PK Trunk QA // 0.60000 |||Quality Trunk 11 // ^1.* // Quality destination One // 0.10000 // trunk_id=24|||STD|||103.240.35.46] to event 2022-06-15 05:42:36.477238 94.77% [DEBUG] switch_channel.c:1269 sofia/default/9999000010@astppqa603.astppbilling.org:5072 EXPORTING[export_vars] [presence_id]=[1054546] to event 2022-06-15 05:42:36.477238 94.77% [DEBUG] switch_channel.c:1269 sofia/default/9999000010@astppqa603.astppbilling.org:5072 EXPORTING[export_vars] [presence_data]=[x|||Admin's cust(9999000010)|||^1.* // PK Trunk QA // 0.60000 |||Quality Trunk 11 // ^1.* // Quality destination One // 0.10000 // trunk_id=24|||STD|||103.240.35.46] to event 2022-06-15 05:42:36.477238 94.77% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables 2022-06-15 05:42:36.477238 94.77% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables 2022-06-15 05:42:36.477238 94.77% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1054546 [921f2c74-fe8b-4592-b628-918771b28d59] 2022-06-15 05:42:36.477238 94.77% [DEBUG] mod_sofia.c:5121 (sofia/default/1054546) State Change CS_NEW -> CS_INIT 2022-06-15 05:42:36.477238 94.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1054546) Running State Change CS_INIT (Cur 2 Tot 2505) 2022-06-15 05:42:36.477238 94.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1054546) State INIT 2022-06-15 05:42:36.477238 94.77% [DEBUG] mod_sofia.c:97 sofia/default/1054546 SOFIA INIT 2022-06-15 05:42:36.477238 94.77% [DEBUG] sofia_glue.c:1620 sip:103.240.35.46:59643 Setting proxy route to sofia/default/1054546 2022-06-15 05:42:36.477238 94.77% [INFO] sofia_glue.c:1651 sofia/default/1054546 sending invite call-id: (null) 2022-06-15 05:42:36.477238 94.77% [DEBUG] sofia_glue.c:1654 sofia/default/1054546 sending invite version: 1.10.7 -release 64bit Local SDP: v=0 o=FreeSWITCH 1655248260 1655248261 IN IP4 142.132.184.134 s=FreeSWITCH c=IN IP4 142.132.184.134 t=0 0 m=audio 23496 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 2022-06-15 05:42:36.477238 94.77% [DEBUG] switch_core_state_machine.c:40 sofia/default/1054546 Standard INIT 2022-06-15 05:42:36.477238 94.77% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1054546) State Change CS_INIT -> CS_ROUTING 2022-06-15 05:42:36.477238 94.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1054546) State INIT going to sleep 2022-06-15 05:42:36.477238 94.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1054546) Running State Change CS_ROUTING (Cur 2 Tot 2505) 2022-06-15 05:42:36.477238 94.77% [DEBUG] sofia.c:7499 Channel sofia/default/1054546 entering state [calling][0] 2022-06-15 05:42:36.477238 94.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1054546) State ROUTING 2022-06-15 05:42:36.477238 94.77% [DEBUG] mod_sofia.c:158 sofia/default/1054546 SOFIA ROUTING 2022-06-15 05:42:36.477238 94.77% [DEBUG] switch_ivr_originate.c:67 (sofia/default/1054546) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-06-15 05:42:36.477238 94.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1054546) State ROUTING going to sleep 2022-06-15 05:42:36.477238 94.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1054546) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 2505) 2022-06-15 05:42:36.477238 94.77% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1054546) State CONSUME_MEDIA 2022-06-15 05:42:36.477238 94.77% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1054546) State CONSUME_MEDIA going to sleep 2022-06-15 05:43:08.477258 92.40% [DEBUG] sofia.c:7499 Channel sofia/default/1054546 entering state [terminated][408] 2022-06-15 05:43:08.477258 92.40% [NOTICE] sofia.c:8738 Hangup sofia/default/1054546 [CS_CONSUME_MEDIA] [RECOVERY_ON_TIMER_EXPIRE] 2022-06-15 05:43:08.477258 92.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1054546) Running State Change CS_HANGUP (Cur 2 Tot 2505) 2022-06-15 05:43:08.477258 92.40% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1054546) Callstate Change DOWN -> HANGUP 2022-06-15 05:43:08.477258 92.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1054546) State HANGUP 2022-06-15 05:43:08.477258 92.40% [DEBUG] mod_sofia.c:468 Channel sofia/default/1054546 hanging up, cause: RECOVERY_ON_TIMER_EXPIRE 2022-06-15 05:43:08.477258 92.40% [DEBUG] switch_core_state_machine.c:59 sofia/default/1054546 Standard HANGUP, cause: RECOVERY_ON_TIMER_EXPIRE 2022-06-15 05:43:08.477258 92.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1054546) State HANGUP going to sleep 2022-06-15 05:43:08.477258 92.40% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1054546) State Change CS_HANGUP -> CS_REPORTING 2022-06-15 05:43:08.477258 92.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1054546) Running State Change CS_REPORTING (Cur 2 Tot 2505) 2022-06-15 05:43:08.477258 92.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1054546) State REPORTING 2022-06-15 05:43:08.477258 92.40% [INFO] mod_json_cdr.c:271 Process [921f2c74-fe8b-4592-b628-918771b28d59.cdr.json] 2022-06-15 05:43:08.477258 92.40% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 102 [RECOVERY_ON_TIMER_EXPIRE] 2022-06-15 05:43:08.477258 92.40% [INFO] mod_dptools.c:3653 Originate Failed. Cause: RECOVERY_ON_TIMER_EXPIRE 2022-06-15 05:43:08.477258 92.40% [NOTICE] switch_core_state_machine.c:382 sofia/default/9999000010@astppqa603.astppbilling.org:5072 has executed the last dialplan instruction, hanging up. 2022-06-15 05:43:08.477258 92.40% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/9999000010@astppqa603.astppbilling.org:5072 [CS_EXECUTE] [NORMAL_CLEARING] 2022-06-15 05:43:08.477258 92.40% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9999000010@astppqa603.astppbilling.org:5072) State EXECUTE going to sleep 2022-06-15 05:43:08.477258 92.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9999000010@astppqa603.astppbilling.org:5072) Running State Change CS_HANGUP (Cur 2 Tot 2505) 2022-06-15 05:43:08.477258 92.40% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9999000010@astppqa603.astppbilling.org:5072) Callstate Change RINGING -> HANGUP 2022-06-15 05:43:08.477258 92.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9999000010@astppqa603.astppbilling.org:5072) State HANGUP 2022-06-15 05:43:08.477258 92.40% [DEBUG] mod_sofia.c:462 sofia/default/9999000010@astppqa603.astppbilling.org:5072 Overriding SIP cause 480 with 408 from the other leg 2022-06-15 05:43:08.477258 92.40% [DEBUG] mod_sofia.c:468 Channel sofia/default/9999000010@astppqa603.astppbilling.org:5072 hanging up, cause: NORMAL_CLEARING 2022-06-15 05:43:08.477258 92.40% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 408 2022-06-15 05:43:08.477258 92.40% [DEBUG] switch_core_state_machine.c:59 sofia/default/9999000010@astppqa603.astppbilling.org:5072 Standard HANGUP, cause: NORMAL_CLEARING 2022-06-15 05:43:08.477258 92.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9999000010@astppqa603.astppbilling.org:5072) State HANGUP going to sleep 2022-06-15 05:43:08.477258 92.40% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9999000010@astppqa603.astppbilling.org:5072) State Change CS_HANGUP -> CS_REPORTING 2022-06-15 05:43:08.477258 92.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9999000010@astppqa603.astppbilling.org:5072) Running State Change CS_REPORTING (Cur 2 Tot 2505) 2022-06-15 05:43:08.477258 92.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9999000010@astppqa603.astppbilling.org:5072) State REPORTING 2022-06-15 05:43:08.477258 92.40% [INFO] mod_json_cdr.c:271 Process [631edd47-620d-41e7-a469-fdc1bbd63cd8.cdr.json] 2022-06-15 05:43:08.497236 92.40% [DEBUG] switch_core_state_machine.c:168 sofia/default/1054546 Standard REPORTING, cause: RECOVERY_ON_TIMER_EXPIRE 2022-06-15 05:43:08.497236 92.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1054546) State REPORTING going to sleep 2022-06-15 05:43:08.497236 92.40% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1054546) State Change CS_REPORTING -> CS_DESTROY 2022-06-15 05:43:08.497236 92.40% [DEBUG] switch_core_session.c:1753 Session 2505 (sofia/default/1054546) Locked, Waiting on external entities 2022-06-15 05:43:08.497236 92.40% [NOTICE] switch_core_session.c:1771 Session 2505 (sofia/default/1054546) Ended 2022-06-15 05:43:08.497236 92.40% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/1054546 [CS_DESTROY] 2022-06-15 05:43:08.497236 92.40% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1054546) Running State Change CS_DESTROY (Cur 1 Tot 2505) 2022-06-15 05:43:08.497236 92.40% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1054546) State DESTROY 2022-06-15 05:43:08.497236 92.40% [DEBUG] mod_sofia.c:379 sofia/default/1054546 SOFIA DESTROY 2022-06-15 05:43:08.497236 92.40% [DEBUG] switch_core_state_machine.c:175 sofia/default/1054546 Standard DESTROY 2022-06-15 05:43:08.497236 92.40% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1054546) State DESTROY going to sleep 2022-06-15 05:43:08.497236 92.40% [DEBUG] switch_core_state_machine.c:168 sofia/default/9999000010@astppqa603.astppbilling.org:5072 Standard REPORTING, cause: NORMAL_CLEARING 2022-06-15 05:43:08.497236 92.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9999000010@astppqa603.astppbilling.org:5072) State REPORTING going to sleep 2022-06-15 05:43:08.497236 92.40% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9999000010@astppqa603.astppbilling.org:5072) State Change CS_REPORTING -> CS_DESTROY 2022-06-15 05:43:08.497236 92.40% [DEBUG] switch_core_session.c:1753 Session 2504 (sofia/default/9999000010@astppqa603.astppbilling.org:5072) Locked, Waiting on external entities 2022-06-15 05:43:08.497236 92.40% [NOTICE] switch_core_session.c:1771 Session 2504 (sofia/default/9999000010@astppqa603.astppbilling.org:5072) Ended 2022-06-15 05:43:08.497236 92.40% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9999000010@astppqa603.astppbilling.org:5072 [CS_DESTROY] 2022-06-15 05:43:08.497236 92.40% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9999000010@astppqa603.astppbilling.org:5072) Running State Change CS_DESTROY (Cur 0 Tot 2505) 2022-06-15 05:43:08.497236 92.40% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9999000010@astppqa603.astppbilling.org:5072) State DESTROY 2022-06-15 05:43:08.497236 92.40% [DEBUG] mod_sofia.c:379 sofia/default/9999000010@astppqa603.astppbilling.org:5072 SOFIA DESTROY 2022-06-15 05:43:08.497236 92.40% [DEBUG] switch_core_state_machine.c:175 sofia/default/9999000010@astppqa603.astppbilling.org:5072 Standard DESTROY 2022-06-15 05:43:08.497236 92.40% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9999000010@astppqa603.astppbilling.org:5072) State DESTROY going to sleep 2022-06-15 05:43:19.137257 92.03% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [8828803803@astppqa601.astppbilling.org] from ip 103.240.35.46 2022-06-15 05:43:19.277234 92.03% [WARNING] sofia_reg.c:3223 Can't find user [8828803803@astppqa601.astppbilling.org] from 103.240.35.46 You must define a domain called 'astppqa601.astppbilling.org' in your directory and add a user with the id="8828803803" attribute and you must configure your device to use the proper domain in its authentication credentials. freeswitch@devangASTPP>