From Trivial Armadillo, 3 Months ago, written in HTML5.
- view diff
Embed
  1. 2024-08-08 04:15:54.742152 100.00% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 51.195.51.35:0.
  2. 2024-08-08 04:15:54.742152 100.00% [DEBUG] sofia.c:10585 IP 51.195.51.35 Approved by acl "default[]". Access Granted.
  3. 2024-08-08 04:15:54.742152 100.00% [DEBUG] sofia.c:7499 Channel sofia/default/633@srp1.topvoip.io entering state [received][100]
  4. 2024-08-08 04:15:54.742152 100.00% [DEBUG] sofia.c:7509 Remote SDP:
  5. v=0
  6. o=Z 0 0 IN IP4 51.195.51.35
  7. s=Z
  8. c=IN IP4 51.195.51.35
  9. t=0 0
  10. m=audio 28394 RTP/AVP 3 110 8 0 98 101
  11. a=rtpmap:3 GSM/8000
  12. a=rtpmap:110 speex/8000
  13. a=rtpmap:8 PCMA/8000
  14. a=rtpmap:0 PCMU/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. a=rtcp:28395
  20.  
  21. 2024-08-08 04:15:54.742152 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  22. 2024-08-08 04:15:54.742152 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  23. 2024-08-08 04:15:54.742152 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G729:18:8000:20:8000:1]
  24. 2024-08-08 04:15:54.742152 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  25. 2024-08-08 04:15:54.742152 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  26. 2024-08-08 04:15:54.742152 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[G729:18:8000:20:8000:1]
  27. 2024-08-08 04:15:54.742152 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  28. 2024-08-08 04:15:54.742152 100.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  29. 2024-08-08 04:15:54.742152 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  30. 2024-08-08 04:15:54.742152 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  31. 2024-08-08 04:15:54.742152 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  32. 2024-08-08 04:15:54.742152 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  33. 2024-08-08 04:15:54.742152 100.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  34. 2024-08-08 04:15:54.742152 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  35. 2024-08-08 04:15:54.742152 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  36. 2024-08-08 04:15:54.742152 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  37. 2024-08-08 04:15:54.742152 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[G729:18:8000:20:8000:1]
  38. 2024-08-08 04:15:54.742152 100.00% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  39. 2024-08-08 04:15:54.742152 100.00% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/633@srp1.topvoip.io PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  40. 2024-08-08 04:15:54.742152 100.00% [DEBUG] switch_core_codec.c:111 sofia/default/633@srp1.topvoip.io Original read codec set to PCMA:8
  41. 2024-08-08 04:15:54.742152 100.00% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  42. 2024-08-08 04:15:54.742152 100.00% [DEBUG] switch_core_media.c:5973 sofia/default/633@srp1.topvoip.io Set 2833 dtmf send payload to 101 recv payload to 101
  43. 2024-08-08 04:15:54.742152 100.00% [DEBUG] sofia.c:7933 (sofia/default/633@srp1.topvoip.io) State Change CS_NEW -> CS_INIT
  44. 2024-08-08 04:15:54.742152 100.00% [DEBUG] switch_core_state_machine.c:600 (sofia/default/633@srp1.topvoip.io) State NEW
  45. 2024-08-08 04:15:54.742152 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/633@srp1.topvoip.io) Running State Change CS_INIT (Cur 1 Tot 1119953)
  46. 2024-08-08 04:15:54.742152 100.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/633@srp1.topvoip.io) State INIT
  47. 2024-08-08 04:15:54.742152 100.00% [DEBUG] mod_sofia.c:97 sofia/default/633@srp1.topvoip.io SOFIA INIT
  48. 2024-08-08 04:15:54.742152 100.00% [DEBUG] switch_core_state_machine.c:40 sofia/default/633@srp1.topvoip.io Standard INIT
  49. 2024-08-08 04:15:54.742152 100.00% [DEBUG] switch_core_state_machine.c:48 (sofia/default/633@srp1.topvoip.io) State Change CS_INIT -> CS_ROUTING
  50. 2024-08-08 04:15:54.742152 100.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/633@srp1.topvoip.io) State INIT going to sleep
  51. 2024-08-08 04:15:54.742152 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/633@srp1.topvoip.io) Running State Change CS_ROUTING (Cur 1 Tot 1119953)
  52. 2024-08-08 04:15:54.742152 100.00% [DEBUG] switch_channel.c:2380 (sofia/default/633@srp1.topvoip.io) Callstate Change DOWN -> RINGING
  53. 2024-08-08 04:15:54.742152 100.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/633@srp1.topvoip.io) State ROUTING
  54. 2024-08-08 04:15:54.742152 100.00% [DEBUG] mod_sofia.c:158 sofia/default/633@srp1.topvoip.io SOFIA ROUTING
  55. 2024-08-08 04:15:54.742152 100.00% [DEBUG] switch_core_state_machine.c:230 sofia/default/633@srp1.topvoip.io Standard ROUTING
  56. 2024-08-08 04:15:54.742152 100.00% [INFO] mod_dialplan_xml.c:639 Processing 633 <633>->420602420296 in context default
  57. 2024-08-08 04:15:54.742152 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  58. 2024-08-08 04:15:54.742152 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  59. 2024-08-08 04:15:54.742152 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')                                                                                                                                                                                              
  60. 2024-08-08 04:15:54.762118 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  61. 2024-08-08 04:15:54.782113 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 420602420296
  62. 2024-08-08 04:15:54.782113 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '420602420296' AND status=0 limit 1
  63. 2024-08-08 04:15:54.782113 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER633
  64. 2024-08-08 04:15:54.782113 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  65. 2024-08-08 04:15:54.802121 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '420602420296' limit 1
  66. 2024-08-08 04:15:54.802121 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : <null> / 633
  67. 2024-08-08 04:15:54.802121 100.00% [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, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="420602420296" LIMIT 1                                  
  68. 2024-08-08 04:15:54.822121 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  69. 2024-08-08 04:15:54.842120 100.00% [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,sip_devices.codec as sip_codec 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="420602420296" limit 1                                                                                                                                                                
  70. 2024-08-08 04:15:54.842120 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  71. 2024-08-08 04:15:54.842120 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 49.34.162.239
  72. 2024-08-08 04:15:54.842120 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 6950858664]
  73. 2024-08-08 04:15:54.842120 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "6950858664" OR id = "6950858664") AND deleted = 0 limit 1
  74. 2024-08-08 04:15:54.862121 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^420602420296.*' OR blocked_patterns = '^42060242029.*' OR blocked_patterns = '^4206024202.*' OR blocked_patterns = '^420602420.*' OR blocked_patterns = '^42060242.*' OR blocked_patterns = '^4206024.*' OR blocked_patterns = '^420602.*' OR blocked_patterns = '^42060.*' OR blocked_patterns = '^4206.*' OR blocked_patterns = '^420.*' OR blocked_patterns = '^42.*' OR blocked_patterns = '^4.*' OR blocked_patterns ='--') AND accountid = 261 limit 1                              
  75. 2024-08-08 04:15:54.862121 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="420602420296" AND (accountid = 0 OR status = 1) LIMIT 1
  76. 2024-08-08 04:15:54.882118 100.00% [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 = '^420602420296.*' OR patterns = '^42060242029.*' OR patterns = '^4206024202.*' OR patterns = '^420602420.*' OR patterns = '^42060242.*' OR patterns = '^4206024.*' OR patterns = '^420602.*' OR patterns = '^42060.*' OR patterns = '^4206.*' OR patterns = '^420.*' OR patterns = '^42.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 261 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                                                                                                                                            
  77. 2024-08-08 04:15:54.902117 100.00% [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 ="420602420296" AND A.accountid = '261' limit 1                                                                                                                                                              
  78. 2024-08-08 04:15:54.902117 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 420602420296
  79. 2024-08-08 04:15:54.902117 100.00% [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, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="420602420296" LIMIT 1                                  
  80. 2024-08-08 04:15:54.922117 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  81. 2024-08-08 04:15:54.922117 100.00% [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,sip_devices.codec as sip_codec 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="420602420296" limit 1                                                                                                                                                                
  82. 2024-08-08 04:15:54.942118 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  83. 2024-08-08 04:15:54.942118 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '420602420296' OR number = '42060242029' OR number = '4206024202' OR number = '420602420' OR number = '42060242' OR number = '4206024' OR number = '420602' OR number = '42060' OR number = '4206' OR number = '420' OR number = '42' OR number = '4' OR number ='--') OR (number = '420602420296*' OR number = '42060242029*' OR number = '4206024202*' OR number = '420602420*' OR number = '42060242*' OR number = '4206024*' OR number = '420602*' OR number = '42060*' OR number = '4206*' OR number = '420*' OR number = '42*' OR number = '4*' OR number ='--') OR (number = '633' OR number = '63' OR number = '6' OR number ='--') OR (number = '633*' OR number = '63*' OR number = '6*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC                                                                    
  84. 2024-08-08 04:15:54.962121 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  85. 2024-08-08 04:15:54.962121 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '420602420296' OR routing_prefix = '42060242029' OR routing_prefix = '4206024202' OR routing_prefix = '420602420' OR routing_prefix = '42060242' OR routing_prefix = '4206024' OR routing_prefix = '420602' OR routing_prefix = '42060' OR routing_prefix = '4206' OR routing_prefix = '420' OR routing_prefix = '42' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1                                        
  86. 2024-08-08 04:15:54.982112 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  87. 2024-08-08 04:15:54.982112 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 261
  88. 2024-08-08 04:15:54.982112 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 6950858664
  89. 2024-08-08 04:15:54.982112 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 49985.2535
  90. 2024-08-08 04:15:54.982112 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  91. 2024-08-08 04:15:54.982112 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 33
  92. 2024-08-08 04:15:54.982112 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  93. 2024-08-08 04:15:54.982112 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  94. 2024-08-08 04:15:54.982112 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 33 AND status = 0
  95. 2024-08-08 04:15:55.002105 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  96. 2024-08-08 04:15:55.002105 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 33 AND status = 0
  97. 2024-08-08 04:15:55.002105 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^420602420296.*' OR pattern = '^42060242029.*' OR pattern = '^4206024202.*' OR pattern = '^420602420.*' OR pattern = '^42060242.*' OR pattern = '^4206024.*' OR pattern = '^420602.*' OR pattern = '^42060.*' OR pattern = '^4206.*' OR pattern = '^420.*' OR pattern = '^42.*' OR pattern = '^4.*' OR pattern ='--') AND (caller_id_pattern = '^633.*' OR caller_id_pattern = '^63.*' OR caller_id_pattern = '^6.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 33 OR accountid=261)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1                                                                        
  98. 2024-08-08 04:15:55.022107 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  99. 2024-08-08 04:15:55.022107 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  100. 2024-08-08 04:15:55.022107 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 61039
  101. 2024-08-08 04:15:55.022107 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  102. 2024-08-08 04:15:55.022107 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  103. 2024-08-08 04:15:55.022107 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.03000
  104. 2024-08-08 04:15:55.022107 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment :
  105. 2024-08-08 04:15:55.022107 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  106. 2024-08-08 04:15:55.022107 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 261
  107. 2024-08-08 04:15:55.022107 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 1,1,1,1,1,1,1,1
  108. 2024-08-08 04:15:55.022107 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  109. 2024-08-08 04:15:55.022107 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  110. 2024-08-08 04:15:55.022107 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your49985.2535 balance Accountid 261 !!!
  111. 2024-08-08 04:15:55.022107 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  112. 2024-08-08 04:15:55.122119 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  113. 2024-08-08 04:15:55.122119 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  114. 2024-08-08 04:15:55.122119 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=33 ORDER by id asc
  115. 2024-08-08 04:15:55.122119 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,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 = '^420602420296.*' OR pattern = '^42060242029.*' OR pattern = '^4206024202.*' OR pattern = '^420602420.*' OR pattern = '^42060242.*' OR pattern = '^4206024.*' OR pattern = '^420602.*' OR pattern = '^42060.*' OR pattern = '^4206.*' OR pattern = '^420.*' OR pattern = '^42.*' OR pattern = '^4.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (61) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC                                                    
  116. 2024-08-08 04:15:55.142116 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  117. 2024-08-08 04:15:55.142116 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3526
  118. 2024-08-08 04:15:55.142116 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^420602.*
  119. 2024-08-08 04:15:55.142116 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Czech Republic O2 mobile
  120. 2024-08-08 04:15:55.142116 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  121. 2024-08-08 04:15:55.142116 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  122. 2024-08-08 04:15:55.142116 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^420602.*
  123. 2024-08-08 04:15:55.142116 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  124. 2024-08-08 04:15:55.142116 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  125. 2024-08-08 04:15:55.142116 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 61
  126. 2024-08-08 04:15:55.142116 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Itel_2_Gateway
  127. 2024-08-08 04:15:55.142116 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  128. 2024-08-08 04:15:55.142116 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  129. 2024-08-08 04:15:55.142116 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  130. 2024-08-08 04:15:55.142116 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  131. 2024-08-08 04:15:55.142116 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  132. 2024-08-08 04:15:55.142116 100.00% [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 = 261 AND status=0 LIMIT 1                                                                                                                                                                                      
  133. 2024-08-08 04:15:55.162118 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  134. 2024-08-08 04:15:55.162118 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = '633' and status = 0 limit 1
  135. 2024-08-08 04:15:55.182117 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  136. 2024-08-08 04:15:55.182117 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  137. 2024-08-08 04:15:55.182117 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 33 AND status = 0
  138. 2024-08-08 04:15:55.202117 100.00% [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 = 3) AND status=0 limit 1                                                                                                                                                                  
  139. 2024-08-08 04:15:55.222127 100.00% [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 = 61) AND status=0 limit 1                                                                                                                                                                  
  140. 2024-08-08 04:15:55.222127 100.00% [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, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="420602420296" LIMIT 1                                  
  141. 2024-08-08 04:15:55.242123 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  142. 2024-08-08 04:15:55.242123 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  143. <?xml version="1.0" encoding="UTF-8" standalone="no"?>                                                                                                                                                            
  144. <document type="freeswitch/xml">                                                                                                                                                                                  
  145. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  146. <context name="default">                                                                                                                                                                                          
  147. <extension name="420602420296">                                                                                                                                                                                    
  148. <condition field="destination_number" expression="420602420296">                                                                                                                                                  
  149. <action application="set" data="effective_destination_number=420602420296"/>                                                                                                                                      
  150. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>                                                                                                                                        
  151. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>                                                                                                                              
  152. <action application="set" data="notify_flag=0"/>                                                                                                                                                                  
  153. <action application="set" data="notify_credit_limit=5.00000"/>                                                                                                                                                    
  154. <action application="set" data="type=0"/>                                                                                                                                                                          
  155. <action application="set" data="callstart=2024-08-08 04:15:55"/>                                                                                                                                                  
  156. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  157. <action application="set" data="continue_on_fail=TRUE"/>                                                                                                                                                          
  158. <action application="set" data="account_id=261"/>                                                                                                                                                                  
  159. <action application="set" data="parent_id=0"/>                                                                                                                                                                    
  160. <action application="set" data="entity_id=0"/>                                                                                                                                                                    
  161. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  162. <action application="set" data="call_direction=outbound"/>                                                                                                                                                        
  163. <action application="set" data="accountname=default"/>                                                                                                                                                            
  164. <action application="set" data="origination_rates=ID:61039|CODE:^4.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03000|INC:1|INITIALBLOCK:1|RATEGROUP:33|MARKUP:0|CI:0|ACCID:261"/>          
  165. <action application="set" data="original_caller_id_number=633"/>                                                                                                                                                  
  166. <action application="limit" data="db 6950858664 user_6950858664 1 "/>                                                                                                                                              
  167.  
  168. <action application="export" data="is_recording=1"/>                                                                                                                                                              
  169. <action application="export" data="media_bug_answer_req=true"/>                                                                                                                                                    
  170. <action application="export" data="record_sample_rate=8000"/>                                                                                                                                                      
  171. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>                                                                                                              
  172. <action application="set" data="effective_caller_id_number=633"/>                                                                                                                                                  
  173. <action application="set" data="calltype=STANDARD"/>                                                                                                                                                              
  174. <action application="set" data="termination_rates=ID:3526|CODE:^420602.*|DESTINATION:Czech Republic O2 mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.02000|INC:1|INITIALBLOCK:1|TRUNK:61|PROVIDER:3"/>    
  175. <action application="set" data="trunk_id=61"/>                                                                                                                                                                    
  176. <action application="set" data="provider_id=3"/>                                                                                                                                                                  
  177. <action application="set" data="rate_flag=0"/>                                                                                                                                                                    
  178. <action application="set" data="daily_call_credit_limit=0.00000"/>                                                                                                                                                
  179. <action application="set" data="monthly_call_credit_limit=0.00000"/>                                                                                                                                              
  180. <action application="set" data="daily_call_used_limit=0.00000"/>                                                                                                                                                  
  181. <action application="set" data="monthly_call_used_limit=0.00000"/>                                                                                                                                                
  182. <action application="set" data="quality_trunk_seq=61"/>                                                                                                                                                            
  183. <action application="set" data="force_trunk_flag=0"/>                                                                                                                                                              
  184. <action application="export" data="presence_data=trunk_id=61"/>                                                                                                                                                    
  185. <action application="set" data="intcall=0"/>                                                                                                                                                                      
  186. <action application="export" data="presence_id=420602420296"/>                                                                                                                                                    
  187. <action application="export" data="presence_data=x|||EXAMINATION(6950858664)|||^4.* //  // 0.03000 // account_id=261 |||Itel_checz_ph // ^420602.* // Czech Republic O2 mobile // 0.02000 // trunk_id=61|||STD|||49.34.162.239"/>                                                                                                                                                                                                    
  188. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Itel_2_Gateway/420602420296;fs_path=sip:51.195.51.35:5060"/>                            
  189. </condition>                                                                                                                                                                                                      
  190. </extension>                                                                                                                                                                                                      
  191. </context>                                                                                                                                                                                                        
  192. </section>                                                                                                                                                                                                        
  193. </document>                                                                                                                                                                                                        
  194. Dialplan: sofia/default/633@srp1.topvoip.io parsing [default->420602420296] continue=false
  195. Dialplan: sofia/default/633@srp1.topvoip.io Regex (PASS) [420602420296] destination_number(420602420296) =~ /420602420296/ break=on-false
  196. Dialplan: sofia/default/633@srp1.topvoip.io Action set(effective_destination_number=420602420296)
  197. Dialplan: sofia/default/633@srp1.topvoip.io Action set(bridge_pre_execute_bleg_app=sched_hangup)
  198. Dialplan: sofia/default/633@srp1.topvoip.io Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  199. Dialplan: sofia/default/633@srp1.topvoip.io Action set(notify_flag=0)
  200. Dialplan: sofia/default/633@srp1.topvoip.io Action set(notify_credit_limit=5.00000)
  201. Dialplan: sofia/default/633@srp1.topvoip.io Action set(type=0)
  202. Dialplan: sofia/default/633@srp1.topvoip.io Action set(callstart=2024-08-08 04:15:55)
  203. Dialplan: sofia/default/633@srp1.topvoip.io Action set(hangup_after_bridge=true)
  204. Dialplan: sofia/default/633@srp1.topvoip.io Action set(continue_on_fail=TRUE)
  205. Dialplan: sofia/default/633@srp1.topvoip.io Action set(account_id=261)
  206. Dialplan: sofia/default/633@srp1.topvoip.io Action set(parent_id=0)
  207. Dialplan: sofia/default/633@srp1.topvoip.io Action set(entity_id=0)
  208. Dialplan: sofia/default/633@srp1.topvoip.io Action set(call_processed=internal)
  209. Dialplan: sofia/default/633@srp1.topvoip.io Action set(call_direction=outbound)
  210. Dialplan: sofia/default/633@srp1.topvoip.io Action set(accountname=default)
  211. Dialplan: sofia/default/633@srp1.topvoip.io Action set(origination_rates=ID:61039|CODE:^4.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03000|INC:1|INITIALBLOCK:1|RATEGROUP:33|MARKUP:0|CI:0|ACCID:261)                                                                                                                                                                                                        
  212. Dialplan: sofia/default/633@srp1.topvoip.io Action set(original_caller_id_number=633)
  213. Dialplan: sofia/default/633@srp1.topvoip.io Action limit(db 6950858664 user_6950858664 1 )
  214. Dialplan: sofia/default/633@srp1.topvoip.io Action export(is_recording=1)
  215. Dialplan: sofia/default/633@srp1.topvoip.io Action export(media_bug_answer_req=true)
  216. Dialplan: sofia/default/633@srp1.topvoip.io Action export(record_sample_rate=8000)
  217. Dialplan: sofia/default/633@srp1.topvoip.io Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  218. Dialplan: sofia/default/633@srp1.topvoip.io Action set(effective_caller_id_number=633)
  219. Dialplan: sofia/default/633@srp1.topvoip.io Action set(calltype=STANDARD)
  220. Dialplan: sofia/default/633@srp1.topvoip.io Action set(termination_rates=ID:3526|CODE:^420602.*|DESTINATION:Czech Republic O2 mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.02000|INC:1|INITIALBLOCK:1|TRUNK:61|PROVIDER:3)                                                                                                                                                                                                  
  221. Dialplan: sofia/default/633@srp1.topvoip.io Action set(trunk_id=61)
  222. Dialplan: sofia/default/633@srp1.topvoip.io Action set(provider_id=3)
  223. Dialplan: sofia/default/633@srp1.topvoip.io Action set(rate_flag=0)
  224. Dialplan: sofia/default/633@srp1.topvoip.io Action set(daily_call_credit_limit=0.00000)
  225. Dialplan: sofia/default/633@srp1.topvoip.io Action set(monthly_call_credit_limit=0.00000)
  226. Dialplan: sofia/default/633@srp1.topvoip.io Action set(daily_call_used_limit=0.00000)
  227. Dialplan: sofia/default/633@srp1.topvoip.io Action set(monthly_call_used_limit=0.00000)
  228. Dialplan: sofia/default/633@srp1.topvoip.io Action set(quality_trunk_seq=61)
  229. Dialplan: sofia/default/633@srp1.topvoip.io Action set(force_trunk_flag=0)
  230. Dialplan: sofia/default/633@srp1.topvoip.io Action export(presence_data=trunk_id=61)
  231. Dialplan: sofia/default/633@srp1.topvoip.io Action set(intcall=0)
  232. Dialplan: sofia/default/633@srp1.topvoip.io Action export(presence_id=420602420296)
  233. Dialplan: sofia/default/633@srp1.topvoip.io Action export(presence_data=x|||EXAMINATION(6950858664)|||^4.* //  // 0.03000 // account_id=261 |||Itel_checz_ph // ^420602.* // Czech Republic O2 mobile // 0.02000 // trunk_id=61|||STD|||49.34.162.239)                                                                                                                                                                                
  234. Dialplan: sofia/default/633@srp1.topvoip.io Action bridge({sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Itel_2_Gateway/420602420296;fs_path=sip:51.195.51.35:5060)
  235. 2024-08-08 04:15:55.242123 100.00% [DEBUG] switch_core_state_machine.c:281 (sofia/default/633@srp1.topvoip.io) State Change CS_ROUTING -> CS_EXECUTE
  236. 2024-08-08 04:15:55.242123 100.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/633@srp1.topvoip.io) State ROUTING going to sleep
  237. 2024-08-08 04:15:55.242123 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/633@srp1.topvoip.io) Running State Change CS_EXECUTE (Cur 1 Tot 1119953)
  238. 2024-08-08 04:15:55.242123 100.00% [DEBUG] switch_core_state_machine.c:647 (sofia/default/633@srp1.topvoip.io) State EXECUTE
  239. 2024-08-08 04:15:55.242123 100.00% [DEBUG] mod_sofia.c:213 sofia/default/633@srp1.topvoip.io SOFIA EXECUTE
  240. 2024-08-08 04:15:55.242123 100.00% [DEBUG] switch_core_state_machine.c:323 sofia/default/633@srp1.topvoip.io Standard EXECUTE
  241. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io set(effective_destination_number=420602420296)
  242. 2024-08-08 04:15:55.242123 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/633@srp1.topvoip.io [effective_destination_number]=[420602420296]
  243. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io set(bridge_pre_execute_bleg_app=sched_hangup)
  244. 2024-08-08 04:15:55.242123 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/633@srp1.topvoip.io [bridge_pre_execute_bleg_app]=[sched_hangup]
  245. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  246. 2024-08-08 04:15:55.242123 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/633@srp1.topvoip.io [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  247. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io set(notify_flag=0)
  248. 2024-08-08 04:15:55.242123 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/633@srp1.topvoip.io [notify_flag]=[0]
  249. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io set(notify_credit_limit=5.00000)
  250. 2024-08-08 04:15:55.242123 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/633@srp1.topvoip.io [notify_credit_limit]=[5.00000]
  251. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io set(type=0)
  252. 2024-08-08 04:15:55.242123 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/633@srp1.topvoip.io [type]=[0]
  253. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io set(callstart=2024-08-08 04:15:55)
  254. 2024-08-08 04:15:55.242123 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/633@srp1.topvoip.io [callstart]=[2024-08-08 04:15:55]
  255. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io set(hangup_after_bridge=true)
  256. 2024-08-08 04:15:55.242123 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/633@srp1.topvoip.io [hangup_after_bridge]=[true]
  257. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io set(continue_on_fail=TRUE)
  258. 2024-08-08 04:15:55.242123 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/633@srp1.topvoip.io [continue_on_fail]=[TRUE]
  259. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io set(account_id=261)
  260. 2024-08-08 04:15:55.242123 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/633@srp1.topvoip.io [account_id]=[261]
  261. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io set(parent_id=0)
  262. 2024-08-08 04:15:55.242123 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/633@srp1.topvoip.io [parent_id]=[0]
  263. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io set(entity_id=0)
  264. 2024-08-08 04:15:55.242123 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/633@srp1.topvoip.io [entity_id]=[0]
  265. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io set(call_processed=internal)
  266. 2024-08-08 04:15:55.242123 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/633@srp1.topvoip.io [call_processed]=[internal]
  267. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io set(call_direction=outbound)
  268. 2024-08-08 04:15:55.242123 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/633@srp1.topvoip.io [call_direction]=[outbound]
  269. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io set(accountname=default)
  270. 2024-08-08 04:15:55.242123 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/633@srp1.topvoip.io [accountname]=[default]
  271. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io set(origination_rates=ID:61039|CODE:^4.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03000|INC:1|INITIALBLOCK:1|RATEGROUP:33|MARKUP:0|CI:0|ACCID:261)                                                                                                                                                                                                        
  272. 2024-08-08 04:15:55.242123 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/633@srp1.topvoip.io [origination_rates]=[ID:61039|CODE:^4.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03000|INC:1|INITIALBLOCK:1|RATEGROUP:33|MARKUP:0|CI:0|ACCID:261]                                                                                                                                                        
  273. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io set(original_caller_id_number=633)
  274. 2024-08-08 04:15:55.262120 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/633@srp1.topvoip.io [original_caller_id_number]=[633]
  275. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io limit(db 6950858664 user_6950858664 1 )
  276. 2024-08-08 04:15:55.262120 100.00% [DEBUG] switch_limit.c:124 incr called: 6950858664_user_6950858664 max:1, interval:0
  277. 2024-08-08 04:15:55.262120 100.00% [DEBUG] mod_db.c:194 Usage for 6950858664_user_6950858664 is now 1/1
  278. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io export(is_recording=1)
  279. 2024-08-08 04:15:55.282121 100.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  280. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io export(media_bug_answer_req=true)
  281. 2024-08-08 04:15:55.282121 100.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  282. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io export(record_sample_rate=8000)
  283. 2024-08-08 04:15:55.282121 100.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  284. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io export(execute_on_answer=record_session /usr/local/freeswitch/recordings/c3474a41-2a02-43e7-ae03-d927a8ba2fe0.wav)
  285. 2024-08-08 04:15:55.282121 100.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/c3474a41-2a02-43e7-ae03-d927a8ba2fe0.wav]
  286. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io set(effective_caller_id_number=633)
  287. 2024-08-08 04:15:55.282121 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/633@srp1.topvoip.io [effective_caller_id_number]=[633]
  288. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io set(calltype=STANDARD)
  289. 2024-08-08 04:15:55.282121 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/633@srp1.topvoip.io [calltype]=[STANDARD]
  290. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io set(termination_rates=ID:3526|CODE:^420602.*|DESTINATION:Czech Republic O2 mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.02000|INC:1|INITIALBLOCK:1|TRUNK:61|PROVIDER:3)                                                                                                                                                                                                
  291. 2024-08-08 04:15:55.282121 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/633@srp1.topvoip.io [termination_rates]=[ID:3526|CODE:^420602.*|DESTINATION:Czech Republic O2 mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.02000|INC:1|INITIALBLOCK:1|TRUNK:61|PROVIDER:3]                                                                                                                                                  
  292. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io set(trunk_id=61)
  293. 2024-08-08 04:15:55.282121 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/633@srp1.topvoip.io [trunk_id]=[61]
  294. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io set(provider_id=3)
  295. 2024-08-08 04:15:55.282121 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/633@srp1.topvoip.io [provider_id]=[3]
  296. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io set(rate_flag=0)
  297. 2024-08-08 04:15:55.282121 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/633@srp1.topvoip.io [rate_flag]=[0]
  298. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io set(daily_call_credit_limit=0.00000)
  299. 2024-08-08 04:15:55.282121 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/633@srp1.topvoip.io [daily_call_credit_limit]=[0.00000]
  300. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io set(monthly_call_credit_limit=0.00000)
  301. 2024-08-08 04:15:55.282121 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/633@srp1.topvoip.io [monthly_call_credit_limit]=[0.00000]
  302. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io set(daily_call_used_limit=0.00000)
  303. 2024-08-08 04:15:55.282121 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/633@srp1.topvoip.io [daily_call_used_limit]=[0.00000]
  304. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io set(monthly_call_used_limit=0.00000)
  305. 2024-08-08 04:15:55.282121 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/633@srp1.topvoip.io [monthly_call_used_limit]=[0.00000]
  306. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io set(quality_trunk_seq=61)
  307. 2024-08-08 04:15:55.282121 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/633@srp1.topvoip.io [quality_trunk_seq]=[61]
  308. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io set(force_trunk_flag=0)
  309. 2024-08-08 04:15:55.282121 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/633@srp1.topvoip.io [force_trunk_flag]=[0]
  310. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io export(presence_data=trunk_id=61)
  311. 2024-08-08 04:15:55.282121 100.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=61]
  312. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io set(intcall=0)
  313. 2024-08-08 04:15:55.282121 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/633@srp1.topvoip.io [intcall]=[0]
  314. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io export(presence_id=420602420296)
  315. 2024-08-08 04:15:55.282121 100.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[420602420296]
  316. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io export(presence_data=x|||EXAMINATION(6950858664)|||^4.* //  // 0.03000 // account_id=261 |||Itel_checz_ph // ^420602.* // Czech Republic O2 mobile // 0.02000 // trunk_id=61|||STD|||49.34.162.239)                                                                                                                                                                              
  317. 2024-08-08 04:15:55.282121 100.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||EXAMINATION(6950858664)|||^4.* //  // 0.03000 // account_id=261 |||Itel_checz_ph // ^420602.* // Czech Republic O2 mobile // 0.02000 // trunk_id=61|||STD|||49.34.162.239]                                                                                                                                                
  318. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io bridge({sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Itel_2_Gateway/420602420296;fs_path=sip:51.195.51.35:5060)
  319. 2024-08-08 04:15:55.282121 100.00% [DEBUG] switch_channel.c:1269 sofia/default/633@srp1.topvoip.io EXPORTING[export_vars] [is_recording]=[1] to event
  320. 2024-08-08 04:15:55.282121 100.00% [DEBUG] switch_channel.c:1269 sofia/default/633@srp1.topvoip.io EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  321. 2024-08-08 04:15:55.282121 100.00% [DEBUG] switch_channel.c:1269 sofia/default/633@srp1.topvoip.io EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  322. 2024-08-08 04:15:55.282121 100.00% [DEBUG] switch_channel.c:1269 sofia/default/633@srp1.topvoip.io EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/c3474a41-2a02-43e7-ae03-d927a8ba2fe0.wav] to event                                                                                                                                                                                    
  323. 2024-08-08 04:15:55.282121 100.00% [DEBUG] switch_channel.c:1269 sofia/default/633@srp1.topvoip.io EXPORTING[export_vars] [presence_data]=[x|||EXAMINATION(6950858664)|||^4.* //  // 0.03000 // account_id=261 |||Itel_checz_ph // ^420602.* // Czech Republic O2 mobile // 0.02000 // trunk_id=61|||STD|||49.34.162.239] to event                                                                                                    
  324. 2024-08-08 04:15:55.282121 100.00% [DEBUG] switch_channel.c:1269 sofia/default/633@srp1.topvoip.io EXPORTING[export_vars] [presence_id]=[420602420296] to event
  325. 2024-08-08 04:15:55.282121 100.00% [DEBUG] switch_channel.c:1269 sofia/default/633@srp1.topvoip.io EXPORTING[export_vars] [presence_data]=[x|||EXAMINATION(6950858664)|||^4.* //  // 0.03000 // account_id=261 |||Itel_checz_ph // ^420602.* // Czech Republic O2 mobile // 0.02000 // trunk_id=61|||STD|||49.34.162.239] to event                                                                                                    
  326. 2024-08-08 04:15:55.282121 100.00% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  327. 2024-08-08 04:15:55.282121 100.00% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  328. 2024-08-08 04:15:55.282121 100.00% [NOTICE] switch_channel.c:1123 New Channel sofia/default/420602420296 [585016ec-2b8d-4327-9347-3cca54a4aa63]
  329. 2024-08-08 04:15:55.282121 100.00% [DEBUG] mod_sofia.c:5121 (sofia/default/420602420296) State Change CS_NEW -> CS_INIT
  330. 2024-08-08 04:15:55.282121 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/420602420296) Running State Change CS_INIT (Cur 2 Tot 1119954)
  331. 2024-08-08 04:15:55.282121 100.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/420602420296) State INIT
  332. 2024-08-08 04:15:55.282121 100.00% [DEBUG] mod_sofia.c:97 sofia/default/420602420296 SOFIA INIT
  333. 2024-08-08 04:15:55.282121 100.00% [DEBUG] sofia_glue.c:1620 sip:51.195.51.35:5060 Setting proxy route to sofia/default/420602420296
  334. 2024-08-08 04:15:55.282121 100.00% [INFO] sofia_glue.c:1651 sofia/default/420602420296 sending invite call-id: (null)
  335. 2024-08-08 04:15:55.282121 100.00% [DEBUG] sofia_glue.c:1654 sofia/default/420602420296 sending invite version: 1.10.7 -release 64bit
  336. Local SDP:                                                                                                                                                                                                        
  337. v=0                                                                                                                                                                                                                
  338. o=FreeSWITCH 1723071949 1723071950 IN IP4 51.68.176.138                                                                                                                                                            
  339. s=FreeSWITCH                                                                                                                                                                                                      
  340. c=IN IP4 51.68.176.138                                                                                                                                                                                            
  341. t=0 0                                                                                                                                                                                                              
  342. m=audio 18606 RTP/AVP 8 0 18 101                                                                                                                                                                                  
  343. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  344. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  345. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  346. a=fmtp:18 annexb=no                                                                                                                                                                                                
  347. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  348. a=fmtp:101 0-15                                                                                                                                                                                                    
  349. a=ptime:20                                                                                                                                                                                                        
  350. a=sendrecv                                                                                                                                                                                                        
  351.  
  352. 2024-08-08 04:15:55.282121 100.00% [DEBUG] switch_core_state_machine.c:40 sofia/default/420602420296 Standard INIT
  353. 2024-08-08 04:15:55.282121 100.00% [DEBUG] switch_core_state_machine.c:48 (sofia/default/420602420296) State Change CS_INIT -> CS_ROUTING
  354. 2024-08-08 04:15:55.282121 100.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/420602420296) State INIT going to sleep
  355. 2024-08-08 04:15:55.282121 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/420602420296) Running State Change CS_ROUTING (Cur 2 Tot 1119954)
  356. 2024-08-08 04:15:55.282121 100.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/420602420296) State ROUTING
  357. 2024-08-08 04:15:55.282121 100.00% [DEBUG] mod_sofia.c:158 sofia/default/420602420296 SOFIA ROUTING
  358. 2024-08-08 04:15:55.282121 100.00% [DEBUG] switch_ivr_originate.c:67 (sofia/default/420602420296) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  359. 2024-08-08 04:15:55.282121 100.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/420602420296) State ROUTING going to sleep
  360. 2024-08-08 04:15:55.282121 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/420602420296) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 1119954)
  361. 2024-08-08 04:15:55.282121 100.00% [DEBUG] sofia.c:7499 Channel sofia/default/420602420296 entering state [calling][0]
  362. 2024-08-08 04:15:55.282121 100.00% [DEBUG] switch_core_state_machine.c:659 (sofia/default/420602420296) State CONSUME_MEDIA
  363. 2024-08-08 04:15:55.282121 100.00% [DEBUG] switch_core_state_machine.c:659 (sofia/default/420602420296) State CONSUME_MEDIA going to sleep
  364. 2024-08-08 04:15:57.782149 100.00% [DEBUG] sofia.c:7499 Channel sofia/default/420602420296 entering state [proceeding][183]
  365. 2024-08-08 04:15:57.782149 100.00% [DEBUG] sofia.c:7509 Remote SDP:
  366. v=0                                                                                                                                                                                                                
  367. o=root 1565012567 1565012567 IN IP4 51.195.51.35                                                                                                                                                                  
  368. s=Streamco Smartswitch                                                                                                                                                                                            
  369. c=IN IP4 51.195.51.35                                                                                                                                                                                              
  370. t=0 0                                                                                                                                                                                                              
  371. m=audio 28434 RTP/AVP 8 101                                                                                                                                                                                        
  372. c=IN IP4 51.195.51.35                                                                                                                                                                                              
  373. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  374. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  375. a=fmtp:101 0-16                                                                                                                                                                                                    
  376. a=rtcp:28435                                                                                                                                                                                                      
  377. a=ptime:20                                                                                                                                                                                                        
  378. m=audio 28434 RTP/AVP 8 101                                                                                                                                                                                        
  379. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  380. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  381. a=fmtp:101 0-16                                                                                                                                                                                                    
  382. a=rtcp:28435                                                                                                                                                                                                      
  383. a=ptime:20                                                                                                                                                                                                        
  384.  
  385. 2024-08-08 04:15:57.782149 100.00% [NOTICE] sofia.c:7512 Pre-Answer sofia/default/420602420296!
  386. 2024-08-08 04:15:57.782149 100.00% [DEBUG] switch_channel.c:3622 (sofia/default/420602420296) Callstate Change DOWN -> EARLY
  387. 2024-08-08 04:15:57.782149 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  388. 2024-08-08 04:15:57.782149 100.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  389. 2024-08-08 04:15:57.782149 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  390. 2024-08-08 04:15:57.782149 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  391. 2024-08-08 04:15:57.782149 100.00% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  392. 2024-08-08 04:15:57.782149 100.00% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/420602420296 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  393. 2024-08-08 04:15:57.782149 100.00% [DEBUG] switch_core_codec.c:111 sofia/default/420602420296 Original read codec set to PCMA:8
  394. 2024-08-08 04:15:57.782149 100.00% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  395. 2024-08-08 04:15:57.782149 100.00% [DEBUG] switch_core_media.c:5973 sofia/default/420602420296 Set 2833 dtmf send payload to 101 recv payload to 101
  396. 2024-08-08 04:15:57.782149 100.00% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/420602420296] 51.68.176.138 port 18606 -> 51.195.51.35 port 28434 codec: 8 ms: 20
  397. 2024-08-08 04:15:57.782149 100.00% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  398. 2024-08-08 04:15:57.782149 100.00% [INFO] switch_ivr_originate.c:3841 Sending early media
  399. 2024-08-08 04:15:57.782149 100.00% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/633@srp1.topvoip.io] 51.68.176.138 port 28478 -> 51.195.51.35 port 28394 codec: 8 ms: 20
  400. 2024-08-08 04:15:57.802146 100.00% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  401. 2024-08-08 04:15:57.802146 100.00% [DEBUG] switch_core_media.c:8997 Activating RTCP PORT 28435
  402. 2024-08-08 04:15:57.802146 100.00% [DEBUG] switch_rtp.c:5017 RTCP send rate is: 1000 and packet rate is: 20000 Remote Port: 28435
  403. 2024-08-08 04:15:57.802146 100.00% [DEBUG] switch_rtp.c:2776 Setting RTCP remote addr to 51.195.51.35:28435 2
  404. 2024-08-08 04:15:57.802146 100.00% [DEBUG] switch_core_media.c:9089 sofia/default/420602420296 Set 2833 dtmf send payload to 101
  405. 2024-08-08 04:15:57.802146 100.00% [DEBUG] switch_core_media.c:9096 sofia/default/420602420296 Set 2833 dtmf receive payload to 101
  406. 2024-08-08 04:15:57.802146 100.00% [DEBUG] switch_core_media.c:9119 sofia/default/420602420296 Set rtp dtmf delay to 40
  407. 2024-08-08 04:15:57.802146 100.00% [DEBUG] switch_core_media.c:8997 Activating RTCP PORT 28395
  408. 2024-08-08 04:15:57.802146 100.00% [DEBUG] switch_rtp.c:5017 RTCP send rate is: 1000 and packet rate is: 20000 Remote Port: 28395
  409. 2024-08-08 04:15:57.802146 100.00% [DEBUG] switch_rtp.c:2776 Setting RTCP remote addr to 51.195.51.35:28395 2
  410. 2024-08-08 04:15:57.802146 100.00% [DEBUG] switch_core_media.c:9089 sofia/default/633@srp1.topvoip.io Set 2833 dtmf send payload to 101
  411. 2024-08-08 04:15:57.802146 100.00% [DEBUG] switch_core_media.c:9096 sofia/default/633@srp1.topvoip.io Set 2833 dtmf receive payload to 101
  412. 2024-08-08 04:15:57.802146 100.00% [DEBUG] switch_core_media.c:9119 sofia/default/633@srp1.topvoip.io Set rtp dtmf delay to 40
  413. 2024-08-08 04:15:57.802146 100.00% [DEBUG] mod_sofia.c:2610 Ring SDP:
  414. v=0                                                                                                                                                                                                                
  415. o=FreeSWITCH 1723062079 1723062080 IN IP4 51.68.176.138                                                                                                                                                            
  416. s=FreeSWITCH                                                                                                                                                                                                      
  417. c=IN IP4 51.68.176.138                                                                                                                                                                                            
  418. t=0 0                                                                                                                                                                                                              
  419. m=audio 28478 RTP/AVP 8 101                                                                                                                                                                                        
  420. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  421. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  422. a=fmtp:101 0-15                                                                                                                                                                                                    
  423. a=ptime:20                                                                                                                                                                                                        
  424. a=sendrecv                                                                                                                                                                                                        
  425. a=rtcp:28479 IN IP4 51.68.176.138                                                                                                                                                                                  
  426.  
  427. 2024-08-08 04:15:57.802146 100.00% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/633@srp1.topvoip.io!
  428. 2024-08-08 04:15:57.802146 100.00% [DEBUG] switch_channel.c:3622 (sofia/default/633@srp1.topvoip.io) Callstate Change RINGING -> EARLY
  429. 2024-08-08 04:15:57.802146 100.00% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/420602420296] Peer UUID: 585016ec-2b8d-4327-9347-3cca54a4aa63
  430. 2024-08-08 04:15:57.802146 100.00% [DEBUG] sofia.c:7499 Channel sofia/default/633@srp1.topvoip.io entering state [early][183]
  431. 2024-08-08 04:15:57.802146 100.00% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/420602420296) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  432. 2024-08-08 04:15:57.802146 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/420602420296) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 1119954)
  433. 2024-08-08 04:15:57.802146 100.00% [DEBUG] switch_core_state_machine.c:650 (sofia/default/420602420296) State EXCHANGE_MEDIA
  434. 2024-08-08 04:15:57.802146 100.00% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  435. 2024-08-08 04:15:57.822150 100.00% [DEBUG] switch_rtp.c:1982 rtcp_stats_init: audio ssrc[1103682001] base_seq[24851]
  436. 2024-08-08 04:15:57.842150 100.00% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  437. 2024-08-08 04:15:57.942147 100.00% [DEBUG] sofia.c:7499 Channel sofia/default/420602420296 entering state [proceeding][180]
  438. 2024-08-08 04:15:57.942147 100.00% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/420602420296!
  439. 2024-08-08 04:15:57.942147 100.00% [DEBUG] switch_channel.c:3494 (sofia/default/420602420296) Callstate Change EARLY -> RINGING
  440. 2024-08-08 04:15:57.982147 100.00% [DEBUG] switch_ivr_bridge.c:655 sofia/default/420602420296 Bridge execute app sched_hangup(+6000 normal_clearing)
  441. 2024-08-08 04:15:58.002146 100.00% [DEBUG] switch_ivr.c:632 sofia/default/420602420296 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  442. EXECUTE [depth=0] sofia/default/420602420296 sched_hangup(+6000 normal_clearing)
  443. 2024-08-08 04:15:58.002146 100.00% [DEBUG] switch_scheduler.c:263 Added task 294159 switch_ivr_schedule_hangup (585016ec-2b8d-4327-9347-3cca54a4aa63) to run at 1723096558
  444. 2024-08-08 04:15:58.222148 100.00% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  445. 2024-08-08 04:15:58.222148 100.00% [DEBUG] switch_rtp.c:1982 rtcp_stats_init: audio ssrc[3929157192] base_seq[52988]
  446. 2024-08-08 04:16:02.362151 100.00% [DEBUG] switch_rtp.c:7331 Correct audio RTCP ip/port confirmed.
  447. 2024-08-08 04:16:02.802163 100.00% [DEBUG] switch_rtp.c:7331 Correct audio RTCP ip/port confirmed.
  448. 2024-08-08 04:16:17.122156 100.00% [DEBUG] sofia.c:7499 Channel sofia/default/420602420296 entering state [completing][200]
  449. 2024-08-08 04:16:17.122156 100.00% [DEBUG] sofia.c:7506 Duplicate SDP
  450. v=0                                                                                                                                                                                                                
  451. o=root 1565012567 1565012567 IN IP4 51.195.51.35                                                                                                                                                                  
  452. s=Streamco Smartswitch                                                                                                                                                                                            
  453. c=IN IP4 51.195.51.35                                                                                                                                                                                              
  454. t=0 0                                                                                                                                                                                                              
  455. m=audio 28434 RTP/AVP 8 101                                                                                                                                                                                        
  456. c=IN IP4 51.195.51.35                                                                                                                                                                                              
  457. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  458. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  459. a=fmtp:101 0-16                                                                                                                                                                                                    
  460. a=rtcp:28435                                                                                                                                                                                                      
  461. a=ptime:20                                                                                                                                                                                                        
  462. m=audio 28434 RTP/AVP 8 101                                                                                                                                                                                        
  463. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  464. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  465. a=fmtp:101 0-16                                                                                                                                                                                                    
  466. a=rtcp:28435                                                                                                                                                                                                      
  467. a=ptime:20                                                                                                                                                                                                        
  468.  
  469. 2024-08-08 04:16:17.162163 100.00% [DEBUG] sofia.c:7499 Channel sofia/default/420602420296 entering state [ready][200]
  470. 2024-08-08 04:16:17.162163 100.00% [NOTICE] sofia.c:8624 Channel [sofia/default/420602420296] has been answered
  471. EXECUTE [depth=0] sofia/default/420602420296 record_session(/usr/local/freeswitch/recordings/c3474a41-2a02-43e7-ae03-d927a8ba2fe0.wav)
  472. 2024-08-08 04:16:17.162163 100.00% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  473. 2024-08-08 04:16:17.162163 100.00% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/420602420296
  474. 2024-08-08 04:16:17.162163 100.00% [DEBUG] switch_channel.c:3950 (sofia/default/420602420296) Callstate Change RINGING -> ACTIVE
  475. 2024-08-08 04:16:17.162163 100.00% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  476. 2024-08-08 04:16:17.162163 100.00% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/633@srp1.topvoip.io.
  477. 2024-08-08 04:16:17.162163 100.00% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/633@srp1.topvoip.io:
  478. v=0                                                                                                                                                                                                                
  479. o=FreeSWITCH 1723062079 1723062081 IN IP4 51.68.176.138                                                                                                                                                            
  480. s=FreeSWITCH                                                                                                                                                                                                      
  481. c=IN IP4 51.68.176.138                                                                                                                                                                                            
  482. t=0 0                                                                                                                                                                                                              
  483. m=audio 28478 RTP/AVP 8 101                                                                                                                                                                                        
  484. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  485. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  486. a=fmtp:101 0-15                                                                                                                                                                                                    
  487. a=ptime:20                                                                                                                                                                                                        
  488. a=sendrecv                                                                                                                                                                                                        
  489. a=rtcp:28479 IN IP4 51.68.176.138                                                                                                                                                                                  
  490.  
  491. 2024-08-08 04:16:17.162163 100.00% [NOTICE] switch_ivr_bridge.c:731 Channel [sofia/default/633@srp1.topvoip.io] has been answered
  492. 2024-08-08 04:16:17.162163 100.00% [DEBUG] sofia.c:7499 Channel sofia/default/633@srp1.topvoip.io entering state [completed][200]
  493. EXECUTE [depth=0] sofia/default/633@srp1.topvoip.io record_session(/usr/local/freeswitch/recordings/c3474a41-2a02-43e7-ae03-d927a8ba2fe0.wav)
  494. 2024-08-08 04:16:17.162163 100.00% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  495. 2024-08-08 04:16:17.162163 100.00% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/633@srp1.topvoip.io
  496. 2024-08-08 04:16:17.162163 100.00% [DEBUG] switch_channel.c:3950 (sofia/default/633@srp1.topvoip.io) Callstate Change EARLY -> ACTIVE
  497. 2024-08-08 04:16:17.162163 100.00% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  498. 2024-08-08 04:16:17.162163 100.00% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  499. 2024-08-08 04:16:17.202107 100.00% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  500. 2024-08-08 04:16:17.242114 100.00% [DEBUG] switch_rtp.c:1982 rtcp_stats_init: audio ssrc[407732348] base_seq[25812]
  501. 2024-08-08 04:16:17.262160 100.00% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  502. 2024-08-08 04:16:17.262160 100.00% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  503. 2024-08-08 04:16:17.442122 100.00% [DEBUG] sofia.c:7499 Channel sofia/default/633@srp1.topvoip.io entering state [ready][200]
  504. 2024-08-08 04:16:17.802149 100.00% [DEBUG] switch_rtp.c:7331 Correct audio RTCP ip/port confirmed.
  505. 2024-08-08 04:16:21.742163 100.00% [NOTICE] sofia_reg.c:459 Registering Tel111
  506. 2024-08-08 04:16:21.742163 100.00% [ERR] sofia_reg.c:2677 Tel111 Failed Registration with status Service Unavailable [503]. failure #58751
  507. 2024-08-08 04:16:22.722167 100.00% [WARNING] sofia_reg.c:516 Tel111 Failed Registration [503], setting retry to 30 seconds.
  508. 2024-08-08 04:16:22.762157 100.00% [DEBUG] switch_rtp.c:7331 Correct audio RTCP ip/port confirmed.
  509. 2024-08-08 04:16:29.742151 100.00% [NOTICE] sofia_reg.c:459 Registering Misterio_DIDglobal
  510. 2024-08-08 04:16:34.422149 99.93% [NOTICE] sofia.c:1065 Hangup sofia/default/633@srp1.topvoip.io [CS_EXECUTE] [NORMAL_CLEARING]
  511. 2024-08-08 04:16:34.422149 99.93% [DEBUG] switch_ivr_bridge.c:820 sofia/default/633@srp1.topvoip.io ending bridge by request from write function
  512. 2024-08-08 04:16:34.422149 99.93% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/420602420296]
  513. 2024-08-08 04:16:34.422149 99.93% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/420602420296 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  514. 2024-08-08 04:16:34.422149 99.93% [DEBUG] switch_core_state_machine.c:650 (sofia/default/420602420296) State EXCHANGE_MEDIA going to sleep
  515. 2024-08-08 04:16:34.422149 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/420602420296) Running State Change CS_HANGUP (Cur 2 Tot 1119954)
  516. 2024-08-08 04:16:34.422149 99.93% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/c3474a41-2a02-43e7-ae03-d927a8ba2fe0.wav
  517. 2024-08-08 04:16:34.422149 99.93% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  518. 2024-08-08 04:16:34.442148 99.93% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/420602420296
  519. 2024-08-08 04:16:34.442148 99.93% [DEBUG] switch_core_state_machine.c:844 (sofia/default/420602420296) Callstate Change ACTIVE -> HANGUP
  520. 2024-08-08 04:16:34.442148 99.93% [DEBUG] switch_core_state_machine.c:846 (sofia/default/420602420296) State HANGUP
  521. 2024-08-08 04:16:34.442148 99.93% [DEBUG] mod_sofia.c:462 sofia/default/420602420296 Overriding SIP cause 480 with 200 from the other leg
  522. 2024-08-08 04:16:34.442148 99.93% [DEBUG] mod_sofia.c:468 Channel sofia/default/420602420296 hanging up, cause: NORMAL_CLEARING
  523. 2024-08-08 04:16:34.442148 99.93% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/420602420296
  524. 2024-08-08 04:16:34.442148 99.93% [DEBUG] switch_core_state_machine.c:59 sofia/default/420602420296 Standard HANGUP, cause: NORMAL_CLEARING
  525. 2024-08-08 04:16:34.442148 99.93% [DEBUG] switch_core_state_machine.c:846 (sofia/default/420602420296) State HANGUP going to sleep
  526. 2024-08-08 04:16:34.442148 99.93% [DEBUG] switch_core_state_machine.c:616 (sofia/default/420602420296) State Change CS_HANGUP -> CS_REPORTING
  527. 2024-08-08 04:16:34.442148 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/420602420296) Running State Change CS_REPORTING (Cur 2 Tot 1119954)
  528. 2024-08-08 04:16:34.442148 99.93% [DEBUG] switch_core_state_machine.c:932 (sofia/default/420602420296) State REPORTING
  529. 2024-08-08 04:16:34.442148 99.93% [INFO] mod_json_cdr.c:271 Process [585016ec-2b8d-4327-9347-3cca54a4aa63.cdr.json]
  530. 2024-08-08 04:16:34.462146 99.93% [DEBUG] switch_core_state_machine.c:168 sofia/default/420602420296 Standard REPORTING, cause: NORMAL_CLEARING
  531. 2024-08-08 04:16:34.462146 99.93% [DEBUG] switch_core_state_machine.c:932 (sofia/default/420602420296) State REPORTING going to sleep
  532. 2024-08-08 04:16:34.462146 99.93% [DEBUG] switch_core_state_machine.c:607 (sofia/default/420602420296) State Change CS_REPORTING -> CS_DESTROY
  533. 2024-08-08 04:16:34.462146 99.93% [DEBUG] switch_core_session.c:1753 Session 1119954 (sofia/default/420602420296) Locked, Waiting on external entities
  534. 2024-08-08 04:16:34.462146 99.93% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/633@srp1.topvoip.io]
  535. 2024-08-08 04:16:34.462146 99.93% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/633@srp1.topvoip.io skip receive message [UNBRIDGE] (channel is hungup already)
  536. 2024-08-08 04:16:34.462146 99.93% [NOTICE] switch_core_session.c:1771 Session 1119954 (sofia/default/420602420296) Ended
  537. 2024-08-08 04:16:34.462146 99.93% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/420602420296 [CS_DESTROY]
  538. 2024-08-08 04:16:34.462146 99.93% [DEBUG] switch_core_state_machine.c:735 (sofia/default/420602420296) Running State Change CS_DESTROY (Cur 1 Tot 1119954)
  539. 2024-08-08 04:16:34.462146 99.93% [DEBUG] switch_core_state_machine.c:745 (sofia/default/420602420296) State DESTROY
  540. 2024-08-08 04:16:34.462146 99.93% [DEBUG] mod_sofia.c:379 sofia/default/420602420296 SOFIA DESTROY
  541. 2024-08-08 04:16:34.462146 99.93% [DEBUG] switch_core_state_machine.c:175 sofia/default/420602420296 Standard DESTROY
  542. 2024-08-08 04:16:34.462146 99.93% [DEBUG] switch_core_state_machine.c:745 (sofia/default/420602420296) State DESTROY going to sleep
  543. 2024-08-08 04:16:34.462146 99.93% [DEBUG] switch_core_session.c:2983 sofia/default/633@srp1.topvoip.io skip receive message [PHONE_EVENT] (channel is hungup already)
  544. 2024-08-08 04:16:34.462146 99.93% [DEBUG] switch_core_state_machine.c:647 (sofia/default/633@srp1.topvoip.io) State EXECUTE going to sleep
  545. 2024-08-08 04:16:34.462146 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/633@srp1.topvoip.io) Running State Change CS_HANGUP (Cur 1 Tot 1119954)
  546. 2024-08-08 04:16:34.462146 99.93% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/c3474a41-2a02-43e7-ae03-d927a8ba2fe0.wav
  547. 2024-08-08 04:16:34.462146 99.93% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  548. 2024-08-08 04:16:34.462146 99.93% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/633@srp1.topvoip.io
  549. 2024-08-08 04:16:34.462146 99.93% [DEBUG] switch_core_state_machine.c:844 (sofia/default/633@srp1.topvoip.io) Callstate Change ACTIVE -> HANGUP
  550. 2024-08-08 04:16:34.462146 99.93% [DEBUG] switch_core_state_machine.c:846 (sofia/default/633@srp1.topvoip.io) State HANGUP
  551. 2024-08-08 04:16:34.462146 99.93% [DEBUG] mod_sofia.c:468 Channel sofia/default/633@srp1.topvoip.io hanging up, cause: NORMAL_CLEARING
  552. 2024-08-08 04:16:34.462146 99.93% [DEBUG] switch_core_state_machine.c:59 sofia/default/633@srp1.topvoip.io Standard HANGUP, cause: NORMAL_CLEARING
  553. 2024-08-08 04:16:34.462146 99.93% [DEBUG] switch_core_state_machine.c:846 (sofia/default/633@srp1.topvoip.io) State HANGUP going to sleep
  554. 2024-08-08 04:16:34.482109 99.93% [DEBUG] switch_core_state_machine.c:616 (sofia/default/633@srp1.topvoip.io) State Change CS_HANGUP -> CS_REPORTING
  555. 2024-08-08 04:16:34.482109 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/633@srp1.topvoip.io) Running State Change CS_REPORTING (Cur 1 Tot 1119954)
  556. 2024-08-08 04:16:34.482109 99.93% [DEBUG] switch_core_state_machine.c:932 (sofia/default/633@srp1.topvoip.io) State REPORTING
  557. 2024-08-08 04:16:34.482109 99.93% [INFO] mod_json_cdr.c:271 Process [c3474a41-2a02-43e7-ae03-d927a8ba2fe0.cdr.json]
  558. 2024-08-08 04:16:34.522147 99.93% [DEBUG] switch_scheduler.c:147 Deleting task 294159 switch_ivr_schedule_hangup (585016ec-2b8d-4327-9347-3cca54a4aa63)
  559. 2024-08-08 04:16:34.562150 99.93% [DEBUG] switch_core_state_machine.c:168 sofia/default/633@srp1.topvoip.io Standard REPORTING, cause: NORMAL_CLEARING
  560. 2024-08-08 04:16:34.562150 99.93% [DEBUG] switch_core_state_machine.c:932 (sofia/default/633@srp1.topvoip.io) State REPORTING going to sleep
  561. 2024-08-08 04:16:34.562150 99.93% [DEBUG] switch_core_state_machine.c:607 (sofia/default/633@srp1.topvoip.io) State Change CS_REPORTING -> CS_DESTROY
  562. 2024-08-08 04:16:34.562150 99.93% [DEBUG] switch_core_session.c:1753 Session 1119953 (sofia/default/633@srp1.topvoip.io) Locked, Waiting on external entities
  563. 2024-08-08 04:16:34.562150 99.93% [NOTICE] switch_core_session.c:1771 Session 1119953 (sofia/default/633@srp1.topvoip.io) Ended
  564. 2024-08-08 04:16:34.562150 99.93% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/633@srp1.topvoip.io [CS_DESTROY]
  565. 2024-08-08 04:16:34.562150 99.93% [DEBUG] switch_core_state_machine.c:735 (sofia/default/633@srp1.topvoip.io) Running State Change CS_DESTROY (Cur 0 Tot 1119954)
  566. 2024-08-08 04:16:34.562150 99.93% [DEBUG] switch_core_state_machine.c:745 (sofia/default/633@srp1.topvoip.io) State DESTROY
  567. 2024-08-08 04:16:34.562150 99.93% [DEBUG] mod_sofia.c:379 sofia/default/633@srp1.topvoip.io SOFIA DESTROY
  568. 2024-08-08 04:16:34.562150 99.93% [DEBUG] switch_core_state_machine.c:175 sofia/default/633@srp1.topvoip.io Standard DESTROY
  569. 2024-08-08 04:16:34.562150 99.93% [DEBUG] switch_core_state_machine.c:745 (sofia/default/633@srp1.topvoip.io) State DESTROY going to sleep
  570. 2024-08-08 04:16:53.782158 99.93% [NOTICE] sofia_reg.c:459 Registering Tel111
  571. 2024-08-08 04:16:53.802177 99.93% [ERR] sofia_reg.c:2677 Tel111 Failed Registration with status Service Unavailable [503]. failure #58752
  572. 2024-08-08 04:16:54.782158 99.93% [WARNING] sofia_reg.c:516 Tel111 Failed Registration [503], setting retry to 30 seconds.
  573. 2024-08-08 04:17:25.842154 100.00% [NOTICE] sofia_reg.c:459 Registering Tel111
  574. 2024-08-08 04:17:25.842154 100.00% [ERR] sofia_reg.c:2677 Tel111 Failed Registration with status Service Unavailable [503]. failure #58753
  575. 2024-08-08 04:17:26.842158 100.00% [WARNING] sofia_reg.c:516 Tel111 Failed Registration [503], setting retry to 30 seconds.
  576. 2024-08-08 04:17:30.822171 100.00% [WARNING] sofia_reg.c:495 Timeout Registering Misterio_DIDglobal
  577. 2024-08-08 04:17:31.842172 100.00% [WARNING] sofia_reg.c:516 Misterio_DIDglobal Failed Registration [908], setting retry to 30 seconds.