From danilo, 2 Years ago, written in Plain Text.
- view diff
Embed
  1. 2021-10-20 06:51:05.808325 [NOTICE] switch_channel.c:1104 New Channel sofia/default/4727985745@voip.megavoip.net [3e602d8e-318b-11ec-815a-b592942da5a5]
  2. 2021-10-20 06:51:05.808325 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4727985745@voip.megavoip.net) Running State Change CS_NEW (Cur 1 Tot 5)
  3. 2021-10-20 06:51:05.808325 [DEBUG] sofia.c:9873 sofia/default/4727985745@voip.megavoip.net receiving invite from 186.210.146.87:22162 version: 1.6.20  64bit
  4. 2021-10-20 06:51:05.808325 [DEBUG] sofia.c:10044 IP 186.210.146.87 Rejected by acl "default". Falling back to Digest auth.
  5. 2021-10-20 06:51:05.808325 [WARNING] sofia_reg.c:1792 SIP auth challenge (INVITE) on sofia profile 'default' for [3438233779@voip.megavoip.net] from ip 186.210.146.87
  6. 2021-10-20 06:51:05.808325 [DEBUG] switch_core_state_machine.c:603 (sofia/default/4727985745@voip.megavoip.net) State NEW
  7. 2021-10-20 06:51:05.808325 [DEBUG] sofia.c:2334 detaching session 3e602d8e-318b-11ec-815a-b592942da5a5
  8. 2021-10-20 06:51:05.988176 [DEBUG] sofia.c:2442 Re-attaching to session 3e602d8e-318b-11ec-815a-b592942da5a5
  9. 2021-10-20 06:51:05.988176 [DEBUG] sofia.c:9873 sofia/default/4727985745@voip.megavoip.net receiving invite from 186.210.146.87:22162 version: 1.6.20  64bit
  10. 2021-10-20 06:51:05.988176 [DEBUG] sofia.c:10044 IP 186.210.146.87 Rejected by acl "default". Falling back to Digest auth.
  11. 2021-10-20 06:51:05.988176 [DEBUG] sofia.c:7084 Channel sofia/default/4727985745@voip.megavoip.net entering state [received][100]
  12. 2021-10-20 06:51:05.988176 [DEBUG] sofia.c:7094 Remote SDP:
  13. v=0
  14. o=4727985745 8000 8000 IN IP4 186.210.146.87
  15. s=SIP Call
  16. c=IN IP4 186.210.146.87
  17. t=0 0
  18. m=audio 16300 RTP/AVP 0 8 101
  19. a=rtpmap:0 PCMU/8000
  20. a=rtpmap:8 PCMA/8000
  21. a=rtpmap:101 telephone-event/8000
  22. a=fmtp:101 0-15
  23. a=rtcp:16301 IN IP4 192.168.100.22
  24. a=ptime:20
  25.  
  26. 2021-10-20 06:51:05.988176 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  27. 2021-10-20 06:51:05.988176 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  28. 2021-10-20 06:51:05.988176 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  29. 2021-10-20 06:51:05.988176 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  30. 2021-10-20 06:51:05.988176 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  31. 2021-10-20 06:51:05.988176 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  32. 2021-10-20 06:51:05.988176 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  33. 2021-10-20 06:51:05.988176 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/4727985745@voip.megavoip.net PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  34. 2021-10-20 06:51:05.988176 [DEBUG] switch_core_codec.c:111 sofia/default/4727985745@voip.megavoip.net Original read codec set to PCMU:0
  35. 2021-10-20 06:51:05.988176 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  36. 2021-10-20 06:51:05.988176 [DEBUG] switch_core_media.c:4767 sofia/default/4727985745@voip.megavoip.net Set 2833 dtmf send payload to 101 recv payload to 101
  37. 2021-10-20 06:51:05.988176 [DEBUG] sofia.c:7507 (sofia/default/4727985745@voip.megavoip.net) State Change CS_NEW -> CS_INIT
  38. 2021-10-20 06:51:05.988176 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4727985745@voip.megavoip.net) Running State Change CS_INIT (Cur 1 Tot 5)
  39. 2021-10-20 06:51:05.988176 [DEBUG] switch_core_state_machine.c:627 (sofia/default/4727985745@voip.megavoip.net) State INIT
  40. 2021-10-20 06:51:05.988176 [DEBUG] mod_sofia.c:90 sofia/default/4727985745@voip.megavoip.net SOFIA INIT
  41. 2021-10-20 06:51:05.988176 [DEBUG] switch_core_state_machine.c:40 sofia/default/4727985745@voip.megavoip.net Standard INIT
  42. 2021-10-20 06:51:05.988176 [DEBUG] switch_core_state_machine.c:48 (sofia/default/4727985745@voip.megavoip.net) State Change CS_INIT -> CS_ROUTING
  43. 2021-10-20 06:51:05.988176 [DEBUG] switch_core_state_machine.c:627 (sofia/default/4727985745@voip.megavoip.net) State INIT going to sleep
  44. 2021-10-20 06:51:05.988176 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4727985745@voip.megavoip.net) Running State Change CS_ROUTING (Cur 1 Tot 5)
  45. 2021-10-20 06:51:05.988176 [DEBUG] switch_channel.c:2249 (sofia/default/4727985745@voip.megavoip.net) Callstate Change DOWN -> RINGING
  46. 2021-10-20 06:51:05.988176 [DEBUG] switch_core_state_machine.c:643 (sofia/default/4727985745@voip.megavoip.net) State ROUTING
  47. 2021-10-20 06:51:05.988176 [DEBUG] mod_sofia.c:143 sofia/default/4727985745@voip.megavoip.net SOFIA ROUTING
  48. 2021-10-20 06:51:05.988176 [DEBUG] switch_core_state_machine.c:236 sofia/default/4727985745@voip.megavoip.net Standard ROUTING
  49. 2021-10-20 06:51:05.988176 [INFO] mod_dialplan_xml.c:637 Processing 4727985745 <4727985745>->3438233779 in context default
  50. 2021-10-20 06:51:06.008167 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd9ac0863d0 Connected.
  51. 2021-10-20 06:51:06.008167 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  52. 2021-10-20 06:51:06.008167 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  53. 2021-10-20 06:51:06.008167 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 3438233779
  54. 2021-10-20 06:51:06.008167 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '3438233779' AND status=0 limit 1
  55. 2021-10-20 06:51:06.008167 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 4727985745 / 4727985745
  56. 2021-10-20 06:51:06.008167 [DEBUG] switch_cpp.cpp:1365 [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 ="3438233779" LIMIT 1
  57. 2021-10-20 06:51:06.008167 [DEBUG] switch_cpp.cpp:1365 [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="3438233779" limit 1
  58. 2021-10-20 06:51:06.008167 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  59. 2021-10-20 06:51:06.008167 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 4727985745]
  60. 2021-10-20 06:51:06.008167 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "4727985745" AND deleted = 0 limit 1
  61. 2021-10-20 06:51:06.008167 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^3438233779.*' OR blocked_patterns = '^343823377.*' OR blocked_patterns = '^34382337.*' OR blocked_patterns = '^3438233.*' OR blocked_patterns = '^343823.*' OR blocked_patterns = '^34382.*' OR blocked_patterns = '^3438.*' OR blocked_patterns = '^343.*' OR blocked_patterns = '^34.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 2 limit 1
  62. 2021-10-20 06:51:06.008167 [DEBUG] switch_cpp.cpp:1365 [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 ="3438233779" AND A.accountid = '2' limit 1
  63. 2021-10-20 06:51:06.008167 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 3438233779
  64. 2021-10-20 06:51:06.008167 [DEBUG] switch_cpp.cpp:1365 [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 ="3438233779" LIMIT 1
  65. 2021-10-20 06:51:06.028167 [DEBUG] switch_cpp.cpp:1365 [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="3438233779" limit 1
  66. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : outbound
  67. 2021-10-20 06:51:06.028167 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="3438233779" AND (accountid = 0 OR status = 1) LIMIT 1
  68. 2021-10-20 06:51:06.028167 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^3438233779.*' OR patterns = '^343823377.*' OR patterns = '^34382337.*' OR patterns = '^3438233.*' OR patterns = '^343823.*' OR patterns = '^34382.*' OR patterns = '^3438.*' OR patterns = '^343.*' OR patterns = '^34.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 2 ORDER BY LENGTH(PKGPTR.patterns) DESC
  69. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  70. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 2
  71. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 4727985745
  72. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 46.91
  73. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  74. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1
  75. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  76. 2021-10-20 06:51:06.028167 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1
  77. 2021-10-20 06:51:06.028167 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 3438233779
  78. 2021-10-20 06:51:06.028167 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 553438233779
  79. 2021-10-20 06:51:06.028167 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  80. 2021-10-20 06:51:06.028167 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound
  81. 2021-10-20 06:51:06.028167 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^553438233779.*' OR pattern = '^55343823377.*' OR pattern = '^5534382337.*' OR pattern = '^553438233.*' OR pattern = '^55343823.*' OR pattern = '^5534382.*' OR pattern = '^553438.*' OR pattern = '^55343.*' OR pattern = '^5534.*' OR pattern = '^553.*' OR pattern = '^55.*' OR pattern = '^5.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 1 OR accountid=2)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
  82. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: outbound
  83. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  84. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1
  85. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  86. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  87. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.09000
  88. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Brasil
  89. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 28
  90. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 2
  91. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0
  92. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type:
  93. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  94. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your46.91 balance Accountid 2 !!!
  95. 2021-10-20 06:51:06.028167 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 100 mins!
  96. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 100 minutes
  97. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 1
  98. 2021-10-20 06:51:06.028167 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=1 ORDER by id asc
  99. 2021-10-20 06:51:06.028167 [DEBUG] switch_cpp.cpp:1365 [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,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 = '^553438233779.*' OR pattern = '^55343823377.*' OR pattern = '^5534382337.*' OR pattern = '^553438233.*' OR pattern = '^55343823.*' OR pattern = '^5534382.*' OR pattern = '^553438.*' OR pattern = '^55343.*' OR pattern = '^5534.*' OR pattern = '^553.*' OR pattern = '^55.*' OR pattern = '^5.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (1) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
  100. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  101. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1
  102. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^5534.*
  103. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : Brasil
  104. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  105. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  106. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^5534.*
  107. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip :
  108. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend :
  109. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 1
  110. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : DATfixoITX
  111. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  112. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : DATfixoITX
  113. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 3
  114. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  115. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : DATfixoITX
  116. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  117. 2021-10-20 06:51:06.028167 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 2 AND status=0 LIMIT 1
  118. 2021-10-20 06:51:06.028167 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 100
  119. 2021-10-20 06:51:06.028167 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  120. 2021-10-20 06:51:06.028167 [DEBUG] switch_cpp.cpp:1365 [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 = 1) AND status=0 limit 1
  121. 2021-10-20 06:51:06.028167 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 4727985745
  122. 2021-10-20 06:51:06.028167 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 33303800124727985745
  123. 2021-10-20 06:51:06.028167 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 4727985745
  124. 2021-10-20 06:51:06.028167 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 33303800124727985745
  125. 2021-10-20 06:51:06.028167 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 3) AND status=0 limit 1
  126. 2021-10-20 06:51:06.028167 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
  127. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  128. <document type="freeswitch/xml">
  129. <section name="dialplan" description="ASTPP Dialplan">
  130. <context name="default">
  131. <extension name="553438233779">
  132. <condition field="destination_number" expression="3438233779">
  133. <action application="set" data="effective_destination_number=3438233779"/>
  134. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  135. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  136. <action application="set" data="callstart=2021-10-20 09:51:06"/>
  137. <action application="set" data="hangup_after_bridge=true"/>
  138. <action application="set" data="continue_on_fail=TRUE"/>
  139. <action application="set" data="account_id=2"/>
  140. <action application="set" data="parent_id=0"/>
  141. <action application="set" data="entity_id=0"/>
  142. <action application="set" data="call_processed=internal"/>
  143. <action application="set" data="call_direction=outbound"/>
  144. <action application="set" data="accountname=default"/>
  145. <action application="set" data="origination_rates=ID:1|CODE:^5534.*|DESTINATION:Brasil|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.09000|INC:6|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:28|ACCID:2"/>
  146. <action application="set" data="original_caller_id_name=4727985745"/>
  147. <action application="set" data="original_caller_id_number=4727985745"/>
  148. <action application="limit" data="db 4727985745 user_4727985745 1 !SWITCH_CONGESTION"/>
  149.  
  150. <action application="export" data="is_recording=1"/>
  151. <action application="export" data="media_bug_answer_req=true"/>
  152. <action application="export" data="RECORD_STEREO=true"/>
  153. <action application="export" data="record_sample_rate=8000"/>
  154. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  155. <action application="set" data="calltype=STANDARD"/>
  156. <action application="set" data="termination_rates=ID:1|CODE:^5534.*|DESTINATION:Brasil|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.03500|INC:6|INITIALBLOCK:30|TRUNK:1|PROVIDER:3"/>
  157. <action application="set" data="trunk_id=1"/>
  158. <action application="set" data="provider_id=3"/>
  159. <action application="set" data="rate_flag=0"/>
  160. <action application="set" data="force_trunk_flag=1"/>
  161. <action application="export" data="presence_data=trunk_id=1"/>
  162. <action application="set" data="intcall=0"/>
  163. <action application="export" data="presence_data=x|||Danilo(4727985745)|||^5534.* // Brasil // 0.09000 // trunk_id=0|||DATfixoITX // ^5534.* // Brasil // 0.03500 // trunk_id=1|||STD"/>
  164. <action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/DATfixoITX/553438233779"/>
  165. </condition>
  166. </extension>
  167. </context>
  168. </section>
  169. </document>
  170. 2021-10-20 06:51:06.028167 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd9ac0863d0 released.
  171. Dialplan: sofia/default/4727985745@voip.megavoip.net parsing [default->553438233779] continue=false
  172. Dialplan: sofia/default/4727985745@voip.megavoip.net Regex (PASS) [553438233779] destination_number(3438233779) =~ /3438233779/ break=on-false
  173. Dialplan: sofia/default/4727985745@voip.megavoip.net Action set(effective_destination_number=3438233779)
  174. Dialplan: sofia/default/4727985745@voip.megavoip.net Action set(bridge_pre_execute_bleg_app=sched_hangup)
  175. Dialplan: sofia/default/4727985745@voip.megavoip.net Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  176. Dialplan: sofia/default/4727985745@voip.megavoip.net Action set(callstart=2021-10-20 09:51:06)
  177. Dialplan: sofia/default/4727985745@voip.megavoip.net Action set(hangup_after_bridge=true)
  178. Dialplan: sofia/default/4727985745@voip.megavoip.net Action set(continue_on_fail=TRUE)
  179. Dialplan: sofia/default/4727985745@voip.megavoip.net Action set(account_id=2)
  180. Dialplan: sofia/default/4727985745@voip.megavoip.net Action set(parent_id=0)
  181. Dialplan: sofia/default/4727985745@voip.megavoip.net Action set(entity_id=0)
  182. Dialplan: sofia/default/4727985745@voip.megavoip.net Action set(call_processed=internal)
  183. Dialplan: sofia/default/4727985745@voip.megavoip.net Action set(call_direction=outbound)
  184. Dialplan: sofia/default/4727985745@voip.megavoip.net Action set(accountname=default)
  185. Dialplan: sofia/default/4727985745@voip.megavoip.net Action set(origination_rates=ID:1|CODE:^5534.*|DESTINATION:Brasil|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.09000|INC:6|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:28|ACCID:2)
  186. Dialplan: sofia/default/4727985745@voip.megavoip.net Action set(original_caller_id_name=4727985745)
  187. Dialplan: sofia/default/4727985745@voip.megavoip.net Action set(original_caller_id_number=4727985745)
  188. Dialplan: sofia/default/4727985745@voip.megavoip.net Action limit(db 4727985745 user_4727985745 1 !SWITCH_CONGESTION)
  189. Dialplan: sofia/default/4727985745@voip.megavoip.net Action export(is_recording=1)
  190. Dialplan: sofia/default/4727985745@voip.megavoip.net Action export(media_bug_answer_req=true)
  191. Dialplan: sofia/default/4727985745@voip.megavoip.net Action export(RECORD_STEREO=true)
  192. Dialplan: sofia/default/4727985745@voip.megavoip.net Action export(record_sample_rate=8000)
  193. Dialplan: sofia/default/4727985745@voip.megavoip.net Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  194. Dialplan: sofia/default/4727985745@voip.megavoip.net Action set(calltype=STANDARD)
  195. Dialplan: sofia/default/4727985745@voip.megavoip.net Action set(termination_rates=ID:1|CODE:^5534.*|DESTINATION:Brasil|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.03500|INC:6|INITIALBLOCK:30|TRUNK:1|PROVIDER:3)
  196. Dialplan: sofia/default/4727985745@voip.megavoip.net Action set(trunk_id=1)
  197. Dialplan: sofia/default/4727985745@voip.megavoip.net Action set(provider_id=3)
  198. Dialplan: sofia/default/4727985745@voip.megavoip.net Action set(rate_flag=0)
  199. Dialplan: sofia/default/4727985745@voip.megavoip.net Action set(force_trunk_flag=1)
  200. Dialplan: sofia/default/4727985745@voip.megavoip.net Action export(presence_data=trunk_id=1)
  201. Dialplan: sofia/default/4727985745@voip.megavoip.net Action set(intcall=0)
  202. Dialplan: sofia/default/4727985745@voip.megavoip.net Action export(presence_data=x|||Danilo(4727985745)|||^5534.* // Brasil // 0.09000 // trunk_id=0|||DATfixoITX // ^5534.* // Brasil // 0.03500 // trunk_id=1|||STD)
  203. Dialplan: sofia/default/4727985745@voip.megavoip.net Action bridge([leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/DATfixoITX/553438233779)
  204. 2021-10-20 06:51:06.028167 [DEBUG] switch_core_state_machine.c:286 (sofia/default/4727985745@voip.megavoip.net) State Change CS_ROUTING -> CS_EXECUTE
  205. 2021-10-20 06:51:06.028167 [DEBUG] switch_core_state_machine.c:643 (sofia/default/4727985745@voip.megavoip.net) State ROUTING going to sleep
  206. 2021-10-20 06:51:06.028167 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4727985745@voip.megavoip.net) Running State Change CS_EXECUTE (Cur 1 Tot 5)
  207. 2021-10-20 06:51:06.028167 [DEBUG] switch_core_state_machine.c:650 (sofia/default/4727985745@voip.megavoip.net) State EXECUTE
  208. 2021-10-20 06:51:06.028167 [DEBUG] mod_sofia.c:198 sofia/default/4727985745@voip.megavoip.net SOFIA EXECUTE
  209. 2021-10-20 06:51:06.028167 [DEBUG] switch_core_state_machine.c:328 sofia/default/4727985745@voip.megavoip.net Standard EXECUTE
  210. EXECUTE sofia/default/4727985745@voip.megavoip.net set(effective_destination_number=3438233779)
  211. 2021-10-20 06:51:06.028167 [DEBUG] mod_dptools.c:1548 SET sofia/default/4727985745@voip.megavoip.net [effective_destination_number]=[3438233779]
  212. EXECUTE sofia/default/4727985745@voip.megavoip.net set(bridge_pre_execute_bleg_app=sched_hangup)
  213. 2021-10-20 06:51:06.028167 [DEBUG] mod_dptools.c:1548 SET sofia/default/4727985745@voip.megavoip.net [bridge_pre_execute_bleg_app]=[sched_hangup]
  214. EXECUTE sofia/default/4727985745@voip.megavoip.net set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  215. 2021-10-20 06:51:06.028167 [DEBUG] mod_dptools.c:1548 SET sofia/default/4727985745@voip.megavoip.net [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  216. EXECUTE sofia/default/4727985745@voip.megavoip.net set(callstart=2021-10-20 09:51:06)
  217. 2021-10-20 06:51:06.028167 [DEBUG] mod_dptools.c:1548 SET sofia/default/4727985745@voip.megavoip.net [callstart]=[2021-10-20 09:51:06]
  218. EXECUTE sofia/default/4727985745@voip.megavoip.net set(hangup_after_bridge=true)
  219. 2021-10-20 06:51:06.028167 [DEBUG] mod_dptools.c:1548 SET sofia/default/4727985745@voip.megavoip.net [hangup_after_bridge]=[true]
  220. EXECUTE sofia/default/4727985745@voip.megavoip.net set(continue_on_fail=TRUE)
  221. 2021-10-20 06:51:06.028167 [DEBUG] mod_dptools.c:1548 SET sofia/default/4727985745@voip.megavoip.net [continue_on_fail]=[TRUE]
  222. EXECUTE sofia/default/4727985745@voip.megavoip.net set(account_id=2)
  223. 2021-10-20 06:51:06.028167 [DEBUG] mod_dptools.c:1548 SET sofia/default/4727985745@voip.megavoip.net [account_id]=[2]
  224. EXECUTE sofia/default/4727985745@voip.megavoip.net set(parent_id=0)
  225. 2021-10-20 06:51:06.028167 [DEBUG] mod_dptools.c:1548 SET sofia/default/4727985745@voip.megavoip.net [parent_id]=[0]
  226. EXECUTE sofia/default/4727985745@voip.megavoip.net set(entity_id=0)
  227. 2021-10-20 06:51:06.028167 [DEBUG] mod_dptools.c:1548 SET sofia/default/4727985745@voip.megavoip.net [entity_id]=[0]
  228. EXECUTE sofia/default/4727985745@voip.megavoip.net set(call_processed=internal)
  229. 2021-10-20 06:51:06.028167 [DEBUG] mod_dptools.c:1548 SET sofia/default/4727985745@voip.megavoip.net [call_processed]=[internal]
  230. EXECUTE sofia/default/4727985745@voip.megavoip.net set(call_direction=outbound)
  231. 2021-10-20 06:51:06.028167 [DEBUG] mod_dptools.c:1548 SET sofia/default/4727985745@voip.megavoip.net [call_direction]=[outbound]
  232. EXECUTE sofia/default/4727985745@voip.megavoip.net set(accountname=default)
  233. 2021-10-20 06:51:06.028167 [DEBUG] mod_dptools.c:1548 SET sofia/default/4727985745@voip.megavoip.net [accountname]=[default]
  234. EXECUTE sofia/default/4727985745@voip.megavoip.net set(origination_rates=ID:1|CODE:^5534.*|DESTINATION:Brasil|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.09000|INC:6|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:28|ACCID:2)
  235. 2021-10-20 06:51:06.028167 [DEBUG] mod_dptools.c:1548 SET sofia/default/4727985745@voip.megavoip.net [origination_rates]=[ID:1|CODE:^5534.*|DESTINATION:Brasil|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.09000|INC:6|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:28|ACCID:2]
  236. EXECUTE sofia/default/4727985745@voip.megavoip.net set(original_caller_id_name=4727985745)
  237. 2021-10-20 06:51:06.028167 [DEBUG] mod_dptools.c:1548 SET sofia/default/4727985745@voip.megavoip.net [original_caller_id_name]=[4727985745]
  238. EXECUTE sofia/default/4727985745@voip.megavoip.net set(original_caller_id_number=4727985745)
  239. 2021-10-20 06:51:06.028167 [DEBUG] mod_dptools.c:1548 SET sofia/default/4727985745@voip.megavoip.net [original_caller_id_number]=[4727985745]
  240. EXECUTE sofia/default/4727985745@voip.megavoip.net limit(db 4727985745 user_4727985745 1 !SWITCH_CONGESTION)
  241. 2021-10-20 06:51:06.028167 [DEBUG] switch_limit.c:126 incr called: 4727985745_user_4727985745 max:1, interval:0
  242. 2021-10-20 06:51:06.028167 [DEBUG] mod_db.c:194 Usage for 4727985745_user_4727985745 is now 1/1
  243. EXECUTE sofia/default/4727985745@voip.megavoip.net export(is_recording=1)
  244. 2021-10-20 06:51:06.028167 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [is_recording]=[1]
  245. EXECUTE sofia/default/4727985745@voip.megavoip.net export(media_bug_answer_req=true)
  246. 2021-10-20 06:51:06.028167 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [media_bug_answer_req]=[true]
  247. EXECUTE sofia/default/4727985745@voip.megavoip.net export(RECORD_STEREO=true)
  248. 2021-10-20 06:51:06.028167 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [RECORD_STEREO]=[true]
  249. EXECUTE sofia/default/4727985745@voip.megavoip.net export(record_sample_rate=8000)
  250. 2021-10-20 06:51:06.028167 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [record_sample_rate]=[8000]
  251. EXECUTE sofia/default/4727985745@voip.megavoip.net export(execute_on_answer=record_session /var/lib/freeswitch/recordings/3e602d8e-318b-11ec-815a-b592942da5a5.wav)
  252. 2021-10-20 06:51:06.028167 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/3e602d8e-318b-11ec-815a-b592942da5a5.wav]
  253. EXECUTE sofia/default/4727985745@voip.megavoip.net set(calltype=STANDARD)
  254. 2021-10-20 06:51:06.028167 [DEBUG] mod_dptools.c:1548 SET sofia/default/4727985745@voip.megavoip.net [calltype]=[STANDARD]
  255. EXECUTE sofia/default/4727985745@voip.megavoip.net set(termination_rates=ID:1|CODE:^5534.*|DESTINATION:Brasil|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.03500|INC:6|INITIALBLOCK:30|TRUNK:1|PROVIDER:3)
  256. 2021-10-20 06:51:06.028167 [DEBUG] mod_dptools.c:1548 SET sofia/default/4727985745@voip.megavoip.net [termination_rates]=[ID:1|CODE:^5534.*|DESTINATION:Brasil|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.03500|INC:6|INITIALBLOCK:30|TRUNK:1|PROVIDER:3]
  257. EXECUTE sofia/default/4727985745@voip.megavoip.net set(trunk_id=1)
  258. 2021-10-20 06:51:06.028167 [DEBUG] mod_dptools.c:1548 SET sofia/default/4727985745@voip.megavoip.net [trunk_id]=[1]
  259. EXECUTE sofia/default/4727985745@voip.megavoip.net set(provider_id=3)
  260. 2021-10-20 06:51:06.028167 [DEBUG] mod_dptools.c:1548 SET sofia/default/4727985745@voip.megavoip.net [provider_id]=[3]
  261. EXECUTE sofia/default/4727985745@voip.megavoip.net set(rate_flag=0)
  262. 2021-10-20 06:51:06.028167 [DEBUG] mod_dptools.c:1548 SET sofia/default/4727985745@voip.megavoip.net [rate_flag]=[0]
  263. EXECUTE sofia/default/4727985745@voip.megavoip.net set(force_trunk_flag=1)
  264. 2021-10-20 06:51:06.028167 [DEBUG] mod_dptools.c:1548 SET sofia/default/4727985745@voip.megavoip.net [force_trunk_flag]=[1]
  265. EXECUTE sofia/default/4727985745@voip.megavoip.net export(presence_data=trunk_id=1)
  266. 2021-10-20 06:51:06.028167 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=1]
  267. EXECUTE sofia/default/4727985745@voip.megavoip.net set(intcall=0)
  268. 2021-10-20 06:51:06.028167 [DEBUG] mod_dptools.c:1548 SET sofia/default/4727985745@voip.megavoip.net [intcall]=[0]
  269. EXECUTE sofia/default/4727985745@voip.megavoip.net export(presence_data=x|||Danilo(4727985745)|||^5534.* // Brasil // 0.09000 // trunk_id=0|||DATfixoITX // ^5534.* // Brasil // 0.03500 // trunk_id=1|||STD)
  270. 2021-10-20 06:51:06.028167 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||Danilo(4727985745)|||^5534.* // Brasil // 0.09000 // trunk_id=0|||DATfixoITX // ^5534.* // Brasil // 0.03500 // trunk_id=1|||STD]
  271. EXECUTE sofia/default/4727985745@voip.megavoip.net bridge([leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/DATfixoITX/553438233779)
  272. 2021-10-20 06:51:06.028167 [DEBUG] switch_channel.c:1250 sofia/default/4727985745@voip.megavoip.net EXPORTING[export_vars] [is_recording]=[1] to event
  273. 2021-10-20 06:51:06.028167 [DEBUG] switch_channel.c:1250 sofia/default/4727985745@voip.megavoip.net EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  274. 2021-10-20 06:51:06.028167 [DEBUG] switch_channel.c:1250 sofia/default/4727985745@voip.megavoip.net EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  275. 2021-10-20 06:51:06.028167 [DEBUG] switch_channel.c:1250 sofia/default/4727985745@voip.megavoip.net EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  276. 2021-10-20 06:51:06.028167 [DEBUG] switch_channel.c:1250 sofia/default/4727985745@voip.megavoip.net EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/3e602d8e-318b-11ec-815a-b592942da5a5.wav] to event
  277. 2021-10-20 06:51:06.028167 [DEBUG] switch_channel.c:1250 sofia/default/4727985745@voip.megavoip.net EXPORTING[export_vars] [presence_data]=[x|||Danilo(4727985745)|||^5534.* // Brasil // 0.09000 // trunk_id=0|||DATfixoITX // ^5534.* // Brasil // 0.03500 // trunk_id=1|||STD] to event
  278. 2021-10-20 06:51:06.028167 [DEBUG] switch_channel.c:1250 sofia/default/4727985745@voip.megavoip.net EXPORTING[export_vars] [presence_data]=[x|||Danilo(4727985745)|||^5534.* // Brasil // 0.09000 // trunk_id=0|||DATfixoITX // ^5534.* // Brasil // 0.03500 // trunk_id=1|||STD] to event
  279. 2021-10-20 06:51:06.028167 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  280. 2021-10-20 06:51:06.028167 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  281. 2021-10-20 06:51:06.028167 [NOTICE] switch_channel.c:1104 New Channel sofia/default/553438233779 [3e7fd56c-318b-11ec-817f-b592942da5a5]
  282. 2021-10-20 06:51:06.028167 [DEBUG] mod_sofia.c:4819 (sofia/default/553438233779) State Change CS_NEW -> CS_INIT
  283. 2021-10-20 06:51:06.028167 [DEBUG] switch_ivr_originate.c:2963 sofia/default/553438233779 Setting leg timeout to 30
  284. 2021-10-20 06:51:06.028167 [DEBUG] switch_core_state_machine.c:584 (sofia/default/553438233779) Running State Change CS_INIT (Cur 2 Tot 6)
  285. 2021-10-20 06:51:06.028167 [DEBUG] switch_core_state_machine.c:627 (sofia/default/553438233779) State INIT
  286. 2021-10-20 06:51:06.028167 [DEBUG] mod_sofia.c:90 sofia/default/553438233779 SOFIA INIT
  287. 2021-10-20 06:51:06.028167 [DEBUG] sofia_glue.c:1295 sofia/default/553438233779 sending invite version: 1.6.20  64bit
  288. Local SDP:
  289. v=0
  290. o=FreeSWITCH 1634696280 1634696281 IN IP4 137.139.27.117
  291. s=FreeSWITCH
  292. c=IN IP4 137.139.27.117
  293. t=0 0
  294. m=audio 27186 RTP/AVP 8 0 101
  295. a=rtpmap:8 PCMA/8000
  296. a=rtpmap:0 PCMU/8000
  297. a=rtpmap:101 telephone-event/8000
  298. a=fmtp:101 0-16
  299. a=ptime:20
  300. a=sendrecv
  301.  
  302. 2021-10-20 06:51:06.028167 [DEBUG] switch_core_state_machine.c:40 sofia/default/553438233779 Standard INIT
  303. 2021-10-20 06:51:06.028167 [DEBUG] switch_core_state_machine.c:48 (sofia/default/553438233779) State Change CS_INIT -> CS_ROUTING
  304. 2021-10-20 06:51:06.028167 [DEBUG] switch_core_state_machine.c:627 (sofia/default/553438233779) State INIT going to sleep
  305. 2021-10-20 06:51:06.028167 [DEBUG] switch_core_state_machine.c:584 (sofia/default/553438233779) Running State Change CS_ROUTING (Cur 2 Tot 6)
  306. 2021-10-20 06:51:06.028167 [DEBUG] switch_core_state_machine.c:643 (sofia/default/553438233779) State ROUTING
  307. 2021-10-20 06:51:06.028167 [DEBUG] mod_sofia.c:143 sofia/default/553438233779 SOFIA ROUTING
  308. 2021-10-20 06:51:06.028167 [DEBUG] switch_ivr_originate.c:67 (sofia/default/553438233779) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  309. 2021-10-20 06:51:06.028167 [DEBUG] switch_core_state_machine.c:643 (sofia/default/553438233779) State ROUTING going to sleep
  310. 2021-10-20 06:51:06.028167 [DEBUG] switch_core_state_machine.c:584 (sofia/default/553438233779) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 6)
  311. 2021-10-20 06:51:06.028167 [DEBUG] switch_core_state_machine.c:662 (sofia/default/553438233779) State CONSUME_MEDIA
  312. 2021-10-20 06:51:06.028167 [DEBUG] switch_core_state_machine.c:662 (sofia/default/553438233779) State CONSUME_MEDIA going to sleep
  313. 2021-10-20 06:51:06.028167 [DEBUG] sofia.c:7084 Channel sofia/default/553438233779 entering state [calling][0]
  314. 2021-10-20 06:51:06.188256 [DEBUG] sofia.c:7084 Channel sofia/default/553438233779 entering state [calling][0]
  315. 2021-10-20 06:51:07.348321 [DEBUG] sofia.c:7084 Channel sofia/default/553438233779 entering state [proceeding][180]
  316. 2021-10-20 06:51:07.348321 [DEBUG] sofia.c:7094 Remote SDP:
  317. v=0
  318. o=Sippy 4611088391410040579 1 IN IP4 187.60.60.224
  319. s=SIP Media Capabilities
  320. t=0 0
  321. m=audio 57728 RTP/AVP 8 101
  322. c=IN IP4 187.60.60.224
  323. a=rtpmap:8 PCMA/8000
  324. a=rtpmap:101 telephone-event/8000
  325. a=fmtp:101 0-15
  326. a=maxptime:20
  327.  
  328. 2021-10-20 06:51:07.348321 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  329. 2021-10-20 06:51:07.348321 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  330. 2021-10-20 06:51:07.348321 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  331. 2021-10-20 06:51:07.348321 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  332. 2021-10-20 06:51:07.348321 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/553438233779 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  333. 2021-10-20 06:51:07.348321 [DEBUG] switch_core_codec.c:111 sofia/default/553438233779 Original read codec set to PCMA:8
  334. 2021-10-20 06:51:07.348321 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  335. 2021-10-20 06:51:07.348321 [DEBUG] switch_core_media.c:4767 sofia/default/553438233779 Set 2833 dtmf send payload to 101 recv payload to 101
  336. 2021-10-20 06:51:07.348321 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/553438233779] 137.139.27.117 port 27186 -> 187.60.60.224 port 57728 codec: 8 ms: 20
  337. 2021-10-20 06:51:07.348321 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  338. 2021-10-20 06:51:07.388237 [DEBUG] switch_core_media.c:7180 sofia/default/553438233779 Set 2833 dtmf send payload to 101
  339. 2021-10-20 06:51:07.388237 [DEBUG] switch_core_media.c:7187 sofia/default/553438233779 Set 2833 dtmf receive payload to 101
  340. 2021-10-20 06:51:07.388237 [DEBUG] switch_core_media.c:7210 sofia/default/553438233779 Set rtp dtmf delay to 40
  341. 2021-10-20 06:51:07.388237 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/553438233779!
  342. 2021-10-20 06:51:07.388237 [DEBUG] switch_channel.c:3474 (sofia/default/553438233779) Callstate Change DOWN -> EARLY
  343. 2021-10-20 06:51:07.388237 [INFO] switch_ivr_originate.c:3654 Sending early media
  344. 2021-10-20 06:51:07.388237 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/4727985745@voip.megavoip.net] 137.139.27.117 port 28694 -> 186.210.146.87 port 16300 codec: 0 ms: 20
  345. 2021-10-20 06:51:07.388237 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  346. 2021-10-20 06:51:07.388237 [DEBUG] switch_core_media.c:7096 Activating RTCP PORT 16301
  347. 2021-10-20 06:51:07.388237 [DEBUG] switch_rtp.c:4533 RTCP send rate is: 1000 and packet rate is: 20000 Remote Port: 16301
  348. 2021-10-20 06:51:07.388237 [DEBUG] switch_rtp.c:2567 Setting RTCP remote addr to 186.210.146.87:16301 2
  349. 2021-10-20 06:51:07.388237 [DEBUG] switch_core_media.c:7180 sofia/default/4727985745@voip.megavoip.net Set 2833 dtmf send payload to 101
  350. 2021-10-20 06:51:07.388237 [DEBUG] switch_core_media.c:7187 sofia/default/4727985745@voip.megavoip.net Set 2833 dtmf receive payload to 101
  351. 2021-10-20 06:51:07.388237 [DEBUG] switch_core_media.c:7210 sofia/default/4727985745@voip.megavoip.net Set rtp dtmf delay to 40
  352. 2021-10-20 06:51:07.388237 [DEBUG] mod_sofia.c:2364 Ring SDP:
  353. v=0
  354. o=FreeSWITCH 1634694773 1634694774 IN IP4 137.139.27.117
  355. s=FreeSWITCH
  356. c=IN IP4 137.139.27.117
  357. t=0 0
  358. m=audio 28694 RTP/AVP 0 101
  359. a=rtpmap:0 PCMU/8000
  360. a=rtpmap:101 telephone-event/8000
  361. a=fmtp:101 0-16
  362. a=ptime:20
  363. a=sendrecv
  364. a=rtcp:28695 IN IP4 137.139.27.117
  365.  
  366. 2021-10-20 06:51:07.388237 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/default/4727985745@voip.megavoip.net!
  367. 2021-10-20 06:51:07.388237 [DEBUG] switch_channel.c:3474 (sofia/default/4727985745@voip.megavoip.net) Callstate Change RINGING -> EARLY
  368. 2021-10-20 06:51:07.388237 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/553438233779]
  369. 2021-10-20 06:51:07.388237 [DEBUG] sofia.c:7084 Channel sofia/default/4727985745@voip.megavoip.net entering state [early][183]
  370. 2021-10-20 06:51:07.388237 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/553438233779) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  371. 2021-10-20 06:51:07.388237 [DEBUG] switch_core_state_machine.c:584 (sofia/default/553438233779) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 6)
  372. 2021-10-20 06:51:07.388237 [DEBUG] switch_core_state_machine.c:653 (sofia/default/553438233779) State EXCHANGE_MEDIA
  373. 2021-10-20 06:51:07.388237 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  374. 2021-10-20 06:51:07.428243 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  375. 2021-10-20 06:51:07.568262 [DEBUG] switch_ivr_bridge.c:546 sofia/default/553438233779 Bridge execute app sched_hangup(+6000 normal_clearing)
  376. 2021-10-20 06:51:07.588173 [DEBUG] switch_ivr.c:623 sofia/default/553438233779 Command Execute sched_hangup(+6000 normal_clearing)
  377. EXECUTE sofia/default/553438233779 sched_hangup(+6000 normal_clearing)
  378. 2021-10-20 06:51:07.588173 [DEBUG] switch_scheduler.c:249 Added task 4 switch_ivr_schedule_hangup (3e7fd56c-318b-11ec-817f-b592942da5a5) to run at 1634729467
  379. 2021-10-20 06:51:07.848173 [DEBUG] switch_rtp.c:1887 rtcp_stats_init: audio ssrc[788765132] base_seq[0]
  380. 2021-10-20 06:51:07.888280 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  381. 2021-10-20 06:51:12.588285 [DEBUG] switch_rtp.c:6758 Correct audio RTCP ip/port confirmed.
  382. 2021-10-20 06:51:16.068177 [DEBUG] sofia.c:7084 Channel sofia/default/4727985745@voip.megavoip.net entering state [terminated][487]
  383. 2021-10-20 06:51:16.068177 [NOTICE] sofia.c:8273 Hangup sofia/default/4727985745@voip.megavoip.net [CS_EXECUTE] [ORIGINATOR_CANCEL]
  384. 2021-10-20 06:51:16.068177 [DEBUG] switch_ivr_bridge.c:712 sofia/default/4727985745@voip.megavoip.net ending bridge by request from read function
  385. 2021-10-20 06:51:16.068177 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/4727985745@voip.megavoip.net]
  386. 2021-10-20 06:51:16.068177 [DEBUG] switch_ivr_bridge.c:706 sofia/default/4727985745@voip.megavoip.net ending bridge by request from write function
  387. 2021-10-20 06:51:16.068177 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/553438233779]
  388. 2021-10-20 06:51:16.088141 [NOTICE] switch_ivr_bridge.c:900 Hangup sofia/default/553438233779 [CS_EXCHANGE_MEDIA] [ORIGINATOR_CANCEL]
  389. 2021-10-20 06:51:16.088141 [DEBUG] switch_core_state_machine.c:653 (sofia/default/553438233779) State EXCHANGE_MEDIA going to sleep
  390. 2021-10-20 06:51:16.088141 [DEBUG] switch_core_state_machine.c:584 (sofia/default/553438233779) Running State Change CS_HANGUP (Cur 2 Tot 6)
  391. 2021-10-20 06:51:16.088141 [DEBUG] switch_core_state_machine.c:850 (sofia/default/553438233779) Callstate Change EARLY -> HANGUP
  392. 2021-10-20 06:51:16.088141 [DEBUG] switch_core_state_machine.c:852 (sofia/default/553438233779) State HANGUP
  393. 2021-10-20 06:51:16.088141 [DEBUG] mod_sofia.c:432 sofia/default/553438233779 Overriding SIP cause 487 with 487 from the other leg
  394. 2021-10-20 06:51:16.088141 [DEBUG] mod_sofia.c:438 Channel sofia/default/553438233779 hanging up, cause: ORIGINATOR_CANCEL
  395. 2021-10-20 06:51:16.088141 [DEBUG] mod_sofia.c:502 Sending CANCEL to sofia/default/553438233779
  396. 2021-10-20 06:51:16.088141 [DEBUG] switch_core_state_machine.c:60 sofia/default/553438233779 Standard HANGUP, cause: ORIGINATOR_CANCEL
  397. 2021-10-20 06:51:16.088141 [DEBUG] switch_core_state_machine.c:852 (sofia/default/553438233779) State HANGUP going to sleep
  398. 2021-10-20 06:51:16.088141 [DEBUG] switch_core_state_machine.c:619 (sofia/default/553438233779) State Change CS_HANGUP -> CS_REPORTING
  399. 2021-10-20 06:51:16.088141 [DEBUG] switch_core_state_machine.c:584 (sofia/default/553438233779) Running State Change CS_REPORTING (Cur 2 Tot 6)
  400. 2021-10-20 06:51:16.088141 [DEBUG] switch_core_state_machine.c:938 (sofia/default/553438233779) State REPORTING
  401. 2021-10-20 06:51:16.088141 [INFO] mod_json_cdr.c:271 Process [3e7fd56c-318b-11ec-817f-b592942da5a5.cdr.json]
  402. 2021-10-20 06:51:16.088141 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/553438233779 skip receive message [UNBRIDGE] (channel is hungup already)
  403. 2021-10-20 06:51:16.088141 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/4727985745@voip.megavoip.net skip receive message [UNBRIDGE] (channel is hungup already)
  404. 2021-10-20 06:51:16.088141 [DEBUG] switch_core_session.c:2815 sofia/default/4727985745@voip.megavoip.net skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  405. 2021-10-20 06:51:16.088141 [DEBUG] switch_core_state_machine.c:650 (sofia/default/4727985745@voip.megavoip.net) State EXECUTE going to sleep
  406. 2021-10-20 06:51:16.088141 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4727985745@voip.megavoip.net) Running State Change CS_HANGUP (Cur 2 Tot 6)
  407. 2021-10-20 06:51:16.088141 [DEBUG] switch_core_state_machine.c:850 (sofia/default/4727985745@voip.megavoip.net) Callstate Change EARLY -> HANGUP
  408. 2021-10-20 06:51:16.088141 [DEBUG] switch_core_state_machine.c:852 (sofia/default/4727985745@voip.megavoip.net) State HANGUP
  409. 2021-10-20 06:51:16.088141 [DEBUG] mod_sofia.c:438 Channel sofia/default/4727985745@voip.megavoip.net hanging up, cause: ORIGINATOR_CANCEL
  410. 2021-10-20 06:51:16.088141 [DEBUG] switch_core_state_machine.c:60 sofia/default/4727985745@voip.megavoip.net Standard HANGUP, cause: ORIGINATOR_CANCEL
  411. 2021-10-20 06:51:16.088141 [DEBUG] switch_core_state_machine.c:852 (sofia/default/4727985745@voip.megavoip.net) State HANGUP going to sleep
  412. 2021-10-20 06:51:16.088141 [DEBUG] switch_core_state_machine.c:619 (sofia/default/4727985745@voip.megavoip.net) State Change CS_HANGUP -> CS_REPORTING
  413. 2021-10-20 06:51:16.088141 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4727985745@voip.megavoip.net) Running State Change CS_REPORTING (Cur 2 Tot 6)
  414. 2021-10-20 06:51:16.088141 [DEBUG] switch_core_state_machine.c:938 (sofia/default/4727985745@voip.megavoip.net) State REPORTING
  415. 2021-10-20 06:51:16.088141 [INFO] mod_json_cdr.c:271 Process [3e602d8e-318b-11ec-815a-b592942da5a5.cdr.json]
  416. 2021-10-20 06:51:16.088141 [DEBUG] switch_core_state_machine.c:174 sofia/default/553438233779 Standard REPORTING, cause: ORIGINATOR_CANCEL
  417. 2021-10-20 06:51:16.088141 [DEBUG] switch_core_state_machine.c:938 (sofia/default/553438233779) State REPORTING going to sleep
  418. 2021-10-20 06:51:16.088141 [DEBUG] switch_core_state_machine.c:610 (sofia/default/553438233779) State Change CS_REPORTING -> CS_DESTROY
  419. 2021-10-20 06:51:16.088141 [DEBUG] switch_core_session.c:1665 Session 6 (sofia/default/553438233779) Locked, Waiting on external entities
  420. 2021-10-20 06:51:16.088141 [NOTICE] switch_core_session.c:1683 Session 6 (sofia/default/553438233779) Ended
  421. 2021-10-20 06:51:16.088141 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/553438233779 [CS_DESTROY]
  422. 2021-10-20 06:51:16.088141 [DEBUG] switch_core_state_machine.c:741 (sofia/default/553438233779) Running State Change CS_DESTROY (Cur 1 Tot 6)
  423. 2021-10-20 06:51:16.088141 [DEBUG] switch_core_state_machine.c:751 (sofia/default/553438233779) State DESTROY
  424. 2021-10-20 06:51:16.088141 [DEBUG] mod_sofia.c:343 sofia/default/553438233779 SOFIA DESTROY
  425. 2021-10-20 06:51:16.088141 [DEBUG] switch_core_state_machine.c:181 sofia/default/553438233779 Standard DESTROY
  426. 2021-10-20 06:51:16.088141 [DEBUG] switch_core_state_machine.c:751 (sofia/default/553438233779) State DESTROY going to sleep
  427. 2021-10-20 06:51:16.088141 [DEBUG] switch_core_state_machine.c:174 sofia/default/4727985745@voip.megavoip.net Standard REPORTING, cause: ORIGINATOR_CANCEL
  428. 2021-10-20 06:51:16.088141 [DEBUG] switch_core_state_machine.c:938 (sofia/default/4727985745@voip.megavoip.net) State REPORTING going to sleep
  429. 2021-10-20 06:51:16.088141 [DEBUG] switch_core_state_machine.c:610 (sofia/default/4727985745@voip.megavoip.net) State Change CS_REPORTING -> CS_DESTROY
  430. 2021-10-20 06:51:16.088141 [DEBUG] switch_core_session.c:1665 Session 5 (sofia/default/4727985745@voip.megavoip.net) Locked, Waiting on external entities
  431. 2021-10-20 06:51:16.088141 [NOTICE] switch_core_session.c:1683 Session 5 (sofia/default/4727985745@voip.megavoip.net) Ended
  432. 2021-10-20 06:51:16.088141 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/4727985745@voip.megavoip.net [CS_DESTROY]
  433. 2021-10-20 06:51:16.088141 [DEBUG] switch_core_state_machine.c:741 (sofia/default/4727985745@voip.megavoip.net) Running State Change CS_DESTROY (Cur 0 Tot 6)
  434. 2021-10-20 06:51:16.088141 [DEBUG] switch_core_state_machine.c:751 (sofia/default/4727985745@voip.megavoip.net) State DESTROY
  435. 2021-10-20 06:51:16.088141 [DEBUG] mod_sofia.c:343 sofia/default/4727985745@voip.megavoip.net SOFIA DESTROY
  436. 2021-10-20 06:51:16.088141 [DEBUG] switch_core_state_machine.c:181 sofia/default/4727985745@voip.megavoip.net Standard DESTROY
  437. 2021-10-20 06:51:16.088141 [DEBUG] switch_core_state_machine.c:751 (sofia/default/4727985745@voip.megavoip.net) State DESTROY going to sleep
  438. 2021-10-20 06:51:16.108248 [DEBUG] switch_scheduler.c:144 Deleting task 4 switch_ivr_schedule_hangup (3e7fd56c-318b-11ec-817f-b592942da5a5)
captcha