2024-04-24 05:04:12.794931 99.80% [NOTICE] switch_channel.c:1123 New Channel sofia/default/321785@cloud.masip.es [12dd2ae7-ea0e-44e0-b792-c3ea0b8ae591] 2024-04-24 05:04:12.794931 99.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/321785@cloud.masip.es) Running State Change CS_NEW (Cur 1 Tot 28) 2024-04-24 05:04:12.794931 99.80% [INFO] sofia.c:10453 sofia/default/321785@cloud.masip.es receiving invite from 34.252.123.120:5060 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: MzIwYjRhM2EyNWJmNjcwMWUwNTM3YzlmZDMzOTUwODU. 2024-04-24 05:04:12.794931 99.80% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 34.252.123.120:0. 2024-04-24 05:04:12.794931 99.80% [DEBUG] sofia.c:10576 IP 34.252.123.120 Approved by acl "default[]". Access Granted. 2024-04-24 05:04:12.794931 99.80% [DEBUG] sofia.c:7487 Channel sofia/default/321785@cloud.masip.es entering state [received][100] 2024-04-24 05:04:12.794931 99.80% [DEBUG] sofia.c:7497 Remote SDP: v=0 o=Z 0 0 IN IP4 103.240.35.46 s=Z c=IN IP4 103.240.35.46 t=0 0 m=audio 8000 RTP/AVP 3 110 8 0 98 101 a=rtpmap:110 speex/8000 a=rtpmap:98 iLBC/8000 a=fmtp:98 mode=20 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 2024-04-24 05:04:12.794931 99.80% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G729:18:8000:20:8000:1] 2024-04-24 05:04:12.794931 99.80% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2024-04-24 05:04:12.794931 99.80% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] 2024-04-24 05:04:12.794931 99.80% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:110:8000:20:0:1]/[G729:18:8000:20:8000:1] 2024-04-24 05:04:12.794931 99.80% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2024-04-24 05:04:12.794931 99.80% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2024-04-24 05:04:12.794931 99.80% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-04-24 05:04:12.794931 99.80% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-04-24 05:04:12.794931 99.80% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-04-24 05:04:12.794931 99.80% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-04-24 05:04:12.794931 99.80% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-04-24 05:04:12.794931 99.80% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-04-24 05:04:12.794931 99.80% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-04-24 05:04:12.794931 99.80% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2024-04-24 05:04:12.794931 99.80% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [iLBC:98:8000:30:0:1]/[G729:18:8000:20:8000:1] 2024-04-24 05:04:12.794931 99.80% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2024-04-24 05:04:12.794931 99.80% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1] 2024-04-24 05:04:12.794931 99.80% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000 2024-04-24 05:04:12.794931 99.80% [DEBUG] switch_core_media.c:3750 Set Codec sofia/default/321785@cloud.masip.es PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2024-04-24 05:04:12.794931 99.80% [DEBUG] switch_core_codec.c:111 sofia/default/321785@cloud.masip.es Original read codec set to PCMA:8 2024-04-24 05:04:12.794931 99.80% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000 2024-04-24 05:04:12.794931 99.80% [DEBUG] switch_core_media.c:5850 sofia/default/321785@cloud.masip.es Set 2833 dtmf send payload to 101 recv payload to 101 2024-04-24 05:04:12.794931 99.80% [DEBUG] sofia.c:7921 (sofia/default/321785@cloud.masip.es) State Change CS_NEW -> CS_INIT 2024-04-24 05:04:12.794931 99.80% [DEBUG] switch_core_state_machine.c:600 (sofia/default/321785@cloud.masip.es) State NEW 2024-04-24 05:04:12.794931 99.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/321785@cloud.masip.es) Running State Change CS_INIT (Cur 1 Tot 28) 2024-04-24 05:04:12.794931 99.80% [DEBUG] switch_core_state_machine.c:624 (sofia/default/321785@cloud.masip.es) State INIT 2024-04-24 05:04:12.794931 99.80% [DEBUG] mod_sofia.c:97 sofia/default/321785@cloud.masip.es SOFIA INIT 2024-04-24 05:04:12.794931 99.80% [DEBUG] switch_core_state_machine.c:40 sofia/default/321785@cloud.masip.es Standard INIT 2024-04-24 05:04:12.794931 99.80% [DEBUG] switch_core_state_machine.c:48 (sofia/default/321785@cloud.masip.es) State Change CS_INIT -> CS_ROUTING 2024-04-24 05:04:12.794931 99.80% [DEBUG] switch_core_state_machine.c:624 (sofia/default/321785@cloud.masip.es) State INIT going to sleep 2024-04-24 05:04:12.794931 99.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/321785@cloud.masip.es) Running State Change CS_ROUTING (Cur 1 Tot 28) 2024-04-24 05:04:12.794931 99.80% [DEBUG] switch_channel.c:2380 (sofia/default/321785@cloud.masip.es) Callstate Change DOWN -> RINGING 2024-04-24 05:04:12.794931 99.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/321785@cloud.masip.es) State ROUTING 2024-04-24 05:04:12.794931 99.80% [DEBUG] mod_sofia.c:158 sofia/default/321785@cloud.masip.es SOFIA ROUTING 2024-04-24 05:04:12.794931 99.80% [DEBUG] switch_core_state_machine.c:230 sofia/default/321785@cloud.masip.es Standard ROUTING 2024-04-24 05:04:12.794931 99.80% [INFO] mod_dialplan_xml.c:639 Processing 321785 <321785>->21655577909 in context default 2024-04-24 05:04:12.814931 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes','masip') 2024-04-24 05:04:12.834931 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-04-24 05:04:12.834931 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 21655577909 2024-04-24 05:04:12.834931 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '21655577909' AND status=0 limit 1 2024-04-24 05:04:12.834931 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 321785 / 321785 2024-04-24 05:04:12.834931 99.80% [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 ="21655577909" LIMIT 1 2024-04-24 05:04:12.834931 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT 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 WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="21655577909" limit 1 2024-04-24 05:04:12.834931 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound 2024-04-24 05:04:12.834931 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 321785] 2024-04-24 05:04:12.834931 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "321785" AND deleted = 0 limit 1 2024-04-24 05:04:12.834931 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^21655577909.*' OR blocked_patterns = '^2165557790.*' OR blocked_patterns = '^216555779.*' OR blocked_patterns = '^21655577.*' OR blocked_patterns = '^2165557.*' OR blocked_patterns = '^216555.*' OR blocked_patterns = '^21655.*' OR blocked_patterns = '^2165.*' OR blocked_patterns = '^216.*' OR blocked_patterns = '^21.*' OR blocked_patterns = '^2.*' OR blocked_patterns ='--') AND accountid = 151 limit 1 2024-04-24 05:04:12.854932 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="21655577909" AND (accountid = 0 OR status = 1) LIMIT 1 2024-04-24 05:04:12.854932 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^21655577909.*' OR patterns = '^2165557790.*' OR patterns = '^216555779.*' OR patterns = '^21655577.*' OR patterns = '^2165557.*' OR patterns = '^216555.*' OR patterns = '^21655.*' OR patterns = '^2165.*' OR patterns = '^216.*' OR patterns = '^21.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 151 ORDER BY LENGTH(PKGPTR.patterns) DESC 2024-04-24 05:04:12.854932 99.80% [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 ="21655577909" AND A.accountid = '151' limit 1 2024-04-24 05:04:12.854932 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 21655577909 2024-04-24 05:04:12.854932 99.80% [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 ="21655577909" LIMIT 1 2024-04-24 05:04:12.854932 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT 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 WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="21655577909" limit 1 2024-04-24 05:04:12.854932 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound 2024-04-24 05:04:12.854932 99.80% [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 = '21655577909' OR number = '2165557790' OR number = '216555779' OR number = '21655577' OR number = '2165557' OR number = '216555' OR number = '21655' OR number = '2165' OR number = '216' OR number = '21' OR number = '2' OR number ='--') OR (number = '21655577909*' OR number = '2165557790*' OR number = '216555779*' OR number = '21655577*' OR number = '2165557*' OR number = '216555*' OR number = '21655*' OR number = '2165*' OR number = '216*' OR number = '21*' OR number = '2*' OR number ='--') OR (number = '321785' OR number = '32178' OR number = '3217' OR number = '321' OR number = '32' OR number = '3' OR number ='--') OR (number = '321785*' OR number = '32178*' OR number = '3217*' OR number = '321*' OR number = '32*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2024-04-24 05:04:12.854932 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2024-04-24 05:04:12.854932 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '21655577909' OR routing_prefix = '2165557790' OR routing_prefix = '216555779' OR routing_prefix = '21655577' OR routing_prefix = '2165557' OR routing_prefix = '216555' OR routing_prefix = '21655' OR routing_prefix = '2165' OR routing_prefix = '216' OR routing_prefix = '21' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2024-04-24 05:04:12.854932 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2024-04-24 05:04:12.854932 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 151 2024-04-24 05:04:12.854932 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 321785 2024-04-24 05:04:12.854932 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 9.2776 2024-04-24 05:04:12.854932 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2024-04-24 05:04:12.854932 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 4 2024-04-24 05:04:12.854932 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2024-04-24 05:04:12.854932 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2024-04-24 05:04:12.854932 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0 2024-04-24 05:04:12.854932 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound 2024-04-24 05:04:12.854932 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0 2024-04-24 05:04:12.874930 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^21655577909.*' OR pattern = '^2165557790.*' OR pattern = '^216555779.*' OR pattern = '^21655577.*' OR pattern = '^2165557.*' OR pattern = '^216555.*' OR pattern = '^21655.*' OR pattern = '^2165.*' OR pattern = '^216.*' OR pattern = '^21.*' OR pattern = '^2.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 4 OR accountid=151) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2024-04-24 05:04:12.874930 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound 2024-04-24 05:04:12.874930 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2024-04-24 05:04:12.874930 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 174680 2024-04-24 05:04:12.874930 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2024-04-24 05:04:12.874930 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2024-04-24 05:04:12.874930 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 3.09600 2024-04-24 05:04:12.874930 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Tunisia - Mobile - Orange 2024-04-24 05:04:12.874930 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0 2024-04-24 05:04:12.874930 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 151 2024-04-24 05:04:12.874930 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 2024-04-24 05:04:12.874930 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type: 2024-04-24 05:04:12.874930 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2024-04-24 05:04:12.874930 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your9.2776 balance Accountid 151 !!! 2024-04-24 05:04:12.874930 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 2.9966408268734 minutes 2024-04-24 05:04:12.874930 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
Dialplan: sofia/default/321785@cloud.masip.es parsing [default->21655577909] continue=false Dialplan: sofia/default/321785@cloud.masip.es Regex (PASS) [21655577909] destination_number(21655577909) =~ /21655577909/ break=on-false Dialplan: sofia/default/321785@cloud.masip.es Action log(INFO ASTPP - API CALL) Dialplan: sofia/default/321785@cloud.masip.es Action curl(https://cloud.masip.es/custom_curl/index -X POST destination_number=21655577909 -k) Dialplan: sofia/default/321785@cloud.masip.es Action set(sip_h_P-masip_custom_flag=true) Dialplan: sofia/default/321785@cloud.masip.es Action export(sip_h_P-masip_custom_flag=true) Dialplan: sofia/default/321785@cloud.masip.es Action sleep(3000) Dialplan: sofia/default/321785@cloud.masip.es Action transfer(21655577909 XML default) 2024-04-24 05:04:12.874930 99.80% [DEBUG] switch_core_state_machine.c:281 (sofia/default/321785@cloud.masip.es) State Change CS_ROUTING -> CS_EXECUTE 2024-04-24 05:04:12.874930 99.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/321785@cloud.masip.es) State ROUTING going to sleep 2024-04-24 05:04:12.874930 99.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/321785@cloud.masip.es) Running State Change CS_EXECUTE (Cur 1 Tot 28) 2024-04-24 05:04:12.874930 99.80% [DEBUG] switch_core_state_machine.c:647 (sofia/default/321785@cloud.masip.es) State EXECUTE 2024-04-24 05:04:12.874930 99.80% [DEBUG] mod_sofia.c:213 sofia/default/321785@cloud.masip.es SOFIA EXECUTE 2024-04-24 05:04:12.874930 99.80% [DEBUG] switch_core_state_machine.c:323 sofia/default/321785@cloud.masip.es Standard EXECUTE EXECUTE [depth=0] sofia/default/321785@cloud.masip.es log(INFO ASTPP - API CALL) 2024-04-24 05:04:12.874930 99.80% [INFO] mod_dptools.c:1867 ASTPP - API CALL EXECUTE [depth=0] sofia/default/321785@cloud.masip.es curl(https://cloud.masip.es/custom_curl/index -X POST destination_number=21655577909 -k) 2024-04-24 05:04:12.874930 99.80% [DEBUG] mod_curl.c:200 method: POST, url: https://cloud.masip.es/custom_curl/index, content-type: (null) 2024-04-24 05:04:12.874930 99.80% [WARNING] mod_curl.c:223 Not verifying TLS cert for https://cloud.masip.es/custom_curl/index; connection is not secure 2024-04-24 05:04:12.874930 99.80% [DEBUG] mod_curl.c:252 Post data: destination_number=21655577909 EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(sip_h_P-masip_custom_flag=true) 2024-04-24 05:04:12.954931 99.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/321785@cloud.masip.es [sip_h_P-masip_custom_flag]=[true] EXECUTE [depth=0] sofia/default/321785@cloud.masip.es export(sip_h_P-masip_custom_flag=true) 2024-04-24 05:04:12.954931 99.80% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_h_P-masip_custom_flag]=[true] EXECUTE [depth=0] sofia/default/321785@cloud.masip.es sleep(3000) EXECUTE [depth=0] sofia/default/321785@cloud.masip.es transfer(21655577909 XML default) 2024-04-24 05:04:15.954929 99.80% [DEBUG] switch_ivr.c:2288 (sofia/default/321785@cloud.masip.es) State Change CS_EXECUTE -> CS_ROUTING 2024-04-24 05:04:15.954929 99.80% [NOTICE] switch_ivr.c:2295 Transfer sofia/default/321785@cloud.masip.es to XML[21655577909@default] 2024-04-24 05:04:15.954929 99.80% [DEBUG] switch_core_state_machine.c:647 (sofia/default/321785@cloud.masip.es) State EXECUTE going to sleep 2024-04-24 05:04:15.954929 99.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/321785@cloud.masip.es) Running State Change CS_ROUTING (Cur 1 Tot 28) 2024-04-24 05:04:15.954929 99.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/321785@cloud.masip.es) State ROUTING 2024-04-24 05:04:15.954929 99.80% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged 2024-04-24 05:04:15.954929 99.80% [DEBUG] mod_sofia.c:158 sofia/default/321785@cloud.masip.es SOFIA ROUTING 2024-04-24 05:04:15.954929 99.80% [DEBUG] switch_core_state_machine.c:230 sofia/default/321785@cloud.masip.es Standard ROUTING 2024-04-24 05:04:15.954929 99.80% [INFO] mod_dialplan_xml.c:639 Processing 321785 <321785>->21655577909 in context default 2024-04-24 05:04:15.954929 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes','masip') 2024-04-24 05:04:15.954929 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-04-24 05:04:15.954929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 21655577909 2024-04-24 05:04:15.954929 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '21655577909' AND status=0 limit 1 2024-04-24 05:04:15.954929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 321785 / 321785 2024-04-24 05:04:15.954929 99.80% [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 ="21655577909" LIMIT 1 2024-04-24 05:04:15.954929 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT 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 WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="21655577909" limit 1 2024-04-24 05:04:15.974924 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound 2024-04-24 05:04:15.974924 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 321785] 2024-04-24 05:04:15.974924 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "321785" AND deleted = 0 limit 1 2024-04-24 05:04:15.974924 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^21655577909.*' OR blocked_patterns = '^2165557790.*' OR blocked_patterns = '^216555779.*' OR blocked_patterns = '^21655577.*' OR blocked_patterns = '^2165557.*' OR blocked_patterns = '^216555.*' OR blocked_patterns = '^21655.*' OR blocked_patterns = '^2165.*' OR blocked_patterns = '^216.*' OR blocked_patterns = '^21.*' OR blocked_patterns = '^2.*' OR blocked_patterns ='--') AND accountid = 151 limit 1 2024-04-24 05:04:15.974924 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="21655577909" AND (accountid = 0 OR status = 1) LIMIT 1 2024-04-24 05:04:15.974924 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^21655577909.*' OR patterns = '^2165557790.*' OR patterns = '^216555779.*' OR patterns = '^21655577.*' OR patterns = '^2165557.*' OR patterns = '^216555.*' OR patterns = '^21655.*' OR patterns = '^2165.*' OR patterns = '^216.*' OR patterns = '^21.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 151 ORDER BY LENGTH(PKGPTR.patterns) DESC 2024-04-24 05:04:15.974924 99.80% [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 ="21655577909" AND A.accountid = '151' limit 1 2024-04-24 05:04:15.974924 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 21655577909 2024-04-24 05:04:15.974924 99.80% [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 ="21655577909" LIMIT 1 2024-04-24 05:04:15.974924 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT 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 WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="21655577909" limit 1 2024-04-24 05:04:15.974924 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound 2024-04-24 05:04:15.974924 99.80% [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 = '21655577909' OR number = '2165557790' OR number = '216555779' OR number = '21655577' OR number = '2165557' OR number = '216555' OR number = '21655' OR number = '2165' OR number = '216' OR number = '21' OR number = '2' OR number ='--') OR (number = '21655577909*' OR number = '2165557790*' OR number = '216555779*' OR number = '21655577*' OR number = '2165557*' OR number = '216555*' OR number = '21655*' OR number = '2165*' OR number = '216*' OR number = '21*' OR number = '2*' OR number ='--') OR (number = '321785' OR number = '32178' OR number = '3217' OR number = '321' OR number = '32' OR number = '3' OR number ='--') OR (number = '321785*' OR number = '32178*' OR number = '3217*' OR number = '321*' OR number = '32*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2024-04-24 05:04:15.974924 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2024-04-24 05:04:15.974924 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '21655577909' OR routing_prefix = '2165557790' OR routing_prefix = '216555779' OR routing_prefix = '21655577' OR routing_prefix = '2165557' OR routing_prefix = '216555' OR routing_prefix = '21655' OR routing_prefix = '2165' OR routing_prefix = '216' OR routing_prefix = '21' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2024-04-24 05:04:15.994929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2024-04-24 05:04:15.994929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 151 2024-04-24 05:04:15.994929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 321785 2024-04-24 05:04:15.994929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 9.2776 2024-04-24 05:04:15.994929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2024-04-24 05:04:15.994929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 4 2024-04-24 05:04:15.994929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2024-04-24 05:04:15.994929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2024-04-24 05:04:15.994929 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0 2024-04-24 05:04:15.994929 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound 2024-04-24 05:04:15.994929 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0 2024-04-24 05:04:15.994929 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^21655577909.*' OR pattern = '^2165557790.*' OR pattern = '^216555779.*' OR pattern = '^21655577.*' OR pattern = '^2165557.*' OR pattern = '^216555.*' OR pattern = '^21655.*' OR pattern = '^2165.*' OR pattern = '^216.*' OR pattern = '^21.*' OR pattern = '^2.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 4 OR accountid=151) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2024-04-24 05:04:15.994929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound 2024-04-24 05:04:15.994929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2024-04-24 05:04:15.994929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 174680 2024-04-24 05:04:15.994929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2024-04-24 05:04:15.994929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2024-04-24 05:04:15.994929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 3.09600 2024-04-24 05:04:15.994929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Tunisia - Mobile - Orange 2024-04-24 05:04:15.994929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0 2024-04-24 05:04:15.994929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 151 2024-04-24 05:04:15.994929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 2024-04-24 05:04:15.994929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type: 2024-04-24 05:04:15.994929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2024-04-24 05:04:15.994929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your9.2776 balance Accountid 151 !!! 2024-04-24 05:04:15.994929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 2.9966408268734 minutes 2024-04-24 05:04:16.994929 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Query :SELECT trunk_id,nrn,mmc FROM masip_curl_data WHERE destination_number = '21655577909' order by id desc limit 1 2024-04-24 05:04:16.994929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== MASIP Information Start =================== 2024-04-24 05:04:16.994929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] MASIP Trunk ==> 2 2024-04-24 05:04:16.994929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] MASIP NRN ==> 2024-04-24 05:04:16.994929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] MASIP MMC ==> 2024-04-24 05:04:16.994929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== MASIP Information Ends ==================== 2024-04-24 05:04:16.994929 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id : 2024-04-24 05:04:16.994929 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query ==> SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=4 ORDER by id asc 2024-04-24 05:04:17.014929 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] From DB - trunk_ids ==> 8,11,6,17 2024-04-24 05:04:17.014929 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] masip_trunk ==> 2 2024-04-24 05:04:17.014929 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Trunk ID from MASIP ID Query :SELECT id FROM trunks WHERE masip_id = '2' 2024-04-24 05:04:17.014929 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] masip_trunk_id ==> 2024-04-24 05:04:17.014929 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Final - trunk_ids ==> 8,11,6,17 2024-04-24 05:04:17.014929 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable as dialplan_variable,GW.gateway_data as gateway_data,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^21655577909.*' OR pattern = '^2165557790.*' OR pattern = '^216555779.*' OR pattern = '^21655577.*' OR pattern = '^2165557.*' OR pattern = '^216555.*' OR pattern = '^21655.*' OR pattern = '^2165.*' OR pattern = '^216.*' OR pattern = '^21.*' OR pattern = '^2.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (8,11,6,17) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,8,11,6,17),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information =================== 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 305149 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^2165.* 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Tunisia - Mobile ORANGE 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^2165.* 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip : 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 00 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 8 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Aire_Ppal 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable : 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : Aire_Bckp 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 113 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : AIRE 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES======================= 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information =================== 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 527892 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^2165.* 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Tunisia - Mobile - Orange 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^2165.* 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip : 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 8000 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 11 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Alisys 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable : 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 164 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : ALISYS 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES======================= 2024-04-24 05:04:17.014929 99.80% [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 = 151 AND status=0 LIMIT 1 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 2.9966408268734 2024-04-24 05:04:17.014929 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1 2024-04-24 05:04:17.014929 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0 2024-04-24 05:04:17.014929 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML.LUA - XML - OUTBOUND] freeswitch_xml_outbound triggered !!! 2024-04-24 05:04:17.014929 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 113) AND status=0 limit 1 2024-04-24 05:04:17.014929 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 8) AND status=0 limit 1 2024-04-24 05:04:17.014929 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :*/00.....21655577909 2024-04-24 05:04:17.014929 99.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 21655577909 2024-04-24 05:04:17.014929 99.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 0021655577909 2024-04-24 05:04:17.014929 99.80% [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 ="21655577909" LIMIT 1 2024-04-24 05:04:17.034932 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML.LUA - XML - OUTBOUND] masip_nrn ==> 2024-04-24 05:04:17.034932 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML.LUA - XML - OUTBOUND] masip_mmc ==> 2024-04-24 05:04:17.034932 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0 2024-04-24 05:04:17.034932 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML.LUA - XML - OUTBOUND] freeswitch_xml_outbound triggered !!! 2024-04-24 05:04:17.034932 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 164) AND status=0 limit 1 2024-04-24 05:04:17.034932 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 11) AND status=0 limit 1 2024-04-24 05:04:17.034932 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :*/8000.....21655577909 2024-04-24 05:04:17.034932 99.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 21655577909 2024-04-24 05:04:17.034932 99.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 800021655577909 2024-04-24 05:04:17.034932 99.80% [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 ="21655577909" LIMIT 1 2024-04-24 05:04:17.034932 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML.LUA - XML - OUTBOUND] masip_nrn ==> 2024-04-24 05:04:17.034932 99.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML.LUA - XML - OUTBOUND] masip_mmc ==> 2024-04-24 05:04:17.034932 99.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/321785@cloud.masip.es parsing [default->21655577909] continue=false Dialplan: sofia/default/321785@cloud.masip.es Regex (PASS) [21655577909] destination_number(21655577909) =~ /21655577909/ break=on-false Dialplan: sofia/default/321785@cloud.masip.es Action set(effective_destination_number=21655577909) Dialplan: sofia/default/321785@cloud.masip.es Action set(execute_on_answer_1=sched_hangup +179.7984496124 normal_clearing) Dialplan: sofia/default/321785@cloud.masip.es Action set(callstart=2024-04-24 05:04:17) Dialplan: sofia/default/321785@cloud.masip.es Action set(hangup_after_bridge=true) Dialplan: sofia/default/321785@cloud.masip.es Action set(continue_on_fail=!USER_BUSY) Dialplan: sofia/default/321785@cloud.masip.es Action set(account_id=151) Dialplan: sofia/default/321785@cloud.masip.es Action set(parent_id=0) Dialplan: sofia/default/321785@cloud.masip.es Action set(entity_id=0) Dialplan: sofia/default/321785@cloud.masip.es Action set(call_processed=internal) Dialplan: sofia/default/321785@cloud.masip.es Action set(call_direction=outbound) Dialplan: sofia/default/321785@cloud.masip.es Action set(accountname=default) Dialplan: sofia/default/321785@cloud.masip.es Action set(origination_rates=ID:174680|CODE:^2165.*|DESTINATION:Tunisia - Mobile - Orange|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:3.09600|INC:1|INITIALBLOCK:1|RATEGROUP:4|MARKUP:0|CI:0|ACCID:151) Dialplan: sofia/default/321785@cloud.masip.es Action set(original_caller_id_name=321785) Dialplan: sofia/default/321785@cloud.masip.es Action set(original_caller_id_number=321785) Dialplan: sofia/default/321785@cloud.masip.es Action set(effective_caller_id_name=321785) Dialplan: sofia/default/321785@cloud.masip.es Action set(effective_caller_id_number=321785) Dialplan: sofia/default/321785@cloud.masip.es Action set(calltype=STANDARD) Dialplan: sofia/default/321785@cloud.masip.es Action set(termination_rates=ID:305149|CODE:^2165.*|DESTINATION:Tunisia - Mobile ORANGE|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.69000|INC:1|INITIALBLOCK:0|TRUNK:8|PROVIDER:113) Dialplan: sofia/default/321785@cloud.masip.es Action set(trunk_id=8) Dialplan: sofia/default/321785@cloud.masip.es Action set(provider_id=113) Dialplan: sofia/default/321785@cloud.masip.es Action set(rate_flag=2) Dialplan: sofia/default/321785@cloud.masip.es Action set(force_trunk_flag=0) Dialplan: sofia/default/321785@cloud.masip.es Action export(presence_data=trunk_id=8) Dialplan: sofia/default/321785@cloud.masip.es Action set(intcall=0) Dialplan: sofia/default/321785@cloud.masip.es Action export(presence_id=21655577909) Dialplan: sofia/default/321785@cloud.masip.es Action export(presence_data=x|||INextrix(321785)|||^2165.* // Tunisia - Mobile - Orange // 3.09600 |||AIRE // ^2165.* // Tunisia - Mobile ORANGE // 0.69000 // trunk_id=8|||STD|||103.240.35.46) Dialplan: sofia/default/321785@cloud.masip.es Action bridge([leg_timeout=0,sip_cid_type=pid,absolute_codec_string=^^:PCMA:G729:PCMU]sofia/gateway/Aire_Ppal/0021655577909;fs_path=sip:34.252.123.120:5060) Dialplan: sofia/default/321785@cloud.masip.es Action bridge([leg_timeout=0,sip_cid_type=pid,absolute_codec_string=^^:PCMA:G729:PCMU]sofia/gateway/Aire_Bckp/0021655577909;fs_path=sip:34.252.123.120:5060) Dialplan: sofia/default/321785@cloud.masip.es Action set(effective_caller_id_name=321785) Dialplan: sofia/default/321785@cloud.masip.es Action set(effective_caller_id_number=321785) Dialplan: sofia/default/321785@cloud.masip.es Action set(calltype=STANDARD) Dialplan: sofia/default/321785@cloud.masip.es Action set(termination_rates=ID:527892|CODE:^2165.*|DESTINATION:Tunisia - Mobile - Orange|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.61900|INC:1|INITIALBLOCK:1|TRUNK:11|PROVIDER:164) Dialplan: sofia/default/321785@cloud.masip.es Action set(trunk_id=11) Dialplan: sofia/default/321785@cloud.masip.es Action set(provider_id=164) Dialplan: sofia/default/321785@cloud.masip.es Action set(rate_flag=2) Dialplan: sofia/default/321785@cloud.masip.es Action set(force_trunk_flag=0) Dialplan: sofia/default/321785@cloud.masip.es Action export(presence_data=trunk_id=11) Dialplan: sofia/default/321785@cloud.masip.es Action set(intcall=0) Dialplan: sofia/default/321785@cloud.masip.es Action export(presence_id=21655577909) Dialplan: sofia/default/321785@cloud.masip.es Action export(presence_data=x|||INextrix(321785)|||^2165.* // Tunisia - Mobile - Orange // 3.09600 |||ALISYS // ^2165.* // Tunisia - Mobile - Orange // 0.61900 // trunk_id=11|||STD|||103.240.35.46) Dialplan: sofia/default/321785@cloud.masip.es Action bridge([leg_timeout=0,sip_cid_type=pid,absolute_codec_string=^^:PCMA:G729:PCMU]sofia/gateway/Alisys/800021655577909;fs_path=sip:34.252.123.120:5060) 2024-04-24 05:04:17.034932 99.80% [DEBUG] switch_core_state_machine.c:281 (sofia/default/321785@cloud.masip.es) State Change CS_ROUTING -> CS_EXECUTE 2024-04-24 05:04:17.034932 99.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/321785@cloud.masip.es) State ROUTING going to sleep 2024-04-24 05:04:17.034932 99.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/321785@cloud.masip.es) Running State Change CS_EXECUTE (Cur 1 Tot 28) 2024-04-24 05:04:17.034932 99.80% [DEBUG] switch_core_state_machine.c:647 (sofia/default/321785@cloud.masip.es) State EXECUTE 2024-04-24 05:04:17.034932 99.80% [DEBUG] mod_sofia.c:213 sofia/default/321785@cloud.masip.es SOFIA EXECUTE 2024-04-24 05:04:17.034932 99.80% [DEBUG] switch_core_state_machine.c:323 sofia/default/321785@cloud.masip.es Standard EXECUTE EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(effective_destination_number=21655577909) 2024-04-24 05:04:17.034932 99.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/321785@cloud.masip.es [effective_destination_number]=[21655577909] EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(execute_on_answer_1=sched_hangup +179.7984496124 normal_clearing) 2024-04-24 05:04:17.034932 99.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/321785@cloud.masip.es [execute_on_answer_1]=[sched_hangup +179.7984496124 normal_clearing] EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(callstart=2024-04-24 05:04:17) 2024-04-24 05:04:17.034932 99.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/321785@cloud.masip.es [callstart]=[2024-04-24 05:04:17] EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(hangup_after_bridge=true) 2024-04-24 05:04:17.034932 99.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/321785@cloud.masip.es [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(continue_on_fail=!USER_BUSY) 2024-04-24 05:04:17.034932 99.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/321785@cloud.masip.es [continue_on_fail]=[!USER_BUSY] EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(account_id=151) 2024-04-24 05:04:17.034932 99.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/321785@cloud.masip.es [account_id]=[151] EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(parent_id=0) 2024-04-24 05:04:17.034932 99.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/321785@cloud.masip.es [parent_id]=[0] EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(entity_id=0) 2024-04-24 05:04:17.034932 99.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/321785@cloud.masip.es [entity_id]=[0] EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(call_processed=internal) 2024-04-24 05:04:17.034932 99.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/321785@cloud.masip.es [call_processed]=[internal] EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(call_direction=outbound) 2024-04-24 05:04:17.034932 99.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/321785@cloud.masip.es [call_direction]=[outbound] EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(accountname=default) 2024-04-24 05:04:17.034932 99.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/321785@cloud.masip.es [accountname]=[default] EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(origination_rates=ID:174680|CODE:^2165.*|DESTINATION:Tunisia - Mobile - Orange|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:3.09600|INC:1|INITIALBLOCK:1|RATEGROUP:4|MARKUP:0|CI:0|ACCID:151) 2024-04-24 05:04:17.034932 99.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/321785@cloud.masip.es [origination_rates]=[ID:174680|CODE:^2165.*|DESTINATION:Tunisia - Mobile - Orange|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:3.09600|INC:1|INITIALBLOCK:1|RATEGROUP:4|MARKUP:0|CI:0|ACCID:151] EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(original_caller_id_name=321785) 2024-04-24 05:04:17.034932 99.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/321785@cloud.masip.es [original_caller_id_name]=[321785] EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(original_caller_id_number=321785) 2024-04-24 05:04:17.034932 99.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/321785@cloud.masip.es [original_caller_id_number]=[321785] EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(effective_caller_id_name=321785) 2024-04-24 05:04:17.034932 99.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/321785@cloud.masip.es [effective_caller_id_name]=[321785] EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(effective_caller_id_number=321785) 2024-04-24 05:04:17.034932 99.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/321785@cloud.masip.es [effective_caller_id_number]=[321785] EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(calltype=STANDARD) 2024-04-24 05:04:17.034932 99.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/321785@cloud.masip.es [calltype]=[STANDARD] EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(termination_rates=ID:305149|CODE:^2165.*|DESTINATION:Tunisia - Mobile ORANGE|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.69000|INC:1|INITIALBLOCK:0|TRUNK:8|PROVIDER:113) 2024-04-24 05:04:17.034932 99.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/321785@cloud.masip.es [termination_rates]=[ID:305149|CODE:^2165.*|DESTINATION:Tunisia - Mobile ORANGE|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.69000|INC:1|INITIALBLOCK:0|TRUNK:8|PROVIDER:113] EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(trunk_id=8) 2024-04-24 05:04:17.034932 99.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/321785@cloud.masip.es [trunk_id]=[8] EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(provider_id=113) 2024-04-24 05:04:17.034932 99.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/321785@cloud.masip.es [provider_id]=[113] EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(rate_flag=2) 2024-04-24 05:04:17.034932 99.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/321785@cloud.masip.es [rate_flag]=[2] EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(force_trunk_flag=0) 2024-04-24 05:04:17.034932 99.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/321785@cloud.masip.es [force_trunk_flag]=[0] EXECUTE [depth=0] sofia/default/321785@cloud.masip.es export(presence_data=trunk_id=8) 2024-04-24 05:04:17.034932 99.80% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=8] EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(intcall=0) 2024-04-24 05:04:17.034932 99.80% [DEBUG] mod_dptools.c:1673 SET sofia/default/321785@cloud.masip.es [intcall]=[0] EXECUTE [depth=0] sofia/default/321785@cloud.masip.es export(presence_id=21655577909) 2024-04-24 05:04:17.034932 99.80% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[21655577909] EXECUTE [depth=0] sofia/default/321785@cloud.masip.es export(presence_data=x|||INextrix(321785)|||^2165.* // Tunisia - Mobile - Orange // 3.09600 |||AIRE // ^2165.* // Tunisia - Mobile ORANGE // 0.69000 // trunk_id=8|||STD|||103.240.35.46) 2024-04-24 05:04:17.034932 99.80% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||INextrix(321785)|||^2165.* // Tunisia - Mobile - Orange // 3.09600 |||AIRE // ^2165.* // Tunisia - Mobile ORANGE // 0.69000 // trunk_id=8|||STD|||103.240.35.46] EXECUTE [depth=0] sofia/default/321785@cloud.masip.es bridge([leg_timeout=0,sip_cid_type=pid,absolute_codec_string=^^:PCMA:G729:PCMU]sofia/gateway/Aire_Ppal/0021655577909;fs_path=sip:34.252.123.120:5060) 2024-04-24 05:04:17.034932 99.80% [DEBUG] switch_channel.c:1269 sofia/default/321785@cloud.masip.es EXPORTING[export_vars] [sip_h_P-masip_custom_flag]=[true] to event 2024-04-24 05:04:17.034932 99.80% [DEBUG] switch_channel.c:1269 sofia/default/321785@cloud.masip.es EXPORTING[export_vars] [presence_data]=[x|||INextrix(321785)|||^2165.* // Tunisia - Mobile - Orange // 3.09600 |||AIRE // ^2165.* // Tunisia - Mobile ORANGE // 0.69000 // trunk_id=8|||STD|||103.240.35.46] to event 2024-04-24 05:04:17.034932 99.80% [DEBUG] switch_channel.c:1269 sofia/default/321785@cloud.masip.es EXPORTING[export_vars] [presence_id]=[21655577909] to event 2024-04-24 05:04:17.034932 99.80% [DEBUG] switch_channel.c:1269 sofia/default/321785@cloud.masip.es EXPORTING[export_vars] [presence_data]=[x|||INextrix(321785)|||^2165.* // Tunisia - Mobile - Orange // 3.09600 |||AIRE // ^2165.* // Tunisia - Mobile ORANGE // 0.69000 // trunk_id=8|||STD|||103.240.35.46] to event 2024-04-24 05:04:17.034932 99.80% [DEBUG] switch_ivr_originate.c:2291 Parsing global variables 2024-04-24 05:04:17.034932 99.80% [DEBUG] switch_ivr_originate.c:2853 Parsing session specific variables 2024-04-24 05:04:17.034932 99.80% [NOTICE] switch_channel.c:1123 New Channel sofia/default/0021655577909 [910b2913-a987-4de7-8695-5c2d7509f2fc] 2024-04-24 05:04:17.034932 99.80% [DEBUG] mod_sofia.c:5117 (sofia/default/0021655577909) State Change CS_NEW -> CS_INIT 2024-04-24 05:04:17.034932 99.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0021655577909) Running State Change CS_INIT (Cur 2 Tot 29) 2024-04-24 05:04:17.034932 99.80% [DEBUG] switch_core_state_machine.c:624 (sofia/default/0021655577909) State INIT 2024-04-24 05:04:17.034932 99.80% [DEBUG] mod_sofia.c:97 sofia/default/0021655577909 SOFIA INIT 2024-04-24 05:04:17.034932 99.80% [DEBUG] sofia_glue.c:1623 sip:34.252.123.120:5060 Setting proxy route to sofia/default/0021655577909 2024-04-24 05:04:17.034932 99.80% [INFO] sofia_glue.c:1654 sofia/default/0021655577909 sending invite call-id: (null) 2024-04-24 05:04:17.034932 99.80% [DEBUG] sofia_glue.c:1657 sofia/default/0021655577909 sending invite version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit Local SDP: v=0 o=FreeSWITCH 1713904597 1713904598 IN IP4 54.228.192.40 s=FreeSWITCH c=IN IP4 54.228.192.40 t=0 0 m=audio 30460 RTP/AVP 8 18 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2024-04-24 05:04:17.034932 99.80% [DEBUG] switch_core_state_machine.c:40 sofia/default/0021655577909 Standard INIT 2024-04-24 05:04:17.034932 99.80% [DEBUG] switch_core_state_machine.c:48 (sofia/default/0021655577909) State Change CS_INIT -> CS_ROUTING 2024-04-24 05:04:17.034932 99.80% [DEBUG] switch_core_state_machine.c:624 (sofia/default/0021655577909) State INIT going to sleep 2024-04-24 05:04:17.034932 99.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0021655577909) Running State Change CS_ROUTING (Cur 2 Tot 29) 2024-04-24 05:04:17.034932 99.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/0021655577909) State ROUTING 2024-04-24 05:04:17.034932 99.80% [DEBUG] mod_sofia.c:158 sofia/default/0021655577909 SOFIA ROUTING 2024-04-24 05:04:17.034932 99.80% [DEBUG] switch_ivr_originate.c:67 (sofia/default/0021655577909) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2024-04-24 05:04:17.034932 99.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/0021655577909) State ROUTING going to sleep 2024-04-24 05:04:17.034932 99.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0021655577909) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 29) 2024-04-24 05:04:17.034932 99.80% [DEBUG] sofia.c:7487 Channel sofia/default/0021655577909 entering state [calling][0] 2024-04-24 05:04:17.034932 99.80% [DEBUG] switch_core_state_machine.c:659 (sofia/default/0021655577909) State CONSUME_MEDIA 2024-04-24 05:04:17.034932 99.80% [DEBUG] switch_core_state_machine.c:659 (sofia/default/0021655577909) State CONSUME_MEDIA going to sleep 2024-04-24 05:04:25.674928 99.80% [DEBUG] sofia.c:7487 Channel sofia/default/0021655577909 entering state [proceeding][180] 2024-04-24 05:04:25.674928 99.80% [NOTICE] sofia.c:7598 Ring-Ready sofia/default/0021655577909! 2024-04-24 05:04:25.674928 99.80% [DEBUG] switch_channel.c:3494 (sofia/default/0021655577909) Callstate Change DOWN -> RINGING 2024-04-24 05:04:25.694927 99.80% [NOTICE] mod_sofia.c:2516 Ring-Ready sofia/default/321785@cloud.masip.es! 2024-04-24 05:04:25.694927 99.80% [DEBUG] sofia.c:7487 Channel sofia/default/321785@cloud.masip.es entering state [early][180] 2024-04-24 05:04:25.694927 99.80% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/321785@cloud.masip.es! 2024-04-24 05:05:17.014923 99.73% [NOTICE] switch_ivr_originate.c:3809 Hangup sofia/default/0021655577909 [CS_CONSUME_MEDIA] [NO_ANSWER] 2024-04-24 05:05:17.014923 99.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0021655577909) Running State Change CS_HANGUP (Cur 2 Tot 29) 2024-04-24 05:05:17.014923 99.73% [DEBUG] switch_core_state_machine.c:844 (sofia/default/0021655577909) Callstate Change RINGING -> HANGUP 2024-04-24 05:05:17.014923 99.73% [DEBUG] switch_core_state_machine.c:846 (sofia/default/0021655577909) State HANGUP 2024-04-24 05:05:17.014923 99.73% [DEBUG] mod_sofia.c:468 Channel sofia/default/0021655577909 hanging up, cause: NO_ANSWER 2024-04-24 05:05:17.014923 99.73% [INFO] mod_dptools.c:3637 Originate Failed. Cause: NO_ANSWER 2024-04-24 05:05:17.014923 99.73% [NOTICE] switch_channel.c:4993 Hangup sofia/default/321785@cloud.masip.es [CS_EXECUTE] [NO_ANSWER] 2024-04-24 05:05:17.014923 99.73% [DEBUG] switch_core_session.c:2973 sofia/default/321785@cloud.masip.es skip receive message [PHONE_EVENT] (channel is hungup already) 2024-04-24 05:05:17.014923 99.73% [DEBUG] switch_core_state_machine.c:647 (sofia/default/321785@cloud.masip.es) State EXECUTE going to sleep 2024-04-24 05:05:17.014923 99.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/321785@cloud.masip.es) Running State Change CS_HANGUP (Cur 2 Tot 29) 2024-04-24 05:05:17.014923 99.73% [DEBUG] mod_sofia.c:536 Sending CANCEL to sofia/default/0021655577909 2024-04-24 05:05:17.014923 99.73% [DEBUG] switch_core_state_machine.c:59 sofia/default/0021655577909 Standard HANGUP, cause: NO_ANSWER 2024-04-24 05:05:17.014923 99.73% [DEBUG] switch_core_state_machine.c:846 (sofia/default/0021655577909) State HANGUP going to sleep 2024-04-24 05:05:17.014923 99.73% [DEBUG] switch_core_state_machine.c:616 (sofia/default/0021655577909) State Change CS_HANGUP -> CS_REPORTING 2024-04-24 05:05:17.014923 99.73% [DEBUG] switch_core_state_machine.c:844 (sofia/default/321785@cloud.masip.es) Callstate Change RINGING -> HANGUP 2024-04-24 05:05:17.014923 99.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0021655577909) Running State Change CS_REPORTING (Cur 2 Tot 29) 2024-04-24 05:05:17.014923 99.73% [DEBUG] switch_core_state_machine.c:846 (sofia/default/321785@cloud.masip.es) State HANGUP 2024-04-24 05:05:17.014923 99.73% [DEBUG] mod_sofia.c:468 Channel sofia/default/321785@cloud.masip.es hanging up, cause: NO_ANSWER 2024-04-24 05:05:17.014923 99.73% [DEBUG] switch_core_state_machine.c:932 (sofia/default/0021655577909) State REPORTING 2024-04-24 05:05:17.014923 99.73% [INFO] mod_json_cdr.c:272 Process [910b2913-a987-4de7-8695-5c2d7509f2fc.cdr.json] 2024-04-24 05:05:17.014923 99.73% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 480 2024-04-24 05:05:17.014923 99.73% [DEBUG] switch_core_state_machine.c:59 sofia/default/321785@cloud.masip.es Standard HANGUP, cause: NO_ANSWER 2024-04-24 05:05:17.014923 99.73% [DEBUG] switch_core_state_machine.c:846 (sofia/default/321785@cloud.masip.es) State HANGUP going to sleep 2024-04-24 05:05:17.014923 99.73% [DEBUG] switch_core_state_machine.c:616 (sofia/default/321785@cloud.masip.es) State Change CS_HANGUP -> CS_REPORTING 2024-04-24 05:05:17.014923 99.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/321785@cloud.masip.es) Running State Change CS_REPORTING (Cur 2 Tot 29) 2024-04-24 05:05:17.014923 99.73% [DEBUG] switch_core_state_machine.c:932 (sofia/default/321785@cloud.masip.es) State REPORTING 2024-04-24 05:05:17.014923 99.73% [INFO] mod_json_cdr.c:272 Process [12dd2ae7-ea0e-44e0-b792-c3ea0b8ae591.cdr.json] 2024-04-24 05:05:17.014923 99.73% [DEBUG] switch_core_state_machine.c:168 sofia/default/0021655577909 Standard REPORTING, cause: NO_ANSWER 2024-04-24 05:05:17.014923 99.73% [DEBUG] switch_core_state_machine.c:932 (sofia/default/0021655577909) State REPORTING going to sleep 2024-04-24 05:05:17.014923 99.73% [DEBUG] switch_core_state_machine.c:607 (sofia/default/0021655577909) State Change CS_REPORTING -> CS_DESTROY 2024-04-24 05:05:17.014923 99.73% [DEBUG] switch_core_session.c:1743 Session 29 (sofia/default/0021655577909) Locked, Waiting on external entities 2024-04-24 05:05:17.014923 99.73% [NOTICE] switch_core_session.c:1761 Session 29 (sofia/default/0021655577909) Ended 2024-04-24 05:05:17.014923 99.73% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/0021655577909 [CS_DESTROY] 2024-04-24 05:05:17.034925 99.73% [DEBUG] switch_core_state_machine.c:735 (sofia/default/0021655577909) Running State Change CS_DESTROY (Cur 1 Tot 29) 2024-04-24 05:05:17.034925 99.73% [DEBUG] switch_core_state_machine.c:745 (sofia/default/0021655577909) State DESTROY 2024-04-24 05:05:17.034925 99.73% [DEBUG] mod_sofia.c:379 sofia/default/0021655577909 SOFIA DESTROY 2024-04-24 05:05:17.034925 99.73% [DEBUG] switch_core_state_machine.c:175 sofia/default/0021655577909 Standard DESTROY 2024-04-24 05:05:17.034925 99.73% [DEBUG] switch_core_state_machine.c:745 (sofia/default/0021655577909) State DESTROY going to sleep 2024-04-24 05:05:17.054924 99.73% [DEBUG] switch_core_state_machine.c:168 sofia/default/321785@cloud.masip.es Standard REPORTING, cause: NO_ANSWER 2024-04-24 05:05:17.054924 99.73% [DEBUG] switch_core_state_machine.c:932 (sofia/default/321785@cloud.masip.es) State REPORTING going to sleep 2024-04-24 05:05:17.054924 99.73% [DEBUG] switch_core_state_machine.c:607 (sofia/default/321785@cloud.masip.es) State Change CS_REPORTING -> CS_DESTROY 2024-04-24 05:05:17.054924 99.73% [DEBUG] switch_core_session.c:1743 Session 28 (sofia/default/321785@cloud.masip.es) Locked, Waiting on external entities 2024-04-24 05:05:17.054924 99.73% [NOTICE] switch_core_session.c:1761 Session 28 (sofia/default/321785@cloud.masip.es) Ended 2024-04-24 05:05:17.054924 99.73% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/321785@cloud.masip.es [CS_DESTROY] 2024-04-24 05:05:17.054924 99.73% [DEBUG] switch_core_state_machine.c:735 (sofia/default/321785@cloud.masip.es) Running State Change CS_DESTROY (Cur 0 Tot 29) 2024-04-24 05:05:17.054924 99.73% [DEBUG] switch_core_state_machine.c:745 (sofia/default/321785@cloud.masip.es) State DESTROY 2024-04-24 05:05:17.054924 99.73% [DEBUG] mod_sofia.c:379 sofia/default/321785@cloud.masip.es SOFIA DESTROY 2024-04-24 05:05:17.054924 99.73% [DEBUG] switch_core_state_machine.c:175 sofia/default/321785@cloud.masip.es Standard DESTROY 2024-04-24 05:05:17.054924 99.73% [DEBUG] switch_core_state_machine.c:745 (sofia/default/321785@cloud.masip.es) State DESTROY going to sleep freeswitch@ip-10-0-1-201> /exit