2023-08-18 09:21:54.195866 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2348121570743@116.203.52.230) Running State Change CS_NEW (Cur 1 Tot 167) 2023-08-18 09:21:54.195866 [INFO] sofia.c:10362 sofia/default/2348121570743@116.203.52.230 receiving invite from 157.230.210.216:5060 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: 7fa698eb0c731e4e5c12a16e21790d4c@116.203.52.230 2023-08-18 09:21:54.195866 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 157.230.210.216:0. 2023-08-18 09:21:54.195866 [DEBUG] sofia.c:10485 IP 157.230.210.216 Approved by acl "default[]". Access Granted. 2023-08-18 09:21:54.195866 [DEBUG] sofia.c:7406 Channel sofia/default/2348121570743@116.203.52.230 entering state [received][100] 2023-08-18 09:21:54.195866 [DEBUG] sofia.c:7416 Remote SDP: v=0 o=root 632248602 632248602 IN IP4 157.230.210.216 s=Asterisk PBX 13.38.2 c=IN IP4 157.230.210.216 t=0 0 m=audio 13730 RTP/AVP 8 0 18 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=maxptime:150 2023-08-18 09:21:54.195866 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1] 2023-08-18 09:21:54.195866 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2023-08-18 09:21:54.195866 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMU:0:8000:20:64000:1] 2023-08-18 09:21:54.195866 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1] 2023-08-18 09:21:54.195866 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:150:64000:1]/[PCMA:8:8000:20:64000:1] 2023-08-18 09:21:54.195866 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:150:64000:1]/[PCMU:0:8000:20:64000:1] 2023-08-18 09:21:54.195866 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2023-08-18 09:21:54.195866 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:150:64000:1]/[G729:18:8000:20:8000:1] 2023-08-18 09:21:54.195866 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [G729:18:8000:150:8000:1]/[PCMA:8:8000:20:64000:1] 2023-08-18 09:21:54.195866 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [G729:18:8000:150:8000:1]/[PCMU:0:8000:20:64000:1] 2023-08-18 09:21:54.195866 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [G729:18:8000:150:8000:1]/[G729:18:8000:20:8000:1] 2023-08-18 09:21:54.195866 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2023-08-18 09:21:54.195866 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000 2023-08-18 09:21:54.195866 [DEBUG] switch_core_media.c:3847 Set Codec sofia/default/2348121570743@116.203.52.230 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2023-08-18 09:21:54.195866 [DEBUG] switch_core_codec.c:111 sofia/default/2348121570743@116.203.52.230 Original read codec set to PCMA:8 2023-08-18 09:21:54.195866 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000 2023-08-18 09:21:54.195866 [DEBUG] switch_core_media.c:5918 sofia/default/2348121570743@116.203.52.230 Set 2833 dtmf send payload to 101 recv payload to 101 2023-08-18 09:21:54.195866 [DEBUG] sofia.c:7840 (sofia/default/2348121570743@116.203.52.230) State Change CS_NEW -> CS_INIT 2023-08-18 09:21:54.195866 [DEBUG] switch_core_state_machine.c:604 (sofia/default/2348121570743@116.203.52.230) State NEW 2023-08-18 09:21:54.195866 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2348121570743@116.203.52.230) Running State Change CS_INIT (Cur 1 Tot 167) 2023-08-18 09:21:54.195866 [DEBUG] switch_core_state_machine.c:628 (sofia/default/2348121570743@116.203.52.230) State INIT 2023-08-18 09:21:54.195866 [DEBUG] mod_sofia.c:93 sofia/default/2348121570743@116.203.52.230 SOFIA INIT 2023-08-18 09:21:54.195866 [DEBUG] switch_core_state_machine.c:40 sofia/default/2348121570743@116.203.52.230 Standard INIT 2023-08-18 09:21:54.195866 [DEBUG] switch_core_state_machine.c:48 (sofia/default/2348121570743@116.203.52.230) State Change CS_INIT -> CS_ROUTING 2023-08-18 09:21:54.195866 [DEBUG] switch_core_state_machine.c:628 (sofia/default/2348121570743@116.203.52.230) State INIT going to sleep 2023-08-18 09:21:54.195866 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2348121570743@116.203.52.230) Running State Change CS_ROUTING (Cur 1 Tot 167) 2023-08-18 09:21:54.195866 [DEBUG] switch_channel.c:2332 (sofia/default/2348121570743@116.203.52.230) Callstate Change DOWN -> RINGING 2023-08-18 09:21:54.195866 [DEBUG] switch_core_state_machine.c:644 (sofia/default/2348121570743@116.203.52.230) State ROUTING 2023-08-18 09:21:54.195866 [DEBUG] mod_sofia.c:154 sofia/default/2348121570743@116.203.52.230 SOFIA ROUTING 2023-08-18 09:21:54.195866 [DEBUG] switch_core_state_machine.c:236 sofia/default/2348121570743@116.203.52.230 Standard ROUTING 2023-08-18 09:21:54.195866 [INFO] mod_dialplan_xml.c:637 Processing 2348121570743 <2348121570743>->018887075 in context default 2023-08-18 09:21:54.195866 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2023-08-18 09:21:54.195866 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 018887075 2023-08-18 09:21:54.215858 [WARNING] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] ASH CHANGES: 018887075 2023-08-18 09:21:54.215858 [WARNING] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] ASH CHANGES1: 018887075 2023-08-18 09:21:54.215858 [WARNING] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] ASH CHANGES2: 018887075 2023-08-18 09:21:54.215858 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '018887075' limit 1 2023-08-18 09:21:54.215858 [WARNING] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] ASH CHANGES3: 018887075 2023-08-18 09:21:54.215858 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '018887075' AND status=0 limit 1 2023-08-18 09:21:54.215858 [WARNING] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] ASH CHANGES4: 018887075 2023-08-18 09:21:54.215858 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '018887075' and status=0 LIMIT 1 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 2348121570743 / 2348121570743 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] ANKIT CHANGES 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] ANKIT CHANGES DONE 2023-08-18 09:21:54.215858 [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 ="018887075" LIMIT 1 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound 2023-08-18 09:21:54.215858 [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("157.230.210.216") 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 "018887075" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 8612965] 2023-08-18 09:21:54.215858 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =018887075 2023-08-18 09:21:54.215858 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "8612965" AND deleted = 0 limit 1 2023-08-18 09:21:54.215858 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="018887075" AND (accountid = 0 OR status = 1) LIMIT 1 2023-08-18 09:21:54.215858 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound 2023-08-18 09:21:54.215858 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 5 2023-08-18 09:21:54.215858 [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 = '^018887075.*' OR patterns = '^01888707.*' OR patterns = '^0188870.*' OR patterns = '^018887.*' OR patterns = '^01888.*' OR patterns = '^0188.*' OR patterns = '^018.*' OR patterns = '^01.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 5 ORDER BY LENGTH(PKGPTR.patterns) DESC 2023-08-18 09:21:54.215858 [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 ="018887075" AND A.accountid = '12' limit 1 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 018887075 2023-08-18 09:21:54.215858 [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 ="018887075" LIMIT 1 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound 2023-08-18 09:21:54.215858 [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 = '018887075' OR number = '01888707' OR number = '0188870' OR number = '018887' OR number = '01888' OR number = '0188' OR number = '018' OR number = '01' OR number = '0' OR number ='--') OR (number = '018887075*' OR number = '01888707*' OR number = '0188870*' OR number = '018887*' OR number = '01888*' OR number = '0188*' OR number = '018*' OR number = '01*' OR number = '0*' OR number ='--') OR (number = '2348121570743' OR number = '234812157074' OR number = '23481215707' OR number = '2348121570' OR number = '234812157' OR number = '23481215' OR number = '2348121' OR number = '234812' OR number = '23481' OR number = '2348' OR number = '234' OR number = '23' OR number = '2' OR number ='--') OR (number = '2348121570743*' OR number = '234812157074*' OR number = '23481215707*' OR number = '2348121570*' OR number = '234812157*' OR number = '23481215*' OR number = '2348121*' OR number = '234812*' OR number = '23481*' OR number = '2348*' OR number = '234*' OR number = '23*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2023-08-18 09:21:54.215858 [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2023-08-18 09:21:54.215858 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '018887075' OR routing_prefix = '01888707' OR routing_prefix = '0188870' OR routing_prefix = '018887' OR routing_prefix = '01888' OR routing_prefix = '0188' OR routing_prefix = '018' OR routing_prefix = '01' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 12 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 8612965 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 8.8704 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 5 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2023-08-18 09:21:54.215858 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0 2023-08-18 09:21:54.215858 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound 2023-08-18 09:21:54.215858 [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 ="018887075" LIMIT 1 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 582 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 018887075 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 141 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 12 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your8.8704 balance Accountid 12 !!! 2023-08-18 09:21:54.215858 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE ID 12 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE RATE 0.00000 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE CONNECT COST 0.00000 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INITIAL INC 0 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INC 0 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1 2023-08-18 09:21:54.215858 [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 = 12 AND status=0 LIMIT 1 2023-08-18 09:21:54.215858 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "5" AND deleted = 0 limit 1 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:12 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:12 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 12 2023-08-18 09:21:54.215858 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 5 limit 1 2023-08-18 09:21:54.215858 [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : hq.ubx.univasa.com 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100 2023-08-18 09:21:54.215858 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1 2023-08-18 09:21:54.215858 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound 2023-08-18 09:21:54.215858 [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 = "002" AND accounts.status = 0 2023-08-18 09:21:54.215858 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 5 limit 1 2023-08-18 09:21:54.215858 [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : hq.ubx.univasa.com 2023-08-18 09:21:54.215858 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 5 and status = 0 limit 1 2023-08-18 09:21:54.235860 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0 2023-08-18 09:21:54.235860 [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="002" AND domains.domain="hq.ubx.univasa.com" limit 1 2023-08-18 09:21:54.235860 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 113 limit 1 2023-08-18 09:21:54.235860 [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-08-18 09:21:54.235860 [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-08-18 09:21:54.235860 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START: 2023-08-18 09:21:54.235860 [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="002" AND domains.domain="hq.ubx.univasa.com" limit 1 2023-08-18 09:21:54.235860 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 113 2023-08-18 09:21:54.235860 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 113 limit 1 2023-08-18 09:21:54.235860 [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-08-18 09:21:54.235860 [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-08-18 09:21:54.235860 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] Call Forwarding Flag : 1 2023-08-18 09:21:54.235860 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP Call Forwarding Disable 2023-08-18 09:21:54.235860 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START: 2023-08-18 09:21:54.235860 [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="002" AND domains.domain="hq.ubx.univasa.com" limit 1 2023-08-18 09:21:54.235860 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 113 limit 1 2023-08-18 09:21:54.235860 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/2348121570743@116.203.52.230 parsing [default->018887075] continue=false Dialplan: sofia/default/2348121570743@116.203.52.230 Regex (PASS) [018887075] destination_number(018887075) =~ /018887075/ break=on-false Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(effective_destination_number=018887075) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(nibble_account=12) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(nibble_rate=0.00000) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(nibble_increment=0) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(nibble_minimum=0.00000) Dialplan: sofia/default/2348121570743@116.203.52.230 Action nibblebill(heartbeat 30) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(callstart=2023-08-18 09:21:54) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(hangup_after_bridge=true) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(account_id=12) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(parent_id=0) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(entity_id=0) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(call_processed=internal) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(call_direction=inbound) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(accountname=Phresh) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(origination_rates_did=ID:582|CODE:^018887075.*|DESTINATION:018887075|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:141|ACCID:5) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(origination_rates=0) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(original_caller_id_name=2348121570743) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(original_caller_id_number=2348121570743) Dialplan: sofia/default/2348121570743@116.203.52.230 Action limit(db 8612965 user_8612965 90 ) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(effective_caller_id_name=2348121570743) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(effective_caller_id_number=2348121570743) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(receiver_accid=5) Dialplan: sofia/default/2348121570743@116.203.52.230 Action export(domain_name=hq.ubx.univasa.com) Dialplan: sofia/default/2348121570743@116.203.52.230 Action export(sip_to_host=hq.ubx.univasa.com) Dialplan: sofia/default/2348121570743@116.203.52.230 Action export(presence_data=x|||Tumi(2330223285)|||||||||DID|||157.230.210.216) Dialplan: sofia/default/2348121570743@116.203.52.230 Action export(call_type=0) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(calltype=DID-LOCAL) Dialplan: sofia/default/2348121570743@116.203.52.230 Action db(insert/pickup_any_group_${callgroup}/002/${uuid}) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(dialed_extension=transfer_call) Dialplan: sofia/default/2348121570743@116.203.52.230 Action export(dialed_extension=transfer_call) Dialplan: sofia/default/2348121570743@116.203.52.230 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) Dialplan: sofia/default/2348121570743@116.203.52.230 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(hangup_after_bridge=true) Dialplan: sofia/default/2348121570743@116.203.52.230 Action export(did_user_domain=hq.ubx.univasa.com) Dialplan: sofia/default/2348121570743@116.203.52.230 Action db(insert/pickup_any_group_${callgroup}/002/${uuid}) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(dialed_extension=transfer_call) Dialplan: sofia/default/2348121570743@116.203.52.230 Action export(dialed_extension=transfer_call) Dialplan: sofia/default/2348121570743@116.203.52.230 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) Dialplan: sofia/default/2348121570743@116.203.52.230 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(transfer_ringback=$${hold_music}) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(hangup_after_bridge=true) Dialplan: sofia/default/2348121570743@116.203.52.230 Action bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=5}[leg_timeout=60 ] user/002@hq.ubx.univasa.com) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(on_busy_flag=1) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(on_busy_destination=) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(no_answer_flag=1) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(no_answer_destination=) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(not_register_flag=1) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(not_register_destination=) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(opensips_flag=1) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(variable_sip_to_host=hq.ubx.univasa.com) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(opensips_domain=127.0.0.1) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(leg_timeout=60) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(userinfo_id=5) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(sip_destination_number=002) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(did_number=002) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(user_domain=hq.ubx.univasa.com) Dialplan: sofia/default/2348121570743@116.203.52.230 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(on_busy_flag=1) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(on_busy_destination=) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(no_answer_flag=1) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(no_answer_destination=) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(not_register_flag=1) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(not_register_destination=) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(opensips_flag=1) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(variable_sip_to_host=hq.ubx.univasa.com) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(opensips_domain=127.0.0.1) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(leg_timeout=60) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(userinfo_id=5) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(sip_destination_number=002) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(destination_number=018887075) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(did_number=018887075) Dialplan: sofia/default/2348121570743@116.203.52.230 Action set(user_domain=hq.ubx.univasa.com) Dialplan: sofia/default/2348121570743@116.203.52.230 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua) |--- Dialplan: Processing recursive conditions level:1 [018887075_recur_1] require-nested=TRUE |--- Dialplan: sofia/default/2348121570743@116.203.52.230 Regex (FAIL) [018887075_recur_1] ${cond(${user_data 002@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false |--- Dialplan: sofia/default/2348121570743@116.203.52.230 ANTI-Action hangup(${originate_disposition}) 2023-08-18 09:21:54.255879 [DEBUG] switch_core_state_machine.c:287 (sofia/default/2348121570743@116.203.52.230) State Change CS_ROUTING -> CS_EXECUTE 2023-08-18 09:21:54.255879 [DEBUG] switch_core_state_machine.c:644 (sofia/default/2348121570743@116.203.52.230) State ROUTING going to sleep 2023-08-18 09:21:54.255879 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2348121570743@116.203.52.230) Running State Change CS_EXECUTE (Cur 1 Tot 167) 2023-08-18 09:21:54.255879 [DEBUG] switch_core_state_machine.c:651 (sofia/default/2348121570743@116.203.52.230) State EXECUTE 2023-08-18 09:21:54.255879 [DEBUG] mod_sofia.c:209 sofia/default/2348121570743@116.203.52.230 SOFIA EXECUTE 2023-08-18 09:21:54.255879 [DEBUG] switch_core_state_machine.c:329 sofia/default/2348121570743@116.203.52.230 Standard EXECUTE EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(effective_destination_number=018887075) 2023-08-18 09:21:54.255879 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [effective_destination_number]=[018887075] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(bridge_pre_execute_bleg_app=sched_hangup) 2023-08-18 09:21:54.255879 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2023-08-18 09:21:54.255879 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(nibble_account=12) 2023-08-18 09:21:54.255879 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [nibble_account]=[12] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(nibble_rate=0.00000) 2023-08-18 09:21:54.255879 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [nibble_rate]=[0.00000] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(nibble_increment=0) 2023-08-18 09:21:54.255879 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [nibble_increment]=[0] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(nibble_minimum=0.00000) 2023-08-18 09:21:54.255879 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [nibble_minimum]=[0.00000] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 nibblebill(heartbeat 30) 2023-08-18 09:21:54.255879 [WARNING] switch_core_session.c:1676 sofia/default/2348121570743@116.203.52.230 using scheduler due to bypass media or media is not established. 2023-08-18 09:21:54.255879 [DEBUG] switch_scheduler.c:263 Added task 61 switch_core_session_sched_heartbeat (064eb115-28e7-4de7-b4af-aa3e0705088b) to run at 1692350544 EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(callstart=2023-08-18 09:21:54) 2023-08-18 09:21:54.255879 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [callstart]=[2023-08-18 09:21:54] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(hangup_after_bridge=true) 2023-08-18 09:21:54.255879 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(continue_on_fail=TRUE) 2023-08-18 09:21:54.255879 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(account_id=12) 2023-08-18 09:21:54.255879 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [account_id]=[12] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(parent_id=0) 2023-08-18 09:21:54.275852 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [parent_id]=[0] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(entity_id=0) 2023-08-18 09:21:54.275852 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [entity_id]=[0] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(call_processed=internal) 2023-08-18 09:21:54.275852 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(call_direction=inbound) 2023-08-18 09:21:54.275852 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [call_direction]=[inbound] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(accountname=Phresh) 2023-08-18 09:21:54.275852 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [accountname]=[Phresh] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(origination_rates_did=ID:582|CODE:^018887075.*|DESTINATION:018887075|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:141|ACCID:5) 2023-08-18 09:21:54.275852 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [origination_rates_did]=[ID:582|CODE:^018887075.*|DESTINATION:018887075|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:141|ACCID:5] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(origination_rates=0) 2023-08-18 09:21:54.275852 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [origination_rates]=[0] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(original_caller_id_name=2348121570743) 2023-08-18 09:21:54.275852 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [original_caller_id_name]=[2348121570743] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(original_caller_id_number=2348121570743) 2023-08-18 09:21:54.275852 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [original_caller_id_number]=[2348121570743] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 limit(db 8612965 user_8612965 90 ) 2023-08-18 09:21:54.275852 [DEBUG] switch_limit.c:124 incr called: 8612965_user_8612965 max:90, interval:0 2023-08-18 09:21:54.275852 [DEBUG] mod_db.c:194 Usage for 8612965_user_8612965 is now 1/90 EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(effective_caller_id_name=2348121570743) 2023-08-18 09:21:54.275852 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [effective_caller_id_name]=[2348121570743] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(effective_caller_id_number=2348121570743) 2023-08-18 09:21:54.275852 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [effective_caller_id_number]=[2348121570743] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(receiver_accid=5) 2023-08-18 09:21:54.275852 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [receiver_accid]=[5] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 export(domain_name=hq.ubx.univasa.com) 2023-08-18 09:21:54.275852 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [domain_name]=[hq.ubx.univasa.com] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 export(sip_to_host=hq.ubx.univasa.com) 2023-08-18 09:21:54.275852 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [sip_to_host]=[hq.ubx.univasa.com] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 export(presence_data=x|||Tumi(2330223285)|||||||||DID|||157.230.210.216) 2023-08-18 09:21:54.275852 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||Tumi(2330223285)|||||||||DID|||157.230.210.216] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 export(call_type=0) 2023-08-18 09:21:54.275852 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_type]=[0] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(calltype=DID-LOCAL) 2023-08-18 09:21:54.275852 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [calltype]=[DID-LOCAL] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 db(insert/pickup_any_group_/002/064eb115-28e7-4de7-b4af-aa3e0705088b) EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(dialed_extension=transfer_call) 2023-08-18 09:21:54.275852 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [dialed_extension]=[transfer_call] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 export(dialed_extension=transfer_call) 2023-08-18 09:21:54.275852 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) 2023-08-18 09:21:54.275852 [INFO] switch_ivr_async.c:4678 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) 2023-08-18 09:21:54.275852 [INFO] switch_ivr_async.c:4678 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(hangup_after_bridge=true) 2023-08-18 09:21:54.275852 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 export(did_user_domain=hq.ubx.univasa.com) 2023-08-18 09:21:54.275852 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [did_user_domain]=[hq.ubx.univasa.com] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 db(insert/pickup_any_group_/002/064eb115-28e7-4de7-b4af-aa3e0705088b) EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(dialed_extension=transfer_call) 2023-08-18 09:21:54.275852 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [dialed_extension]=[transfer_call] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 export(dialed_extension=transfer_call) 2023-08-18 09:21:54.275852 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) 2023-08-18 09:21:54.275852 [INFO] switch_ivr_async.c:4678 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) 2023-08-18 09:21:54.275852 [INFO] switch_ivr_async.c:4678 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(transfer_ringback=local_stream://moh) 2023-08-18 09:21:54.275852 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [transfer_ringback]=[local_stream://moh] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(hangup_after_bridge=true) 2023-08-18 09:21:54.275852 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=5}[leg_timeout=60 ] user/002@hq.ubx.univasa.com) 2023-08-18 09:21:54.275852 [DEBUG] switch_channel.c:1264 sofia/default/2348121570743@116.203.52.230 EXPORTING[export_vars] [domain_name]=[hq.ubx.univasa.com] to event 2023-08-18 09:21:54.275852 [DEBUG] switch_channel.c:1264 sofia/default/2348121570743@116.203.52.230 EXPORTING[export_vars] [sip_to_host]=[hq.ubx.univasa.com] to event 2023-08-18 09:21:54.275852 [DEBUG] switch_channel.c:1264 sofia/default/2348121570743@116.203.52.230 EXPORTING[export_vars] [presence_data]=[x|||Tumi(2330223285)|||||||||DID|||157.230.210.216] to event 2023-08-18 09:21:54.275852 [DEBUG] switch_channel.c:1264 sofia/default/2348121570743@116.203.52.230 EXPORTING[export_vars] [call_type]=[0] to event 2023-08-18 09:21:54.275852 [DEBUG] switch_channel.c:1264 sofia/default/2348121570743@116.203.52.230 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event 2023-08-18 09:21:54.275852 [DEBUG] switch_channel.c:1264 sofia/default/2348121570743@116.203.52.230 EXPORTING[export_vars] [did_user_domain]=[hq.ubx.univasa.com] to event 2023-08-18 09:21:54.275852 [DEBUG] switch_channel.c:1264 sofia/default/2348121570743@116.203.52.230 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event 2023-08-18 09:21:54.275852 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables 2023-08-18 09:21:54.275852 [DEBUG] switch_ivr_originate.c:2834 Parsing session specific variables 2023-08-18 09:21:54.295910 [DEBUG] switch_channel.c:1264 sofia/default/2348121570743@116.203.52.230 EXPORTING[export_vars] [domain_name]=[hq.ubx.univasa.com] to event 2023-08-18 09:21:54.295910 [DEBUG] switch_channel.c:1264 sofia/default/2348121570743@116.203.52.230 EXPORTING[export_vars] [sip_to_host]=[hq.ubx.univasa.com] to event 2023-08-18 09:21:54.295910 [DEBUG] switch_channel.c:1264 sofia/default/2348121570743@116.203.52.230 EXPORTING[export_vars] [presence_data]=[x|||Tumi(2330223285)|||||||||DID|||157.230.210.216] to event 2023-08-18 09:21:54.295910 [DEBUG] switch_channel.c:1264 sofia/default/2348121570743@116.203.52.230 EXPORTING[export_vars] [call_type]=[0] to event 2023-08-18 09:21:54.295910 [DEBUG] switch_channel.c:1264 sofia/default/2348121570743@116.203.52.230 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event 2023-08-18 09:21:54.295910 [DEBUG] switch_channel.c:1264 sofia/default/2348121570743@116.203.52.230 EXPORTING[export_vars] [did_user_domain]=[hq.ubx.univasa.com] to event 2023-08-18 09:21:54.295910 [DEBUG] switch_channel.c:1264 sofia/default/2348121570743@116.203.52.230 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event 2023-08-18 09:21:54.295910 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables 2023-08-18 09:21:54.295910 [NOTICE] switch_ivr_originate.c:3030 Cannot create outgoing channel of type [error] cause: [USER_NOT_REGISTERED] 2023-08-18 09:21:54.295910 [DEBUG] switch_ivr_originate.c:4026 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED] 2023-08-18 09:21:54.295910 [NOTICE] switch_ivr_originate.c:3030 Cannot create outgoing channel of type [user] cause: [USER_NOT_REGISTERED] 2023-08-18 09:21:54.295910 [DEBUG] switch_ivr_originate.c:4026 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED] 2023-08-18 09:21:54.295910 [INFO] mod_dptools.c:3643 Originate Failed. Cause: USER_NOT_REGISTERED EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(on_busy_flag=1) 2023-08-18 09:21:54.295910 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [on_busy_flag]=[1] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(on_busy_destination=) 2023-08-18 09:21:54.295910 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [on_busy_destination]=[UNDEF] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(no_answer_flag=1) 2023-08-18 09:21:54.295910 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [no_answer_flag]=[1] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(no_answer_destination=) 2023-08-18 09:21:54.295910 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [no_answer_destination]=[UNDEF] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(not_register_flag=1) 2023-08-18 09:21:54.295910 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [not_register_flag]=[1] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(not_register_destination=) 2023-08-18 09:21:54.295910 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [not_register_destination]=[UNDEF] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(opensips_flag=1) 2023-08-18 09:21:54.295910 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [opensips_flag]=[1] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(variable_sip_to_host=hq.ubx.univasa.com) 2023-08-18 09:21:54.295910 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [variable_sip_to_host]=[hq.ubx.univasa.com] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(opensips_domain=127.0.0.1) 2023-08-18 09:21:54.295910 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [opensips_domain]=[127.0.0.1] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(leg_timeout=60) 2023-08-18 09:21:54.295910 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [leg_timeout]=[60] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(userinfo_id=5) 2023-08-18 09:21:54.295910 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [userinfo_id]=[5] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(sip_destination_number=002) 2023-08-18 09:21:54.295910 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [sip_destination_number]=[002] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(did_number=002) 2023-08-18 09:21:54.295910 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [did_number]=[002] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(user_domain=hq.ubx.univasa.com) 2023-08-18 09:21:54.295910 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [user_domain]=[hq.ubx.univasa.com] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 lua(astpp/lib/pbx/astpp-sipdevice-routing.lua) 2023-08-18 09:21:54.295910 [NOTICE] switch_cpp.cpp:1465 [Astpp_SIP-Devices] This Is Last Dispositions USER_NOT_REGISTERED This Is SIP Number : 002 EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 answer() 2023-08-18 09:21:54.295910 [DEBUG] switch_core_media.c:8675 AUDIO RTP [sofia/default/2348121570743@116.203.52.230] 116.203.52.230 port 23390 -> 157.230.210.216 port 13730 codec: 8 ms: 20 2023-08-18 09:21:54.295910 [DEBUG] switch_rtp.c:4478 Starting timer [soft] 160 bytes per 20ms 2023-08-18 09:21:54.295910 [DEBUG] switch_core_media.c:8989 sofia/default/2348121570743@116.203.52.230 Set 2833 dtmf send payload to 101 2023-08-18 09:21:54.295910 [DEBUG] switch_core_media.c:8996 sofia/default/2348121570743@116.203.52.230 Set 2833 dtmf receive payload to 101 2023-08-18 09:21:54.295910 [DEBUG] switch_core_media.c:9019 sofia/default/2348121570743@116.203.52.230 Set rtp dtmf delay to 40 2023-08-18 09:21:54.295910 [DEBUG] mod_sofia.c:898 Local SDP sofia/default/2348121570743@116.203.52.230: v=0 o=FreeSWITCH 1692327124 1692327125 IN IP4 116.203.52.230 s=FreeSWITCH c=IN IP4 116.203.52.230 t=0 0 m=audio 23390 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-08-18 09:21:54.295910 [NOTICE] mod_dptools.c:1419 Channel [sofia/default/2348121570743@116.203.52.230] has been answered 2023-08-18 09:21:54.295910 [DEBUG] switch_channel.c:3865 (sofia/default/2348121570743@116.203.52.230) Callstate Change RINGING -> ACTIVE 2023-08-18 09:21:54.295910 [DEBUG] sofia.c:7406 Channel sofia/default/2348121570743@116.203.52.230 entering state [completed][200] 2023-08-18 09:21:54.295910 [NOTICE] switch_cpp.cpp:1465 [Astpp_SIP-Devices] Dialed User For Voicemail :002 EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 voicemail(default hq.ubx.univasa.com 002) 2023-08-18 09:21:54.395855 [DEBUG] sofia.c:7406 Channel sofia/default/2348121570743@116.203.52.230 entering state [ready][200] 2023-08-18 09:21:54.435857 [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en] 2023-08-18 09:21:54.455860 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-person.wav] (en:en) 2023-08-18 09:21:54.455860 [WARNING] mod_sndfile.c:281 Error Opening File [/usr/share/freeswitch/sounds/en/us/callie/voicemail/vm-person.wav] [System error : No such file or directory.] 2023-08-18 09:21:54.575870 [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en] 2023-08-18 09:21:54.595854 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-goodbye.wav] (en:en) 2023-08-18 09:21:54.595854 [WARNING] mod_sndfile.c:281 Error Opening File [/usr/share/freeswitch/sounds/en/us/callie/voicemail/vm-goodbye.wav] [System error : No such file or directory.] 2023-08-18 09:21:54.695868 [DEBUG] switch_rtp.c:7793 Correct audio ip/port confirmed. 2023-08-18 09:21:54.695868 [DEBUG] switch_cpp.cpp:1209 sofia/default/2348121570743@116.203.52.230 destroy/unlink session from object EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(on_busy_flag=1) 2023-08-18 09:21:54.695868 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [on_busy_flag]=[1] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(on_busy_destination=) 2023-08-18 09:21:54.695868 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [on_busy_destination]=[UNDEF] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(no_answer_flag=1) 2023-08-18 09:21:54.695868 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [no_answer_flag]=[1] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(no_answer_destination=) 2023-08-18 09:21:54.695868 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [no_answer_destination]=[UNDEF] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(not_register_flag=1) 2023-08-18 09:21:54.695868 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [not_register_flag]=[1] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(not_register_destination=) 2023-08-18 09:21:54.695868 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [not_register_destination]=[UNDEF] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(opensips_flag=1) 2023-08-18 09:21:54.695868 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [opensips_flag]=[1] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(variable_sip_to_host=hq.ubx.univasa.com) 2023-08-18 09:21:54.695868 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [variable_sip_to_host]=[hq.ubx.univasa.com] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(opensips_domain=127.0.0.1) 2023-08-18 09:21:54.695868 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [opensips_domain]=[127.0.0.1] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(leg_timeout=60) 2023-08-18 09:21:54.695868 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [leg_timeout]=[60] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(userinfo_id=5) 2023-08-18 09:21:54.695868 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [userinfo_id]=[5] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(sip_destination_number=002) 2023-08-18 09:21:54.695868 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [sip_destination_number]=[002] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(destination_number=018887075) 2023-08-18 09:21:54.695868 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [destination_number]=[018887075] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(did_number=018887075) 2023-08-18 09:21:54.715862 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [did_number]=[018887075] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 set(user_domain=hq.ubx.univasa.com) 2023-08-18 09:21:54.715862 [DEBUG] mod_dptools.c:1685 SET sofia/default/2348121570743@116.203.52.230 [user_domain]=[hq.ubx.univasa.com] EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 lua(astpp/lib/pbx/astpp-sipdevice-routing.lua) 2023-08-18 09:21:54.715862 [NOTICE] switch_cpp.cpp:1465 [Astpp_SIP-Devices] This Is Last Dispositions USER_NOT_REGISTERED This Is SIP Number : 002 EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 answer() 2023-08-18 09:21:54.715862 [NOTICE] switch_cpp.cpp:1465 [Astpp_SIP-Devices] Dialed User For Voicemail :002 EXECUTE [depth=0] sofia/default/2348121570743@116.203.52.230 voicemail(default hq.ubx.univasa.com 002) 2023-08-18 09:21:54.815868 [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en] 2023-08-18 09:21:54.835865 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-person.wav] (en:en) 2023-08-18 09:21:54.835865 [WARNING] mod_sndfile.c:281 Error Opening File [/usr/share/freeswitch/sounds/en/us/callie/voicemail/vm-person.wav] [System error : No such file or directory.] 2023-08-18 09:21:54.895868 [WARNING] sofia_reg.c:1795 SIP auth challenge (REGISTER) on sofia profile 'default' for [002@ubx.univasa.com] from ip 45.222.101.176 2023-08-18 09:21:54.955854 [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en] 2023-08-18 09:21:54.975858 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-goodbye.wav] (en:en) 2023-08-18 09:21:54.975858 [WARNING] mod_sndfile.c:281 Error Opening File [/usr/share/freeswitch/sounds/en/us/callie/voicemail/vm-goodbye.wav] [System error : No such file or directory.] 2023-08-18 09:21:55.095857 [DEBUG] switch_cpp.cpp:1209 sofia/default/2348121570743@116.203.52.230 destroy/unlink session from object