root@devangASTPP:~# fs_cli -pYO3DH6PrRV1q56RFflTG .=======================================================. | _____ ____ ____ _ ___ | | | ___/ ___| / ___| | |_ _| | | | |_ \___ \ | | | | | | | | | _| ___) | | |___| |___ | | | | |_| |____/ \____|_____|___| | | | .=======================================================. | Anthony Minessale II, Ken Rice, | | Michael Jerris, Travis Cross | | FreeSWITCH (http://www.freeswitch.org) | | Paypal Donations Appreciated: paypal@freeswitch.org | | Brought to you by ClueCon http://www.cluecon.com/ | .=======================================================. .=======================================================================================================. | _ _ ____ _ ____ | | / \ _ __ _ __ _ _ __ _| | / ___| |_ _ ___ / ___|___ _ __ | | / _ \ | '_ \| '_ \| | | |/ _` | | | | | | | | |/ _ \ | / _ \| '_ \ | | / ___ \| | | | | | | |_| | (_| | | | |___| | |_| | __/ |__| (_) | | | | | | /_/ \_\_| |_|_| |_|\__,_|\__,_|_| \____|_|\__,_|\___|\____\___/|_| |_| | | | | ____ _____ ____ ____ __ | | | _ \_ _/ ___| / ___|___ _ __ / _| ___ _ __ ___ _ __ ___ ___ | | | |_) || || | | | / _ \| '_ \| |_ / _ \ '__/ _ \ '_ \ / __/ _ \ | | | _ < | || |___ | |__| (_) | | | | _| __/ | | __/ | | | (_| __/ | | |_| \_\|_| \____| \____\___/|_| |_|_| \___|_| \___|_| |_|\___\___| | | | | ____ _ ____ | | / ___| |_ _ ___ / ___|___ _ __ ___ ___ _ __ ___ | | | | | | | | |/ _ \ | / _ \| '_ \ / __/ _ \| '_ ` _ \ | | | |___| | |_| | __/ |__| (_) | | | | _ | (_| (_) | | | | | | | | \____|_|\__,_|\___|\____\___/|_| |_| (_) \___\___/|_| |_| |_| | | | .=======================================================================================================. Type /help to see a list of commands +OK log level [7] freeswitch@devangASTPP> freeswitch@devangASTPP> freeswitch@devangASTPP> 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables 2022-07-08 11:06:15.540013 85.17% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9100000666@142.132.184.134:5074 [6b1e1742-d138-4095-ba88-16e28d997326] 2022-07-08 11:06:15.540013 85.17% [DEBUG] mod_sofia.c:5121 (sofia/default/9100000666@142.132.184.134:5074) State Change CS_NEW -> CS_INIT 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134:5074) Running State Change CS_INIT (Cur 1 Tot 9) 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9100000666@142.132.184.134:5074) State INIT 2022-07-08 11:06:15.540013 85.17% [DEBUG] mod_sofia.c:97 sofia/default/9100000666@142.132.184.134:5074 SOFIA INIT 2022-07-08 11:06:15.540013 85.17% [INFO] sofia_glue.c:1651 sofia/default/9100000666@142.132.184.134:5074 sending invite call-id: (null) 2022-07-08 11:06:15.540013 85.17% [DEBUG] sofia_glue.c:1654 sofia/default/9100000666@142.132.184.134:5074 sending invite version: 1.10.7 -release 64bit Local SDP: v=0 o=FreeSWITCH 1657245785 1657245786 IN IP4 142.132.184.134 s=FreeSWITCH c=IN IP4 142.132.184.134 t=0 0 m=audio 32590 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-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:40 sofia/default/9100000666@142.132.184.134:5074 Standard INIT 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9100000666@142.132.184.134:5074) State Change CS_INIT -> CS_ROUTING 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9100000666@142.132.184.134:5074) State INIT going to sleep 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134:5074) Running State Change CS_ROUTING (Cur 1 Tot 9) 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9100000666@142.132.184.134:5074) State ROUTING 2022-07-08 11:06:15.540013 85.17% [DEBUG] mod_sofia.c:158 sofia/default/9100000666@142.132.184.134:5074 SOFIA ROUTING 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_ivr_originate.c:67 (sofia/default/9100000666@142.132.184.134:5074) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9100000666@142.132.184.134:5074) State ROUTING going to sleep 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134:5074) Running State Change CS_CONSUME_MEDIA (Cur 1 Tot 9) 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9100000666@142.132.184.134:5074) State CONSUME_MEDIA 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9100000666@142.132.184.134:5074) State CONSUME_MEDIA going to sleep 2022-07-08 11:06:15.540013 85.17% [DEBUG] sofia.c:7499 Channel sofia/default/9100000666@142.132.184.134:5074 entering state [calling][0] 2022-07-08 11:06:15.540013 85.17% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9100000666@142.132.184.134 [b8f163c9-7f21-42b5-8e18-ebe968d06801] 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134) Running State Change CS_NEW (Cur 2 Tot 10) 2022-07-08 11:06:15.540013 85.17% [INFO] sofia.c:10462 sofia/default/9100000666@142.132.184.134 receiving invite from 142.132.184.134:5074 version: 1.10.7 -release 64bit call-id: d38ef421-7950-123b-a99d-9600013c8d14 2022-07-08 11:06:15.540013 85.17% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 142.132.184.134:0. 2022-07-08 11:06:15.540013 85.17% [DEBUG] sofia.c:7499 Channel sofia/default/9100000666@142.132.184.134 entering state [received][100] 2022-07-08 11:06:15.540013 85.17% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=FreeSWITCH 1657245785 1657245786 IN IP4 142.132.184.134 s=FreeSWITCH c=IN IP4 142.132.184.134 t=0 0 m=audio 32590 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/9100000666@142.132.184.134 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_codec.c:111 sofia/default/9100000666@142.132.184.134 Original read codec set to PCMA:8 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_media.c:5973 sofia/default/9100000666@142.132.184.134 Set 2833 dtmf send payload to 101 recv payload to 101 2022-07-08 11:06:15.540013 85.17% [DEBUG] sofia.c:7933 (sofia/default/9100000666@142.132.184.134) State Change CS_NEW -> CS_INIT 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9100000666@142.132.184.134) State NEW 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134) Running State Change CS_INIT (Cur 2 Tot 10) 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9100000666@142.132.184.134) State INIT 2022-07-08 11:06:15.540013 85.17% [DEBUG] mod_sofia.c:97 sofia/default/9100000666@142.132.184.134 SOFIA INIT 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:40 sofia/default/9100000666@142.132.184.134 Standard INIT 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9100000666@142.132.184.134) State Change CS_INIT -> CS_ROUTING 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9100000666@142.132.184.134) State INIT going to sleep 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134) Running State Change CS_ROUTING (Cur 2 Tot 10) 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_channel.c:2380 (sofia/default/9100000666@142.132.184.134) Callstate Change DOWN -> RINGING 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9100000666@142.132.184.134) State ROUTING 2022-07-08 11:06:15.540013 85.17% [DEBUG] mod_sofia.c:158 sofia/default/9100000666@142.132.184.134 SOFIA ROUTING 2022-07-08 11:06:15.540013 85.17% [DEBUG] switch_core_state_machine.c:230 sofia/default/9100000666@142.132.184.134 Standard ROUTING 2022-07-08 11:06:15.540013 85.17% [INFO] mod_dialplan_xml.c:639 Processing 9100000666 <9100000666>->9100000666 in context default 2022-07-08 11:06:15.540013 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 9100000666 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '9100000666' limit 1 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '9100000666' and status=0 LIMIT 1 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERmod_sofia 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '9100000666' limit 1 2022-07-08 11:06:15.560022 85.17% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : Prashant / 1199998 2022-07-08 11:06:15.560022 85.17% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Call Type FAX 2022-07-08 11:06:15.560022 85.17% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Account Code :9999998 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 0666 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 910000 AND status=0 limit 1 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2022-07-08 11:06:15.560022 85.17% [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="9100000666" AND domains.domain="142.132.184.134" limit 1 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9999998] 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9999998" AND deleted = 0 limit 1 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^9100000666.*' OR blocked_patterns = '^910000066.*' OR blocked_patterns = '^91000006.*' OR blocked_patterns = '^9100000.*' OR blocked_patterns = '^910000.*' OR blocked_patterns = '^91000.*' OR blocked_patterns = '^9100.*' OR blocked_patterns = '^910.*' OR blocked_patterns = '^91.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 49 limit 1 2022-07-08 11:06:15.560022 85.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 6 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 6 AND status=0 limit 1 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"9/1/*/*".....9100000666 2022-07-08 11:06:15.560022 85.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 9100000666 2022-07-08 11:06:15.560022 85.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 1100000666 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1 2022-07-08 11:06:15.560022 85.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 5 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 5 AND status=0 limit 1 2022-07-08 11:06:15.560022 85.17% [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 = '^9100000666.*' OR patterns = '^910000066.*' OR patterns = '^91000006.*' OR patterns = '^9100000.*' OR patterns = '^910000.*' OR patterns = '^91000.*' OR patterns = '^9100.*' OR patterns = '^910.*' OR patterns = '^91.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 49 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-07-08 11:06:15.560022 85.17% [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 ="9100000666" AND A.accountid = '49' limit 1 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 9100000666 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2022-07-08 11:06:15.560022 85.17% [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="9100000666" AND domains.domain="142.132.184.134" limit 1 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound 2022-07-08 11:06:15.560022 85.17% [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 = '9100000666' OR number = '910000066' OR number = '91000006' OR number = '9100000' OR number = '910000' OR number = '91000' OR number = '9100' OR number = '910' OR number = '91' OR number = '9' OR number ='--') OR (number = '9100000666*' OR number = '910000066*' OR number = '91000006*' OR number = '9100000*' OR number = '910000*' OR number = '91000*' OR number = '9100*' OR number = '910*' OR number = '91*' OR number = '9*' OR number ='--') OR (number = '1199998' OR number = '119999' OR number = '11999' OR number = '1199' OR number = '119' OR number = '11' OR number = '1' OR number ='--') OR (number = '1199998*' OR number = '119999*' OR number = '11999*' OR number = '1199*' OR number = '119*' OR number = '11*' OR number = '1*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '9100000666' OR routing_prefix = '910000066' OR routing_prefix = '91000006' OR routing_prefix = '9100000' OR routing_prefix = '910000' OR routing_prefix = '91000' OR routing_prefix = '9100' OR routing_prefix = '910' OR routing_prefix = '91' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 49 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9999998 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 39972.6 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 54 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::54 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::54 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-54 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-54 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-54 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-07-08 11:06:15 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^11.* 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.* 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-07-08 11:06:15 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^33.* 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.* 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-07-08 11:06:15 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^9.* 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.* 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-07-08 11:06:15 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^9.* 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.* 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.60000 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:54 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '54' and status=0 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.60000 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 41 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : FOIP-QA 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 10 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 49 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type: 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your39972.6 balance Accountid 49 !!! 2022-07-08 11:06:15.560022 85.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 1000 mins! 2022-07-08 11:06:15.560022 85.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 1000 minutes 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id : 2022-07-08 11:06:15.560022 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=54 ORDER by id asc 2022-07-08 11:06:15.560022 85.17% [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 = '^9100000666.*' OR pattern = '^910000066.*' OR pattern = '^91000006.*' OR pattern = '^9100000.*' OR pattern = '^910000.*' OR pattern = '^91000.*' OR pattern = '^9100.*' OR pattern = '^910.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (22) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC 2022-07-08 11:06:15.580005 85.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [Dialplan] No Termination Rates Found...!!! 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Post Cdrs : 0 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 49 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
Dialplan: sofia/default/9100000666@142.132.184.134 parsing [default->9100000666] continue=false Dialplan: sofia/default/9100000666@142.132.184.134 Regex (PASS) [9100000666] destination_number(9100000666) =~ /9100000666/ break=on-false Dialplan: sofia/default/9100000666@142.132.184.134 Action log(WARNING Accountcode . Dialed number (9100000666) termination rates not found!!) Dialplan: sofia/default/9100000666@142.132.184.134 Action set(original_caller_id_name=Prashant) Dialplan: sofia/default/9100000666@142.132.184.134 Action set(original_caller_id_number=Prashant) Dialplan: sofia/default/9100000666@142.132.184.134 Action set(error_cdr=1) Dialplan: sofia/default/9100000666@142.132.184.134 Action set(callstart=2022-07-08 11:06:15) Dialplan: sofia/default/9100000666@142.132.184.134 Action set(account_id=49) Dialplan: sofia/default/9100000666@142.132.184.134 Action set(parent_id=0) Dialplan: sofia/default/9100000666@142.132.184.134 Action set(call_direction=outbound) Dialplan: sofia/default/9100000666@142.132.184.134 Action set(sip_ignore_remote_cause=true) Dialplan: sofia/default/9100000666@142.132.184.134 Action set(call_processed=internal) Dialplan: sofia/default/9100000666@142.132.184.134 Action set(effective_destination_number=9100000666) Dialplan: sofia/default/9100000666@142.132.184.134 Action set(last_bridge_hangup_cause=TERMINATION_RATE_NOT_FOUND) Dialplan: sofia/default/9100000666@142.132.184.134 Action hangup(TERMINATION_RATE_NOT_FOUND) 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9100000666@142.132.184.134) State Change CS_ROUTING -> CS_EXECUTE 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9100000666@142.132.184.134) State ROUTING going to sleep 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134) Running State Change CS_EXECUTE (Cur 2 Tot 10) 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9100000666@142.132.184.134) State EXECUTE 2022-07-08 11:06:15.580005 85.17% [DEBUG] mod_sofia.c:213 sofia/default/9100000666@142.132.184.134 SOFIA EXECUTE 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:323 sofia/default/9100000666@142.132.184.134 Standard EXECUTE EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 log(WARNING Accountcode . Dialed number (9100000666) termination rates not found!!) 2022-07-08 11:06:15.580005 85.17% [WARNING] mod_dptools.c:1879 Accountcode . Dialed number (9100000666) termination rates not found!! EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(original_caller_id_name=Prashant) 2022-07-08 11:06:15.580005 85.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [original_caller_id_name]=[Prashant] EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(original_caller_id_number=Prashant) 2022-07-08 11:06:15.580005 85.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [original_caller_id_number]=[Prashant] EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(error_cdr=1) 2022-07-08 11:06:15.580005 85.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [error_cdr]=[1] EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(callstart=2022-07-08 11:06:15) 2022-07-08 11:06:15.580005 85.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [callstart]=[2022-07-08 11:06:15] EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(account_id=49) 2022-07-08 11:06:15.580005 85.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [account_id]=[49] EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(parent_id=0) 2022-07-08 11:06:15.580005 85.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [parent_id]=[0] EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(call_direction=outbound) 2022-07-08 11:06:15.580005 85.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [call_direction]=[outbound] EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(sip_ignore_remote_cause=true) 2022-07-08 11:06:15.580005 85.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [sip_ignore_remote_cause]=[true] EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(call_processed=internal) 2022-07-08 11:06:15.580005 85.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(effective_destination_number=9100000666) 2022-07-08 11:06:15.580005 85.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [effective_destination_number]=[9100000666] EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(last_bridge_hangup_cause=TERMINATION_RATE_NOT_FOUND) 2022-07-08 11:06:15.580005 85.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [last_bridge_hangup_cause]=[TERMINATION_RATE_NOT_FOUND] EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 hangup(TERMINATION_RATE_NOT_FOUND) 2022-07-08 11:06:15.580005 85.17% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/9100000666@142.132.184.134 [CS_EXECUTE] [NORMAL_CLEARING] 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_session.c:2983 sofia/default/9100000666@142.132.184.134 skip receive message [PHONE_EVENT] (channel is hungup already) 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9100000666@142.132.184.134) State EXECUTE going to sleep 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134) Running State Change CS_HANGUP (Cur 2 Tot 10) 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9100000666@142.132.184.134) Callstate Change RINGING -> HANGUP 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9100000666@142.132.184.134) State HANGUP 2022-07-08 11:06:15.580005 85.17% [DEBUG] mod_sofia.c:468 Channel sofia/default/9100000666@142.132.184.134 hanging up, cause: NORMAL_CLEARING 2022-07-08 11:06:15.580005 85.17% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 480 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:59 sofia/default/9100000666@142.132.184.134 Standard HANGUP, cause: NORMAL_CLEARING 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9100000666@142.132.184.134) State HANGUP going to sleep 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9100000666@142.132.184.134) State Change CS_HANGUP -> CS_REPORTING 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134) Running State Change CS_REPORTING (Cur 2 Tot 10) 2022-07-08 11:06:15.580005 85.17% [DEBUG] sofia.c:6678 Remote Reason: 16 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9100000666@142.132.184.134) State REPORTING 2022-07-08 11:06:15.580005 85.17% [DEBUG] sofia.c:7499 Channel sofia/default/9100000666@142.132.184.134:5074 entering state [terminated][480] 2022-07-08 11:06:15.580005 85.17% [NOTICE] sofia.c:8738 Hangup sofia/default/9100000666@142.132.184.134:5074 [CS_CONSUME_MEDIA] [NORMAL_CLEARING] 2022-07-08 11:06:15.580005 85.17% [INFO] mod_json_cdr.c:271 Process [b8f163c9-7f21-42b5-8e18-ebe968d06801.cdr.json] 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134:5074) Running State Change CS_HANGUP (Cur 2 Tot 10) 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9100000666@142.132.184.134:5074) Callstate Change DOWN -> HANGUP 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9100000666@142.132.184.134:5074) State HANGUP 2022-07-08 11:06:15.580005 85.17% [DEBUG] mod_sofia.c:468 Channel sofia/default/9100000666@142.132.184.134:5074 hanging up, cause: NORMAL_CLEARING 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:59 sofia/default/9100000666@142.132.184.134:5074 Standard HANGUP, cause: NORMAL_CLEARING 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9100000666@142.132.184.134:5074) State HANGUP going to sleep 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9100000666@142.132.184.134:5074) State Change CS_HANGUP -> CS_REPORTING 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134:5074) Running State Change CS_REPORTING (Cur 2 Tot 10) 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9100000666@142.132.184.134:5074) State REPORTING 2022-07-08 11:06:15.580005 85.17% [INFO] mod_json_cdr.c:271 Process [6b1e1742-d138-4095-ba88-16e28d997326.cdr.json] 2022-07-08 11:06:15.580005 85.17% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 16 [NORMAL_CLEARING] 2022-07-08 11:06:15.600007 85.17% [DEBUG] switch_core_state_machine.c:168 sofia/default/9100000666@142.132.184.134 Standard REPORTING, cause: NORMAL_CLEARING 2022-07-08 11:06:15.600007 85.17% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9100000666@142.132.184.134) State REPORTING going to sleep 2022-07-08 11:06:15.600007 85.17% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9100000666@142.132.184.134) State Change CS_REPORTING -> CS_DESTROY 2022-07-08 11:06:15.600007 85.17% [DEBUG] switch_core_session.c:1753 Session 10 (sofia/default/9100000666@142.132.184.134) Locked, Waiting on external entities 2022-07-08 11:06:15.600007 85.17% [NOTICE] switch_core_session.c:1771 Session 10 (sofia/default/9100000666@142.132.184.134) Ended 2022-07-08 11:06:15.600007 85.17% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9100000666@142.132.184.134 [CS_DESTROY] 2022-07-08 11:06:15.600007 85.17% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9100000666@142.132.184.134) Running State Change CS_DESTROY (Cur 1 Tot 10) 2022-07-08 11:06:15.600007 85.17% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9100000666@142.132.184.134) State DESTROY 2022-07-08 11:06:15.600007 85.17% [DEBUG] mod_sofia.c:379 sofia/default/9100000666@142.132.184.134 SOFIA DESTROY 2022-07-08 11:06:15.600007 85.17% [DEBUG] switch_core_state_machine.c:175 sofia/default/9100000666@142.132.184.134 Standard DESTROY 2022-07-08 11:06:15.600007 85.17% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9100000666@142.132.184.134) State DESTROY going to sleep 2022-07-08 11:06:15.980019 83.27% [DEBUG] switch_core_state_machine.c:168 sofia/default/9100000666@142.132.184.134:5074 Standard REPORTING, cause: NORMAL_CLEARING 2022-07-08 11:06:15.980019 83.27% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9100000666@142.132.184.134:5074) State REPORTING going to sleep 2022-07-08 11:06:15.980019 83.27% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9100000666@142.132.184.134:5074) State Change CS_REPORTING -> CS_DESTROY 2022-07-08 11:06:15.980019 83.27% [DEBUG] switch_core_session.c:1753 Session 9 (sofia/default/9100000666@142.132.184.134:5074) Locked, Waiting on external entities 2022-07-08 11:06:15.980019 83.27% [NOTICE] switch_core_session.c:1771 Session 9 (sofia/default/9100000666@142.132.184.134:5074) Ended 2022-07-08 11:06:15.980019 83.27% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9100000666@142.132.184.134:5074 [CS_DESTROY] 2022-07-08 11:06:15.980019 83.27% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9100000666@142.132.184.134:5074) Running State Change CS_DESTROY (Cur 0 Tot 10) 2022-07-08 11:06:15.980019 83.27% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9100000666@142.132.184.134:5074) State DESTROY 2022-07-08 11:06:15.980019 83.27% [DEBUG] mod_sofia.c:379 sofia/default/9100000666@142.132.184.134:5074 SOFIA DESTROY 2022-07-08 11:06:15.980019 83.27% [DEBUG] switch_core_state_machine.c:175 sofia/default/9100000666@142.132.184.134:5074 Standard DESTROY 2022-07-08 11:06:15.980019 83.27% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9100000666@142.132.184.134:5074) State DESTROY going to sleep 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables 2022-07-08 11:07:14.220016 82.23% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9100000666@142.132.184.134:5074 [77c057db-a71d-4658-8b90-436973105a03] 2022-07-08 11:07:14.220016 82.23% [DEBUG] mod_sofia.c:5121 (sofia/default/9100000666@142.132.184.134:5074) State Change CS_NEW -> CS_INIT 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134:5074) Running State Change CS_INIT (Cur 1 Tot 11) 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9100000666@142.132.184.134:5074) State INIT 2022-07-08 11:07:14.220016 82.23% [DEBUG] mod_sofia.c:97 sofia/default/9100000666@142.132.184.134:5074 SOFIA INIT 2022-07-08 11:07:14.220016 82.23% [INFO] sofia_glue.c:1651 sofia/default/9100000666@142.132.184.134:5074 sending invite call-id: (null) 2022-07-08 11:07:14.220016 82.23% [DEBUG] sofia_glue.c:1654 sofia/default/9100000666@142.132.184.134:5074 sending invite version: 1.10.7 -release 64bit Local SDP: v=0 o=FreeSWITCH 1657246720 1657246721 IN IP4 142.132.184.134 s=FreeSWITCH c=IN IP4 142.132.184.134 t=0 0 m=audio 31714 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-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:40 sofia/default/9100000666@142.132.184.134:5074 Standard INIT 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9100000666@142.132.184.134:5074) State Change CS_INIT -> CS_ROUTING 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9100000666@142.132.184.134:5074) State INIT going to sleep 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134:5074) Running State Change CS_ROUTING (Cur 1 Tot 11) 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9100000666@142.132.184.134:5074) State ROUTING 2022-07-08 11:07:14.220016 82.23% [DEBUG] mod_sofia.c:158 sofia/default/9100000666@142.132.184.134:5074 SOFIA ROUTING 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_ivr_originate.c:67 (sofia/default/9100000666@142.132.184.134:5074) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9100000666@142.132.184.134:5074) State ROUTING going to sleep 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134:5074) Running State Change CS_CONSUME_MEDIA (Cur 1 Tot 11) 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9100000666@142.132.184.134:5074) State CONSUME_MEDIA 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9100000666@142.132.184.134:5074) State CONSUME_MEDIA going to sleep 2022-07-08 11:07:14.220016 82.23% [DEBUG] sofia.c:7499 Channel sofia/default/9100000666@142.132.184.134:5074 entering state [calling][0] 2022-07-08 11:07:14.220016 82.23% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9100000666@142.132.184.134 [261705ec-19a9-44dd-ba1e-ebefacccde5e] 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134) Running State Change CS_NEW (Cur 2 Tot 12) 2022-07-08 11:07:14.220016 82.23% [INFO] sofia.c:10462 sofia/default/9100000666@142.132.184.134 receiving invite from 142.132.184.134:5074 version: 1.10.7 -release 64bit call-id: f68a0b67-7950-123b-a99d-9600013c8d14 2022-07-08 11:07:14.220016 82.23% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 142.132.184.134:0. 2022-07-08 11:07:14.220016 82.23% [DEBUG] sofia.c:7499 Channel sofia/default/9100000666@142.132.184.134 entering state [received][100] 2022-07-08 11:07:14.220016 82.23% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=FreeSWITCH 1657246720 1657246721 IN IP4 142.132.184.134 s=FreeSWITCH c=IN IP4 142.132.184.134 t=0 0 m=audio 31714 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/9100000666@142.132.184.134 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_codec.c:111 sofia/default/9100000666@142.132.184.134 Original read codec set to PCMA:8 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_media.c:5973 sofia/default/9100000666@142.132.184.134 Set 2833 dtmf send payload to 101 recv payload to 101 2022-07-08 11:07:14.220016 82.23% [DEBUG] sofia.c:7933 (sofia/default/9100000666@142.132.184.134) State Change CS_NEW -> CS_INIT 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9100000666@142.132.184.134) State NEW 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134) Running State Change CS_INIT (Cur 2 Tot 12) 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9100000666@142.132.184.134) State INIT 2022-07-08 11:07:14.220016 82.23% [DEBUG] mod_sofia.c:97 sofia/default/9100000666@142.132.184.134 SOFIA INIT 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:40 sofia/default/9100000666@142.132.184.134 Standard INIT 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9100000666@142.132.184.134) State Change CS_INIT -> CS_ROUTING 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9100000666@142.132.184.134) State INIT going to sleep 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134) Running State Change CS_ROUTING (Cur 2 Tot 12) 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_channel.c:2380 (sofia/default/9100000666@142.132.184.134) Callstate Change DOWN -> RINGING 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9100000666@142.132.184.134) State ROUTING 2022-07-08 11:07:14.220016 82.23% [DEBUG] mod_sofia.c:158 sofia/default/9100000666@142.132.184.134 SOFIA ROUTING 2022-07-08 11:07:14.220016 82.23% [DEBUG] switch_core_state_machine.c:230 sofia/default/9100000666@142.132.184.134 Standard ROUTING 2022-07-08 11:07:14.220016 82.23% [INFO] mod_dialplan_xml.c:639 Processing 9100000666 <9100000666>->9100000666 in context default 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 9100000666 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '9100000666' limit 1 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '9100000666' and status=0 LIMIT 1 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERmod_sofia 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '9100000666' limit 1 2022-07-08 11:07:14.240005 82.23% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : Prashant / 1199998 2022-07-08 11:07:14.240005 82.23% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Call Type FAX 2022-07-08 11:07:14.240005 82.23% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Account Code :9999998 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 0666 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 910000 AND status=0 limit 1 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2022-07-08 11:07:14.240005 82.23% [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="9100000666" AND domains.domain="142.132.184.134" limit 1 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9999998] 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9999998" AND deleted = 0 limit 1 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^9100000666.*' OR blocked_patterns = '^910000066.*' OR blocked_patterns = '^91000006.*' OR blocked_patterns = '^9100000.*' OR blocked_patterns = '^910000.*' OR blocked_patterns = '^91000.*' OR blocked_patterns = '^9100.*' OR blocked_patterns = '^910.*' OR blocked_patterns = '^91.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 49 limit 1 2022-07-08 11:07:14.240005 82.23% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 6 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 6 AND status=0 limit 1 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"9/1/*/*".....9100000666 2022-07-08 11:07:14.240005 82.23% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 9100000666 2022-07-08 11:07:14.240005 82.23% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 1100000666 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1 2022-07-08 11:07:14.240005 82.23% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 5 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 5 AND status=0 limit 1 2022-07-08 11:07:14.240005 82.23% [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 = '^9100000666.*' OR patterns = '^910000066.*' OR patterns = '^91000006.*' OR patterns = '^9100000.*' OR patterns = '^910000.*' OR patterns = '^91000.*' OR patterns = '^9100.*' OR patterns = '^910.*' OR patterns = '^91.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 49 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-07-08 11:07:14.240005 82.23% [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 ="9100000666" AND A.accountid = '49' limit 1 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 9100000666 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2022-07-08 11:07:14.240005 82.23% [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="9100000666" AND domains.domain="142.132.184.134" limit 1 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound 2022-07-08 11:07:14.240005 82.23% [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 = '9100000666' OR number = '910000066' OR number = '91000006' OR number = '9100000' OR number = '910000' OR number = '91000' OR number = '9100' OR number = '910' OR number = '91' OR number = '9' OR number ='--') OR (number = '9100000666*' OR number = '910000066*' OR number = '91000006*' OR number = '9100000*' OR number = '910000*' OR number = '91000*' OR number = '9100*' OR number = '910*' OR number = '91*' OR number = '9*' OR number ='--') OR (number = '1199998' OR number = '119999' OR number = '11999' OR number = '1199' OR number = '119' OR number = '11' OR number = '1' OR number ='--') OR (number = '1199998*' OR number = '119999*' OR number = '11999*' OR number = '1199*' OR number = '119*' OR number = '11*' OR number = '1*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '9100000666' OR routing_prefix = '910000066' OR routing_prefix = '91000006' OR routing_prefix = '9100000' OR routing_prefix = '910000' OR routing_prefix = '91000' OR routing_prefix = '9100' OR routing_prefix = '910' OR routing_prefix = '91' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 49 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9999998 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 39972.6 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 54 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::54 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::54 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-54 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-54 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-54 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-07-08 11:07:14 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^11.* 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.* 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-07-08 11:07:14 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^33.* 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.* 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-07-08 11:07:14 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^9.* 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.* 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-07-08 11:07:14 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^9.* 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.* 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.60000 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:54 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '54' and status=0 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.60000 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 41 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : FOIP-QA 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 10 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 49 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type: 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your39972.6 balance Accountid 49 !!! 2022-07-08 11:07:14.240005 82.23% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 1000 mins! 2022-07-08 11:07:14.240005 82.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 1000 minutes 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id : 2022-07-08 11:07:14.240005 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=54 ORDER by id asc 2022-07-08 11:07:14.240005 82.23% [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 = '^9100000666.*' OR pattern = '^910000066.*' OR pattern = '^91000006.*' OR pattern = '^9100000.*' OR pattern = '^910000.*' OR pattern = '^91000.*' OR pattern = '^9100.*' OR pattern = '^910.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (22) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC 2022-07-08 11:07:14.260009 82.23% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [Dialplan] No Termination Rates Found...!!! 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Post Cdrs : 0 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 49 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
Dialplan: sofia/default/9100000666@142.132.184.134 parsing [default->9100000666] continue=false Dialplan: sofia/default/9100000666@142.132.184.134 Regex (PASS) [9100000666] destination_number(9100000666) =~ /9100000666/ break=on-false Dialplan: sofia/default/9100000666@142.132.184.134 Action log(WARNING Accountcode . Dialed number (9100000666) termination rates not found!!) Dialplan: sofia/default/9100000666@142.132.184.134 Action set(original_caller_id_name=Prashant) Dialplan: sofia/default/9100000666@142.132.184.134 Action set(original_caller_id_number=Prashant) Dialplan: sofia/default/9100000666@142.132.184.134 Action set(error_cdr=1) Dialplan: sofia/default/9100000666@142.132.184.134 Action set(callstart=2022-07-08 11:07:14) Dialplan: sofia/default/9100000666@142.132.184.134 Action set(account_id=49) Dialplan: sofia/default/9100000666@142.132.184.134 Action set(parent_id=0) Dialplan: sofia/default/9100000666@142.132.184.134 Action set(call_direction=outbound) Dialplan: sofia/default/9100000666@142.132.184.134 Action set(sip_ignore_remote_cause=true) Dialplan: sofia/default/9100000666@142.132.184.134 Action set(call_processed=internal) Dialplan: sofia/default/9100000666@142.132.184.134 Action set(effective_destination_number=9100000666) Dialplan: sofia/default/9100000666@142.132.184.134 Action set(last_bridge_hangup_cause=TERMINATION_RATE_NOT_FOUND) Dialplan: sofia/default/9100000666@142.132.184.134 Action hangup(TERMINATION_RATE_NOT_FOUND) 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9100000666@142.132.184.134) State Change CS_ROUTING -> CS_EXECUTE 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9100000666@142.132.184.134) State ROUTING going to sleep 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134) Running State Change CS_EXECUTE (Cur 2 Tot 12) 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9100000666@142.132.184.134) State EXECUTE 2022-07-08 11:07:14.260009 82.23% [DEBUG] mod_sofia.c:213 sofia/default/9100000666@142.132.184.134 SOFIA EXECUTE 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:323 sofia/default/9100000666@142.132.184.134 Standard EXECUTE EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 log(WARNING Accountcode . Dialed number (9100000666) termination rates not found!!) 2022-07-08 11:07:14.260009 82.23% [WARNING] mod_dptools.c:1879 Accountcode . Dialed number (9100000666) termination rates not found!! EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(original_caller_id_name=Prashant) 2022-07-08 11:07:14.260009 82.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [original_caller_id_name]=[Prashant] EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(original_caller_id_number=Prashant) 2022-07-08 11:07:14.260009 82.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [original_caller_id_number]=[Prashant] EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(error_cdr=1) 2022-07-08 11:07:14.260009 82.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [error_cdr]=[1] EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(callstart=2022-07-08 11:07:14) 2022-07-08 11:07:14.260009 82.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [callstart]=[2022-07-08 11:07:14] EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(account_id=49) 2022-07-08 11:07:14.260009 82.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [account_id]=[49] EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(parent_id=0) 2022-07-08 11:07:14.260009 82.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [parent_id]=[0] EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(call_direction=outbound) 2022-07-08 11:07:14.260009 82.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [call_direction]=[outbound] EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(sip_ignore_remote_cause=true) 2022-07-08 11:07:14.260009 82.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [sip_ignore_remote_cause]=[true] EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(call_processed=internal) 2022-07-08 11:07:14.260009 82.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(effective_destination_number=9100000666) 2022-07-08 11:07:14.260009 82.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [effective_destination_number]=[9100000666] EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 set(last_bridge_hangup_cause=TERMINATION_RATE_NOT_FOUND) 2022-07-08 11:07:14.260009 82.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/9100000666@142.132.184.134 [last_bridge_hangup_cause]=[TERMINATION_RATE_NOT_FOUND] EXECUTE [depth=0] sofia/default/9100000666@142.132.184.134 hangup(TERMINATION_RATE_NOT_FOUND) 2022-07-08 11:07:14.260009 82.23% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/9100000666@142.132.184.134 [CS_EXECUTE] [NORMAL_CLEARING] 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_session.c:2983 sofia/default/9100000666@142.132.184.134 skip receive message [PHONE_EVENT] (channel is hungup already) 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9100000666@142.132.184.134) State EXECUTE going to sleep 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134) Running State Change CS_HANGUP (Cur 2 Tot 12) 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9100000666@142.132.184.134) Callstate Change RINGING -> HANGUP 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9100000666@142.132.184.134) State HANGUP 2022-07-08 11:07:14.260009 82.23% [DEBUG] mod_sofia.c:468 Channel sofia/default/9100000666@142.132.184.134 hanging up, cause: NORMAL_CLEARING 2022-07-08 11:07:14.260009 82.23% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 480 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:59 sofia/default/9100000666@142.132.184.134 Standard HANGUP, cause: NORMAL_CLEARING 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9100000666@142.132.184.134) State HANGUP going to sleep 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9100000666@142.132.184.134) State Change CS_HANGUP -> CS_REPORTING 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134) Running State Change CS_REPORTING (Cur 2 Tot 12) 2022-07-08 11:07:14.260009 82.23% [DEBUG] sofia.c:6678 Remote Reason: 16 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9100000666@142.132.184.134) State REPORTING 2022-07-08 11:07:14.260009 82.23% [INFO] mod_json_cdr.c:271 Process [261705ec-19a9-44dd-ba1e-ebefacccde5e.cdr.json] 2022-07-08 11:07:14.260009 82.23% [DEBUG] sofia.c:7499 Channel sofia/default/9100000666@142.132.184.134:5074 entering state [terminated][480] 2022-07-08 11:07:14.260009 82.23% [NOTICE] sofia.c:8738 Hangup sofia/default/9100000666@142.132.184.134:5074 [CS_CONSUME_MEDIA] [NORMAL_CLEARING] 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134:5074) Running State Change CS_HANGUP (Cur 2 Tot 12) 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9100000666@142.132.184.134:5074) Callstate Change DOWN -> HANGUP 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9100000666@142.132.184.134:5074) State HANGUP 2022-07-08 11:07:14.260009 82.23% [DEBUG] mod_sofia.c:468 Channel sofia/default/9100000666@142.132.184.134:5074 hanging up, cause: NORMAL_CLEARING 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:59 sofia/default/9100000666@142.132.184.134:5074 Standard HANGUP, cause: NORMAL_CLEARING 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9100000666@142.132.184.134:5074) State HANGUP going to sleep 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9100000666@142.132.184.134:5074) State Change CS_HANGUP -> CS_REPORTING 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9100000666@142.132.184.134:5074) Running State Change CS_REPORTING (Cur 2 Tot 12) 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9100000666@142.132.184.134:5074) State REPORTING 2022-07-08 11:07:14.260009 82.23% [INFO] mod_json_cdr.c:271 Process [77c057db-a71d-4658-8b90-436973105a03.cdr.json] 2022-07-08 11:07:14.260009 82.23% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 16 [NORMAL_CLEARING] 2022-07-08 11:07:14.280008 82.23% [DEBUG] switch_core_state_machine.c:168 sofia/default/9100000666@142.132.184.134 Standard REPORTING, cause: NORMAL_CLEARING 2022-07-08 11:07:14.280008 82.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9100000666@142.132.184.134) State REPORTING going to sleep 2022-07-08 11:07:14.280008 82.23% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9100000666@142.132.184.134) State Change CS_REPORTING -> CS_DESTROY 2022-07-08 11:07:14.280008 82.23% [DEBUG] switch_core_session.c:1753 Session 12 (sofia/default/9100000666@142.132.184.134) Locked, Waiting on external entities 2022-07-08 11:07:14.280008 82.23% [NOTICE] switch_core_session.c:1771 Session 12 (sofia/default/9100000666@142.132.184.134) Ended 2022-07-08 11:07:14.280008 82.23% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9100000666@142.132.184.134 [CS_DESTROY] 2022-07-08 11:07:14.280008 82.23% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9100000666@142.132.184.134) Running State Change CS_DESTROY (Cur 1 Tot 12) 2022-07-08 11:07:14.280008 82.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9100000666@142.132.184.134) State DESTROY 2022-07-08 11:07:14.280008 82.23% [DEBUG] mod_sofia.c:379 sofia/default/9100000666@142.132.184.134 SOFIA DESTROY 2022-07-08 11:07:14.280008 82.23% [DEBUG] switch_core_state_machine.c:175 sofia/default/9100000666@142.132.184.134 Standard DESTROY 2022-07-08 11:07:14.280008 82.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9100000666@142.132.184.134) State DESTROY going to sleep 2022-07-08 11:07:14.580588 82.23% [DEBUG] switch_core_state_machine.c:168 sofia/default/9100000666@142.132.184.134:5074 Standard REPORTING, cause: NORMAL_CLEARING 2022-07-08 11:07:14.580588 82.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9100000666@142.132.184.134:5074) State REPORTING going to sleep 2022-07-08 11:07:14.580588 82.23% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9100000666@142.132.184.134:5074) State Change CS_REPORTING -> CS_DESTROY 2022-07-08 11:07:14.580588 82.23% [DEBUG] switch_core_session.c:1753 Session 11 (sofia/default/9100000666@142.132.184.134:5074) Locked, Waiting on external entities 2022-07-08 11:07:14.580588 82.23% [NOTICE] switch_core_session.c:1771 Session 11 (sofia/default/9100000666@142.132.184.134:5074) Ended 2022-07-08 11:07:14.580588 82.23% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9100000666@142.132.184.134:5074 [CS_DESTROY] 2022-07-08 11:07:14.580588 82.23% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9100000666@142.132.184.134:5074) Running State Change CS_DESTROY (Cur 0 Tot 12) 2022-07-08 11:07:14.580588 82.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9100000666@142.132.184.134:5074) State DESTROY 2022-07-08 11:07:14.580588 82.23% [DEBUG] mod_sofia.c:379 sofia/default/9100000666@142.132.184.134:5074 SOFIA DESTROY 2022-07-08 11:07:14.580588 82.23% [DEBUG] switch_core_state_machine.c:175 sofia/default/9100000666@142.132.184.134:5074 Standard DESTROY 2022-07-08 11:07:14.580588 82.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9100000666@142.132.184.134:5074) State DESTROY going to sleep freeswitch@devangASTPP> freeswitch@devangASTPP> freeswitch@devangASTPP> freeswitch@devangASTPP>