freeswitch@ip-172-31-14-218> freeswitch@ip-172-31-14-218> 2022-04-17 12:22:30.142340 97.93% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2022-04-17 12:22:31.982363 97.97% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162 You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute and you must configure your device to use the proper domain in its authentication credentials. 2022-04-17 12:22:31.982363 97.97% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162 2022-04-17 12:22:34.822388 98.50% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2022-04-17 12:22:35.222358 98.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/8871343676@46.101.114.158 [6d434689-6881-4f55-adfd-7abc39149dd5] 2022-04-17 12:22:35.222358 98.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_NEW (Cur 1 Tot 25) 2022-04-17 12:22:35.222358 98.50% [INFO] sofia.c:10462 sofia/default/8871343676@46.101.114.158 receiving invite from 46.101.114.158:5077 version: 1.10.7 -release-19-883d2cb662 64bit call-id: e7584bf5-38eb-123b-959d-ba05d31eb9f9 2022-04-17 12:22:35.222358 98.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 46.101.114.158:0. 2022-04-17 12:22:35.222358 98.50% [DEBUG] sofia.c:10585 IP 46.101.114.158 Approved by acl "default[]". Access Granted. 2022-04-17 12:22:35.222358 98.50% [DEBUG] sofia.c:7499 Channel sofia/default/8871343676@46.101.114.158 entering state [received][100] 2022-04-17 12:22:35.222358 98.50% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=FreeSWITCH 1650161467 1650161468 IN IP4 46.101.114.158 s=FreeSWITCH c=IN IP4 46.101.114.158 t=0 0 m=audio 36688 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 2022-04-17 12:22:35.222358 98.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-04-17 12:22:35.222358 98.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-04-17 12:22:35.222358 98.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2022-04-17 12:22:35.222358 98.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2022-04-17 12:22:35.222358 98.50% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/8871343676@46.101.114.158 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2022-04-17 12:22:35.222358 98.50% [DEBUG] switch_core_codec.c:111 sofia/default/8871343676@46.101.114.158 Original read codec set to PCMU:0 2022-04-17 12:22:35.222358 98.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2022-04-17 12:22:35.222358 98.50% [DEBUG] switch_core_media.c:5973 sofia/default/8871343676@46.101.114.158 Set 2833 dtmf send payload to 101 recv payload to 101 2022-04-17 12:22:35.222358 98.50% [DEBUG] sofia.c:7933 (sofia/default/8871343676@46.101.114.158) State Change CS_NEW -> CS_INIT 2022-04-17 12:22:35.222358 98.50% [DEBUG] switch_core_state_machine.c:600 (sofia/default/8871343676@46.101.114.158) State NEW 2022-04-17 12:22:35.222358 98.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_INIT (Cur 1 Tot 25) 2022-04-17 12:22:35.222358 98.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8871343676@46.101.114.158) State INIT 2022-04-17 12:22:35.222358 98.50% [DEBUG] mod_sofia.c:97 sofia/default/8871343676@46.101.114.158 SOFIA INIT 2022-04-17 12:22:35.222358 98.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/8871343676@46.101.114.158 Standard INIT 2022-04-17 12:22:35.222358 98.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8871343676@46.101.114.158) State Change CS_INIT -> CS_ROUTING 2022-04-17 12:22:35.222358 98.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8871343676@46.101.114.158) State INIT going to sleep 2022-04-17 12:22:35.222358 98.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_ROUTING (Cur 1 Tot 25) 2022-04-17 12:22:35.222358 98.50% [DEBUG] switch_channel.c:2380 (sofia/default/8871343676@46.101.114.158) Callstate Change DOWN -> RINGING 2022-04-17 12:22:35.222358 98.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8871343676@46.101.114.158) State ROUTING 2022-04-17 12:22:35.222358 98.50% [DEBUG] mod_sofia.c:158 sofia/default/8871343676@46.101.114.158 SOFIA ROUTING 2022-04-17 12:22:35.222358 98.50% [DEBUG] switch_core_state_machine.c:230 sofia/default/8871343676@46.101.114.158 Standard ROUTING 2022-04-17 12:22:35.222358 98.50% [INFO] mod_dialplan_xml.c:639 Processing 8871343676 <8871343676>->770177 in context default 2022-04-17 12:22:35.262358 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code') 2022-04-17 12:22:35.262358 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-04-17 12:22:35.302336 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2022-04-17 12:22:35.302336 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 770177 2022-04-17 12:22:35.302336 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '770177' limit 1 2022-04-17 12:22:35.302336 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '770177' AND status=0 limit 1 2022-04-17 12:22:35.302336 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '770177' and status=0 LIMIT 1 2022-04-17 12:22:35.302336 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+PKGatewayDefault 2022-04-17 12:22:35.302336 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-04-17 12:22:35.302336 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '3.7.66.233' limit 1 2022-04-17 12:22:35.302336 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 8871343676 / 8871343676 2022-04-17 12:22:35.302336 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 2022-04-17 12:22:35.302336 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 770177 AND status=0 limit 1 2022-04-17 12:22:35.302336 98.43% [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 ="770177" LIMIT 1 2022-04-17 12:22:35.302336 98.43% [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 ="770177" LIMIT 1 2022-04-17 12:22:35.302336 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-04-17 12:22:35.302336 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound 2022-04-17 12:22:35.302336 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("46.101.114.158") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 - SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1)) AND "770177" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1 2022-04-17 12:22:35.302336 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 8289566487] 2022-04-17 12:22:35.302336 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "8289566487" AND deleted = 0 limit 1 2022-04-17 12:22:35.302336 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =5 2022-04-17 12:22:35.322336 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="770177" AND (accountid = 0 OR status = 1) LIMIT 1 2022-04-17 12:22:35.322336 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound 2022-04-17 12:22:35.322336 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 5 2022-04-17 12:22:35.322336 98.43% [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 = '^770177.*' OR patterns = '^77017.*' OR patterns = '^7701.*' OR patterns = '^770.*' OR patterns = '^77.*' OR patterns = '^7.*' OR patterns ='--') AND accountid = 5 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-04-17 12:22:35.322336 98.43% [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 ="770177" AND A.accountid = '25' limit 1 2022-04-17 12:22:35.322336 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 770177 2022-04-17 12:22:35.322336 98.43% [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 ="770177" LIMIT 1 2022-04-17 12:22:35.322336 98.43% [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 ="770177" LIMIT 1 2022-04-17 12:22:35.322336 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-04-17 12:22:35.322336 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound 2022-04-17 12:22:35.322336 98.43% [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 = '770177' OR number = '77017' OR number = '7701' OR number = '770' OR number = '77' OR number = '7' OR number ='--') OR (number = '770177*' OR number = '77017*' OR number = '7701*' OR number = '770*' OR number = '77*' OR number = '7*' OR number ='--') OR (number = '8871343676' OR number = '887134367' OR number = '88713436' OR number = '8871343' OR number = '887134' OR number = '88713' OR number = '8871' OR number = '887' OR number = '88' OR number = '8' OR number ='--') OR (number = '8871343676*' OR number = '887134367*' OR number = '88713436*' OR number = '8871343*' OR number = '887134*' OR number = '88713*' OR number = '8871*' OR number = '887*' OR number = '88*' OR number = '8*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2022-04-17 12:22:35.322336 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2022-04-17 12:22:35.322336 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '770177' OR routing_prefix = '77017' OR routing_prefix = '7701' OR routing_prefix = '770' OR routing_prefix = '77' OR routing_prefix = '7' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2022-04-17 12:22:35.322336 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2022-04-17 12:22:35.322336 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 25 2022-04-17 12:22:35.322336 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 8289566487 2022-04-17 12:22:35.322336 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =5 2022-04-17 12:22:35.322336 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 1872.91 2022-04-17 12:22:35.322336 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2022-04-17 12:22:35.322336 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 5 2022-04-17 12:22:35.322336 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2022-04-17 12:22:35.322336 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2022-04-17 12:22:35.322336 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0 2022-04-17 12:22:35.322336 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound 2022-04-17 12:22:35.322336 98.43% [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 ="770177" LIMIT 1 2022-04-17 12:22:35.322336 98.43% [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 ="770177" LIMIT 1 2022-04-17 12:22:35.322336 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-04-17 12:22:35.322336 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound 2022-04-17 12:22:35.322336 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2022-04-17 12:22:35.322336 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2 2022-04-17 12:22:35.322336 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2022-04-17 12:22:35.322336 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2022-04-17 12:22:35.322336 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000 2022-04-17 12:22:35.322336 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 770177 2022-04-17 12:22:35.322336 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88 2022-04-17 12:22:35.322336 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 25 2022-04-17 12:22:35.322336 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2022-04-17 12:22:35.322336 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =5 2022-04-17 12:22:35.322336 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your1872.91 balance Accountid 25 !!! 2022-04-17 12:22:35.322336 98.43% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100 2022-04-17 12:22:35.322336 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes 2022-04-17 12:22:35.322336 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE 2022-04-17 12:22:35.322336 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1 2022-04-17 12:22:35.322336 98.43% [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 = 25 AND status=0 LIMIT 1 2022-04-17 12:22:35.322336 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "5" AND deleted = 0 limit 1 2022-04-17 12:22:35.342339 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:25 2022-04-17 12:22:35.342339 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:25 2022-04-17 12:22:35.342339 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 25 2022-04-17 12:22:35.342339 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 5 limit 1 2022-04-17 12:22:35.342339 98.43% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : w07version63.astppbilling.org 2022-04-17 12:22:35.342339 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100 2022-04-17 12:22:35.342339 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-04-17 12:22:35.342339 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1 2022-04-17 12:22:35.342339 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound 2022-04-17 12:22:35.342339 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "1" AND accounts.status = 0 2022-04-17 12:22:35.342339 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 5 limit 1 2022-04-17 12:22:35.342339 98.43% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : w07version63.astppbilling.org 2022-04-17 12:22:35.342339 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 5 and status = 0 limit 1 2022-04-17 12:22:35.342339 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_7 2022-04-17 12:22:35.342339 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : 7 2022-04-17 12:22:35.342339 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : Ring Group 2022-04-17 12:22:35.342339 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : Query - SELECT call_screening from accounts WHERE id = '5' LIMIT 1 2022-04-17 12:22:35.342339 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : Screening Option - 1 2022-04-17 12:22:35.342339 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : is_intro_recorded - false 2022-04-17 12:22:35.342339 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : introduction_recording_name - 2022-04-17 12:22:35.342339 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET RING GROUP INFO] Query :SELECT id as ringgroup_id,name as ringgroup_name,strategy as ringgroup_strategy,destinations as ringgroup_destinations,description as ringgroup_description,announcementid as ringgroup_announcementid,call_record as ringgroup_call_record,skip_busy as ringgroup_skip_busy,ringbackid as ringgroup_ringbackid,calleridname as ringgroup_calleridname,greetingid as ringgroup_greetingid,calleridnumber as ringgroup_calleridnumber,no_answer as ringgroup_no_answer,no_answer_call_type as no_answer_call_type,voicemail_set,no_answer_call_type_value, greetingid as ringgroup_greetingid, music_on_hold_type,music_on_hold from pbx_ringgroup WHERE id = 1 and status = 0 LIMIT 1 2022-04-17 12:22:35.342339 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Conference greetingid::1 2022-04-17 12:22:35.342339 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '1' LIMIT 1 2022-04-17 12:22:35.342339 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== music_file_name=File name==================wav_2mb_.wav 2022-04-17 12:22:35.342339 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT name FROM pbx_music_on_hold WHERE id = 1 ORDER BY RAND() LIMIT 1 2022-04-17 12:22:35.342339 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] music on hold name :- Global 2022-04-17 12:22:35.342339 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 5 limit 1 2022-04-17 12:22:35.342339 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== announcement===================0 2022-04-17 12:22:35.342339 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Final Count : 0=== 2022-04-17 12:22:35.342339 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC1] 2022-04-17 12:22:35.342339 98.43% [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="9436051259" AND domains.domain="w07version63.astppbilling.org" limit 1 2022-04-17 12:22:35.342339 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_extensions_forwarding] Query :select sip_devices.id,sip_device_routing.call_forwarding_flag,sip_device_routing.call_forwarding_destination from sip_devices JOIN sip_device_routing ON sip_devices.id = sip_device_routing.sip_device_id where sip_devices.username = "9436051259" 2022-04-17 12:22:35.342339 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC3] 2022-04-17 12:22:35.342339 98.43% [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="9436051259" AND domains.domain="w07version63.astppbilling.org" limit 1 2022-04-17 12:22:35.342339 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] RingGroup Recording Flag : 1 2022-04-17 12:22:35.342339 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] RingGroup Dlr Str : [sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=30,confirm=false,announcement=no_file,dialed_user=9436051259,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=30,leg_delay_start=0]user/9436051259@w07version63.astppbilling.org, 2022-04-17 12:22:35.342339 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '' LIMIT 1 2022-04-17 12:22:35.342339 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1 2022-04-17 12:22:35.342339 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1 2022-04-17 12:22:35.342339 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/8871343676@46.101.114.158 parsing [default->770177] continue=false Dialplan: sofia/default/8871343676@46.101.114.158 Regex (PASS) [770177] destination_number(770177) =~ /770177/ break=on-false Dialplan: sofia/default/8871343676@46.101.114.158 Action set(effective_destination_number=770177) Dialplan: sofia/default/8871343676@46.101.114.158 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/8871343676@46.101.114.158 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/8871343676@46.101.114.158 Action set(callstart=2022-04-17 12:22:35) Dialplan: sofia/default/8871343676@46.101.114.158 Action set(hangup_after_bridge=true) Dialplan: sofia/default/8871343676@46.101.114.158 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/8871343676@46.101.114.158 Action set(account_id=25) Dialplan: sofia/default/8871343676@46.101.114.158 Action set(parent_id=0) Dialplan: sofia/default/8871343676@46.101.114.158 Action set(entity_id=3) Dialplan: sofia/default/8871343676@46.101.114.158 Action set(call_processed=internal) Dialplan: sofia/default/8871343676@46.101.114.158 Action set(call_direction=inbound) Dialplan: sofia/default/8871343676@46.101.114.158 Action set(accountname=Entdemo) Dialplan: sofia/default/8871343676@46.101.114.158 Action set(origination_rates_did=ID:2|CODE:^770177.*|DESTINATION:770177|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5) Dialplan: sofia/default/8871343676@46.101.114.158 Action set(origination_rates=0) Dialplan: sofia/default/8871343676@46.101.114.158 Action set(original_caller_id_name=8871343676) Dialplan: sofia/default/8871343676@46.101.114.158 Action set(original_caller_id_number=8871343676) Dialplan: sofia/default/8871343676@46.101.114.158 Action set(effective_caller_id_name=8871343676) Dialplan: sofia/default/8871343676@46.101.114.158 Action set(effective_caller_id_number=8871343676) Dialplan: sofia/default/8871343676@46.101.114.158 Action set(receiver_accid=5) Dialplan: sofia/default/8871343676@46.101.114.158 Action set(did_id=2) Dialplan: sofia/default/8871343676@46.101.114.158 Action set(transfer_call_type=4) Dialplan: sofia/default/8871343676@46.101.114.158 Action set(transfer_extensions=) Dialplan: sofia/default/8871343676@46.101.114.158 Action set(busy_status=1) Dialplan: sofia/default/8871343676@46.101.114.158 Action set(no_answer_status=1) Dialplan: sofia/default/8871343676@46.101.114.158 Action set(always_status=1) Dialplan: sofia/default/8871343676@46.101.114.158 Action set(transfer_status=1) Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_to_host=${domain_name}) Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_network_ip=46.101.114.158) Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_network_port=5077) Dialplan: sofia/default/8871343676@46.101.114.158 Action export(domain_name=w07version63.astppbilling.org) Dialplan: sofia/default/8871343676@46.101.114.158 Action export(sip_to_host=w07version63.astppbilling.org) Dialplan: sofia/default/8871343676@46.101.114.158 Action export(presence_data=x|||Resellers PK Cust(9436051259)|||||||||DID|||46.101.114.158) Dialplan: sofia/default/8871343676@46.101.114.158 Action export(call_type=7) Dialplan: sofia/default/8871343676@46.101.114.158 Action set(did_calltype=7) Dialplan: sofia/default/8871343676@46.101.114.158 Action set(did_extensions=1) Dialplan: sofia/default/8871343676@46.101.114.158 Action playback(/var/www/html/astpp//upload/pbx/wav_2mb_.wav) Dialplan: sofia/default/8871343676@46.101.114.158 Action bridge_export(hold_music=local_stream://Global) Dialplan: sofia/default/8871343676@46.101.114.158 Action set(group_confirm_key=exec) Dialplan: sofia/default/8871343676@46.101.114.158 Action set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua) Dialplan: sofia/default/8871343676@46.101.114.158 Action set(ringback=) Dialplan: sofia/default/8871343676@46.101.114.158 Action set(module_name=pbx) Dialplan: sofia/default/8871343676@46.101.114.158 Action db(insert/pickup_any_group_${callgroup}/1/${uuid}) Dialplan: sofia/default/8871343676@46.101.114.158 Action set(dialed_extension=transfer_call) Dialplan: sofia/default/8871343676@46.101.114.158 Action export(dialed_extension=transfer_call) Dialplan: sofia/default/8871343676@46.101.114.158 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) Dialplan: sofia/default/8871343676@46.101.114.158 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) Dialplan: sofia/default/8871343676@46.101.114.158 Action export(ring_group_transfer=true) Dialplan: sofia/default/8871343676@46.101.114.158 Action bridge({sip_h_P-call_type='custom_forward'}[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=30,confirm=false,announcement=no_file,dialed_user=9436051259,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=30,leg_delay_start=0]user/9436051259@w07version63.astppbilling.org,) Dialplan: sofia/default/8871343676@46.101.114.158 Action set(original_did_number=770177) 2022-04-17 12:22:35.342339 98.43% [DEBUG] switch_core_state_machine.c:281 (sofia/default/8871343676@46.101.114.158) State Change CS_ROUTING -> CS_EXECUTE 2022-04-17 12:22:35.342339 98.43% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8871343676@46.101.114.158) State ROUTING going to sleep 2022-04-17 12:22:35.342339 98.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_EXECUTE (Cur 1 Tot 25) 2022-04-17 12:22:35.342339 98.43% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8871343676@46.101.114.158) State EXECUTE 2022-04-17 12:22:35.342339 98.43% [DEBUG] mod_sofia.c:213 sofia/default/8871343676@46.101.114.158 SOFIA EXECUTE 2022-04-17 12:22:35.342339 98.43% [DEBUG] switch_core_state_machine.c:323 sofia/default/8871343676@46.101.114.158 Standard EXECUTE EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(effective_destination_number=770177) 2022-04-17 12:22:35.362338 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [effective_destination_number]=[770177] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(bridge_pre_execute_bleg_app=sched_hangup) 2022-04-17 12:22:35.362338 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2022-04-17 12:22:35.362338 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(callstart=2022-04-17 12:22:35) 2022-04-17 12:22:35.362338 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [callstart]=[2022-04-17 12:22:35] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(hangup_after_bridge=true) 2022-04-17 12:22:35.362338 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(continue_on_fail=TRUE) 2022-04-17 12:22:35.362338 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(account_id=25) 2022-04-17 12:22:35.362338 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [account_id]=[25] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(parent_id=0) 2022-04-17 12:22:35.362338 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [parent_id]=[0] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(entity_id=3) 2022-04-17 12:22:35.362338 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [entity_id]=[3] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(call_processed=internal) 2022-04-17 12:22:35.362338 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(call_direction=inbound) 2022-04-17 12:22:35.362338 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [call_direction]=[inbound] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(accountname=Entdemo) 2022-04-17 12:22:35.362338 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [accountname]=[Entdemo] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(origination_rates_did=ID:2|CODE:^770177.*|DESTINATION:770177|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5) 2022-04-17 12:22:35.362338 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [origination_rates_did]=[ID:2|CODE:^770177.*|DESTINATION:770177|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(origination_rates=0) 2022-04-17 12:22:35.362338 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [origination_rates]=[0] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(original_caller_id_name=8871343676) 2022-04-17 12:22:35.362338 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [original_caller_id_name]=[8871343676] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(original_caller_id_number=8871343676) 2022-04-17 12:22:35.362338 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [original_caller_id_number]=[8871343676] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(effective_caller_id_name=8871343676) 2022-04-17 12:22:35.362338 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [effective_caller_id_name]=[8871343676] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(effective_caller_id_number=8871343676) 2022-04-17 12:22:35.362338 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [effective_caller_id_number]=[8871343676] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(receiver_accid=5) 2022-04-17 12:22:35.362338 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [receiver_accid]=[5] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(did_id=2) 2022-04-17 12:22:35.362338 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [did_id]=[2] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(transfer_call_type=4) 2022-04-17 12:22:35.362338 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [transfer_call_type]=[4] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(transfer_extensions=) 2022-04-17 12:22:35.362338 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [transfer_extensions]=[UNDEF] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(busy_status=1) 2022-04-17 12:22:35.362338 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [busy_status]=[1] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(no_answer_status=1) 2022-04-17 12:22:35.362338 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [no_answer_status]=[1] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(always_status=1) 2022-04-17 12:22:35.362338 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [always_status]=[1] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(transfer_status=1) 2022-04-17 12:22:35.362338 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [transfer_status]=[1] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(variable_sip_to_host=172.31.14.218) 2022-04-17 12:22:35.362338 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [variable_sip_to_host]=[172.31.14.218] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(variable_sip_network_ip=46.101.114.158) 2022-04-17 12:22:35.362338 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [variable_sip_network_ip]=[46.101.114.158] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(variable_sip_network_port=5077) 2022-04-17 12:22:35.362338 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [variable_sip_network_port]=[5077] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(domain_name=w07version63.astppbilling.org) 2022-04-17 12:22:35.362338 98.43% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[w07version63.astppbilling.org] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(sip_to_host=w07version63.astppbilling.org) 2022-04-17 12:22:35.362338 98.43% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[w07version63.astppbilling.org] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(presence_data=x|||Resellers PK Cust(9436051259)|||||||||DID|||46.101.114.158) 2022-04-17 12:22:35.362338 98.43% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Resellers PK Cust(9436051259)|||||||||DID|||46.101.114.158] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(call_type=7) 2022-04-17 12:22:35.362338 98.43% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[7] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(did_calltype=7) 2022-04-17 12:22:35.362338 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [did_calltype]=[7] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(did_extensions=1) 2022-04-17 12:22:35.362338 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [did_extensions]=[1] 2022-04-17 12:22:35.362338 98.43% [DEBUG] switch_core_session.c:2795 Application playback Requires media! pre_answering channel sofia/default/8871343676@46.101.114.158 2022-04-17 12:22:35.362338 98.43% [INFO] switch_core_session.c:2797 Sending early media 2022-04-17 12:22:35.362338 98.43% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/8871343676@46.101.114.158] 172.31.14.218 port 24562 -> 46.101.114.158 port 36688 codec: 0 ms: 20 2022-04-17 12:22:35.362338 98.43% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms 2022-04-17 12:22:35.362338 98.43% [DEBUG] switch_core_media.c:9089 sofia/default/8871343676@46.101.114.158 Set 2833 dtmf send payload to 101 2022-04-17 12:22:35.362338 98.43% [DEBUG] switch_core_media.c:9096 sofia/default/8871343676@46.101.114.158 Set 2833 dtmf receive payload to 101 2022-04-17 12:22:35.362338 98.43% [DEBUG] switch_core_media.c:9119 sofia/default/8871343676@46.101.114.158 Set rtp dtmf delay to 40 2022-04-17 12:22:35.362338 98.43% [DEBUG] mod_sofia.c:2610 Ring SDP: v=0 o=FreeSWITCH 1650173593 1650173594 IN IP4 3.7.66.233 s=FreeSWITCH c=IN IP4 3.7.66.233 t=0 0 m=audio 24562 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2022-04-17 12:22:35.362338 98.43% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/8871343676@46.101.114.158! 2022-04-17 12:22:35.362338 98.43% [DEBUG] switch_channel.c:3622 (sofia/default/8871343676@46.101.114.158) Callstate Change RINGING -> EARLY EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 playback(/var/www/html/astpp//upload/pbx/wav_2mb_.wav) 2022-04-17 12:22:35.362338 98.43% [DEBUG] sofia.c:7499 Channel sofia/default/8871343676@46.101.114.158 entering state [early][183] 2022-04-17 12:22:35.362338 98.43% [DEBUG] switch_core_file.c:444 File /var/www/html/astpp//upload/pbx/wav_2mb_.wav sample rate 44100 doesn't match requested rate 8000 2022-04-17 12:22:35.362338 98.43% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2022-04-17 12:22:35.362338 98.43% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms 2022-04-17 12:22:36.642376 98.03% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed. 2022-04-17 12:22:39.502357 97.97% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2022-04-17 12:22:44.182363 97.97% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2022-04-17 12:22:48.862362 98.87% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2022-04-17 12:22:49.102366 98.87% [DEBUG] switch_ivr_play_say.c:2001 done playing file /var/www/html/astpp//upload/pbx/wav_2mb_.wav EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bridge_export(hold_music=local_stream://Global) 2022-04-17 12:22:49.102366 98.87% [DEBUG] switch_channel.c:1315 EXPORT (bridge_export_vars) [hold_music]=[local_stream://Global] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(group_confirm_key=exec) 2022-04-17 12:22:49.102366 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [group_confirm_key]=[exec] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua) 2022-04-17 12:22:49.102366 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [group_confirm_file]=[lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(ringback=) 2022-04-17 12:22:49.102366 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [ringback]=[UNDEF] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(module_name=pbx) 2022-04-17 12:22:49.102366 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [module_name]=[pbx] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 db(insert/pickup_any_group_/1/6d434689-6881-4f55-adfd-7abc39149dd5) EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(dialed_extension=transfer_call) 2022-04-17 12:22:49.102366 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [dialed_extension]=[transfer_call] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(dialed_extension=transfer_call) 2022-04-17 12:22:49.102366 98.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) 2022-04-17 12:22:49.102366 98.87% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) 2022-04-17 12:22:49.102366 98.87% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(ring_group_transfer=true) 2022-04-17 12:22:49.102366 98.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [ring_group_transfer]=[true] EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bridge({sip_h_P-call_type='custom_forward'}[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=30,confirm=false,announcement=no_file,dialed_user=9436051259,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=30,leg_delay_start=0]user/9436051259@w07version63.astppbilling.org,) 2022-04-17 12:22:49.102366 98.87% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [domain_name]=[w07version63.astppbilling.org] to event 2022-04-17 12:22:49.102366 98.87% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [sip_to_host]=[w07version63.astppbilling.org] to event 2022-04-17 12:22:49.102366 98.87% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||Resellers PK Cust(9436051259)|||||||||DID|||46.101.114.158] to event 2022-04-17 12:22:49.102366 98.87% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [call_type]=[7] to event 2022-04-17 12:22:49.102366 98.87% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event 2022-04-17 12:22:49.102366 98.87% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [ring_group_transfer]=[true] to event 2022-04-17 12:22:49.102366 98.87% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables 2022-04-17 12:22:49.102366 98.87% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables 2022-04-17 12:22:49.122339 98.87% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [domain_name]=[w07version63.astppbilling.org] to event 2022-04-17 12:22:49.122339 98.87% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [sip_to_host]=[w07version63.astppbilling.org] to event 2022-04-17 12:22:49.122339 98.87% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||Resellers PK Cust(9436051259)|||||||||DID|||46.101.114.158] to event 2022-04-17 12:22:49.122339 98.87% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [call_type]=[7] to event 2022-04-17 12:22:49.122339 98.87% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event 2022-04-17 12:22:49.122339 98.87% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [ring_group_transfer]=[true] to event 2022-04-17 12:22:49.122339 98.87% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables 2022-04-17 12:22:49.122339 98.87% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9436051259@103.250.145.27:11306 [a1217824-a2b8-4c86-bf9e-49e3ffec307d] 2022-04-17 12:22:49.122339 98.87% [DEBUG] mod_sofia.c:5121 (sofia/default/9436051259@103.250.145.27:11306) State Change CS_NEW -> CS_INIT 2022-04-17 12:22:49.122339 98.87% [DEBUG] switch_ivr_originate.c:3151 sofia/default/9436051259@103.250.145.27:11306 Setting leg timeout to 30 2022-04-17 12:22:49.122339 98.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9436051259@103.250.145.27:11306) Running State Change CS_INIT (Cur 2 Tot 26) 2022-04-17 12:22:49.122339 98.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9436051259@103.250.145.27:11306) State INIT 2022-04-17 12:22:49.122339 98.87% [DEBUG] mod_sofia.c:97 sofia/default/9436051259@103.250.145.27:11306 SOFIA INIT 2022-04-17 12:22:49.122339 98.87% [DEBUG] sofia_glue.c:1620 sip:9436051259@103.250.145.27:11406;rinstance=b1a9b6724e1879ea;transport=TCP Setting proxy route to sofia/default/9436051259@103.250.145.27:11306 2022-04-17 12:22:49.122339 98.87% [INFO] sofia_glue.c:1651 sofia/default/9436051259@103.250.145.27:11306 sending invite call-id: (null) 2022-04-17 12:22:49.122339 98.87% [DEBUG] sofia_glue.c:1654 sofia/default/9436051259@103.250.145.27:11306 sending invite version: 1.10.7 -release-19-883d2cb662 64bit Local SDP: v=0 o=FreeSWITCH 1650178149 1650178150 IN IP4 3.7.66.233 s=FreeSWITCH c=IN IP4 3.7.66.233 t=0 0 m=audio 20020 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2022-04-17 12:22:49.122339 98.87% [DEBUG] switch_core_state_machine.c:40 sofia/default/9436051259@103.250.145.27:11306 Standard INIT 2022-04-17 12:22:49.122339 98.87% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9436051259@103.250.145.27:11306) State Change CS_INIT -> CS_ROUTING 2022-04-17 12:22:49.122339 98.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9436051259@103.250.145.27:11306) State INIT going to sleep 2022-04-17 12:22:49.122339 98.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9436051259@103.250.145.27:11306) Running State Change CS_ROUTING (Cur 2 Tot 26) 2022-04-17 12:22:49.122339 98.87% [DEBUG] sofia.c:7499 Channel sofia/default/9436051259@103.250.145.27:11306 entering state [calling][0] 2022-04-17 12:22:49.122339 98.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9436051259@103.250.145.27:11306) State ROUTING 2022-04-17 12:22:49.122339 98.87% [DEBUG] mod_sofia.c:158 sofia/default/9436051259@103.250.145.27:11306 SOFIA ROUTING 2022-04-17 12:22:49.122339 98.87% [DEBUG] switch_ivr_originate.c:67 (sofia/default/9436051259@103.250.145.27:11306) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-04-17 12:22:49.122339 98.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9436051259@103.250.145.27:11306) State ROUTING going to sleep 2022-04-17 12:22:49.122339 98.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9436051259@103.250.145.27:11306) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 26) 2022-04-17 12:22:49.122339 98.87% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9436051259@103.250.145.27:11306) State CONSUME_MEDIA 2022-04-17 12:22:49.122339 98.87% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9436051259@103.250.145.27:11306) State CONSUME_MEDIA going to sleep 2022-04-17 12:22:53.542360 98.77% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2022-04-17 12:22:54.082366 98.77% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162 2022-04-17 12:22:54.122363 98.77% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162 You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute and you must configure your device to use the proper domain in its authentication credentials. 2022-04-17 12:22:54.122363 98.77% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162 2022-04-17 12:22:58.222370 98.70% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2022-04-17 12:22:58.902367 98.67% [DEBUG] sofia.c:7499 Channel sofia/default/9436051259@103.250.145.27:11306 entering state [proceeding][180] 2022-04-17 12:22:58.902367 98.67% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/9436051259@103.250.145.27:11306! 2022-04-17 12:22:58.902367 98.67% [DEBUG] switch_channel.c:3494 (sofia/default/9436051259@103.250.145.27:11306) Callstate Change DOWN -> RINGING 2022-04-17 12:23:02.902369 97.47% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2022-04-17 12:23:07.582366 95.90% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2022-04-17 12:23:12.262369 95.97% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2022-04-17 12:23:12.442365 95.97% [DEBUG] sofia.c:7499 Channel sofia/default/9436051259@103.250.145.27:11306 entering state [completing][200] 2022-04-17 12:23:12.442365 95.97% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=Z 0 2 IN IP4 192.168.1.22 s=Z c=IN IP4 192.168.1.22 t=0 0 m=audio 8000 RTP/AVP 0 3 110 8 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-04-17 12:23:12.442365 95.97% [DEBUG] sofia.c:7499 Channel sofia/default/9436051259@103.250.145.27:11306 entering state [ready][200] 2022-04-17 12:23:12.442365 95.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-04-17 12:23:12.442365 95.97% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2022-04-17 12:23:12.442365 95.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] 2022-04-17 12:23:12.442365 95.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2022-04-17 12:23:12.442365 95.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-04-17 12:23:12.442365 95.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMU:0:8000:20:64000:1] 2022-04-17 12:23:12.442365 95.97% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2022-04-17 12:23:12.442365 95.97% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/9436051259@103.250.145.27:11306 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2022-04-17 12:23:12.442365 95.97% [DEBUG] switch_core_codec.c:111 sofia/default/9436051259@103.250.145.27:11306 Original read codec set to PCMU:0 2022-04-17 12:23:12.442365 95.97% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2022-04-17 12:23:12.442365 95.97% [DEBUG] switch_core_media.c:5973 sofia/default/9436051259@103.250.145.27:11306 Set 2833 dtmf send payload to 101 recv payload to 101 2022-04-17 12:23:12.442365 95.97% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/9436051259@103.250.145.27:11306] 172.31.14.218 port 20020 -> 192.168.1.22 port 8000 codec: 0 ms: 20 2022-04-17 12:23:12.442365 95.97% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms 2022-04-17 12:23:12.442365 95.97% [DEBUG] switch_core_media.c:9089 sofia/default/9436051259@103.250.145.27:11306 Set 2833 dtmf send payload to 101 2022-04-17 12:23:12.442365 95.97% [DEBUG] switch_core_media.c:9096 sofia/default/9436051259@103.250.145.27:11306 Set 2833 dtmf receive payload to 101 2022-04-17 12:23:12.442365 95.97% [DEBUG] switch_core_media.c:9119 sofia/default/9436051259@103.250.145.27:11306 Set rtp dtmf delay to 40 2022-04-17 12:23:12.442365 95.97% [NOTICE] sofia.c:8683 Channel [sofia/default/9436051259@103.250.145.27:11306] has been answered 2022-04-17 12:23:12.442365 95.97% [DEBUG] switch_channel.c:3950 (sofia/default/9436051259@103.250.145.27:11306) Callstate Change RINGING -> ACTIVE EXECUTE [depth=0] sofia/default/9436051259@103.250.145.27:11306 lua(/usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua) 2022-04-17 12:23:12.462367 95.97% [NOTICE] switch_cpp.cpp:1465 [Astpp_Call-Ring Group] Ring group confirm flag :false 2022-04-17 12:23:12.462367 95.97% [NOTICE] switch_cpp.cpp:1465 [Astpp_Call-Ring Group] Ring group confirm :: false 2022-04-17 12:23:12.462367 95.97% [DEBUG] switch_cpp.cpp:1209 sofia/default/9436051259@103.250.145.27:11306 destroy/unlink session from object 2022-04-17 12:23:12.482342 95.97% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/8871343676@46.101.114.158. 2022-04-17 12:23:12.482342 95.97% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/8871343676@46.101.114.158: v=0 o=FreeSWITCH 1650173593 1650173595 IN IP4 3.7.66.233 s=FreeSWITCH c=IN IP4 3.7.66.233 t=0 0 m=audio 24562 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2022-04-17 12:23:12.482342 95.97% [DEBUG] sofia.c:7499 Channel sofia/default/8871343676@46.101.114.158 entering state [completed][200] 2022-04-17 12:23:12.482342 95.97% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/8871343676@46.101.114.158] has been answered 2022-04-17 12:23:12.482342 95.97% [DEBUG] switch_channel.c:3950 (sofia/default/8871343676@46.101.114.158) Callstate Change EARLY -> ACTIVE 2022-04-17 12:23:12.482342 95.97% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/9436051259@103.250.145.27:11306] Peer UUID: a1217824-a2b8-4c86-bf9e-49e3ffec307d 2022-04-17 12:23:12.482342 95.97% [DEBUG] switch_ivr_originate.c:3151 sofia/default/9436051259@103.250.145.27:11306 Setting leg timeout to 30 2022-04-17 12:23:12.482342 95.97% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/9436051259@103.250.145.27:11306] Peer UUID: a1217824-a2b8-4c86-bf9e-49e3ffec307d 2022-04-17 12:23:12.482342 95.97% [DEBUG] switch_channel.c:1276 sofia/default/8871343676@46.101.114.158 EXPORTING[bridge_export_vars] [hold_music]=[local_stream://Global] to sofia/default/9436051259@103.250.145.27:11306 2022-04-17 12:23:12.482342 95.97% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/9436051259@103.250.145.27:11306) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2022-04-17 12:23:12.482342 95.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9436051259@103.250.145.27:11306) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 26) 2022-04-17 12:23:12.482342 95.97% [DEBUG] switch_core_state_machine.c:650 (sofia/default/9436051259@103.250.145.27:11306) State EXCHANGE_MEDIA 2022-04-17 12:23:12.482342 95.97% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA 2022-04-17 12:23:12.542369 95.97% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed. 2022-04-17 12:23:12.622361 95.97% [DEBUG] sofia.c:7499 Channel sofia/default/8871343676@46.101.114.158 entering state [ready][200] 2022-04-17 12:23:12.642366 95.97% [DEBUG] switch_ivr_bridge.c:655 sofia/default/9436051259@103.250.145.27:11306 Bridge execute app sched_hangup(+6000 normal_clearing) 2022-04-17 12:23:12.662375 95.97% [DEBUG] switch_ivr.c:632 sofia/default/9436051259@103.250.145.27:11306 Command Execute [depth=0] sched_hangup(+6000 normal_clearing) EXECUTE [depth=0] sofia/default/9436051259@103.250.145.27:11306 sched_hangup(+6000 normal_clearing) 2022-04-17 12:23:12.662375 95.97% [DEBUG] switch_scheduler.c:263 Added task 5 switch_ivr_schedule_hangup (a1217824-a2b8-4c86-bf9e-49e3ffec307d) to run at 1650204192 2022-04-17 12:23:12.922364 95.97% [INFO] switch_rtp.c:7894 Auto Changing audio port from 192.168.1.22:8000 to 103.250.145.27:11104 2022-04-17 12:23:15.222360 95.90% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162 You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute and you must configure your device to use the proper domain in its authentication credentials. 2022-04-17 12:23:15.222360 95.90% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162 2022-04-17 12:23:16.942370 95.93% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2022-04-17 12:23:21.622344 96.07% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2022-04-17 12:23:24.422363 96.13% [NOTICE] sofia.c:1065 Hangup sofia/default/9436051259@103.250.145.27:11306 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2022-04-17 12:23:24.422363 96.13% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/9436051259@103.250.145.27:11306] 2022-04-17 12:23:24.422363 96.13% [DEBUG] switch_core_state_machine.c:650 (sofia/default/9436051259@103.250.145.27:11306) State EXCHANGE_MEDIA going to sleep 2022-04-17 12:23:24.422363 96.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9436051259@103.250.145.27:11306) Running State Change CS_HANGUP (Cur 2 Tot 26) 2022-04-17 12:23:24.422363 96.13% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9436051259@103.250.145.27:11306) Callstate Change ACTIVE -> HANGUP 2022-04-17 12:23:24.422363 96.13% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9436051259@103.250.145.27:11306) State HANGUP 2022-04-17 12:23:24.422363 96.13% [DEBUG] mod_sofia.c:468 Channel sofia/default/9436051259@103.250.145.27:11306 hanging up, cause: NORMAL_CLEARING 2022-04-17 12:23:24.422363 96.13% [DEBUG] switch_core_state_machine.c:59 sofia/default/9436051259@103.250.145.27:11306 Standard HANGUP, cause: NORMAL_CLEARING 2022-04-17 12:23:24.422363 96.13% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9436051259@103.250.145.27:11306) State HANGUP going to sleep 2022-04-17 12:23:24.422363 96.13% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9436051259@103.250.145.27:11306) State Change CS_HANGUP -> CS_REPORTING 2022-04-17 12:23:24.422363 96.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9436051259@103.250.145.27:11306) Running State Change CS_REPORTING (Cur 2 Tot 26) 2022-04-17 12:23:24.422363 96.13% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9436051259@103.250.145.27:11306) State REPORTING 2022-04-17 12:23:24.422363 96.13% [INFO] mod_json_cdr.c:271 Process [a1217824-a2b8-4c86-bf9e-49e3ffec307d.cdr.json] 2022-04-17 12:23:24.442372 96.13% [DEBUG] switch_ivr_bridge.c:820 sofia/default/9436051259@103.250.145.27:11306 ending bridge by request from write function 2022-04-17 12:23:24.442372 96.13% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/8871343676@46.101.114.158] 2022-04-17 12:23:24.442372 96.13% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/9436051259@103.250.145.27:11306 skip receive message [UNBRIDGE] (channel is hungup already) 2022-04-17 12:23:24.442372 96.13% [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/default/8871343676@46.101.114.158 [CS_EXECUTE] [NORMAL_CLEARING] 2022-04-17 12:23:24.442372 96.13% [DEBUG] switch_core_session.c:2983 sofia/default/8871343676@46.101.114.158 skip receive message [PHONE_EVENT] (channel is hungup already) 2022-04-17 12:23:24.442372 96.13% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8871343676@46.101.114.158) State EXECUTE going to sleep 2022-04-17 12:23:24.442372 96.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_HANGUP (Cur 2 Tot 26) 2022-04-17 12:23:24.442372 96.13% [DEBUG] switch_core_state_machine.c:844 (sofia/default/8871343676@46.101.114.158) Callstate Change ACTIVE -> HANGUP 2022-04-17 12:23:24.442372 96.13% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8871343676@46.101.114.158) State HANGUP 2022-04-17 12:23:24.442372 96.13% [DEBUG] mod_sofia.c:462 sofia/default/8871343676@46.101.114.158 Overriding SIP cause 480 with 200 from the other leg 2022-04-17 12:23:24.442372 96.13% [DEBUG] mod_sofia.c:468 Channel sofia/default/8871343676@46.101.114.158 hanging up, cause: NORMAL_CLEARING 2022-04-17 12:23:24.442372 96.13% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/8871343676@46.101.114.158 2022-04-17 12:23:24.442372 96.13% [DEBUG] switch_core_state_machine.c:59 sofia/default/8871343676@46.101.114.158 Standard HANGUP, cause: NORMAL_CLEARING 2022-04-17 12:23:24.442372 96.13% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8871343676@46.101.114.158) State HANGUP going to sleep 2022-04-17 12:23:24.442372 96.13% [DEBUG] switch_core_state_machine.c:616 (sofia/default/8871343676@46.101.114.158) State Change CS_HANGUP -> CS_REPORTING 2022-04-17 12:23:24.442372 96.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_REPORTING (Cur 2 Tot 26) 2022-04-17 12:23:24.442372 96.13% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8871343676@46.101.114.158) State REPORTING 2022-04-17 12:23:24.442372 96.13% [INFO] mod_json_cdr.c:271 Process [6d434689-6881-4f55-adfd-7abc39149dd5.cdr.json] 2022-04-17 12:23:24.582369 96.13% [DEBUG] switch_core_state_machine.c:168 sofia/default/9436051259@103.250.145.27:11306 Standard REPORTING, cause: NORMAL_CLEARING 2022-04-17 12:23:24.582369 96.13% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9436051259@103.250.145.27:11306) State REPORTING going to sleep 2022-04-17 12:23:24.582369 96.13% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9436051259@103.250.145.27:11306) State Change CS_REPORTING -> CS_DESTROY 2022-04-17 12:23:24.582369 96.13% [DEBUG] switch_core_session.c:1753 Session 26 (sofia/default/9436051259@103.250.145.27:11306) Locked, Waiting on external entities 2022-04-17 12:23:24.582369 96.13% [NOTICE] switch_core_session.c:1771 Session 26 (sofia/default/9436051259@103.250.145.27:11306) Ended 2022-04-17 12:23:24.582369 96.13% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9436051259@103.250.145.27:11306 [CS_DESTROY] 2022-04-17 12:23:24.582369 96.13% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9436051259@103.250.145.27:11306) Running State Change CS_DESTROY (Cur 1 Tot 26) 2022-04-17 12:23:24.582369 96.13% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9436051259@103.250.145.27:11306) State DESTROY 2022-04-17 12:23:24.582369 96.13% [DEBUG] mod_sofia.c:379 sofia/default/9436051259@103.250.145.27:11306 SOFIA DESTROY 2022-04-17 12:23:24.582369 96.13% [DEBUG] switch_core_state_machine.c:175 sofia/default/9436051259@103.250.145.27:11306 Standard DESTROY 2022-04-17 12:23:24.582369 96.13% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9436051259@103.250.145.27:11306) State DESTROY going to sleep 2022-04-17 12:23:24.622339 96.13% [DEBUG] switch_core_state_machine.c:168 sofia/default/8871343676@46.101.114.158 Standard REPORTING, cause: NORMAL_CLEARING 2022-04-17 12:23:24.622339 96.13% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8871343676@46.101.114.158) State REPORTING going to sleep 2022-04-17 12:23:24.622339 96.13% [DEBUG] switch_core_state_machine.c:607 (sofia/default/8871343676@46.101.114.158) State Change CS_REPORTING -> CS_DESTROY 2022-04-17 12:23:24.622339 96.13% [DEBUG] switch_core_session.c:1753 Session 25 (sofia/default/8871343676@46.101.114.158) Locked, Waiting on external entities 2022-04-17 12:23:24.622339 96.13% [NOTICE] switch_core_session.c:1771 Session 25 (sofia/default/8871343676@46.101.114.158) Ended 2022-04-17 12:23:24.622339 96.13% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/8871343676@46.101.114.158 [CS_DESTROY] 2022-04-17 12:23:24.622339 96.13% [DEBUG] switch_core_state_machine.c:735 (sofia/default/8871343676@46.101.114.158) Running State Change CS_DESTROY (Cur 0 Tot 26) 2022-04-17 12:23:24.622339 96.13% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8871343676@46.101.114.158) State DESTROY 2022-04-17 12:23:24.622339 96.13% [DEBUG] mod_sofia.c:379 sofia/default/8871343676@46.101.114.158 SOFIA DESTROY 2022-04-17 12:23:24.622339 96.13% [DEBUG] switch_core_state_machine.c:175 sofia/default/8871343676@46.101.114.158 Standard DESTROY 2022-04-17 12:23:24.622339 96.13% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8871343676@46.101.114.158) State DESTROY going to sleep 2022-04-17 12:23:24.662346 96.13% [DEBUG] switch_scheduler.c:147 Deleting task 5 switch_ivr_schedule_hangup (a1217824-a2b8-4c86-bf9e-49e3ffec307d) 2022-04-17 12:23:26.302379 95.93% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2022-04-17 12:23:30.982338 95.93% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2022-04-17 12:23:35.662364 98.67% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2022-04-17 12:23:36.322350 98.67% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162 You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute and you must configure your device to use the proper domain in its authentication credentials. 2022-04-17 12:23:36.322350 98.67% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162 2022-04-17 12:23:40.342337 99.27% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2022-04-17 12:23:45.022342 99.33% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2022-04-17 12:23:49.702364 99.23% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2022-04-17 12:23:54.382368 99.10% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2022-04-17 12:23:58.402362 99.40% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162 You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute and you must configure your device to use the proper domain in its authentication credentials. 2022-04-17 12:23:58.402362 99.40% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162 2022-04-17 12:23:59.062348 99.40% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2022-04-17 12:24:03.742338 96.40% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2022-04-17 12:24:08.422361 96.37% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2022-04-17 12:24:13.102380 96.40% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2022-04-17 12:24:17.782360 96.40% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2022-04-17 12:24:19.502338 96.50% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162 2022-04-17 12:24:19.542338 96.50% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162 You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute and you must configure your device to use the proper domain in its authentication credentials. 2022-04-17 12:24:19.542338 96.50% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162 2022-04-17 12:24:22.462357 96.67% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. freeswitch@ip-172-31-14-218>