+OK log level [7] 2023-07-25 15:22:01.169542 [NOTICE] switch_channel.c:1118 New Channel sofia/default/09037542994@196.216.253.41 [777c2fc2-a08e-4dd8-826f-a820b8e66c5b] 2023-07-25 15:22:01.169542 [DEBUG] switch_core_state_machine.c:585 (sofia/default/09037542994@196.216.253.41) Running State Change CS_NEW (Cur 1 Tot 4342451) 2023-07-25 15:22:01.169542 [INFO] sofia.c:10362 sofia/default/09037542994@196.216.253.41 receiving invite from 196.216.253.41:5060 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: 97fe6be0-a5a0-123c-3e80-d4ae52b8c3a9 2023-07-25 15:22:01.169542 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 196.216.253.41:0. 2023-07-25 15:22:01.169542 [DEBUG] sofia.c:10485 IP 196.216.253.41 Approved by acl "default[]". Access Granted. 2023-07-25 15:22:01.169542 [DEBUG] sofia.c:7406 Channel sofia/default/09037542994@196.216.253.41 entering state [received][100] 2023-07-25 15:22:01.169542 [DEBUG] sofia.c:7416 Remote SDP: v=0 o=FreeSWITCH 1690267404 1690267405 IN IP4 196.216.253.41 s=FreeSWITCH c=IN IP4 196.216.253.41 t=0 0 m=audio 30580 RTP/AVP 8 18 101 13 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=rtpmap:13 CN/8000 a=ptime:20 2023-07-25 15:22:01.169542 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2023-07-25 15:22:01.169542 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2023-07-25 15:22:01.169542 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2023-07-25 15:22:01.169542 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2023-07-25 15:22:01.169542 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2023-07-25 15:22:01.169542 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2023-07-25 15:22:01.169542 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2023-07-25 15:22:01.169542 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2023-07-25 15:22:01.169542 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000 2023-07-25 15:22:01.169542 [DEBUG] switch_core_media.c:3847 Set Codec sofia/default/09037542994@196.216.253.41 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2023-07-25 15:22:01.169542 [DEBUG] switch_core_codec.c:111 sofia/default/09037542994@196.216.253.41 Original read codec set to PCMA:8 2023-07-25 15:22:01.169542 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000 2023-07-25 15:22:01.169542 [DEBUG] switch_core_media.c:5918 sofia/default/09037542994@196.216.253.41 Set 2833 dtmf send payload to 101 recv payload to 101 2023-07-25 15:22:01.169542 [DEBUG] sofia.c:7840 (sofia/default/09037542994@196.216.253.41) State Change CS_NEW -> CS_INIT 2023-07-25 15:22:01.169542 [DEBUG] switch_core_state_machine.c:604 (sofia/default/09037542994@196.216.253.41) State NEW 2023-07-25 15:22:01.169542 [DEBUG] switch_core_state_machine.c:585 (sofia/default/09037542994@196.216.253.41) Running State Change CS_INIT (Cur 1 Tot 4342451) 2023-07-25 15:22:01.169542 [DEBUG] switch_core_state_machine.c:628 (sofia/default/09037542994@196.216.253.41) State INIT 2023-07-25 15:22:01.169542 [DEBUG] mod_sofia.c:93 sofia/default/09037542994@196.216.253.41 SOFIA INIT 2023-07-25 15:22:01.169542 [DEBUG] switch_core_state_machine.c:40 sofia/default/09037542994@196.216.253.41 Standard INIT 2023-07-25 15:22:01.169542 [DEBUG] switch_core_state_machine.c:48 (sofia/default/09037542994@196.216.253.41) State Change CS_INIT -> CS_ROUTING 2023-07-25 15:22:01.169542 [DEBUG] switch_core_state_machine.c:628 (sofia/default/09037542994@196.216.253.41) State INIT going to sleep 2023-07-25 15:22:01.169542 [DEBUG] switch_core_state_machine.c:585 (sofia/default/09037542994@196.216.253.41) Running State Change CS_ROUTING (Cur 1 Tot 4342451) 2023-07-25 15:22:01.169542 [DEBUG] switch_channel.c:2332 (sofia/default/09037542994@196.216.253.41) Callstate Change DOWN -> RINGING 2023-07-25 15:22:01.169542 [DEBUG] switch_core_state_machine.c:644 (sofia/default/09037542994@196.216.253.41) State ROUTING 2023-07-25 15:22:01.169542 [DEBUG] mod_sofia.c:154 sofia/default/09037542994@196.216.253.41 SOFIA ROUTING 2023-07-25 15:22:01.169542 [DEBUG] switch_core_state_machine.c:236 sofia/default/09037542994@196.216.253.41 Standard ROUTING 2023-07-25 15:22:01.169542 [INFO] mod_dialplan_xml.c:637 Processing 9037542994 <09037542994>->012522216 in context default 2023-07-25 15:22:01.189549 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2023-07-25 15:22:01.189549 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 012522216 2023-07-25 15:22:01.189549 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '012522216' limit 1 2023-07-25 15:22:01.189549 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '012522216' AND status=0 limit 1 2023-07-25 15:22:01.189549 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '012522216' and status=0 LIMIT 1 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 9037542994 / 09037542994 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] ANKIT CHANGES 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] ANKIT CHANGES DONE 2023-07-25 15:22:01.189549 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="012522216" LIMIT 1 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound 2023-07-25 15:22:01.189549 [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("196.216.253.41") 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 "012522216" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 2330223285] 2023-07-25 15:22:01.189549 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =012522216 2023-07-25 15:22:01.189549 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "2330223285" AND deleted = 0 limit 1 2023-07-25 15:22:01.189549 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="012522216" AND (accountid = 0 OR status = 1) LIMIT 1 2023-07-25 15:22:01.189549 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound 2023-07-25 15:22:01.189549 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 633 2023-07-25 15:22:01.189549 [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 = '^012522216.*' OR patterns = '^01252221.*' OR patterns = '^0125222.*' OR patterns = '^012522.*' OR patterns = '^01252.*' OR patterns = '^0125.*' OR patterns = '^012.*' OR patterns = '^01.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 633 ORDER BY LENGTH(PKGPTR.patterns) DESC 2023-07-25 15:22:01.189549 [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 ="012522216" AND A.accountid = '5' limit 1 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 012522216 2023-07-25 15:22:01.189549 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="012522216" LIMIT 1 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound 2023-07-25 15:22:01.189549 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '012522216' OR number = '01252221' OR number = '0125222' OR number = '012522' OR number = '01252' OR number = '0125' OR number = '012' OR number = '01' OR number = '0' OR number ='--') OR (number = '012522216*' OR number = '01252221*' OR number = '0125222*' OR number = '012522*' OR number = '01252*' OR number = '0125*' OR number = '012*' OR number = '01*' OR number = '0*' OR number ='--') OR (number = '09037542994' OR number = '0903754299' OR number = '090375429' OR number = '09037542' OR number = '0903754' OR number = '090375' OR number = '09037' OR number = '0903' OR number = '090' OR number = '09' OR number = '0' OR number ='--') OR (number = '09037542994*' OR number = '0903754299*' OR number = '090375429*' OR number = '09037542*' OR number = '0903754*' OR number = '090375*' OR number = '09037*' OR number = '0903*' OR number = '090*' OR number = '09*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2023-07-25 15:22:01.189549 [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2023-07-25 15:22:01.189549 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '012522216' OR routing_prefix = '01252221' OR routing_prefix = '0125222' OR routing_prefix = '012522' OR routing_prefix = '01252' OR routing_prefix = '0125' OR routing_prefix = '012' OR routing_prefix = '01' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 5 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 2330223285 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 913.3061 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 23 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2023-07-25 15:22:01.189549 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 23 AND status = 0 2023-07-25 15:22:01.189549 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound 2023-07-25 15:22:01.189549 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="012522216" LIMIT 1 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 550 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 012522216 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 141 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 5 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your913.3061 balance Accountid 5 !!! 2023-07-25 15:22:01.189549 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE ID 5 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE RATE 0.00000 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE CONNECT COST 0.00000 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INITIAL INC 0 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INC 0 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1 2023-07-25 15:22:01.189549 [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 = 5 AND status=0 LIMIT 1 2023-07-25 15:22:01.189549 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "633" AND deleted = 0 limit 1 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:5 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:5 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 5 2023-07-25 15:22:01.189549 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 633 limit 1 2023-07-25 15:22:01.189549 [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : rh.ubx.univasa.com 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100 2023-07-25 15:22:01.189549 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound 2023-07-25 15:22:01.189549 [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 = "101" AND accounts.status = 0 2023-07-25 15:22:01.189549 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 633 limit 1 2023-07-25 15:22:01.189549 [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : rh.ubx.univasa.com 2023-07-25 15:22:01.189549 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 633 and status = 0 limit 1 2023-07-25 15:22:01.189549 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0 2023-07-25 15:22:01.189549 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="101" AND domains.domain="rh.ubx.univasa.com" limit 1 2023-07-25 15:22:01.189549 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 1033 limit 1 2023-07-25 15:22:01.189549 [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 2023-07-25 15:22:01.189549 [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 2023-07-25 15:22:01.189549 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START: 2023-07-25 15:22:01.189549 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="101" AND domains.domain="rh.ubx.univasa.com" limit 1 2023-07-25 15:22:01.189549 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 1033 2023-07-25 15:22:01.189549 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 1033 limit 1 2023-07-25 15:22:01.209544 [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 2023-07-25 15:22:01.209544 [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 2023-07-25 15:22:01.209544 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] Call Forwarding Flag : 1 2023-07-25 15:22:01.209544 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP Call Forwarding Disable 2023-07-25 15:22:01.209544 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START: 2023-07-25 15:22:01.209544 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="101" AND domains.domain="rh.ubx.univasa.com" limit 1 2023-07-25 15:22:01.209544 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 1033 limit 1 2023-07-25 15:22:01.209544 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/09037542994@196.216.253.41 parsing [default->012522216] continue=false Dialplan: sofia/default/09037542994@196.216.253.41 Regex (PASS) [012522216] destination_number(012522216) =~ /012522216/ break=on-false Dialplan: sofia/default/09037542994@196.216.253.41 Action set(effective_destination_number=012522216) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(nibble_account=5) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(nibble_rate=0.00000) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(nibble_increment=0) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(nibble_minimum=0.00000) Dialplan: sofia/default/09037542994@196.216.253.41 Action nibblebill(heartbeat 30) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(callstart=2023-07-25 15:22:01) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(hangup_after_bridge=true) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(account_id=5) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(parent_id=0) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(entity_id=0) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(call_processed=internal) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(call_direction=inbound) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(accountname=TruCall) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(origination_rates_did=ID:550|CODE:^012522216.*|DESTINATION:012522216|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:141|ACCID:633) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(origination_rates=0) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(original_caller_id_name=Univasa) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(original_caller_id_number=012522215) Dialplan: sofia/default/09037542994@196.216.253.41 Action limit(db 2330223285 user_2330223285 20 ) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(effective_caller_id_name=Univasa) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(effective_caller_id_number=012522215) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(receiver_accid=633) Dialplan: sofia/default/09037542994@196.216.253.41 Action export(domain_name=rh.ubx.univasa.com) Dialplan: sofia/default/09037542994@196.216.253.41 Action export(sip_to_host=rh.ubx.univasa.com) Dialplan: sofia/default/09037542994@196.216.253.41 Action export(presence_data=x|||Grace(5712939)|||||||||DID|||196.216.253.41) Dialplan: sofia/default/09037542994@196.216.253.41 Action export(call_type=0) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(calltype=DID-LOCAL) Dialplan: sofia/default/09037542994@196.216.253.41 Action db(insert/pickup_any_group_${callgroup}/101/${uuid}) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(dialed_extension=transfer_call) Dialplan: sofia/default/09037542994@196.216.253.41 Action export(dialed_extension=transfer_call) Dialplan: sofia/default/09037542994@196.216.253.41 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) Dialplan: sofia/default/09037542994@196.216.253.41 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(hangup_after_bridge=true) Dialplan: sofia/default/09037542994@196.216.253.41 Action export(did_user_domain=rh.ubx.univasa.com) Dialplan: sofia/default/09037542994@196.216.253.41 Action db(insert/pickup_any_group_${callgroup}/101/${uuid}) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(dialed_extension=transfer_call) Dialplan: sofia/default/09037542994@196.216.253.41 Action export(dialed_extension=transfer_call) Dialplan: sofia/default/09037542994@196.216.253.41 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) Dialplan: sofia/default/09037542994@196.216.253.41 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(transfer_ringback=$${hold_music}) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(hangup_after_bridge=true) Dialplan: sofia/default/09037542994@196.216.253.41 Action bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=633}[leg_timeout=60 ] user/101@rh.ubx.univasa.com) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(on_busy_flag=1) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(on_busy_destination=) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(no_answer_flag=1) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(no_answer_destination=) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(not_register_flag=1) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(not_register_destination=) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(opensips_flag=1) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(variable_sip_to_host=rh.ubx.univasa.com) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(opensips_domain=127.0.0.1) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(leg_timeout=60) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(userinfo_id=633) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(sip_destination_number=101) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(did_number=101) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(user_domain=rh.ubx.univasa.com) Dialplan: sofia/default/09037542994@196.216.253.41 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(on_busy_flag=1) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(on_busy_destination=) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(no_answer_flag=1) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(no_answer_destination=) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(not_register_flag=1) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(not_register_destination=) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(opensips_flag=1) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(variable_sip_to_host=rh.ubx.univasa.com) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(opensips_domain=127.0.0.1) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(leg_timeout=60) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(userinfo_id=633) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(sip_destination_number=101) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(destination_number=012522216) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(did_number=012522216) Dialplan: sofia/default/09037542994@196.216.253.41 Action set(user_domain=rh.ubx.univasa.com) Dialplan: sofia/default/09037542994@196.216.253.41 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua) |--- Dialplan: Processing recursive conditions level:1 [012522216_recur_1] require-nested=TRUE |--- Dialplan: sofia/default/09037542994@196.216.253.41 Regex (FAIL) [012522216_recur_1] ${cond(${user_data 101@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false |--- Dialplan: sofia/default/09037542994@196.216.253.41 ANTI-Action hangup(${originate_disposition}) 2023-07-25 15:22:01.249541 [DEBUG] switch_core_state_machine.c:287 (sofia/default/09037542994@196.216.253.41) State Change CS_ROUTING -> CS_EXECUTE 2023-07-25 15:22:01.249541 [DEBUG] switch_core_state_machine.c:644 (sofia/default/09037542994@196.216.253.41) State ROUTING going to sleep 2023-07-25 15:22:01.249541 [DEBUG] switch_core_state_machine.c:585 (sofia/default/09037542994@196.216.253.41) Running State Change CS_EXECUTE (Cur 1 Tot 4342451) 2023-07-25 15:22:01.249541 [DEBUG] switch_core_state_machine.c:651 (sofia/default/09037542994@196.216.253.41) State EXECUTE 2023-07-25 15:22:01.249541 [DEBUG] mod_sofia.c:209 sofia/default/09037542994@196.216.253.41 SOFIA EXECUTE 2023-07-25 15:22:01.249541 [DEBUG] switch_core_state_machine.c:329 sofia/default/09037542994@196.216.253.41 Standard EXECUTE EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 set(effective_destination_number=012522216) 2023-07-25 15:22:01.249541 [DEBUG] mod_dptools.c:1685 SET sofia/default/09037542994@196.216.253.41 [effective_destination_number]=[012522216] EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 set(bridge_pre_execute_bleg_app=sched_hangup) 2023-07-25 15:22:01.249541 [DEBUG] mod_dptools.c:1685 SET sofia/default/09037542994@196.216.253.41 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2023-07-25 15:22:01.249541 [DEBUG] mod_dptools.c:1685 SET sofia/default/09037542994@196.216.253.41 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 set(nibble_account=5) 2023-07-25 15:22:01.249541 [DEBUG] mod_dptools.c:1685 SET sofia/default/09037542994@196.216.253.41 [nibble_account]=[5] EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 set(nibble_rate=0.00000) 2023-07-25 15:22:01.249541 [DEBUG] mod_dptools.c:1685 SET sofia/default/09037542994@196.216.253.41 [nibble_rate]=[0.00000] EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 set(nibble_increment=0) 2023-07-25 15:22:01.249541 [DEBUG] mod_dptools.c:1685 SET sofia/default/09037542994@196.216.253.41 [nibble_increment]=[0] EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 set(nibble_minimum=0.00000) 2023-07-25 15:22:01.249541 [DEBUG] mod_dptools.c:1685 SET sofia/default/09037542994@196.216.253.41 [nibble_minimum]=[0.00000] EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 nibblebill(heartbeat 30) 2023-07-25 15:22:01.249541 [WARNING] switch_core_session.c:1676 sofia/default/09037542994@196.216.253.41 using scheduler due to bypass media or media is not established. 2023-07-25 15:22:01.249541 [DEBUG] switch_scheduler.c:263 Added task 1886529 switch_core_session_sched_heartbeat (777c2fc2-a08e-4dd8-826f-a820b8e66c5b) to run at 1690298551 EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 set(callstart=2023-07-25 15:22:01) 2023-07-25 15:22:01.249541 [DEBUG] mod_dptools.c:1685 SET sofia/default/09037542994@196.216.253.41 [callstart]=[2023-07-25 15:22:01] EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 set(hangup_after_bridge=true) 2023-07-25 15:22:01.249541 [DEBUG] mod_dptools.c:1685 SET sofia/default/09037542994@196.216.253.41 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 set(continue_on_fail=TRUE) 2023-07-25 15:22:01.249541 [DEBUG] mod_dptools.c:1685 SET sofia/default/09037542994@196.216.253.41 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 set(account_id=5) 2023-07-25 15:22:01.249541 [DEBUG] mod_dptools.c:1685 SET sofia/default/09037542994@196.216.253.41 [account_id]=[5] EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 set(parent_id=0) 2023-07-25 15:22:01.249541 [DEBUG] mod_dptools.c:1685 SET sofia/default/09037542994@196.216.253.41 [parent_id]=[0] EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 set(entity_id=0) 2023-07-25 15:22:01.249541 [DEBUG] mod_dptools.c:1685 SET sofia/default/09037542994@196.216.253.41 [entity_id]=[0] EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 set(call_processed=internal) 2023-07-25 15:22:01.249541 [DEBUG] mod_dptools.c:1685 SET sofia/default/09037542994@196.216.253.41 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 set(call_direction=inbound) 2023-07-25 15:22:01.249541 [DEBUG] mod_dptools.c:1685 SET sofia/default/09037542994@196.216.253.41 [call_direction]=[inbound] EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 set(accountname=TruCall) 2023-07-25 15:22:01.249541 [DEBUG] mod_dptools.c:1685 SET sofia/default/09037542994@196.216.253.41 [accountname]=[TruCall] EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 set(origination_rates_did=ID:550|CODE:^012522216.*|DESTINATION:012522216|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:141|ACCID:633) 2023-07-25 15:22:01.249541 [DEBUG] mod_dptools.c:1685 SET sofia/default/09037542994@196.216.253.41 [origination_rates_did]=[ID:550|CODE:^012522216.*|DESTINATION:012522216|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:141|ACCID:633] EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 set(origination_rates=0) 2023-07-25 15:22:01.249541 [DEBUG] mod_dptools.c:1685 SET sofia/default/09037542994@196.216.253.41 [origination_rates]=[0] EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 set(original_caller_id_name=Univasa) 2023-07-25 15:22:01.249541 [DEBUG] mod_dptools.c:1685 SET sofia/default/09037542994@196.216.253.41 [original_caller_id_name]=[Univasa] EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 set(original_caller_id_number=012522215) 2023-07-25 15:22:01.249541 [DEBUG] mod_dptools.c:1685 SET sofia/default/09037542994@196.216.253.41 [original_caller_id_number]=[012522215] EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 limit(db 2330223285 user_2330223285 20 ) 2023-07-25 15:22:01.249541 [DEBUG] switch_limit.c:124 incr called: 2330223285_user_2330223285 max:20, interval:0 2023-07-25 15:22:01.249541 [DEBUG] mod_db.c:194 Usage for 2330223285_user_2330223285 is now 1/20 EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 set(effective_caller_id_name=Univasa) 2023-07-25 15:22:01.249541 [DEBUG] mod_dptools.c:1685 SET sofia/default/09037542994@196.216.253.41 [effective_caller_id_name]=[Univasa] EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 set(effective_caller_id_number=012522215) 2023-07-25 15:22:01.249541 [DEBUG] mod_dptools.c:1685 SET sofia/default/09037542994@196.216.253.41 [effective_caller_id_number]=[012522215] EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 set(receiver_accid=633) 2023-07-25 15:22:01.249541 [DEBUG] mod_dptools.c:1685 SET sofia/default/09037542994@196.216.253.41 [receiver_accid]=[633] EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 export(domain_name=rh.ubx.univasa.com) 2023-07-25 15:22:01.249541 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [domain_name]=[rh.ubx.univasa.com] EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 export(sip_to_host=rh.ubx.univasa.com) 2023-07-25 15:22:01.249541 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [sip_to_host]=[rh.ubx.univasa.com] EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 export(presence_data=x|||Grace(5712939)|||||||||DID|||196.216.253.41) 2023-07-25 15:22:01.249541 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||Grace(5712939)|||||||||DID|||196.216.253.41] EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 export(call_type=0) 2023-07-25 15:22:01.249541 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_type]=[0] EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 set(calltype=DID-LOCAL) 2023-07-25 15:22:01.249541 [DEBUG] mod_dptools.c:1685 SET sofia/default/09037542994@196.216.253.41 [calltype]=[DID-LOCAL] EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 db(insert/pickup_any_group_/101/777c2fc2-a08e-4dd8-826f-a820b8e66c5b) EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 set(dialed_extension=transfer_call) 2023-07-25 15:22:01.249541 [DEBUG] mod_dptools.c:1685 SET sofia/default/09037542994@196.216.253.41 [dialed_extension]=[transfer_call] EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 export(dialed_extension=transfer_call) 2023-07-25 15:22:01.249541 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call] EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) 2023-07-25 15:22:01.249541 [INFO] switch_ivr_async.c:4678 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) 2023-07-25 15:22:01.249541 [INFO] switch_ivr_async.c:4678 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 set(hangup_after_bridge=true) 2023-07-25 15:22:01.249541 [DEBUG] mod_dptools.c:1685 SET sofia/default/09037542994@196.216.253.41 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 export(did_user_domain=rh.ubx.univasa.com) 2023-07-25 15:22:01.249541 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [did_user_domain]=[rh.ubx.univasa.com] EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 db(insert/pickup_any_group_/101/777c2fc2-a08e-4dd8-826f-a820b8e66c5b) EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 set(dialed_extension=transfer_call) 2023-07-25 15:22:01.249541 [DEBUG] mod_dptools.c:1685 SET sofia/default/09037542994@196.216.253.41 [dialed_extension]=[transfer_call] EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 export(dialed_extension=transfer_call) 2023-07-25 15:22:01.249541 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call] EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) 2023-07-25 15:22:01.249541 [INFO] switch_ivr_async.c:4678 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) 2023-07-25 15:22:01.249541 [INFO] switch_ivr_async.c:4678 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 set(transfer_ringback=local_stream://moh) 2023-07-25 15:22:01.249541 [DEBUG] mod_dptools.c:1685 SET sofia/default/09037542994@196.216.253.41 [transfer_ringback]=[local_stream://moh] EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 set(hangup_after_bridge=true) 2023-07-25 15:22:01.249541 [DEBUG] mod_dptools.c:1685 SET sofia/default/09037542994@196.216.253.41 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/09037542994@196.216.253.41 bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=633}[leg_timeout=60 ] user/101@rh.ubx.univasa.com) 2023-07-25 15:22:01.249541 [DEBUG] switch_channel.c:1264 sofia/default/09037542994@196.216.253.41 EXPORTING[export_vars] [domain_name]=[rh.ubx.univasa.com] to event 2023-07-25 15:22:01.249541 [DEBUG] switch_channel.c:1264 sofia/default/09037542994@196.216.253.41 EXPORTING[export_vars] [sip_to_host]=[rh.ubx.univasa.com] to event 2023-07-25 15:22:01.249541 [DEBUG] switch_channel.c:1264 sofia/default/09037542994@196.216.253.41 EXPORTING[export_vars] [presence_data]=[x|||Grace(5712939)|||||||||DID|||196.216.253.41] to event 2023-07-25 15:22:01.249541 [DEBUG] switch_channel.c:1264 sofia/default/09037542994@196.216.253.41 EXPORTING[export_vars] [call_type]=[0] to event 2023-07-25 15:22:01.249541 [DEBUG] switch_channel.c:1264 sofia/default/09037542994@196.216.253.41 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event 2023-07-25 15:22:01.249541 [DEBUG] switch_channel.c:1264 sofia/default/09037542994@196.216.253.41 EXPORTING[export_vars] [did_user_domain]=[rh.ubx.univasa.com] to event 2023-07-25 15:22:01.249541 [DEBUG] switch_channel.c:1264 sofia/default/09037542994@196.216.253.41 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event 2023-07-25 15:22:01.249541 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables 2023-07-25 15:22:01.249541 [DEBUG] switch_ivr_originate.c:2834 Parsing session specific variables 2023-07-25 15:22:01.269544 [DEBUG] switch_channel.c:1264 sofia/default/09037542994@196.216.253.41 EXPORTING[export_vars] [domain_name]=[rh.ubx.univasa.com] to event 2023-07-25 15:22:01.269544 [DEBUG] switch_channel.c:1264 sofia/default/09037542994@196.216.253.41 EXPORTING[export_vars] [sip_to_host]=[rh.ubx.univasa.com] to event 2023-07-25 15:22:01.269544 [DEBUG] switch_channel.c:1264 sofia/default/09037542994@196.216.253.41 EXPORTING[export_vars] [presence_data]=[x|||Grace(5712939)|||||||||DID|||196.216.253.41] to event 2023-07-25 15:22:01.269544 [DEBUG] switch_channel.c:1264 sofia/default/09037542994@196.216.253.41 EXPORTING[export_vars] [call_type]=[0] to event 2023-07-25 15:22:01.269544 [DEBUG] switch_channel.c:1264 sofia/default/09037542994@196.216.253.41 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event 2023-07-25 15:22:01.269544 [DEBUG] switch_channel.c:1264 sofia/default/09037542994@196.216.253.41 EXPORTING[export_vars] [did_user_domain]=[rh.ubx.univasa.com] to event 2023-07-25 15:22:01.269544 [DEBUG] switch_channel.c:1264 sofia/default/09037542994@196.216.253.41 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event 2023-07-25 15:22:01.269544 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables 2023-07-25 15:22:01.269544 [NOTICE] switch_channel.c:1118 New Channel sofia/default/101@10.130.100.132:59880 [97a2247d-b6e9-419c-bfe0-6320e35b5872] 2023-07-25 15:22:01.269544 [DEBUG] mod_sofia.c:5102 (sofia/default/101@10.130.100.132:59880) State Change CS_NEW -> CS_INIT 2023-07-25 15:22:01.269544 [DEBUG] switch_ivr_originate.c:3142 sofia/default/101@10.130.100.132:59880 Setting leg timeout to 60 2023-07-25 15:22:01.269544 [DEBUG] switch_core_state_machine.c:585 (sofia/default/101@10.130.100.132:59880) Running State Change CS_INIT (Cur 2 Tot 4342452) 2023-07-25 15:22:01.269544 [DEBUG] switch_core_state_machine.c:628 (sofia/default/101@10.130.100.132:59880) State INIT 2023-07-25 15:22:01.269544 [DEBUG] mod_sofia.c:93 sofia/default/101@10.130.100.132:59880 SOFIA INIT 2023-07-25 15:22:01.269544 [DEBUG] sofia_glue.c:1590 sip:101@102.88.62.200:59880;rinstance=9035099b5146f998 Setting proxy route to sofia/default/101@10.130.100.132:59880 2023-07-25 15:22:01.269544 [INFO] sofia_glue.c:1621 sofia/default/101@10.130.100.132:59880 sending invite call-id: (null) 2023-07-25 15:22:01.269544 [DEBUG] sofia_glue.c:1624 sofia/default/101@10.130.100.132:59880 sending invite version: 1.10.6 -release-18-1ff9d0a60e 64bit Local SDP: v=0 o=FreeSWITCH 1690268703 1690268704 IN IP4 116.203.52.230 s=FreeSWITCH c=IN IP4 116.203.52.230 t=0 0 m=audio 29818 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2023-07-25 15:22:01.269544 [DEBUG] switch_core_state_machine.c:40 sofia/default/101@10.130.100.132:59880 Standard INIT 2023-07-25 15:22:01.269544 [DEBUG] switch_core_state_machine.c:48 (sofia/default/101@10.130.100.132:59880) State Change CS_INIT -> CS_ROUTING 2023-07-25 15:22:01.269544 [DEBUG] switch_core_state_machine.c:628 (sofia/default/101@10.130.100.132:59880) State INIT going to sleep 2023-07-25 15:22:01.269544 [DEBUG] switch_core_state_machine.c:585 (sofia/default/101@10.130.100.132:59880) Running State Change CS_ROUTING (Cur 2 Tot 4342452) 2023-07-25 15:22:01.269544 [DEBUG] sofia.c:7406 Channel sofia/default/101@10.130.100.132:59880 entering state [calling][0] 2023-07-25 15:22:01.269544 [DEBUG] switch_core_state_machine.c:644 (sofia/default/101@10.130.100.132:59880) State ROUTING 2023-07-25 15:22:01.269544 [DEBUG] mod_sofia.c:154 sofia/default/101@10.130.100.132:59880 SOFIA ROUTING 2023-07-25 15:22:01.269544 [DEBUG] switch_ivr_originate.c:67 (sofia/default/101@10.130.100.132:59880) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2023-07-25 15:22:01.269544 [DEBUG] switch_core_state_machine.c:644 (sofia/default/101@10.130.100.132:59880) State ROUTING going to sleep 2023-07-25 15:22:01.269544 [DEBUG] switch_core_state_machine.c:585 (sofia/default/101@10.130.100.132:59880) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 4342452) 2023-07-25 15:22:01.269544 [DEBUG] switch_core_state_machine.c:663 (sofia/default/101@10.130.100.132:59880) State CONSUME_MEDIA 2023-07-25 15:22:01.269544 [DEBUG] switch_core_state_machine.c:663 (sofia/default/101@10.130.100.132:59880) State CONSUME_MEDIA going to sleep 2023-07-25 15:22:01.549544 [DEBUG] sofia.c:7406 Channel sofia/default/101@10.130.100.132:59880 entering state [proceeding][180] 2023-07-25 15:22:01.549544 [NOTICE] sofia.c:7517 Ring-Ready sofia/default/101@10.130.100.132:59880! 2023-07-25 15:22:01.549544 [DEBUG] switch_channel.c:3437 (sofia/default/101@10.130.100.132:59880) Callstate Change DOWN -> RINGING 2023-07-25 15:22:01.569542 [NOTICE] mod_sofia.c:2498 Ring-Ready sofia/default/09037542994@196.216.253.41! 2023-07-25 15:22:01.569542 [DEBUG] sofia.c:7406 Channel sofia/default/09037542994@196.216.253.41 entering state [early][180] 2023-07-25 15:22:01.569542 [NOTICE] switch_ivr_originate.c:564 Ring Ready sofia/default/09037542994@196.216.253.41! 2023-07-25 15:22:08.909539 [WARNING] sofia_reg.c:1795 SIP auth challenge (REGISTER) on sofia profile 'default' for [2348084723363@ubx.univasa.com] from ip 165.227.115.186 2023-07-25 15:22:09.009539 [WARNING] sofia_reg.c:2932 Can't find user [2348084723363@ubx.univasa.com] from 165.227.115.186 You must define a domain called 'ubx.univasa.com' in your directory and add a user with the id="2348084723363" attribute and you must configure your device to use the proper domain in its authentication credentials. 2023-07-25 15:22:09.009539 [WARNING] sofia_reg.c:1740 SIP auth failure (REGISTER) on sofia profile 'default' for [2348084723363@ubx.univasa.com] from ip 165.227.115.186 2023-07-25 15:22:31.029553 [DEBUG] sofia.c:7406 Channel sofia/default/09037542994@196.216.253.41 entering state [terminated][487] 2023-07-25 15:22:31.029553 [NOTICE] sofia.c:8641 Hangup sofia/default/09037542994@196.216.253.41 [CS_EXECUTE] [ORIGINATOR_CANCEL] 2023-07-25 15:22:31.049547 [NOTICE] switch_ivr_originate.c:3790 Hangup sofia/default/101@10.130.100.132:59880 [CS_CONSUME_MEDIA] [ORIGINATOR_CANCEL] 2023-07-25 15:22:31.049547 [DEBUG] switch_ivr_originate.c:4015 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2023-07-25 15:22:31.049547 [DEBUG] switch_core_state_machine.c:585 (sofia/default/101@10.130.100.132:59880) Running State Change CS_HANGUP (Cur 2 Tot 4342452) 2023-07-25 15:22:31.049547 [DEBUG] switch_core_state_machine.c:848 (sofia/default/101@10.130.100.132:59880) Callstate Change RINGING -> HANGUP 2023-07-25 15:22:31.049547 [DEBUG] switch_core_state_machine.c:850 (sofia/default/101@10.130.100.132:59880) State HANGUP 2023-07-25 15:22:31.049547 [DEBUG] mod_sofia.c:447 sofia/default/101@10.130.100.132:59880 Overriding SIP cause 487 with 487 from the other leg 2023-07-25 15:22:31.049547 [DEBUG] mod_sofia.c:453 Channel sofia/default/101@10.130.100.132:59880 hanging up, cause: ORIGINATOR_CANCEL 2023-07-25 15:22:31.049547 [NOTICE] switch_ivr_originate.c:3030 Cannot create outgoing channel of type [user] cause: [ORIGINATOR_CANCEL] 2023-07-25 15:22:31.049547 [DEBUG] switch_ivr_originate.c:4026 Originate Resulted in Error Cause: 487 [ORIGINATOR_CANCEL] 2023-07-25 15:22:31.049547 [DEBUG] mod_sofia.c:521 Sending CANCEL to sofia/default/101@10.130.100.132:59880 2023-07-25 15:22:31.049547 [INFO] mod_dptools.c:3643 Originate Failed. Cause: ORIGINATOR_CANCEL 2023-07-25 15:22:31.049547 [DEBUG] switch_core_state_machine.c:60 sofia/default/101@10.130.100.132:59880 Standard HANGUP, cause: ORIGINATOR_CANCEL 2023-07-25 15:22:31.049547 [DEBUG] switch_core_state_machine.c:850 (sofia/default/101@10.130.100.132:59880) State HANGUP going to sleep 2023-07-25 15:22:31.049547 [DEBUG] switch_core_session.c:2914 sofia/default/09037542994@196.216.253.41 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2023-07-25 15:22:31.049547 [DEBUG] switch_core_state_machine.c:651 (sofia/default/09037542994@196.216.253.41) State EXECUTE going to sleep 2023-07-25 15:22:31.049547 [DEBUG] switch_core_state_machine.c:585 (sofia/default/09037542994@196.216.253.41) Running State Change CS_HANGUP (Cur 2 Tot 4342452) 2023-07-25 15:22:31.049547 [DEBUG] switch_core_state_machine.c:620 (sofia/default/101@10.130.100.132:59880) State Change CS_HANGUP -> CS_REPORTING 2023-07-25 15:22:31.049547 [DEBUG] switch_core_state_machine.c:848 (sofia/default/09037542994@196.216.253.41) Callstate Change RINGING -> HANGUP 2023-07-25 15:22:31.049547 [DEBUG] switch_core_state_machine.c:585 (sofia/default/101@10.130.100.132:59880) Running State Change CS_REPORTING (Cur 2 Tot 4342452) 2023-07-25 15:22:31.049547 [DEBUG] switch_core_state_machine.c:850 (sofia/default/09037542994@196.216.253.41) State HANGUP 2023-07-25 15:22:31.049547 [DEBUG] mod_sofia.c:453 Channel sofia/default/09037542994@196.216.253.41 hanging up, cause: ORIGINATOR_CANCEL 2023-07-25 15:22:31.049547 [DEBUG] switch_core_state_machine.c:936 (sofia/default/101@10.130.100.132:59880) State REPORTING 2023-07-25 15:22:31.049547 [INFO] mod_json_cdr.c:271 Process [97a2247d-b6e9-419c-bfe0-6320e35b5872.cdr.json] 2023-07-25 15:22:31.049547 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 5 2023-07-25 15:22:31.049547 [DEBUG] mod_nibblebill.c:518 Not billing 5 - call is not in answered state 2023-07-25 15:22:31.049547 [DEBUG] mod_nibblebill.c:422 Doing lookup query [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='5'] 2023-07-25 15:22:31.049547 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 5 (balance = 913.306100) 2023-07-25 15:22:31.049547 [DEBUG] mod_nibblebill.c:523 Comparing 913.306100 to hangup balance of 0.000000, taking into account minimum charge of 0.000000 2023-07-25 15:22:31.049547 [DEBUG] mod_nibblebill.c:422 Doing lookup query [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='5'] 2023-07-25 15:22:31.049547 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 5 (balance = 913.306100) 2023-07-25 15:22:31.049547 [DEBUG] switch_core_state_machine.c:60 sofia/default/09037542994@196.216.253.41 Standard HANGUP, cause: ORIGINATOR_CANCEL 2023-07-25 15:22:31.049547 [DEBUG] switch_core_state_machine.c:850 (sofia/default/09037542994@196.216.253.41) State HANGUP going to sleep 2023-07-25 15:22:31.049547 [DEBUG] switch_core_state_machine.c:620 (sofia/default/09037542994@196.216.253.41) State Change CS_HANGUP -> CS_REPORTING 2023-07-25 15:22:31.049547 [DEBUG] switch_core_state_machine.c:585 (sofia/default/09037542994@196.216.253.41) Running State Change CS_REPORTING (Cur 2 Tot 4342452) 2023-07-25 15:22:31.049547 [DEBUG] switch_core_state_machine.c:936 (sofia/default/09037542994@196.216.253.41) State REPORTING 2023-07-25 15:22:31.049547 [INFO] mod_json_cdr.c:271 Process [777c2fc2-a08e-4dd8-826f-a820b8e66c5b.cdr.json] 2023-07-25 15:22:31.069555 [DEBUG] switch_core_state_machine.c:174 sofia/default/101@10.130.100.132:59880 Standard REPORTING, cause: ORIGINATOR_CANCEL 2023-07-25 15:22:31.069555 [DEBUG] switch_core_state_machine.c:936 (sofia/default/101@10.130.100.132:59880) State REPORTING going to sleep 2023-07-25 15:22:31.069555 [DEBUG] switch_core_state_machine.c:611 (sofia/default/101@10.130.100.132:59880) State Change CS_REPORTING -> CS_DESTROY 2023-07-25 15:22:31.069555 [DEBUG] switch_core_session.c:1736 Session 4342452 (sofia/default/101@10.130.100.132:59880) Locked, Waiting on external entities 2023-07-25 15:22:31.069555 [NOTICE] switch_core_session.c:1754 Session 4342452 (sofia/default/101@10.130.100.132:59880) Ended 2023-07-25 15:22:31.069555 [NOTICE] switch_core_session.c:1758 Close Channel sofia/default/101@10.130.100.132:59880 [CS_DESTROY] 2023-07-25 15:22:31.069555 [DEBUG] switch_core_state_machine.c:739 (sofia/default/101@10.130.100.132:59880) Running State Change CS_DESTROY (Cur 1 Tot 4342452) 2023-07-25 15:22:31.069555 [DEBUG] switch_core_state_machine.c:749 (sofia/default/101@10.130.100.132:59880) State DESTROY 2023-07-25 15:22:31.069555 [DEBUG] mod_sofia.c:364 sofia/default/101@10.130.100.132:59880 SOFIA DESTROY 2023-07-25 15:22:31.069555 [DEBUG] switch_core_state_machine.c:181 sofia/default/101@10.130.100.132:59880 Standard DESTROY 2023-07-25 15:22:31.069555 [DEBUG] switch_core_state_machine.c:749 (sofia/default/101@10.130.100.132:59880) State DESTROY going to sleep 2023-07-25 15:22:31.089545 [DEBUG] switch_core_state_machine.c:174 sofia/default/09037542994@196.216.253.41 Standard REPORTING, cause: ORIGINATOR_CANCEL 2023-07-25 15:22:31.089545 [DEBUG] switch_core_state_machine.c:936 (sofia/default/09037542994@196.216.253.41) State REPORTING going to sleep 2023-07-25 15:22:31.089545 [DEBUG] switch_core_state_machine.c:611 (sofia/default/09037542994@196.216.253.41) State Change CS_REPORTING -> CS_DESTROY 2023-07-25 15:22:31.089545 [DEBUG] switch_core_session.c:1736 Session 4342451 (sofia/default/09037542994@196.216.253.41) Locked, Waiting on external entities 2023-07-25 15:22:31.089545 [NOTICE] switch_core_session.c:1754 Session 4342451 (sofia/default/09037542994@196.216.253.41) Ended 2023-07-25 15:22:31.089545 [NOTICE] switch_core_session.c:1758 Close Channel sofia/default/09037542994@196.216.253.41 [CS_DESTROY] 2023-07-25 15:22:31.089545 [DEBUG] switch_core_state_machine.c:739 (sofia/default/09037542994@196.216.253.41) Running State Change CS_DESTROY (Cur 0 Tot 4342452) 2023-07-25 15:22:31.089545 [DEBUG] switch_core_state_machine.c:749 (sofia/default/09037542994@196.216.253.41) State DESTROY 2023-07-25 15:22:31.089545 [DEBUG] mod_sofia.c:364 sofia/default/09037542994@196.216.253.41 SOFIA DESTROY 2023-07-25 15:22:31.089545 [DEBUG] switch_core_state_machine.c:181 sofia/default/09037542994@196.216.253.41 Standard DESTROY 2023-07-25 15:22:31.089545 [DEBUG] switch_core_state_machine.c:749 (sofia/default/09037542994@196.216.253.41) State DESTROY going to sleep 2023-07-25 15:22:31.249550 [DEBUG] switch_scheduler.c:147 Deleting task 1886529 switch_core_session_sched_heartbeat (777c2fc2-a08e-4dd8-826f-a820b8e66c5b)