freeswitch@ip-172-31-15-133> freeswitch@ip-172-31-15-133> 2022-02-07 12:43:19.625409 95.27% [NOTICE] sofia_reg.c:459 Registering Alpesh 2022-02-07 12:43:19.765401 95.40% [ERR] sofia_reg.c:2677 Alpesh Failed Registration with status Service Unavailable [503]. failure #44 2022-02-07 12:43:20.625485 95.40% [WARNING] sofia_reg.c:516 Alpesh Failed Registration [503], setting retry to 30 seconds. 2022-02-07 12:43:23.345399 95.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/5365342801@13.233.144.222:5066 [05d758d4-3fa2-4af1-8c6e-06e6d993d246] 2022-02-07 12:43:23.345399 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5365342801@13.233.144.222:5066) Running State Change CS_NEW (Cur 1 Tot 65) 2022-02-07 12:43:23.345399 95.50% [INFO] sofia.c:10462 sofia/default/5365342801@13.233.144.222:5066 receiving invite from 172.31.15.133:5066 version: 1.10.7 -release-19-883d2cb662 64bit call-id: RI96IXBhMhH-AkJPZGkZZA.. 2022-02-07 12:43:23.345399 95.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 172.31.15.133:0. 2022-02-07 12:43:23.345399 95.50% [DEBUG] sofia.c:10585 IP 172.31.15.133 Approved by acl "default[]". Access Granted. 2022-02-07 12:43:23.345399 95.50% [DEBUG] sofia.c:11672 Setting NAT mode based on via received 2022-02-07 12:43:23.345399 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/5365342801@13.233.144.222:5066 entering state [received][100] 2022-02-07 12:43:23.345399 95.50% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=Z 0 0 IN IP4 150.129.107.251 s=Z c=IN IP4 150.129.107.251 t=0 0 m=audio 8000 RTP/AVP 3 110 8 0 97 101 a=rtpmap:110 speex/8000 a=rtpmap:97 iLBC/8000 a=fmtp:97 mode=30 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 2022-02-07 12:43:23.345399 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2022-02-07 12:43:23.345399 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2022-02-07 12:43:23.345399 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-02-07 12:43:23.345399 95.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-02-07 12:43:23.345399 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-02-07 12:43:23.345399 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2022-02-07 12:43:23.345399 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2022-02-07 12:43:23.345399 95.50% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/5365342801@13.233.144.222:5066 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-02-07 12:43:23.345399 95.50% [DEBUG] switch_core_codec.c:111 sofia/default/5365342801@13.233.144.222:5066 Original read codec set to PCMA:8 2022-02-07 12:43:23.345399 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2022-02-07 12:43:23.345399 95.50% [DEBUG] switch_core_media.c:5973 sofia/default/5365342801@13.233.144.222:5066 Set 2833 dtmf send payload to 101 recv payload to 101 2022-02-07 12:43:23.345399 95.50% [DEBUG] sofia.c:7933 (sofia/default/5365342801@13.233.144.222:5066) State Change CS_NEW -> CS_INIT 2022-02-07 12:43:23.345399 95.50% [DEBUG] switch_core_state_machine.c:600 (sofia/default/5365342801@13.233.144.222:5066) State NEW 2022-02-07 12:43:23.345399 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5365342801@13.233.144.222:5066) Running State Change CS_INIT (Cur 1 Tot 65) 2022-02-07 12:43:23.345399 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/5365342801@13.233.144.222:5066) State INIT 2022-02-07 12:43:23.345399 95.50% [DEBUG] mod_sofia.c:97 sofia/default/5365342801@13.233.144.222:5066 SOFIA INIT 2022-02-07 12:43:23.345399 95.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/5365342801@13.233.144.222:5066 Standard INIT 2022-02-07 12:43:23.345399 95.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/5365342801@13.233.144.222:5066) State Change CS_INIT -> CS_ROUTING 2022-02-07 12:43:23.345399 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/5365342801@13.233.144.222:5066) State INIT going to sleep 2022-02-07 12:43:23.345399 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5365342801@13.233.144.222:5066) Running State Change CS_ROUTING (Cur 1 Tot 65) 2022-02-07 12:43:23.345399 95.50% [DEBUG] switch_channel.c:2380 (sofia/default/5365342801@13.233.144.222:5066) Callstate Change DOWN -> RINGING 2022-02-07 12:43:23.345399 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/5365342801@13.233.144.222:5066) State ROUTING 2022-02-07 12:43:23.345399 95.50% [DEBUG] mod_sofia.c:158 sofia/default/5365342801@13.233.144.222:5066 SOFIA ROUTING 2022-02-07 12:43:23.345399 95.50% [DEBUG] switch_core_state_machine.c:230 sofia/default/5365342801@13.233.144.222:5066 Standard ROUTING 2022-02-07 12:43:23.345399 95.50% [INFO] mod_dialplan_xml.c:639 Processing 5365342801 <5365342801>->109560 in context default 2022-02-07 12:43:23.345399 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes') 2022-02-07 12:43:23.345399 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-02-07 12:43:23.365398 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 109560 2022-02-07 12:43:23.365398 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '109560' AND status=0 limit 1 2022-02-07 12:43:23.365398 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER5365342801 2022-02-07 12:43:23.365398 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-02-07 12:43:23.365398 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '109560' limit 1 2022-02-07 12:43:23.365398 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : QA_External / +918871343676 2022-02-07 12:43:23.365398 95.50% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="109560" LIMIT 1 2022-02-07 12:43:23.365398 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] 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.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 ="109560" LIMIT 1 2022-02-07 12:43:23.365398 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-02-07 12:43:23.365398 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound 2022-02-07 12:43:23.365398 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 150.129.107.251 2022-02-07 12:43:23.365398 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 5365342801] 2022-02-07 12:43:23.365398 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "5365342801" AND deleted = 0 limit 1 2022-02-07 12:43:23.365398 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="109560" AND (accountid = 0 OR status = 1) LIMIT 1 2022-02-07 12:43:23.365398 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound 2022-02-07 12:43:23.365398 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 4 2022-02-07 12:43:23.365398 95.50% [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 (patterns = '^109560.*' OR patterns = '^10956.*' OR patterns = '^1095.*' OR patterns = '^109.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 4 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-02-07 12:43:23.385399 95.50% [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 ="109560" AND A.accountid = '4' limit 1 2022-02-07 12:43:23.385399 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 109560 2022-02-07 12:43:23.385399 95.50% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="109560" LIMIT 1 2022-02-07 12:43:23.385399 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] 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.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 ="109560" LIMIT 1 2022-02-07 12:43:23.405392 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-02-07 12:43:23.405392 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound 2022-02-07 12:43:23.405392 95.50% [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 = '109560' OR number = '10956' OR number = '1095' OR number = '109' OR number = '10' OR number = '1' OR number ='--') OR (number = '109560*' OR number = '10956*' OR number = '1095*' OR number = '109*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '+918871343676' OR number = '+91887134367' OR number = '+9188713436' OR number = '+918871343' OR number = '+91887134' OR number = '+9188713' OR number = '+918871' OR number = '+91887' OR number = '+9188' OR number = '+918' OR number = '+91' OR number = '+9' OR number = '+' OR number ='--') OR (number = '+918871343676*' OR number = '+91887134367*' OR number = '+9188713436*' OR number = '+918871343*' OR number = '+91887134*' OR number = '+9188713*' OR number = '+918871*' OR number = '+91887*' OR number = '+9188*' OR number = '+918*' OR number = '+91*' OR number = '+9*' OR number = '+*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2022-02-07 12:43:23.405392 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2022-02-07 12:43:23.405392 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '109560' OR routing_prefix = '10956' OR routing_prefix = '1095' OR routing_prefix = '109' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2022-02-07 12:43:23.405392 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2022-02-07 12:43:23.405392 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 4 2022-02-07 12:43:23.405392 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 5365342801 2022-02-07 12:43:23.405392 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 3694 2022-02-07 12:43:23.405392 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2022-02-07 12:43:23.405392 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 3 2022-02-07 12:43:23.405392 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2022-02-07 12:43:23.405392 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2022-02-07 12:43:23.405392 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0 2022-02-07 12:43:23.405392 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound 2022-02-07 12:43:23.405392 95.50% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="109560" LIMIT 1 2022-02-07 12:43:23.405392 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] 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.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 ="109560" LIMIT 1 2022-02-07 12:43:23.425394 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-02-07 12:43:23.425394 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound 2022-02-07 12:43:23.425394 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing 2022-02-07 12:43:23.425394 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.00000 2022-02-07 12:43:23.425394 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:3 2022-02-07 12:43:23.425394 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday from demand_based_routing where pricelist_id = '3' and status=0 2022-02-07 12:43:23.425394 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] holiday_based_routing : 2022-02-07 12:43:23.425394 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] today_date :7-2 2022-02-07 12:43:23.425394 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] demand_based_condition : 2022-02-07 12:43:23.425394 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_time :12.43 2022-02-07 12:43:23.425394 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_wday :2 2022-02-07 12:43:23.425394 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match for priority :5 2022-02-07 12:43:23.425394 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0 2022-02-07 12:43:23.425394 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2022-02-07 12:43:23.425394 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1 2022-02-07 12:43:23.425394 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2022-02-07 12:43:23.425394 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2022-02-07 12:43:23.425394 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0 2022-02-07 12:43:23.425394 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 109560 2022-02-07 12:43:23.425394 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88 2022-02-07 12:43:23.425394 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 4 2022-02-07 12:43:23.425394 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2022-02-07 12:43:23.425394 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your3694 balance Accountid 4 !!! 2022-02-07 12:43:23.425394 95.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100 2022-02-07 12:43:23.425394 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes 2022-02-07 12:43:23.425394 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE 2022-02-07 12:43:23.425394 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1 2022-02-07 12:43:23.425394 95.50% [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 = 4 AND status=0 LIMIT 1 2022-02-07 12:43:23.425394 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "4" AND deleted = 0 limit 1 2022-02-07 12:43:23.425394 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:4 2022-02-07 12:43:23.425394 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:4 2022-02-07 12:43:23.425394 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 4 2022-02-07 12:43:23.425394 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100 2022-02-07 12:43:23.425394 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-02-07 12:43:23.425394 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1 2022-02-07 12:43:23.425394 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 4 and status = 0 limit 1 2022-02-07 12:43:23.425394 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0 2022-02-07 12:43:23.425394 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START: 2022-02-07 12:43:23.425394 95.50% [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 WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="5845952960" limit 1 2022-02-07 12:43:23.425394 95.50% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] did_local_sip_codec : 2022-02-07 12:43:23.425394 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/5365342801@13.233.144.222:5066 parsing [default->109560] continue=false Dialplan: sofia/default/5365342801@13.233.144.222:5066 Regex (PASS) [109560] destination_number(109560) =~ /109560/ break=on-false Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action set(effective_destination_number=109560) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action set(callstart=2022-02-07 12:43:23) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action set(hangup_after_bridge=true) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action set(account_id=4) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action set(parent_id=0) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action set(entity_id=0) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action set(call_processed=internal) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action set(call_direction=inbound) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action set(accountname=default) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action set(origination_rates_did=ID:1|CODE:^109560.*|DESTINATION:109560|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:4) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action set(origination_rates=0) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action set(original_caller_id_name=QA_External) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action set(original_caller_id_number=+918871343676) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action set(effective_caller_id_name=QA_External) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action set(effective_caller_id_number=+918871343676) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action set(receiver_accid=4) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action set(did_id=1) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action set(transfer_call_type=5) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action set(transfer_extensions=8966418682) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action set(busy_status=0) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action set(no_answer_status=1) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action set(always_status=1) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action set(transfer_status=0) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action set(variable_sip_to_host=${domain_name}) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action export(domain_name=) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action export(sip_to_host=) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action export(presence_data=x|||admin's(5365342801)|||||||||DID|||150.129.107.251) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action export(call_type=0) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action set(calltype=DID-LOCAL) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action bridge({sip_invite_params=user=LOCAL,sip_from_uri=5845952960@${domain_name}}[leg_timeout=0]sofia/${sofia_profile_name}/5845952960@172.31.15.133:5066;fs_path=sip:172.31.15.133:5066) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action set(did_id=1) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action set(destination_number=109560) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action set(leg_timeout=0) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action set(call_type_vm_flag=1) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action set(is_local_extension=1) Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action lua(did_call_forwarding.lua) |--- Dialplan: Processing recursive conditions level:1 [109560_recur_1] require-nested=TRUE |--- Dialplan: sofia/default/5365342801@13.233.144.222:5066 Regex (PASS) [109560_recur_1] ${cond(${user_data 5845952960@${domain_name} param vm-enabled} == true ? YES : NO)}(YES) =~ /^YES$/ break=on-false |--- Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action answer() |--- Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action export(voicemail_alternate_greet_id=109560) |--- Dialplan: sofia/default/5365342801@13.233.144.222:5066 Action voicemail(default $${domain_name} 5845952960) 2022-02-07 12:43:23.445398 95.50% [DEBUG] switch_core_state_machine.c:281 (sofia/default/5365342801@13.233.144.222:5066) State Change CS_ROUTING -> CS_EXECUTE 2022-02-07 12:43:23.445398 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/5365342801@13.233.144.222:5066) State ROUTING going to sleep 2022-02-07 12:43:23.445398 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5365342801@13.233.144.222:5066) Running State Change CS_EXECUTE (Cur 1 Tot 65) 2022-02-07 12:43:23.445398 95.50% [DEBUG] switch_core_state_machine.c:647 (sofia/default/5365342801@13.233.144.222:5066) State EXECUTE 2022-02-07 12:43:23.445398 95.50% [DEBUG] mod_sofia.c:213 sofia/default/5365342801@13.233.144.222:5066 SOFIA EXECUTE 2022-02-07 12:43:23.445398 95.50% [DEBUG] switch_core_state_machine.c:323 sofia/default/5365342801@13.233.144.222:5066 Standard EXECUTE EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 set(effective_destination_number=109560) 2022-02-07 12:43:23.445398 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/5365342801@13.233.144.222:5066 [effective_destination_number]=[109560] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 set(bridge_pre_execute_bleg_app=sched_hangup) 2022-02-07 12:43:23.445398 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/5365342801@13.233.144.222:5066 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2022-02-07 12:43:23.445398 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/5365342801@13.233.144.222:5066 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 set(callstart=2022-02-07 12:43:23) 2022-02-07 12:43:23.445398 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/5365342801@13.233.144.222:5066 [callstart]=[2022-02-07 12:43:23] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 set(hangup_after_bridge=true) 2022-02-07 12:43:23.445398 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/5365342801@13.233.144.222:5066 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 set(continue_on_fail=TRUE) 2022-02-07 12:43:23.445398 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/5365342801@13.233.144.222:5066 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 set(account_id=4) 2022-02-07 12:43:23.445398 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/5365342801@13.233.144.222:5066 [account_id]=[4] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 set(parent_id=0) 2022-02-07 12:43:23.445398 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/5365342801@13.233.144.222:5066 [parent_id]=[0] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 set(entity_id=0) 2022-02-07 12:43:23.445398 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/5365342801@13.233.144.222:5066 [entity_id]=[0] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 set(call_processed=internal) 2022-02-07 12:43:23.445398 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/5365342801@13.233.144.222:5066 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 set(call_direction=inbound) 2022-02-07 12:43:23.445398 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/5365342801@13.233.144.222:5066 [call_direction]=[inbound] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 set(accountname=default) 2022-02-07 12:43:23.445398 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/5365342801@13.233.144.222:5066 [accountname]=[default] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 set(origination_rates_did=ID:1|CODE:^109560.*|DESTINATION:109560|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:4) 2022-02-07 12:43:23.445398 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/5365342801@13.233.144.222:5066 [origination_rates_did]=[ID:1|CODE:^109560.*|DESTINATION:109560|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:4] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 set(origination_rates=0) 2022-02-07 12:43:23.445398 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/5365342801@13.233.144.222:5066 [origination_rates]=[0] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 set(original_caller_id_name=QA_External) 2022-02-07 12:43:23.445398 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/5365342801@13.233.144.222:5066 [original_caller_id_name]=[QA_External] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 set(original_caller_id_number=+918871343676) 2022-02-07 12:43:23.445398 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/5365342801@13.233.144.222:5066 [original_caller_id_number]=[+918871343676] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 set(effective_caller_id_name=QA_External) 2022-02-07 12:43:23.445398 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/5365342801@13.233.144.222:5066 [effective_caller_id_name]=[QA_External] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 set(effective_caller_id_number=+918871343676) 2022-02-07 12:43:23.445398 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/5365342801@13.233.144.222:5066 [effective_caller_id_number]=[+918871343676] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 set(receiver_accid=4) 2022-02-07 12:43:23.445398 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/5365342801@13.233.144.222:5066 [receiver_accid]=[4] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 set(did_id=1) 2022-02-07 12:43:23.445398 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/5365342801@13.233.144.222:5066 [did_id]=[1] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 set(transfer_call_type=5) 2022-02-07 12:43:23.445398 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/5365342801@13.233.144.222:5066 [transfer_call_type]=[5] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 set(transfer_extensions=8966418682) 2022-02-07 12:43:23.445398 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/5365342801@13.233.144.222:5066 [transfer_extensions]=[8966418682] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 set(busy_status=0) 2022-02-07 12:43:23.445398 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/5365342801@13.233.144.222:5066 [busy_status]=[0] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 set(no_answer_status=1) 2022-02-07 12:43:23.445398 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/5365342801@13.233.144.222:5066 [no_answer_status]=[1] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 set(always_status=1) 2022-02-07 12:43:23.445398 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/5365342801@13.233.144.222:5066 [always_status]=[1] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 set(transfer_status=0) 2022-02-07 12:43:23.445398 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/5365342801@13.233.144.222:5066 [transfer_status]=[0] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 set(variable_sip_to_host=172.31.15.133) 2022-02-07 12:43:23.445398 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/5365342801@13.233.144.222:5066 [variable_sip_to_host]=[172.31.15.133] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 export(domain_name=) 2022-02-07 12:43:23.445398 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 export(sip_to_host=) 2022-02-07 12:43:23.445398 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 export(presence_data=x|||admin's(5365342801)|||||||||DID|||150.129.107.251) 2022-02-07 12:43:23.445398 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||admin's(5365342801)|||||||||DID|||150.129.107.251] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 export(call_type=0) 2022-02-07 12:43:23.445398 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[0] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 set(calltype=DID-LOCAL) 2022-02-07 12:43:23.445398 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/5365342801@13.233.144.222:5066 [calltype]=[DID-LOCAL] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 bridge({sip_invite_params=user=LOCAL,sip_from_uri=5845952960@172.31.15.133}[leg_timeout=0]sofia/default/5845952960@172.31.15.133:5066;fs_path=sip:172.31.15.133:5066) 2022-02-07 12:43:23.445398 95.50% [DEBUG] switch_channel.c:1269 sofia/default/5365342801@13.233.144.222:5066 EXPORTING[export_vars] [presence_data]=[x|||admin's(5365342801)|||||||||DID|||150.129.107.251] to event 2022-02-07 12:43:23.445398 95.50% [DEBUG] switch_channel.c:1269 sofia/default/5365342801@13.233.144.222:5066 EXPORTING[export_vars] [call_type]=[0] to event 2022-02-07 12:43:23.445398 95.50% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables 2022-02-07 12:43:23.445398 95.50% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables 2022-02-07 12:43:23.445398 95.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/5845952960@172.31.15.133:5066 [50a02130-01cb-4d81-ab23-bf879749635d] 2022-02-07 12:43:23.445398 95.50% [DEBUG] mod_sofia.c:5121 (sofia/default/5845952960@172.31.15.133:5066) State Change CS_NEW -> CS_INIT 2022-02-07 12:43:23.445398 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5845952960@172.31.15.133:5066) Running State Change CS_INIT (Cur 2 Tot 66) 2022-02-07 12:43:23.445398 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/5845952960@172.31.15.133:5066) State INIT 2022-02-07 12:43:23.445398 95.50% [DEBUG] mod_sofia.c:97 sofia/default/5845952960@172.31.15.133:5066 SOFIA INIT 2022-02-07 12:43:23.445398 95.50% [DEBUG] sofia_glue.c:1620 sip:172.31.15.133:5066 Setting proxy route to sofia/default/5845952960@172.31.15.133:5066 2022-02-07 12:43:23.445398 95.50% [INFO] sofia_glue.c:1651 sofia/default/5845952960@172.31.15.133:5066 sending invite call-id: (null) 2022-02-07 12:43:23.445398 95.50% [DEBUG] sofia_glue.c:1654 sofia/default/5845952960@172.31.15.133:5066 sending invite version: 1.10.7 -release-19-883d2cb662 64bit Local SDP: v=0 o=FreeSWITCH 1644218561 1644218562 IN IP4 172.31.15.133 s=FreeSWITCH c=IN IP4 172.31.15.133 t=0 0 m=audio 19242 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-02-07 12:43:23.445398 95.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/5845952960@172.31.15.133:5066 Standard INIT 2022-02-07 12:43:23.445398 95.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/5845952960@172.31.15.133:5066) State Change CS_INIT -> CS_ROUTING 2022-02-07 12:43:23.445398 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/5845952960@172.31.15.133:5066) State INIT going to sleep 2022-02-07 12:43:23.445398 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5845952960@172.31.15.133:5066) Running State Change CS_ROUTING (Cur 2 Tot 66) 2022-02-07 12:43:23.445398 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/5845952960@172.31.15.133:5066 entering state [calling][0] 2022-02-07 12:43:23.445398 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/5845952960@172.31.15.133:5066) State ROUTING 2022-02-07 12:43:23.445398 95.50% [DEBUG] mod_sofia.c:158 sofia/default/5845952960@172.31.15.133:5066 SOFIA ROUTING 2022-02-07 12:43:23.445398 95.50% [DEBUG] switch_ivr_originate.c:67 (sofia/default/5845952960@172.31.15.133:5066) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-02-07 12:43:23.445398 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/5845952960@172.31.15.133:5066) State ROUTING going to sleep 2022-02-07 12:43:23.445398 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5845952960@172.31.15.133:5066) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 66) 2022-02-07 12:43:23.445398 95.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/5845952960@172.31.15.133:5066) State CONSUME_MEDIA 2022-02-07 12:43:23.445398 95.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/5845952960@172.31.15.133:5066) State CONSUME_MEDIA going to sleep 2022-02-07 12:43:26.925423 94.83% [DEBUG] sofia.c:7499 Channel sofia/default/5845952960@172.31.15.133:5066 entering state [proceeding][180] 2022-02-07 12:43:26.925423 94.83% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/5845952960@172.31.15.133:5066! 2022-02-07 12:43:26.925423 94.83% [DEBUG] switch_channel.c:3494 (sofia/default/5845952960@172.31.15.133:5066) Callstate Change DOWN -> RINGING 2022-02-07 12:43:26.945417 94.83% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/5365342801@13.233.144.222:5066! 2022-02-07 12:43:26.945417 94.83% [DEBUG] sofia.c:7499 Channel sofia/default/5365342801@13.233.144.222:5066 entering state [early][180] 2022-02-07 12:43:26.945417 94.83% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/5365342801@13.233.144.222:5066! 2022-02-07 12:43:46.665417 98.30% [DEBUG] sofia.c:7499 Channel sofia/default/5845952960@172.31.15.133:5066 entering state [terminated][486] 2022-02-07 12:43:46.665417 98.30% [NOTICE] sofia.c:8738 Hangup sofia/default/5845952960@172.31.15.133:5066 [CS_CONSUME_MEDIA] [USER_BUSY] 2022-02-07 12:43:46.665417 98.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5845952960@172.31.15.133:5066) Running State Change CS_HANGUP (Cur 2 Tot 66) 2022-02-07 12:43:46.665417 98.30% [DEBUG] switch_core_state_machine.c:844 (sofia/default/5845952960@172.31.15.133:5066) Callstate Change RINGING -> HANGUP 2022-02-07 12:43:46.665417 98.30% [DEBUG] switch_core_state_machine.c:846 (sofia/default/5845952960@172.31.15.133:5066) State HANGUP 2022-02-07 12:43:46.665417 98.30% [DEBUG] mod_sofia.c:468 Channel sofia/default/5845952960@172.31.15.133:5066 hanging up, cause: USER_BUSY 2022-02-07 12:43:46.665417 98.30% [DEBUG] switch_core_state_machine.c:59 sofia/default/5845952960@172.31.15.133:5066 Standard HANGUP, cause: USER_BUSY 2022-02-07 12:43:46.665417 98.30% [DEBUG] switch_core_state_machine.c:846 (sofia/default/5845952960@172.31.15.133:5066) State HANGUP going to sleep 2022-02-07 12:43:46.665417 98.30% [DEBUG] switch_core_state_machine.c:616 (sofia/default/5845952960@172.31.15.133:5066) State Change CS_HANGUP -> CS_REPORTING 2022-02-07 12:43:46.665417 98.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5845952960@172.31.15.133:5066) Running State Change CS_REPORTING (Cur 2 Tot 66) 2022-02-07 12:43:46.665417 98.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/5845952960@172.31.15.133:5066) State REPORTING 2022-02-07 12:43:46.665417 98.30% [INFO] mod_json_cdr.c:271 Process [50a02130-01cb-4d81-ab23-bf879749635d.cdr.json] 2022-02-07 12:43:46.665417 98.30% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 17 [USER_BUSY] 2022-02-07 12:43:46.665417 98.30% [INFO] mod_dptools.c:3653 Originate Failed. Cause: USER_BUSY EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 set(did_id=1) 2022-02-07 12:43:46.665417 98.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/5365342801@13.233.144.222:5066 [did_id]=[1] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 set(destination_number=109560) 2022-02-07 12:43:46.685408 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/5365342801@13.233.144.222:5066 [destination_number]=[109560] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 set(leg_timeout=0) 2022-02-07 12:43:46.685408 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/5365342801@13.233.144.222:5066 [leg_timeout]=[0] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 set(call_type_vm_flag=1) 2022-02-07 12:43:46.685408 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/5365342801@13.233.144.222:5066 [call_type_vm_flag]=[1] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 set(is_local_extension=1) 2022-02-07 12:43:46.685408 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/5365342801@13.233.144.222:5066 [is_local_extension]=[1] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 lua(did_call_forwarding.lua) 2022-02-07 12:43:46.685408 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes') 2022-02-07 12:43:46.685408 98.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION 2022-02-07 12:43:46.685408 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DID_Call_Forwading] This Is Last Opensips 0 This Is DiD Id : 2022-02-07 12:43:46.685408 98.37% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('sip_h_X-call-typ', 'did') 2022-02-07 12:43:46.685408 98.37% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('sip_h_X-did-call-type', 'DID-LOCAL') 2022-02-07 12:43:46.685408 98.37% [ERR] mod_lua.cpp:202 ...tch/scripts/astpp/lib/addons/astpp.did.call.transfer.lua:92: attempt to concatenate global 'user_domain' (a nil value) stack traceback: ...tch/scripts/astpp/lib/addons/astpp.did.call.transfer.lua:92: in function 'last_disposition_did_call_transfer' /usr/share/freeswitch/scripts/did_call_forwarding.lua:91: in main chunk 2022-02-07 12:43:46.685408 98.37% [DEBUG] switch_cpp.cpp:1209 sofia/default/5365342801@13.233.144.222:5066 destroy/unlink session from object EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 answer() 2022-02-07 12:43:46.685408 98.37% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/5365342801@13.233.144.222:5066] 172.31.15.133 port 21822 -> 150.129.107.251 port 8000 codec: 8 ms: 20 2022-02-07 12:43:46.685408 98.37% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms 2022-02-07 12:43:46.685408 98.37% [DEBUG] switch_core_state_machine.c:168 sofia/default/5845952960@172.31.15.133:5066 Standard REPORTING, cause: USER_BUSY 2022-02-07 12:43:46.685408 98.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/5845952960@172.31.15.133:5066) State REPORTING going to sleep 2022-02-07 12:43:46.685408 98.37% [DEBUG] switch_core_state_machine.c:607 (sofia/default/5845952960@172.31.15.133:5066) State Change CS_REPORTING -> CS_DESTROY 2022-02-07 12:43:46.685408 98.37% [DEBUG] switch_core_session.c:1753 Session 66 (sofia/default/5845952960@172.31.15.133:5066) Locked, Waiting on external entities 2022-02-07 12:43:46.685408 98.37% [NOTICE] switch_core_session.c:1771 Session 66 (sofia/default/5845952960@172.31.15.133:5066) Ended 2022-02-07 12:43:46.685408 98.37% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/5845952960@172.31.15.133:5066 [CS_DESTROY] 2022-02-07 12:43:46.685408 98.37% [DEBUG] switch_core_state_machine.c:735 (sofia/default/5845952960@172.31.15.133:5066) Running State Change CS_DESTROY (Cur 1 Tot 66) 2022-02-07 12:43:46.685408 98.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/5845952960@172.31.15.133:5066) State DESTROY 2022-02-07 12:43:46.685408 98.37% [DEBUG] mod_sofia.c:379 sofia/default/5845952960@172.31.15.133:5066 SOFIA DESTROY 2022-02-07 12:43:46.685408 98.37% [DEBUG] switch_core_state_machine.c:175 sofia/default/5845952960@172.31.15.133:5066 Standard DESTROY 2022-02-07 12:43:46.685408 98.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/5845952960@172.31.15.133:5066) State DESTROY going to sleep 2022-02-07 12:43:46.685408 98.37% [DEBUG] switch_core_media.c:9089 sofia/default/5365342801@13.233.144.222:5066 Set 2833 dtmf send payload to 101 2022-02-07 12:43:46.685408 98.37% [DEBUG] switch_core_media.c:9096 sofia/default/5365342801@13.233.144.222:5066 Set 2833 dtmf receive payload to 101 2022-02-07 12:43:46.685408 98.37% [DEBUG] switch_core_media.c:9119 sofia/default/5365342801@13.233.144.222:5066 Set rtp dtmf delay to 40 2022-02-07 12:43:46.685408 98.37% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/5365342801@13.233.144.222:5066: v=0 o=FreeSWITCH 1644216004 1644216005 IN IP4 172.31.15.133 s=FreeSWITCH c=IN IP4 172.31.15.133 t=0 0 m=audio 21822 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-02-07 12:43:46.685408 98.37% [DEBUG] sofia.c:7499 Channel sofia/default/5365342801@13.233.144.222:5066 entering state [completed][200] 2022-02-07 12:43:46.685408 98.37% [NOTICE] mod_dptools.c:1419 Channel [sofia/default/5365342801@13.233.144.222:5066] has been answered 2022-02-07 12:43:46.685408 98.37% [DEBUG] switch_channel.c:3950 (sofia/default/5365342801@13.233.144.222:5066) Callstate Change RINGING -> ACTIVE EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 export(voicemail_alternate_greet_id=109560) 2022-02-07 12:43:46.685408 98.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [voicemail_alternate_greet_id]=[109560] EXECUTE [depth=0] sofia/default/5365342801@13.233.144.222:5066 voicemail(default 172.31.15.133 5845952960) 2022-02-07 12:43:46.725436 98.37% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed. 2022-02-07 12:43:46.725436 98.37% [DEBUG] sofia.c:7499 Channel sofia/default/5365342801@13.233.144.222:5066 entering state [ready][200] 2022-02-07 12:43:46.805433 98.37% [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en] 2022-02-07 12:43:46.805433 98.37% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-person.wav] (en:en) 2022-02-07 12:43:46.805433 98.37% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms 2022-02-07 12:43:48.165401 98.17% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/voicemail/vm-person.wav 2022-02-07 12:43:48.265426 98.17% [DEBUG] switch_ivr_play_say.c:250 Handle say:[109560] (en:en) 2022-02-07 12:43:48.265426 98.17% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms 2022-02-07 12:43:51.505420 98.13% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://digits/1.wav!digits/0.wav!digits/9.wav!digits/5.wav!digits/6.wav!digits/0.wav 2022-02-07 12:43:51.625418 98.13% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-not_available.wav] (en:en) 2022-02-07 12:43:51.625418 98.13% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms 2022-02-07 12:43:51.665418 98.13% [NOTICE] sofia_reg.c:459 Registering Alpesh 2022-02-07 12:43:51.805418 98.03% [ERR] sofia_reg.c:2677 Alpesh Failed Registration with status Service Unavailable [503]. failure #45 2022-02-07 12:43:52.605423 98.03% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/voicemail/vm-not_available.wav 2022-02-07 12:43:52.665422 98.03% [WARNING] sofia_reg.c:516 Alpesh Failed Registration [503], setting retry to 30 seconds. 2022-02-07 12:43:52.705426 97.97% [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en] 2022-02-07 12:43:52.705426 97.97% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-record_message.wav] (en:en) 2022-02-07 12:43:52.705426 97.97% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms 2022-02-07 12:43:57.305419 98.83% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/voicemail/vm-record_message.wav 2022-02-07 12:43:58.425420 98.87% [DEBUG] switch_ivr_play_say.c:604 Raw Codec Activated, ready to waste resources! 2022-02-07 12:43:58.425420 98.87% [DEBUG] switch_ivr_play_say.c:716 Raw Codec Activated 2022-02-07 12:43:58.425420 98.87% [DEBUG] switch_core_codec.c:223 sofia/default/5365342801@13.233.144.222:5066 Push codec L16:100 2022-02-07 12:44:16.865399 95.67% [NOTICE] sofia.c:1065 Hangup sofia/default/5365342801@13.233.144.222:5066 [CS_EXECUTE] [NORMAL_CLEARING] 2022-02-07 12:44:16.865399 95.67% [DEBUG] switch_core_codec.c:248 sofia/default/5365342801@13.233.144.222:5066 Restore previous codec PCMA:8. 2022-02-07 12:44:16.865399 95.67% [DEBUG] mod_voicemail.c:2832 Deliver VM to 5845952960@172.31.15.133 2022-02-07 12:44:16.865399 95.67% [DEBUG] mod_voicemail.c:1925 Update MWI: Processing for 5845952960@172.31.15.133 in inbox 2022-02-07 12:44:16.885401 95.67% [ERR] sofia_presence.c:554 Cannot find profile 172.31.15.133 2022-02-07 12:44:16.885401 95.67% [DEBUG] mod_voicemail.c:1950 Update MWI: Messages Waiting yes 2022-02-07 12:44:16.885401 95.67% [DEBUG] mod_voicemail.c:1951 Update MWI: Update Reason NEW 2022-02-07 12:44:16.885401 95.67% [DEBUG] mod_voicemail.c:1952 Update MWI: Message Account 5845952960@172.31.15.133 2022-02-07 12:44:16.885401 95.67% [DEBUG] mod_voicemail.c:1953 Update MWI: Voice Message 2/0 2022-02-07 12:44:16.885401 95.67% [DEBUG] switch_core_session.c:2983 sofia/default/5365342801@13.233.144.222:5066 skip receive message [PHONE_EVENT] (channel is hungup already) 2022-02-07 12:44:16.885401 95.67% [DEBUG] switch_core_state_machine.c:647 (sofia/default/5365342801@13.233.144.222:5066) State EXECUTE going to sleep 2022-02-07 12:44:16.885401 95.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5365342801@13.233.144.222:5066) Running State Change CS_HANGUP (Cur 1 Tot 66) 2022-02-07 12:44:16.885401 95.67% [DEBUG] switch_core_state_machine.c:844 (sofia/default/5365342801@13.233.144.222:5066) Callstate Change ACTIVE -> HANGUP 2022-02-07 12:44:16.885401 95.67% [DEBUG] switch_core_state_machine.c:846 (sofia/default/5365342801@13.233.144.222:5066) State HANGUP 2022-02-07 12:44:16.885401 95.67% [DEBUG] mod_sofia.c:462 sofia/default/5365342801@13.233.144.222:5066 Overriding SIP cause 480 with 486 from the other leg 2022-02-07 12:44:16.885401 95.67% [DEBUG] mod_sofia.c:468 Channel sofia/default/5365342801@13.233.144.222:5066 hanging up, cause: NORMAL_CLEARING 2022-02-07 12:44:16.885401 95.67% [DEBUG] switch_core_state_machine.c:59 sofia/default/5365342801@13.233.144.222:5066 Standard HANGUP, cause: NORMAL_CLEARING 2022-02-07 12:44:16.885401 95.67% [DEBUG] switch_core_state_machine.c:846 (sofia/default/5365342801@13.233.144.222:5066) State HANGUP going to sleep 2022-02-07 12:44:16.885401 95.67% [DEBUG] switch_core_state_machine.c:616 (sofia/default/5365342801@13.233.144.222:5066) State Change CS_HANGUP -> CS_REPORTING 2022-02-07 12:44:16.885401 95.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5365342801@13.233.144.222:5066) Running State Change CS_REPORTING (Cur 1 Tot 66) 2022-02-07 12:44:16.885401 95.67% [DEBUG] switch_core_state_machine.c:932 (sofia/default/5365342801@13.233.144.222:5066) State REPORTING 2022-02-07 12:44:16.885401 95.67% [INFO] mod_json_cdr.c:271 Process [05d758d4-3fa2-4af1-8c6e-06e6d993d246.cdr.json] 2022-02-07 12:44:16.905399 95.67% [DEBUG] switch_core_state_machine.c:168 sofia/default/5365342801@13.233.144.222:5066 Standard REPORTING, cause: NORMAL_CLEARING 2022-02-07 12:44:16.905399 95.67% [DEBUG] switch_core_state_machine.c:932 (sofia/default/5365342801@13.233.144.222:5066) State REPORTING going to sleep 2022-02-07 12:44:16.905399 95.67% [DEBUG] switch_core_state_machine.c:607 (sofia/default/5365342801@13.233.144.222:5066) State Change CS_REPORTING -> CS_DESTROY 2022-02-07 12:44:16.905399 95.67% [DEBUG] switch_core_session.c:1753 Session 65 (sofia/default/5365342801@13.233.144.222:5066) Locked, Waiting on external entities 2022-02-07 12:44:16.905399 95.67% [NOTICE] switch_core_session.c:1771 Session 65 (sofia/default/5365342801@13.233.144.222:5066) Ended 2022-02-07 12:44:16.905399 95.67% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/5365342801@13.233.144.222:5066 [CS_DESTROY] 2022-02-07 12:44:16.905399 95.67% [DEBUG] switch_core_state_machine.c:735 (sofia/default/5365342801@13.233.144.222:5066) Running State Change CS_DESTROY (Cur 0 Tot 66) 2022-02-07 12:44:16.905399 95.67% [DEBUG] switch_core_state_machine.c:745 (sofia/default/5365342801@13.233.144.222:5066) State DESTROY 2022-02-07 12:44:16.905399 95.67% [DEBUG] mod_sofia.c:379 sofia/default/5365342801@13.233.144.222:5066 SOFIA DESTROY 2022-02-07 12:44:16.905399 95.67% [DEBUG] switch_core_state_machine.c:175 sofia/default/5365342801@13.233.144.222:5066 Standard DESTROY 2022-02-07 12:44:16.905399 95.67% [DEBUG] switch_core_state_machine.c:745 (sofia/default/5365342801@13.233.144.222:5066) State DESTROY going to sleep 2022-02-07 12:44:23.705427 95.97% [NOTICE] sofia_reg.c:459 Registering Alpesh 2022-02-07 12:44:23.845401 95.97% [ERR] sofia_reg.c:2677 Alpesh Failed Registration with status Service Unavailable [503]. failure #46 2022-02-07 12:44:24.705421 95.93% [WARNING] sofia_reg.c:516 Alpesh Failed Registration [503], setting retry to 30 seconds. freeswitch@ip-172-31-15-133> freeswitch@ip-172-31-15-133> freeswitch@ip-172-31-15-133>