From Scanty Frog, 1 Week ago, written in HTML5.
- view diff
Embed
  1. 2024-04-24 02:23:09.302938 99.87% [NOTICE] switch_channel.c:1123 New Channel sofia/default/321785@cloud.masip.es [b9ccc6d0-8dca-467b-b761-ce7b648533d5]
  2. 2024-04-24 02:23:09.302938 99.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/321785@cloud.masip.es) Running State Change CS_NEW (Cur 1 Tot 14)
  3. 2024-04-24 02:23:09.302938 99.87% [INFO] sofia.c:10462 sofia/default/321785@cloud.masip.es receiving invite from 34.243.39.183:5060 version: 1.10.7 -release 64bit call-id: Y2Y3MmJiN2I1MjhhN2JmODYwZTU0NTQzODkyN2Y0YTQ.
  4. 2024-04-24 02:23:09.302938 99.87% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 34.243.39.183:0.
  5. 2024-04-24 02:23:09.302938 99.87% [DEBUG] sofia.c:10585 IP 34.243.39.183 Approved by acl "default[]". Access Granted.
  6. 2024-04-24 02:23:09.302938 99.87% [DEBUG] sofia.c:7499 Channel sofia/default/321785@cloud.masip.es entering state [received][100]
  7. 2024-04-24 02:23:09.302938 99.87% [DEBUG] sofia.c:7509 Remote SDP:
  8. v=0
  9. o=Z 0 0 IN IP4 103.240.35.46
  10. s=Z
  11. c=IN IP4 103.240.35.46
  12. t=0 0
  13. m=audio 8000 RTP/AVP 3 110 8 0 98 101
  14. a=rtpmap:110 speex/8000
  15. a=rtpmap:98 iLBC/8000
  16. a=fmtp:98 mode=20
  17. a=rtpmap:101 telephone-event/8000
  18. a=fmtp:101 0-15
  19.  
  20. 2024-04-24 02:23:09.302938 99.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G729:18:8000:20:8000:1]
  21. 2024-04-24 02:23:09.302938 99.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  22. 2024-04-24 02:23:09.302938 99.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  23. 2024-04-24 02:23:09.302938 99.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[G729:18:8000:20:8000:1]
  24. 2024-04-24 02:23:09.302938 99.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  25. 2024-04-24 02:23:09.302938 99.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  26. 2024-04-24 02:23:09.302938 99.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  27. 2024-04-24 02:23:09.302938 99.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  28. 2024-04-24 02:23:09.302938 99.87% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  29. 2024-04-24 02:23:09.302938 99.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  30. 2024-04-24 02:23:09.302938 99.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  31. 2024-04-24 02:23:09.302938 99.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  32. 2024-04-24 02:23:09.302938 99.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  33. 2024-04-24 02:23:09.302938 99.87% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  34. 2024-04-24 02:23:09.302938 99.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[G729:18:8000:20:8000:1]
  35. 2024-04-24 02:23:09.302938 99.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  36. 2024-04-24 02:23:09.302938 99.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  37. 2024-04-24 02:23:09.302938 99.87% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  38. 2024-04-24 02:23:09.302938 99.87% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/321785@cloud.masip.es PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  39. 2024-04-24 02:23:09.302938 99.87% [DEBUG] switch_core_codec.c:111 sofia/default/321785@cloud.masip.es Original read codec set to PCMA:8
  40. 2024-04-24 02:23:09.302938 99.87% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  41. 2024-04-24 02:23:09.302938 99.87% [DEBUG] switch_core_media.c:5973 sofia/default/321785@cloud.masip.es Set 2833 dtmf send payload to 101 recv payload to 101
  42. 2024-04-24 02:23:09.302938 99.87% [DEBUG] sofia.c:7933 (sofia/default/321785@cloud.masip.es) State Change CS_NEW -> CS_INIT
  43. 2024-04-24 02:23:09.302938 99.87% [DEBUG] switch_core_state_machine.c:600 (sofia/default/321785@cloud.masip.es) State NEW
  44. 2024-04-24 02:23:09.302938 99.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/321785@cloud.masip.es) Running State Change CS_INIT (Cur 1 Tot 14)
  45. 2024-04-24 02:23:09.302938 99.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/321785@cloud.masip.es) State INIT
  46. 2024-04-24 02:23:09.302938 99.87% [DEBUG] mod_sofia.c:97 sofia/default/321785@cloud.masip.es SOFIA INIT
  47. 2024-04-24 02:23:09.302938 99.87% [DEBUG] switch_core_state_machine.c:40 sofia/default/321785@cloud.masip.es Standard INIT
  48. 2024-04-24 02:23:09.302938 99.87% [DEBUG] switch_core_state_machine.c:48 (sofia/default/321785@cloud.masip.es) State Change CS_INIT -> CS_ROUTING
  49. 2024-04-24 02:23:09.302938 99.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/321785@cloud.masip.es) State INIT going to sleep
  50. 2024-04-24 02:23:09.302938 99.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/321785@cloud.masip.es) Running State Change CS_ROUTING (Cur 1 Tot 14)
  51. 2024-04-24 02:23:09.302938 99.87% [DEBUG] switch_channel.c:2380 (sofia/default/321785@cloud.masip.es) Callstate Change DOWN -> RINGING
  52. 2024-04-24 02:23:09.302938 99.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/321785@cloud.masip.es) State ROUTING
  53. 2024-04-24 02:23:09.302938 99.87% [DEBUG] mod_sofia.c:158 sofia/default/321785@cloud.masip.es SOFIA ROUTING
  54. 2024-04-24 02:23:09.302938 99.87% [DEBUG] switch_core_state_machine.c:230 sofia/default/321785@cloud.masip.es Standard ROUTING
  55. 2024-04-24 02:23:09.302938 99.87% [INFO] mod_dialplan_xml.c:639 Processing 321785 <321785>->38933550965 in context default
  56. 2024-04-24 02:23:09.322936 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes','masip')                                                                                                                                                                                                            
  57. 2024-04-24 02:23:09.322936 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  58. 2024-04-24 02:23:09.322936 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 38933550965
  59. 2024-04-24 02:23:09.322936 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '38933550965' AND status=0 limit 1
  60. 2024-04-24 02:23:09.342931 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 321785 / 321785
  61. 2024-04-24 02:23:09.342931 99.87% [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 ="38933550965" LIMIT 1                                                                                                                                                      
  62. 2024-04-24 02:23:09.342931 99.87% [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="38933550965" limit 1                                                                                                                                                                                                  
  63. 2024-04-24 02:23:09.342931 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  64. 2024-04-24 02:23:09.342931 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 321785]
  65. 2024-04-24 02:23:09.342931 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "321785" AND deleted = 0 limit 1
  66. 2024-04-24 02:23:09.342931 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^38933550965.*' OR blocked_patterns = '^3893355096.*' OR blocked_patterns = '^389335509.*' OR blocked_patterns = '^38933550.*' OR blocked_patterns = '^3893355.*' OR blocked_patterns = '^389335.*' OR blocked_patterns = '^38933.*' OR blocked_patterns = '^3893.*' OR blocked_patterns = '^389.*' OR blocked_patterns = '^38.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 151 limit 1                                                                        
  67. 2024-04-24 02:23:09.342931 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="38933550965" AND (accountid = 0 OR status = 1) LIMIT 1
  68. 2024-04-24 02:23:09.342931 99.87% [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 = '^38933550965.*' OR patterns = '^3893355096.*' OR patterns = '^389335509.*' OR patterns = '^38933550.*' OR patterns = '^3893355.*' OR patterns = '^389335.*' OR patterns = '^38933.*' OR patterns = '^3893.*' OR patterns = '^389.*' OR patterns = '^38.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 151 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                                                                                                                                                                            
  69. 2024-04-24 02:23:09.342931 99.87% [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 ="38933550965" AND A.accountid = '151' limit 1                                                                                                                                                                
  70. 2024-04-24 02:23:09.342931 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 38933550965
  71. 2024-04-24 02:23:09.342931 99.87% [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 ="38933550965" LIMIT 1                                                                                                                                                      
  72. 2024-04-24 02:23:09.342931 99.87% [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="38933550965" limit 1                                                                                                                                                                                                  
  73. 2024-04-24 02:23:09.342931 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  74. 2024-04-24 02:23:09.342931 99.87% [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 = '38933550965' OR number = '3893355096' OR number = '389335509' OR number = '38933550' OR number = '3893355' OR number = '389335' OR number = '38933' OR number = '3893' OR number = '389' OR number = '38' OR number = '3' OR number ='--') OR (number = '38933550965*' OR number = '3893355096*' OR number = '389335509*' OR number = '38933550*' OR number = '3893355*' OR number = '389335*' OR number = '38933*' OR number = '3893*' OR number = '389*' OR number = '38*' 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 ='--') 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            
  75. 2024-04-24 02:23:09.342931 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  76. 2024-04-24 02:23:09.342931 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '38933550965' OR routing_prefix = '3893355096' OR routing_prefix = '389335509' OR routing_prefix = '38933550' OR routing_prefix = '3893355' OR routing_prefix = '389335' OR routing_prefix = '38933' OR routing_prefix = '3893' OR routing_prefix = '389' OR routing_prefix = '38' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1                                                                            
  77. 2024-04-24 02:23:09.362937 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  78. 2024-04-24 02:23:09.362937 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 151
  79. 2024-04-24 02:23:09.362937 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 321785
  80. 2024-04-24 02:23:09.362937 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 10
  81. 2024-04-24 02:23:09.362937 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  82. 2024-04-24 02:23:09.362937 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 4
  83. 2024-04-24 02:23:09.362937 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  84. 2024-04-24 02:23:09.362937 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  85. 2024-04-24 02:23:09.362937 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  86. 2024-04-24 02:23:09.362937 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  87. 2024-04-24 02:23:09.362937 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  88. 2024-04-24 02:23:09.362937 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^38933550965.*' OR pattern = '^3893355096.*' OR pattern = '^389335509.*' OR pattern = '^38933550.*' OR pattern = '^3893355.*' OR pattern = '^389335.*' OR pattern = '^38933.*' OR pattern = '^3893.*' OR pattern = '^389.*' OR pattern = '^38.*' OR pattern = '^3.*' 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                                                  
  89. 2024-04-24 02:23:09.362937 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  90. 2024-04-24 02:23:09.362937 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  91. 2024-04-24 02:23:09.362937 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 158115
  92. 2024-04-24 02:23:09.362937 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  93. 2024-04-24 02:23:09.362937 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  94. 2024-04-24 02:23:09.362937 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.15800
  95. 2024-04-24 02:23:09.362937 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Macedonia
  96. 2024-04-24 02:23:09.362937 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  97. 2024-04-24 02:23:09.362937 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 151
  98. 2024-04-24 02:23:09.362937 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  99. 2024-04-24 02:23:09.362937 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  100. 2024-04-24 02:23:09.362937 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  101. 2024-04-24 02:23:09.362937 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10 balance Accountid 151 !!!
  102. 2024-04-24 02:23:09.362937 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 8.6355785837651 minutes
  103. 2024-04-24 02:23:09.362937 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  104. <?xml version="1.0" encoding="UTF-8" standalone="no"?>                                                                                                                                                            
  105. <document type="freeswitch/xml">                                                                                                                                                                                  
  106. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  107. <context name="default">                                                                                                                                                                                          
  108. <extension name="38933550965">                                                                                                                                                                                    
  109. <condition field="destination_number" expression="38933550965">                                                                                                                                                    
  110. <action application="log" data="INFO ASTPP - API CALL"/>                                                                                                                                                          
  111. <action application="curl" data="https://cloud.masip.es/custom_curl/index -X POST destination_number=38933550965 -k"/>                                                                                            
  112. <action application="set" data='sip_h_P-masip_custom_flag=true'/>                                                                                                                                                  
  113. <action application="export" data='sip_h_P-masip_custom_flag=true'/>                                                                                                                                              
  114. <action application="sleep" data="3000"/>                                                                                                                                                                          
  115. <action application="transfer" data="38933550965 XML default"/>                                                                                                                                                    
  116. </condition>                                                                                                                                                                                                      
  117. </extension>                                                                                                                                                                                                      
  118. </context>                                                                                                                                                                                                        
  119. </section>                                                                                                                                                                                                        
  120. </document>                                                                                                                                                                                                        
  121. Dialplan: sofia/default/321785@cloud.masip.es parsing [default->38933550965] continue=false
  122. Dialplan: sofia/default/321785@cloud.masip.es Regex (PASS) [38933550965] destination_number(38933550965) =~ /38933550965/ break=on-false
  123. Dialplan: sofia/default/321785@cloud.masip.es Action log(INFO ASTPP - API CALL)
  124. Dialplan: sofia/default/321785@cloud.masip.es Action curl(https://cloud.masip.es/custom_curl/index -X POST destination_number=38933550965 -k)
  125. Dialplan: sofia/default/321785@cloud.masip.es Action set(sip_h_P-masip_custom_flag=true)
  126. Dialplan: sofia/default/321785@cloud.masip.es Action export(sip_h_P-masip_custom_flag=true)
  127. Dialplan: sofia/default/321785@cloud.masip.es Action sleep(3000)
  128. Dialplan: sofia/default/321785@cloud.masip.es Action transfer(38933550965 XML default)
  129. 2024-04-24 02:23:09.362937 99.87% [DEBUG] switch_core_state_machine.c:281 (sofia/default/321785@cloud.masip.es) State Change CS_ROUTING -> CS_EXECUTE
  130. 2024-04-24 02:23:09.362937 99.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/321785@cloud.masip.es) State ROUTING going to sleep
  131. 2024-04-24 02:23:09.362937 99.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/321785@cloud.masip.es) Running State Change CS_EXECUTE (Cur 1 Tot 14)
  132. 2024-04-24 02:23:09.362937 99.87% [DEBUG] switch_core_state_machine.c:647 (sofia/default/321785@cloud.masip.es) State EXECUTE
  133. 2024-04-24 02:23:09.362937 99.87% [DEBUG] mod_sofia.c:213 sofia/default/321785@cloud.masip.es SOFIA EXECUTE
  134. 2024-04-24 02:23:09.362937 99.87% [DEBUG] switch_core_state_machine.c:323 sofia/default/321785@cloud.masip.es Standard EXECUTE
  135. EXECUTE [depth=0] sofia/default/321785@cloud.masip.es log(INFO ASTPP - API CALL)
  136. 2024-04-24 02:23:09.362937 99.87% [INFO] mod_dptools.c:1879 ASTPP - API CALL
  137. EXECUTE [depth=0] sofia/default/321785@cloud.masip.es curl(https://cloud.masip.es/custom_curl/index -X POST destination_number=38933550965 -k)
  138. 2024-04-24 02:23:09.362937 99.87% [DEBUG] mod_curl.c:200 method: POST, url: https://cloud.masip.es/custom_curl/index, content-type: (null)
  139. 2024-04-24 02:23:09.362937 99.87% [WARNING] mod_curl.c:223 Not verifying TLS cert for https://cloud.masip.es/custom_curl/index; connection is not secure
  140. 2024-04-24 02:23:09.362937 99.87% [DEBUG] mod_curl.c:252 Post data: destination_number=38933550965
  141. EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(sip_h_P-masip_custom_flag=true)
  142. 2024-04-24 02:23:09.442938 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [sip_h_P-masip_custom_flag]=[true]
  143. EXECUTE [depth=0] sofia/default/321785@cloud.masip.es export(sip_h_P-masip_custom_flag=true)
  144. 2024-04-24 02:23:09.442938 99.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_h_P-masip_custom_flag]=[true]
  145. EXECUTE [depth=0] sofia/default/321785@cloud.masip.es sleep(3000)
  146. EXECUTE [depth=0] sofia/default/321785@cloud.masip.es transfer(38933550965 XML default)
  147. 2024-04-24 02:23:12.442938 99.87% [DEBUG] switch_ivr.c:2289 (sofia/default/321785@cloud.masip.es) State Change CS_EXECUTE -> CS_ROUTING
  148. 2024-04-24 02:23:12.442938 99.87% [NOTICE] switch_ivr.c:2296 Transfer sofia/default/321785@cloud.masip.es to XML[38933550965@default]
  149. 2024-04-24 02:23:12.442938 99.87% [DEBUG] switch_core_state_machine.c:647 (sofia/default/321785@cloud.masip.es) State EXECUTE going to sleep
  150. 2024-04-24 02:23:12.442938 99.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/321785@cloud.masip.es) Running State Change CS_ROUTING (Cur 1 Tot 14)
  151. 2024-04-24 02:23:12.442938 99.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/321785@cloud.masip.es) State ROUTING
  152. 2024-04-24 02:23:12.442938 99.87% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
  153. 2024-04-24 02:23:12.442938 99.87% [DEBUG] mod_sofia.c:158 sofia/default/321785@cloud.masip.es SOFIA ROUTING
  154. 2024-04-24 02:23:12.442938 99.87% [DEBUG] switch_core_state_machine.c:230 sofia/default/321785@cloud.masip.es Standard ROUTING
  155. 2024-04-24 02:23:12.442938 99.87% [INFO] mod_dialplan_xml.c:639 Processing 321785 <321785>->38933550965 in context default
  156. 2024-04-24 02:23:12.442938 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes','masip')                                                                                                                                                                                                            
  157. 2024-04-24 02:23:12.442938 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  158. 2024-04-24 02:23:12.442938 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 38933550965
  159. 2024-04-24 02:23:12.442938 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '38933550965' AND status=0 limit 1
  160. 2024-04-24 02:23:12.442938 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 321785 / 321785
  161. 2024-04-24 02:23:12.442938 99.87% [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 ="38933550965" LIMIT 1                                                                                                                                                      
  162. 2024-04-24 02:23:12.462938 99.87% [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="38933550965" limit 1                                                                                                                                                                                                  
  163. 2024-04-24 02:23:12.462938 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  164. 2024-04-24 02:23:12.462938 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 321785]
  165. 2024-04-24 02:23:12.462938 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "321785" AND deleted = 0 limit 1
  166. 2024-04-24 02:23:12.462938 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^38933550965.*' OR blocked_patterns = '^3893355096.*' OR blocked_patterns = '^389335509.*' OR blocked_patterns = '^38933550.*' OR blocked_patterns = '^3893355.*' OR blocked_patterns = '^389335.*' OR blocked_patterns = '^38933.*' OR blocked_patterns = '^3893.*' OR blocked_patterns = '^389.*' OR blocked_patterns = '^38.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 151 limit 1                                                                        
  167. 2024-04-24 02:23:12.462938 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="38933550965" AND (accountid = 0 OR status = 1) LIMIT 1
  168. 2024-04-24 02:23:12.462938 99.87% [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 = '^38933550965.*' OR patterns = '^3893355096.*' OR patterns = '^389335509.*' OR patterns = '^38933550.*' OR patterns = '^3893355.*' OR patterns = '^389335.*' OR patterns = '^38933.*' OR patterns = '^3893.*' OR patterns = '^389.*' OR patterns = '^38.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 151 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                                                                                                                                                                            
  169. 2024-04-24 02:23:12.462938 99.87% [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 ="38933550965" AND A.accountid = '151' limit 1                                                                                                                                                                
  170. 2024-04-24 02:23:12.462938 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 38933550965
  171. 2024-04-24 02:23:12.462938 99.87% [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 ="38933550965" LIMIT 1                                                                                                                                                      
  172. 2024-04-24 02:23:12.462938 99.87% [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="38933550965" limit 1                                                                                                                                                                                                  
  173. 2024-04-24 02:23:12.462938 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  174. 2024-04-24 02:23:12.462938 99.87% [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 = '38933550965' OR number = '3893355096' OR number = '389335509' OR number = '38933550' OR number = '3893355' OR number = '389335' OR number = '38933' OR number = '3893' OR number = '389' OR number = '38' OR number = '3' OR number ='--') OR (number = '38933550965*' OR number = '3893355096*' OR number = '389335509*' OR number = '38933550*' OR number = '3893355*' OR number = '389335*' OR number = '38933*' OR number = '3893*' OR number = '389*' OR number = '38*' 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 ='--') 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            
  175. 2024-04-24 02:23:12.462938 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  176. 2024-04-24 02:23:12.462938 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '38933550965' OR routing_prefix = '3893355096' OR routing_prefix = '389335509' OR routing_prefix = '38933550' OR routing_prefix = '3893355' OR routing_prefix = '389335' OR routing_prefix = '38933' OR routing_prefix = '3893' OR routing_prefix = '389' OR routing_prefix = '38' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1                                                                            
  177. 2024-04-24 02:23:12.462938 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  178. 2024-04-24 02:23:12.462938 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 151
  179. 2024-04-24 02:23:12.462938 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 321785
  180. 2024-04-24 02:23:12.462938 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 10
  181. 2024-04-24 02:23:12.462938 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  182. 2024-04-24 02:23:12.462938 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 4
  183. 2024-04-24 02:23:12.462938 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  184. 2024-04-24 02:23:12.462938 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  185. 2024-04-24 02:23:12.462938 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  186. 2024-04-24 02:23:12.482939 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  187. 2024-04-24 02:23:12.482939 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  188. 2024-04-24 02:23:12.482939 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^38933550965.*' OR pattern = '^3893355096.*' OR pattern = '^389335509.*' OR pattern = '^38933550.*' OR pattern = '^3893355.*' OR pattern = '^389335.*' OR pattern = '^38933.*' OR pattern = '^3893.*' OR pattern = '^389.*' OR pattern = '^38.*' OR pattern = '^3.*' 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                                                  
  189. 2024-04-24 02:23:12.482939 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  190. 2024-04-24 02:23:12.482939 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  191. 2024-04-24 02:23:12.482939 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 158115
  192. 2024-04-24 02:23:12.482939 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  193. 2024-04-24 02:23:12.482939 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  194. 2024-04-24 02:23:12.482939 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.15800
  195. 2024-04-24 02:23:12.482939 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Macedonia
  196. 2024-04-24 02:23:12.482939 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  197. 2024-04-24 02:23:12.482939 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 151
  198. 2024-04-24 02:23:12.482939 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  199. 2024-04-24 02:23:12.482939 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  200. 2024-04-24 02:23:12.482939 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  201. 2024-04-24 02:23:12.482939 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10 balance Accountid 151 !!!
  202. 2024-04-24 02:23:12.482939 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 8.6355785837651 minutes
  203. 2024-04-24 02:23:13.482936 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Query :SELECT trunk_id,nrn,mmc FROM masip_curl_data WHERE destination_number = '38933550965' order by id desc limit 1
  204. 2024-04-24 02:23:13.482936 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== MASIP Information Start ===================
  205. 2024-04-24 02:23:13.482936 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] MASIP Trunk ==>
  206. 2024-04-24 02:23:13.482936 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] MASIP NRN ==>
  207. 2024-04-24 02:23:13.482936 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] MASIP MMC ==>
  208. 2024-04-24 02:23:13.482936 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== MASIP Information Ends ====================
  209. 2024-04-24 02:23:13.482936 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  210. 2024-04-24 02:23:13.482936 99.87% [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
  211. 2024-04-24 02:23:13.482936 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] From DB - trunk_ids ==> 16,17,8,11
  212. 2024-04-24 02:23:13.482936 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] masip_trunk ==>
  213. 2024-04-24 02:23:13.482936 99.87% [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 = '^38933550965.*' OR pattern = '^3893355096.*' OR pattern = '^389335509.*' OR pattern = '^38933550.*' OR pattern = '^3893355.*' OR pattern = '^389335.*' OR pattern = '^38933.*' OR pattern = '^3893.*' OR pattern = '^389.*' OR pattern = '^38.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (16,17,8,11) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,16,17,8,11),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC                        
  214. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  215. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 540844
  216. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^389.*
  217. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Mac
  218. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  219. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  220. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^389.*
  221. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  222. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  223. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 16
  224. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Inextrix1
  225. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  226. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : Alisys
  227. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 113
  228. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  229. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : Dell
  230. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  231. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  232. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 540845
  233. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^389.*
  234. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : MAc
  235. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  236. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  237. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^389.*
  238. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  239. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  240. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 17
  241. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Inextrix2
  242. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  243. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : Aire_Bckp
  244. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 113
  245. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  246. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : HP
  247. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  248. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  249. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 300537
  250. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^389.*
  251. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Macedonia - Fixed
  252. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  253. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  254. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^389.*
  255. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  256. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 00
  257. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 8
  258. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Aire_Ppal
  259. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  260. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : Aire_Bckp
  261. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 113
  262. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  263. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : AIRE
  264. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  265. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  266. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 513150
  267. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^389.*
  268. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Macedonia
  269. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  270. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  271. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^389.*
  272. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  273. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 8000
  274. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 11
  275. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Alisys
  276. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  277. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  278. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 164
  279. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  280. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : ALISYS
  281. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  282. 2024-04-24 02:23:13.502943 99.87% [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                                                                                                                                                                                      
  283. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 8.6355785837651
  284. 2024-04-24 02:23:13.502943 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  285. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  286. 2024-04-24 02:23:13.502943 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  287. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML.LUA - XML - OUTBOUND] freeswitch_xml_outbound triggered !!!
  288. 2024-04-24 02:23:13.502943 99.87% [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                                                                                                                                                                
  289. 2024-04-24 02:23:13.502943 99.87% [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 = 16) AND status=0 limit 1                                                                                                                                                                    
  290. 2024-04-24 02:23:13.502943 99.87% [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 ="38933550965" LIMIT 1                                                                                                                                                      
  291. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML.LUA - XML - OUTBOUND] masip_nrn ==>
  292. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML.LUA - XML - OUTBOUND] masip_mmc ==>
  293. 2024-04-24 02:23:13.502943 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  294. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML.LUA - XML - OUTBOUND] freeswitch_xml_outbound triggered !!!
  295. 2024-04-24 02:23:13.502943 99.87% [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                                                                                                                                                                
  296. 2024-04-24 02:23:13.502943 99.87% [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 = 17) AND status=0 limit 1                                                                                                                                                                    
  297. 2024-04-24 02:23:13.502943 99.87% [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 ="38933550965" LIMIT 1                                                                                                                                                      
  298. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML.LUA - XML - OUTBOUND] masip_nrn ==>
  299. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML.LUA - XML - OUTBOUND] masip_mmc ==>
  300. 2024-04-24 02:23:13.502943 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  301. 2024-04-24 02:23:13.502943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML.LUA - XML - OUTBOUND] freeswitch_xml_outbound triggered !!!
  302. 2024-04-24 02:23:13.502943 99.87% [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                                                                                                                                                                
  303. 2024-04-24 02:23:13.502943 99.87% [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                                                                                                                                                                    
  304. 2024-04-24 02:23:13.522943 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :*/00.....38933550965
  305. 2024-04-24 02:23:13.522943 99.87% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 38933550965
  306. 2024-04-24 02:23:13.522943 99.87% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 0038933550965
  307. 2024-04-24 02:23:13.522943 99.87% [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 ="38933550965" LIMIT 1                                                                                                                                                      
  308. 2024-04-24 02:23:13.522943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML.LUA - XML - OUTBOUND] masip_nrn ==>
  309. 2024-04-24 02:23:13.522943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML.LUA - XML - OUTBOUND] masip_mmc ==>
  310. 2024-04-24 02:23:13.522943 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  311. 2024-04-24 02:23:13.522943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML.LUA - XML - OUTBOUND] freeswitch_xml_outbound triggered !!!
  312. 2024-04-24 02:23:13.522943 99.87% [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                                                                                                                                                                
  313. 2024-04-24 02:23:13.522943 99.87% [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                                                                                                                                                                    
  314. 2024-04-24 02:23:13.522943 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :*/8000.....38933550965
  315. 2024-04-24 02:23:13.522943 99.87% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 38933550965
  316. 2024-04-24 02:23:13.522943 99.87% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 800038933550965
  317. 2024-04-24 02:23:13.522943 99.87% [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 ="38933550965" LIMIT 1                                                                                                                                                      
  318. 2024-04-24 02:23:13.522943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML.LUA - XML - OUTBOUND] masip_nrn ==>
  319. 2024-04-24 02:23:13.522943 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML.LUA - XML - OUTBOUND] masip_mmc ==>
  320. 2024-04-24 02:23:13.522943 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  321. <?xml version="1.0" encoding="UTF-8" standalone="no"?>                                                                                                                                                            
  322. <document type="freeswitch/xml">                                                                                                                                                                                  
  323. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  324. <context name="default">                                                                                                                                                                                          
  325. <extension name="38933550965">                                                                                                                                                                                    
  326. <condition field="destination_number" expression="38933550965">                                                                                                                                                    
  327. <action application="set" data="effective_destination_number=38933550965"/>                                                                                                                                        
  328. <action application="set" data="execute_on_answer_1=sched_hangup +518.13471502591 normal_clearing"/>                                                                                                              
  329. <action application="set" data="callstart=2024-04-24 02:23:13"/>                                                                                                                                                  
  330. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  331. <action application="set" data="continue_on_fail=!USER_BUSY"/>                                                                                                                                                    
  332. <action application="set" data="account_id=151"/>                                                                                                                                                                  
  333. <action application="set" data="parent_id=0"/>                                                                                                                                                                    
  334. <action application="set" data="entity_id=0"/>                                                                                                                                                                    
  335. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  336. <action application="set" data="call_direction=outbound"/>                                                                                                                                                        
  337. <action application="set" data="accountname=default"/>                                                                                                                                                            
  338. <action application="set" data="origination_rates=ID:158115|CODE:^389.*|DESTINATION:Macedonia|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.15800|INC:1|INITIALBLOCK:1|RATEGROUP:4|MARKUP:0|CI:0|ACCID:151"/>
  339. <action application="set" data="original_caller_id_name=321785"/>                                                                                                                                                  
  340. <action application="set" data="original_caller_id_number=321785"/>                                                                                                                                                
  341.  
  342. <action application="set" data="effective_caller_id_name=321785"/>                                                                                                                                                
  343. <action application="set" data="effective_caller_id_number=321785"/>                                                                                                                                              
  344. <action application="set" data="calltype=STANDARD"/>                                                                                                                                                              
  345. <action application="set" data="termination_rates=ID:540844|CODE:^389.*|DESTINATION:Mac|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|TRUNK:16|PROVIDER:113"/>                        
  346. <action application="set" data="trunk_id=16"/>                                                                                                                                                                    
  347. <action application="set" data="provider_id=113"/>                                                                                                                                                                
  348. <action application="set" data="rate_flag=2"/>                                                                                                                                                                    
  349. <action application="set" data="force_trunk_flag=0"/>                                                                                                                                                              
  350. <action application="export" data="presence_data=trunk_id=16"/>                                                                                                                                                    
  351. <action application="set" data="intcall=0"/>                                                                                                                                                                      
  352. <action application="export" data="presence_id=38933550965"/>                                                                                                                                                      
  353. <action application="export" data="presence_data=x|||INextrix(321785)|||^389.* // Macedonia // 1.15800 |||Dell // ^389.* // Mac // 0.00000 // trunk_id=16|||STD|||103.240.35.46"/>                                
  354. <action application="bridge" data="[leg_timeout=0]sofia/gateway/Inextrix1/38933550965;fs_path=sip:34.243.39.183:5060"/>                                                                                            
  355. <action application="bridge" data="[leg_timeout=0]sofia/gateway/Alisys/38933550965;fs_path=sip:34.243.39.183:5060"/>                                                                                              
  356. <action application="set" data="effective_caller_id_name=321785"/>                                                                                                                                                
  357. <action application="set" data="effective_caller_id_number=321785"/>                                                                                                                                              
  358. <action application="set" data="calltype=STANDARD"/>                                                                                                                                                              
  359. <action application="set" data="termination_rates=ID:540845|CODE:^389.*|DESTINATION:MAc|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|TRUNK:17|PROVIDER:113"/>                        
  360. <action application="set" data="trunk_id=17"/>                                                                                                                                                                    
  361. <action application="set" data="provider_id=113"/>                                                                                                                                                                
  362. <action application="set" data="rate_flag=2"/>                                                                                                                                                                    
  363. <action application="set" data="force_trunk_flag=0"/>                                                                                                                                                              
  364. <action application="export" data="presence_data=trunk_id=17"/>                                                                                                                                                    
  365. <action application="set" data="intcall=0"/>                                                                                                                                                                      
  366. <action application="export" data="presence_id=38933550965"/>                                                                                                                                                      
  367. <action application="export" data="presence_data=x|||INextrix(321785)|||^389.* // Macedonia // 1.15800 |||HP // ^389.* // MAc // 0.00000 // trunk_id=17|||STD|||103.240.35.46"/>                                  
  368. <action application="bridge" data="[leg_timeout=0]sofia/gateway/Inextrix2/38933550965;fs_path=sip:34.243.39.183:5060"/>                                                                                            
  369. <action application="bridge" data="[leg_timeout=0]sofia/gateway/Aire_Bckp/38933550965;fs_path=sip:34.243.39.183:5060"/>                                                                                            
  370. <action application="set" data="effective_caller_id_name=321785"/>                                                                                                                                                
  371. <action application="set" data="effective_caller_id_number=321785"/>                                                                                                                                              
  372. <action application="set" data="calltype=STANDARD"/>                                                                                                                                                              
  373. <action application="set" data="termination_rates=ID:300537|CODE:^389.*|DESTINATION:Macedonia - Fixed|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.60000|INC:1|INITIALBLOCK:0|TRUNK:8|PROVIDER:113"/>          
  374. <action application="set" data="trunk_id=8"/>                                                                                                                                                                      
  375. <action application="set" data="provider_id=113"/>                                                                                                                                                                
  376. <action application="set" data="rate_flag=2"/>                                                                                                                                                                    
  377. <action application="set" data="force_trunk_flag=0"/>                                                                                                                                                              
  378. <action application="export" data="presence_data=trunk_id=8"/>                                                                                                                                                    
  379. <action application="set" data="intcall=0"/>                                                                                                                                                                      
  380. <action application="export" data="presence_id=38933550965"/>                                                                                                                                                      
  381. <action application="export" data="presence_data=x|||INextrix(321785)|||^389.* // Macedonia // 1.15800 |||AIRE // ^389.* // Macedonia - Fixed // 0.60000 // trunk_id=8|||STD|||103.240.35.46"/>                    
  382. <action application="bridge" data="[leg_timeout=0,sip_cid_type=pid,absolute_codec_string=^^:PCMA:G729:PCMU]sofia/gateway/Aire_Ppal/0038933550965;fs_path=sip:34.243.39.183:5060"/>                                
  383. <action application="bridge" data="[leg_timeout=0,sip_cid_type=pid,absolute_codec_string=^^:PCMA:G729:PCMU]sofia/gateway/Aire_Bckp/0038933550965;fs_path=sip:34.243.39.183:5060"/>                                
  384. <action application="set" data="effective_caller_id_name=321785"/>                                                                                                                                                
  385. <action application="set" data="effective_caller_id_number=321785"/>                                                                                                                                              
  386. <action application="set" data="calltype=STANDARD"/>                                                                                                                                                              
  387. <action application="set" data="termination_rates=ID:513150|CODE:^389.*|DESTINATION:Macedonia|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.23160|INC:1|INITIALBLOCK:1|TRUNK:11|PROVIDER:164"/>                  
  388. <action application="set" data="trunk_id=11"/>                                                                                                                                                                    
  389. <action application="set" data="provider_id=164"/>                                                                                                                                                                
  390. <action application="set" data="rate_flag=2"/>                                                                                                                                                                    
  391. <action application="set" data="force_trunk_flag=0"/>                                                                                                                                                              
  392. <action application="export" data="presence_data=trunk_id=11"/>                                                                                                                                                    
  393. <action application="set" data="intcall=0"/>                                                                                                                                                                      
  394. <action application="export" data="presence_id=38933550965"/>                                                                                                                                                      
  395. <action application="export" data="presence_data=x|||INextrix(321785)|||^389.* // Macedonia // 1.15800 |||ALISYS // ^389.* // Macedonia // 0.23160 // trunk_id=11|||STD|||103.240.35.46"/>                        
  396. <action application="bridge" data="[leg_timeout=0,sip_cid_type=pid,absolute_codec_string=^^:PCMA:G729:PCMU]sofia/gateway/Alisys/800038933550965;fs_path=sip:34.243.39.183:5060"/>                                  
  397. </condition>                                                                                                                                                                                                      
  398. </extension>                                                                                                                                                                                                      
  399. </context>                                                                                                                                                                                                        
  400. </section>                                                                                                                                                                                                        
  401. </document>                                                                                                                                                                                                        
  402. Dialplan: sofia/default/321785@cloud.masip.es parsing [default->38933550965] continue=false
  403. Dialplan: sofia/default/321785@cloud.masip.es Regex (PASS) [38933550965] destination_number(38933550965) =~ /38933550965/ break=on-false
  404. Dialplan: sofia/default/321785@cloud.masip.es Action set(effective_destination_number=38933550965)
  405. Dialplan: sofia/default/321785@cloud.masip.es Action set(execute_on_answer_1=sched_hangup +518.13471502591 normal_clearing)
  406. Dialplan: sofia/default/321785@cloud.masip.es Action set(callstart=2024-04-24 02:23:13)
  407. Dialplan: sofia/default/321785@cloud.masip.es Action set(hangup_after_bridge=true)
  408. Dialplan: sofia/default/321785@cloud.masip.es Action set(continue_on_fail=!USER_BUSY)
  409. Dialplan: sofia/default/321785@cloud.masip.es Action set(account_id=151)
  410. Dialplan: sofia/default/321785@cloud.masip.es Action set(parent_id=0)
  411. Dialplan: sofia/default/321785@cloud.masip.es Action set(entity_id=0)
  412. Dialplan: sofia/default/321785@cloud.masip.es Action set(call_processed=internal)
  413. Dialplan: sofia/default/321785@cloud.masip.es Action set(call_direction=outbound)
  414. Dialplan: sofia/default/321785@cloud.masip.es Action set(accountname=default)
  415. Dialplan: sofia/default/321785@cloud.masip.es Action set(origination_rates=ID:158115|CODE:^389.*|DESTINATION:Macedonia|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.15800|INC:1|INITIALBLOCK:1|RATEGROUP:4|MARKUP:0|CI:0|ACCID:151)                                                                                                                                                                                            
  416. Dialplan: sofia/default/321785@cloud.masip.es Action set(original_caller_id_name=321785)
  417. Dialplan: sofia/default/321785@cloud.masip.es Action set(original_caller_id_number=321785)
  418. Dialplan: sofia/default/321785@cloud.masip.es Action set(effective_caller_id_name=321785)
  419. Dialplan: sofia/default/321785@cloud.masip.es Action set(effective_caller_id_number=321785)
  420. Dialplan: sofia/default/321785@cloud.masip.es Action set(calltype=STANDARD)
  421. Dialplan: sofia/default/321785@cloud.masip.es Action set(termination_rates=ID:540844|CODE:^389.*|DESTINATION:Mac|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|TRUNK:16|PROVIDER:113)
  422. Dialplan: sofia/default/321785@cloud.masip.es Action set(trunk_id=16)
  423. Dialplan: sofia/default/321785@cloud.masip.es Action set(provider_id=113)
  424. Dialplan: sofia/default/321785@cloud.masip.es Action set(rate_flag=2)
  425. Dialplan: sofia/default/321785@cloud.masip.es Action set(force_trunk_flag=0)
  426. Dialplan: sofia/default/321785@cloud.masip.es Action export(presence_data=trunk_id=16)
  427. Dialplan: sofia/default/321785@cloud.masip.es Action set(intcall=0)
  428. Dialplan: sofia/default/321785@cloud.masip.es Action export(presence_id=38933550965)
  429. Dialplan: sofia/default/321785@cloud.masip.es Action export(presence_data=x|||INextrix(321785)|||^389.* // Macedonia // 1.15800 |||Dell // ^389.* // Mac // 0.00000 // trunk_id=16|||STD|||103.240.35.46)
  430. Dialplan: sofia/default/321785@cloud.masip.es Action bridge([leg_timeout=0]sofia/gateway/Inextrix1/38933550965;fs_path=sip:34.243.39.183:5060)
  431. Dialplan: sofia/default/321785@cloud.masip.es Action bridge([leg_timeout=0]sofia/gateway/Alisys/38933550965;fs_path=sip:34.243.39.183:5060)
  432. Dialplan: sofia/default/321785@cloud.masip.es Action set(effective_caller_id_name=321785)
  433. Dialplan: sofia/default/321785@cloud.masip.es Action set(effective_caller_id_number=321785)
  434. Dialplan: sofia/default/321785@cloud.masip.es Action set(calltype=STANDARD)
  435. Dialplan: sofia/default/321785@cloud.masip.es Action set(termination_rates=ID:540845|CODE:^389.*|DESTINATION:MAc|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|TRUNK:17|PROVIDER:113)
  436. Dialplan: sofia/default/321785@cloud.masip.es Action set(trunk_id=17)
  437. Dialplan: sofia/default/321785@cloud.masip.es Action set(provider_id=113)
  438. Dialplan: sofia/default/321785@cloud.masip.es Action set(rate_flag=2)
  439. Dialplan: sofia/default/321785@cloud.masip.es Action set(force_trunk_flag=0)
  440. Dialplan: sofia/default/321785@cloud.masip.es Action export(presence_data=trunk_id=17)
  441. Dialplan: sofia/default/321785@cloud.masip.es Action set(intcall=0)
  442. Dialplan: sofia/default/321785@cloud.masip.es Action export(presence_id=38933550965)
  443. Dialplan: sofia/default/321785@cloud.masip.es Action export(presence_data=x|||INextrix(321785)|||^389.* // Macedonia // 1.15800 |||HP // ^389.* // MAc // 0.00000 // trunk_id=17|||STD|||103.240.35.46)
  444. Dialplan: sofia/default/321785@cloud.masip.es Action bridge([leg_timeout=0]sofia/gateway/Inextrix2/38933550965;fs_path=sip:34.243.39.183:5060)
  445. Dialplan: sofia/default/321785@cloud.masip.es Action bridge([leg_timeout=0]sofia/gateway/Aire_Bckp/38933550965;fs_path=sip:34.243.39.183:5060)
  446. Dialplan: sofia/default/321785@cloud.masip.es Action set(effective_caller_id_name=321785)
  447. Dialplan: sofia/default/321785@cloud.masip.es Action set(effective_caller_id_number=321785)
  448. Dialplan: sofia/default/321785@cloud.masip.es Action set(calltype=STANDARD)
  449. Dialplan: sofia/default/321785@cloud.masip.es Action set(termination_rates=ID:300537|CODE:^389.*|DESTINATION:Macedonia - Fixed|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.60000|INC:1|INITIALBLOCK:0|TRUNK:8|PROVIDER:113)                                                                                                                                                                                                      
  450. Dialplan: sofia/default/321785@cloud.masip.es Action set(trunk_id=8)
  451. Dialplan: sofia/default/321785@cloud.masip.es Action set(provider_id=113)
  452. Dialplan: sofia/default/321785@cloud.masip.es Action set(rate_flag=2)
  453. Dialplan: sofia/default/321785@cloud.masip.es Action set(force_trunk_flag=0)
  454. Dialplan: sofia/default/321785@cloud.masip.es Action export(presence_data=trunk_id=8)
  455. Dialplan: sofia/default/321785@cloud.masip.es Action set(intcall=0)
  456. Dialplan: sofia/default/321785@cloud.masip.es Action export(presence_id=38933550965)
  457. Dialplan: sofia/default/321785@cloud.masip.es Action export(presence_data=x|||INextrix(321785)|||^389.* // Macedonia // 1.15800 |||AIRE // ^389.* // Macedonia - Fixed // 0.60000 // trunk_id=8|||STD|||103.240.35.46)                                                                                                                                                                                                                
  458. 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/0038933550965;fs_path=sip:34.243.39.183:5060)
  459. 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/0038933550965;fs_path=sip:34.243.39.183:5060)
  460. Dialplan: sofia/default/321785@cloud.masip.es Action set(effective_caller_id_name=321785)
  461. Dialplan: sofia/default/321785@cloud.masip.es Action set(effective_caller_id_number=321785)
  462. Dialplan: sofia/default/321785@cloud.masip.es Action set(calltype=STANDARD)
  463. Dialplan: sofia/default/321785@cloud.masip.es Action set(termination_rates=ID:513150|CODE:^389.*|DESTINATION:Macedonia|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.23160|INC:1|INITIALBLOCK:1|TRUNK:11|PROVIDER:164)                                                                                                                                                                                                              
  464. Dialplan: sofia/default/321785@cloud.masip.es Action set(trunk_id=11)
  465. Dialplan: sofia/default/321785@cloud.masip.es Action set(provider_id=164)
  466. Dialplan: sofia/default/321785@cloud.masip.es Action set(rate_flag=2)
  467. Dialplan: sofia/default/321785@cloud.masip.es Action set(force_trunk_flag=0)
  468. Dialplan: sofia/default/321785@cloud.masip.es Action export(presence_data=trunk_id=11)
  469. Dialplan: sofia/default/321785@cloud.masip.es Action set(intcall=0)
  470. Dialplan: sofia/default/321785@cloud.masip.es Action export(presence_id=38933550965)
  471. Dialplan: sofia/default/321785@cloud.masip.es Action export(presence_data=x|||INextrix(321785)|||^389.* // Macedonia // 1.15800 |||ALISYS // ^389.* // Macedonia // 0.23160 // trunk_id=11|||STD|||103.240.35.46)
  472. 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/800038933550965;fs_path=sip:34.243.39.183:5060)
  473. 2024-04-24 02:23:13.522943 99.87% [DEBUG] switch_core_state_machine.c:281 (sofia/default/321785@cloud.masip.es) State Change CS_ROUTING -> CS_EXECUTE
  474. 2024-04-24 02:23:13.522943 99.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/321785@cloud.masip.es) State ROUTING going to sleep
  475. 2024-04-24 02:23:13.522943 99.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/321785@cloud.masip.es) Running State Change CS_EXECUTE (Cur 1 Tot 14)
  476. 2024-04-24 02:23:13.522943 99.87% [DEBUG] switch_core_state_machine.c:647 (sofia/default/321785@cloud.masip.es) State EXECUTE
  477. 2024-04-24 02:23:13.522943 99.87% [DEBUG] mod_sofia.c:213 sofia/default/321785@cloud.masip.es SOFIA EXECUTE
  478. 2024-04-24 02:23:13.522943 99.87% [DEBUG] switch_core_state_machine.c:323 sofia/default/321785@cloud.masip.es Standard EXECUTE
  479. EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(effective_destination_number=38933550965)
  480. 2024-04-24 02:23:13.522943 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [effective_destination_number]=[38933550965]
  481. EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(execute_on_answer_1=sched_hangup +518.13471502591 normal_clearing)
  482. 2024-04-24 02:23:13.522943 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [execute_on_answer_1]=[sched_hangup +518.13471502591 normal_clearing]
  483. EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(callstart=2024-04-24 02:23:13)
  484. 2024-04-24 02:23:13.522943 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [callstart]=[2024-04-24 02:23:13]
  485. EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(hangup_after_bridge=true)
  486. 2024-04-24 02:23:13.522943 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [hangup_after_bridge]=[true]
  487. EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(continue_on_fail=!USER_BUSY)
  488. 2024-04-24 02:23:13.522943 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [continue_on_fail]=[!USER_BUSY]
  489. EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(account_id=151)
  490. 2024-04-24 02:23:13.522943 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [account_id]=[151]
  491. EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(parent_id=0)
  492. 2024-04-24 02:23:13.522943 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [parent_id]=[0]
  493. EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(entity_id=0)
  494. 2024-04-24 02:23:13.522943 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [entity_id]=[0]
  495. EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(call_processed=internal)
  496. 2024-04-24 02:23:13.522943 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [call_processed]=[internal]
  497. EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(call_direction=outbound)
  498. 2024-04-24 02:23:13.522943 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [call_direction]=[outbound]
  499. EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(accountname=default)
  500. 2024-04-24 02:23:13.522943 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [accountname]=[default]
  501. EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(origination_rates=ID:158115|CODE:^389.*|DESTINATION:Macedonia|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.15800|INC:1|INITIALBLOCK:1|RATEGROUP:4|MARKUP:0|CI:0|ACCID:151)                                                                                                                                                                                          
  502. 2024-04-24 02:23:13.522943 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [origination_rates]=[ID:158115|CODE:^389.*|DESTINATION:Macedonia|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.15800|INC:1|INITIALBLOCK:1|RATEGROUP:4|MARKUP:0|CI:0|ACCID:151]                                                                                                                                            
  503. EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(original_caller_id_name=321785)
  504. 2024-04-24 02:23:13.522943 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [original_caller_id_name]=[321785]
  505. EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(original_caller_id_number=321785)
  506. 2024-04-24 02:23:13.522943 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [original_caller_id_number]=[321785]
  507. EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(effective_caller_id_name=321785)
  508. 2024-04-24 02:23:13.522943 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [effective_caller_id_name]=[321785]
  509. EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(effective_caller_id_number=321785)
  510. 2024-04-24 02:23:13.522943 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [effective_caller_id_number]=[321785]
  511. EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(calltype=STANDARD)
  512. 2024-04-24 02:23:13.522943 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [calltype]=[STANDARD]
  513. EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(termination_rates=ID:540844|CODE:^389.*|DESTINATION:Mac|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|TRUNK:16|PROVIDER:113)
  514. 2024-04-24 02:23:13.522943 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [termination_rates]=[ID:540844|CODE:^389.*|DESTINATION:Mac|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|TRUNK:16|PROVIDER:113]                                                                                                                                                                    
  515. EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(trunk_id=16)
  516. 2024-04-24 02:23:13.522943 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [trunk_id]=[16]
  517. EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(provider_id=113)
  518. 2024-04-24 02:23:13.522943 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [provider_id]=[113]
  519. EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(rate_flag=2)
  520. 2024-04-24 02:23:13.522943 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [rate_flag]=[2]
  521. EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(force_trunk_flag=0)
  522. 2024-04-24 02:23:13.522943 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [force_trunk_flag]=[0]
  523. EXECUTE [depth=0] sofia/default/321785@cloud.masip.es export(presence_data=trunk_id=16)
  524. 2024-04-24 02:23:13.522943 99.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=16]
  525. EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(intcall=0)
  526. 2024-04-24 02:23:13.522943 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [intcall]=[0]
  527. EXECUTE [depth=0] sofia/default/321785@cloud.masip.es export(presence_id=38933550965)
  528. 2024-04-24 02:23:13.522943 99.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[38933550965]
  529. EXECUTE [depth=0] sofia/default/321785@cloud.masip.es export(presence_data=x|||INextrix(321785)|||^389.* // Macedonia // 1.15800 |||Dell // ^389.* // Mac // 0.00000 // trunk_id=16|||STD|||103.240.35.46)
  530. 2024-04-24 02:23:13.522943 99.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||INextrix(321785)|||^389.* // Macedonia // 1.15800 |||Dell // ^389.* // Mac // 0.00000 // trunk_id=16|||STD|||103.240.35.46]                                                                                                                                                                                                
  531. EXECUTE [depth=0] sofia/default/321785@cloud.masip.es bridge([leg_timeout=0]sofia/gateway/Inextrix1/38933550965;fs_path=sip:34.243.39.183:5060)
  532. 2024-04-24 02:23:13.522943 99.87% [DEBUG] switch_channel.c:1269 sofia/default/321785@cloud.masip.es EXPORTING[export_vars] [sip_h_P-masip_custom_flag]=[true] to event
  533. 2024-04-24 02:23:13.522943 99.87% [DEBUG] switch_channel.c:1269 sofia/default/321785@cloud.masip.es EXPORTING[export_vars] [presence_data]=[x|||INextrix(321785)|||^389.* // Macedonia // 1.15800 |||Dell // ^389.* // Mac // 0.00000 // trunk_id=16|||STD|||103.240.35.46] to event                                                                                                                                                  
  534. 2024-04-24 02:23:13.522943 99.87% [DEBUG] switch_channel.c:1269 sofia/default/321785@cloud.masip.es EXPORTING[export_vars] [presence_id]=[38933550965] to event
  535. 2024-04-24 02:23:13.522943 99.87% [DEBUG] switch_channel.c:1269 sofia/default/321785@cloud.masip.es EXPORTING[export_vars] [presence_data]=[x|||INextrix(321785)|||^389.* // Macedonia // 1.15800 |||Dell // ^389.* // Mac // 0.00000 // trunk_id=16|||STD|||103.240.35.46] to event                                                                                                                                                  
  536. 2024-04-24 02:23:13.522943 99.87% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  537. 2024-04-24 02:23:13.522943 99.87% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  538. 2024-04-24 02:23:13.522943 99.87% [NOTICE] switch_channel.c:1123 New Channel sofia/default/38933550965 [f65843a5-7025-407e-8841-646e6eee03c4]
  539. 2024-04-24 02:23:13.522943 99.87% [DEBUG] mod_sofia.c:5121 (sofia/default/38933550965) State Change CS_NEW -> CS_INIT
  540. 2024-04-24 02:23:13.522943 99.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/38933550965) Running State Change CS_INIT (Cur 2 Tot 15)
  541. 2024-04-24 02:23:13.522943 99.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/38933550965) State INIT
  542. 2024-04-24 02:23:13.522943 99.87% [DEBUG] mod_sofia.c:97 sofia/default/38933550965 SOFIA INIT
  543. 2024-04-24 02:23:13.522943 99.87% [DEBUG] sofia_glue.c:1620 sip:34.243.39.183:5060 Setting proxy route to sofia/default/38933550965
  544. 2024-04-24 02:23:13.522943 99.87% [INFO] sofia_glue.c:1651 sofia/default/38933550965 sending invite call-id: (null)
  545. 2024-04-24 02:23:13.522943 99.87% [DEBUG] sofia_glue.c:1654 sofia/default/38933550965 sending invite version: 1.10.7 -release 64bit
  546. Local SDP:                                                                                                                                                                                                        
  547. v=0                                                                                                                                                                                                                
  548. o=FreeSWITCH 1713895755 1713895756 IN IP4 54.220.206.86                                                                                                                                                            
  549. s=FreeSWITCH                                                                                                                                                                                                      
  550. c=IN IP4 54.220.206.86                                                                                                                                                                                            
  551. t=0 0                                                                                                                                                                                                              
  552. m=audio 29638 RTP/AVP 8 101                                                                                                                                                                                        
  553. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  554. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  555. a=fmtp:101 0-15                                                                                                                                                                                                    
  556. a=ptime:20                                                                                                                                                                                                        
  557. a=sendrecv                                                                                                                                                                                                        
  558.  
  559. 2024-04-24 02:23:13.522943 99.87% [DEBUG] switch_core_state_machine.c:40 sofia/default/38933550965 Standard INIT
  560. 2024-04-24 02:23:13.522943 99.87% [DEBUG] switch_core_state_machine.c:48 (sofia/default/38933550965) State Change CS_INIT -> CS_ROUTING
  561. 2024-04-24 02:23:13.522943 99.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/38933550965) State INIT going to sleep
  562. 2024-04-24 02:23:13.522943 99.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/38933550965) Running State Change CS_ROUTING (Cur 2 Tot 15)
  563. 2024-04-24 02:23:13.522943 99.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/38933550965) State ROUTING
  564. 2024-04-24 02:23:13.522943 99.87% [DEBUG] mod_sofia.c:158 sofia/default/38933550965 SOFIA ROUTING
  565. 2024-04-24 02:23:13.522943 99.87% [DEBUG] switch_ivr_originate.c:67 (sofia/default/38933550965) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  566. 2024-04-24 02:23:13.522943 99.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/38933550965) State ROUTING going to sleep
  567. 2024-04-24 02:23:13.522943 99.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/38933550965) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 15)
  568. 2024-04-24 02:23:13.522943 99.87% [DEBUG] sofia.c:7499 Channel sofia/default/38933550965 entering state [calling][0]
  569. 2024-04-24 02:23:13.522943 99.87% [DEBUG] switch_core_state_machine.c:659 (sofia/default/38933550965) State CONSUME_MEDIA
  570. 2024-04-24 02:23:13.522943 99.87% [DEBUG] switch_core_state_machine.c:659 (sofia/default/38933550965) State CONSUME_MEDIA going to sleep
  571. 2024-04-24 02:23:23.302938 99.83% [DEBUG] sofia.c:7499 Channel sofia/default/38933550965 entering state [terminated][408]
  572. 2024-04-24 02:23:23.302938 99.83% [NOTICE] sofia.c:8738 Hangup sofia/default/38933550965 [CS_CONSUME_MEDIA] [RECOVERY_ON_TIMER_EXPIRE]
  573. 2024-04-24 02:23:23.302938 99.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/38933550965) Running State Change CS_HANGUP (Cur 2 Tot 15)
  574. 2024-04-24 02:23:23.302938 99.83% [DEBUG] switch_core_state_machine.c:844 (sofia/default/38933550965) Callstate Change DOWN -> HANGUP
  575. 2024-04-24 02:23:23.302938 99.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/38933550965) State HANGUP
  576. 2024-04-24 02:23:23.302938 99.83% [DEBUG] mod_sofia.c:468 Channel sofia/default/38933550965 hanging up, cause: RECOVERY_ON_TIMER_EXPIRE
  577. 2024-04-24 02:23:23.302938 99.83% [DEBUG] switch_core_state_machine.c:59 sofia/default/38933550965 Standard HANGUP, cause: RECOVERY_ON_TIMER_EXPIRE
  578. 2024-04-24 02:23:23.302938 99.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/38933550965) State HANGUP going to sleep
  579. 2024-04-24 02:23:23.302938 99.83% [DEBUG] switch_core_state_machine.c:616 (sofia/default/38933550965) State Change CS_HANGUP -> CS_REPORTING
  580. 2024-04-24 02:23:23.302938 99.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/38933550965) Running State Change CS_REPORTING (Cur 2 Tot 15)
  581. 2024-04-24 02:23:23.302938 99.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/38933550965) State REPORTING
  582. 2024-04-24 02:23:23.302938 99.83% [INFO] mod_json_cdr.c:271 Process [f65843a5-7025-407e-8841-646e6eee03c4.cdr.json]
  583. 2024-04-24 02:23:23.322936 99.83% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 102 [RECOVERY_ON_TIMER_EXPIRE]
  584. 2024-04-24 02:23:23.322936 99.83% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: RECOVERY_ON_TIMER_EXPIRE
  585. 2024-04-24 02:23:23.322936 99.83% [NOTICE] switch_channel.c:5050 Hangup sofia/default/321785@cloud.masip.es [CS_EXECUTE] [RECOVERY_ON_TIMER_EXPIRE]
  586. 2024-04-24 02:23:23.322936 99.83% [DEBUG] switch_core_session.c:2983 sofia/default/321785@cloud.masip.es skip receive message [PHONE_EVENT] (channel is hungup already)
  587. 2024-04-24 02:23:23.322936 99.83% [DEBUG] switch_core_state_machine.c:647 (sofia/default/321785@cloud.masip.es) State EXECUTE going to sleep
  588. 2024-04-24 02:23:23.322936 99.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/321785@cloud.masip.es) Running State Change CS_HANGUP (Cur 2 Tot 15)
  589. 2024-04-24 02:23:23.322936 99.83% [DEBUG] switch_core_state_machine.c:844 (sofia/default/321785@cloud.masip.es) Callstate Change RINGING -> HANGUP
  590. 2024-04-24 02:23:23.322936 99.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/321785@cloud.masip.es) State HANGUP
  591. 2024-04-24 02:23:23.322936 99.83% [DEBUG] mod_sofia.c:462 sofia/default/321785@cloud.masip.es Overriding SIP cause 504 with 408 from the other leg
  592. 2024-04-24 02:23:23.322936 99.83% [DEBUG] mod_sofia.c:468 Channel sofia/default/321785@cloud.masip.es hanging up, cause: RECOVERY_ON_TIMER_EXPIRE
  593. 2024-04-24 02:23:23.322936 99.83% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 408
  594. 2024-04-24 02:23:23.322936 99.83% [DEBUG] switch_core_state_machine.c:59 sofia/default/321785@cloud.masip.es Standard HANGUP, cause: RECOVERY_ON_TIMER_EXPIRE
  595. 2024-04-24 02:23:23.322936 99.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/321785@cloud.masip.es) State HANGUP going to sleep
  596. 2024-04-24 02:23:23.322936 99.83% [DEBUG] switch_core_state_machine.c:616 (sofia/default/321785@cloud.masip.es) State Change CS_HANGUP -> CS_REPORTING
  597. 2024-04-24 02:23:23.322936 99.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/321785@cloud.masip.es) Running State Change CS_REPORTING (Cur 2 Tot 15)
  598. 2024-04-24 02:23:23.322936 99.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/321785@cloud.masip.es) State REPORTING
  599. 2024-04-24 02:23:23.322936 99.83% [INFO] mod_json_cdr.c:271 Process [b9ccc6d0-8dca-467b-b761-ce7b648533d5.cdr.json]
  600. 2024-04-24 02:23:23.342935 99.83% [DEBUG] switch_core_state_machine.c:168 sofia/default/321785@cloud.masip.es Standard REPORTING, cause: RECOVERY_ON_TIMER_EXPIRE
  601. 2024-04-24 02:23:23.342935 99.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/321785@cloud.masip.es) State REPORTING going to sleep
  602. 2024-04-24 02:23:23.342935 99.83% [DEBUG] switch_core_state_machine.c:607 (sofia/default/321785@cloud.masip.es) State Change CS_REPORTING -> CS_DESTROY
  603. 2024-04-24 02:23:23.342935 99.83% [DEBUG] switch_core_session.c:1753 Session 14 (sofia/default/321785@cloud.masip.es) Locked, Waiting on external entities
  604. 2024-04-24 02:23:23.342935 99.83% [NOTICE] switch_core_session.c:1771 Session 14 (sofia/default/321785@cloud.masip.es) Ended
  605. 2024-04-24 02:23:23.342935 99.83% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/321785@cloud.masip.es [CS_DESTROY]
  606. 2024-04-24 02:23:23.342935 99.83% [DEBUG] switch_core_state_machine.c:735 (sofia/default/321785@cloud.masip.es) Running State Change CS_DESTROY (Cur 1 Tot 15)
  607. 2024-04-24 02:23:23.342935 99.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/321785@cloud.masip.es) State DESTROY
  608. 2024-04-24 02:23:23.342935 99.83% [DEBUG] mod_sofia.c:379 sofia/default/321785@cloud.masip.es SOFIA DESTROY
  609. 2024-04-24 02:23:23.342935 99.83% [DEBUG] switch_core_state_machine.c:175 sofia/default/321785@cloud.masip.es Standard DESTROY
  610. 2024-04-24 02:23:23.342935 99.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/321785@cloud.masip.es) State DESTROY going to sleep
  611. 2024-04-24 02:23:23.362931 99.83% [DEBUG] switch_core_state_machine.c:168 sofia/default/38933550965 Standard REPORTING, cause: RECOVERY_ON_TIMER_EXPIRE
  612. 2024-04-24 02:23:23.362931 99.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/38933550965) State REPORTING going to sleep
  613. 2024-04-24 02:23:23.362931 99.83% [DEBUG] switch_core_state_machine.c:607 (sofia/default/38933550965) State Change CS_REPORTING -> CS_DESTROY
  614. 2024-04-24 02:23:23.362931 99.83% [DEBUG] switch_core_session.c:1753 Session 15 (sofia/default/38933550965) Locked, Waiting on external entities
  615. 2024-04-24 02:23:23.362931 99.83% [NOTICE] switch_core_session.c:1771 Session 15 (sofia/default/38933550965) Ended
  616. 2024-04-24 02:23:23.362931 99.83% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/38933550965 [CS_DESTROY]
  617. 2024-04-24 02:23:23.362931 99.83% [DEBUG] switch_core_state_machine.c:735 (sofia/default/38933550965) Running State Change CS_DESTROY (Cur 0 Tot 15)
  618. 2024-04-24 02:23:23.362931 99.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/38933550965) State DESTROY
  619. 2024-04-24 02:23:23.362931 99.83% [DEBUG] mod_sofia.c:379 sofia/default/38933550965 SOFIA DESTROY
  620. 2024-04-24 02:23:23.362931 99.83% [DEBUG] switch_core_state_machine.c:175 sofia/default/38933550965 Standard DESTROY
  621. 2024-04-24 02:23:23.362931 99.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/38933550965) State DESTROY going to sleep
  622.