From ABC, 11 Months ago, written in HTML5.
- view diff
Embed
  1. 2023-05-18 13:04:26.561623 36.10% [NOTICE] switch_channel.c:1123 New Channel sofia/default/120399@cust.minitel.se [dbbbe0b6-4619-4f19-9f3c-afc7a87e4443]
  2. 2023-05-18 13:04:26.561623 36.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/120399@cust.minitel.se) Running State Change CS_NEW (Cur 1 Tot 111767)
  3. 2023-05-18 13:04:26.561623 36.10% [INFO] sofia.c:10462 sofia/default/120399@cust.minitel.se receiving invite from 103.240.35.46:51816 version: 1.10.7 -release 64bit call-id: YjkxOWQ2MDZkNWI2ZGM4MDAzNWE0ZDI3YzRmMDI3Mjk.
  4. 2023-05-18 13:04:26.561623 36.10% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  5. 2023-05-18 13:04:26.561623 36.10% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [46708516331@cust.minitel.se] from ip 103.240.35.46
  6. 2023-05-18 13:04:26.561623 36.10% [DEBUG] switch_core_state_machine.c:600 (sofia/default/120399@cust.minitel.se) State NEW
  7. 2023-05-18 13:04:26.561623 36.10% [DEBUG] sofia.c:2419 detaching session dbbbe0b6-4619-4f19-9f3c-afc7a87e4443
  8. 2023-05-18 13:04:27.481600 36.97% [DEBUG] sofia.c:2532 Re-attaching to session dbbbe0b6-4619-4f19-9f3c-afc7a87e4443
  9. 2023-05-18 13:04:27.501601 36.97% [INFO] sofia.c:10462 sofia/default/120399@cust.minitel.se receiving invite from 103.240.35.46:51816 version: 1.10.7 -release 64bit call-id: YjkxOWQ2MDZkNWI2ZGM4MDAzNWE0ZDI3YzRmMDI3Mjk.
  10. 2023-05-18 13:04:27.501601 36.97% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  11. 2023-05-18 13:04:27.521606 36.97% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  12. 2023-05-18 13:04:27.521606 36.97% [DEBUG] sofia.c:7499 Channel sofia/default/120399@cust.minitel.se entering state [received][100]
  13. 2023-05-18 13:04:27.521606 36.97% [DEBUG] sofia.c:7509 Remote SDP:
  14. v=0
  15. o=Z 0 0 IN IP4 103.240.35.46
  16. s=Z
  17. c=IN IP4 103.240.35.46
  18. t=0 0
  19. m=audio 8000 RTP/AVP 3 110 8 0 98 101
  20. a=rtpmap:110 speex/8000
  21. a=rtpmap:98 iLBC/8000
  22. a=fmtp:98 mode=20
  23. a=rtpmap:101 telephone-event/8000
  24. a=fmtp:101 0-15
  25.  
  26. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  27. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  28. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  29. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  30. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  31. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  32. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  33. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  34. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  35. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  36. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  37. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  38. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  39. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/120399@cust.minitel.se PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  40. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_core_codec.c:111 sofia/default/120399@cust.minitel.se Original read codec set to PCMA:8
  41. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  42. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_core_media.c:5973 sofia/default/120399@cust.minitel.se Set 2833 dtmf send payload to 101 recv payload to 101
  43. 2023-05-18 13:04:27.521606 36.97% [DEBUG] sofia.c:7933 (sofia/default/120399@cust.minitel.se) State Change CS_NEW -> CS_INIT
  44. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/120399@cust.minitel.se) Running State Change CS_INIT (Cur 1 Tot 111767)
  45. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/120399@cust.minitel.se) State INIT
  46. 2023-05-18 13:04:27.521606 36.97% [DEBUG] mod_sofia.c:97 sofia/default/120399@cust.minitel.se SOFIA INIT
  47. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_core_state_machine.c:40 sofia/default/120399@cust.minitel.se Standard INIT
  48. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_core_state_machine.c:48 (sofia/default/120399@cust.minitel.se) State Change CS_INIT -> CS_ROUTING
  49. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/120399@cust.minitel.se) State INIT going to sleep
  50. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/120399@cust.minitel.se) Running State Change CS_ROUTING (Cur 1 Tot 111767)
  51. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_channel.c:2380 (sofia/default/120399@cust.minitel.se) Callstate Change DOWN -> RINGING
  52. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/120399@cust.minitel.se) State ROUTING
  53. 2023-05-18 13:04:27.521606 36.97% [DEBUG] mod_sofia.c:158 sofia/default/120399@cust.minitel.se SOFIA ROUTING
  54. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_core_state_machine.c:230 sofia/default/120399@cust.minitel.se Standard ROUTING
  55. 2023-05-18 13:04:27.521606 36.97% [INFO] mod_dialplan_xml.c:639 Processing 120399 <120399>->46708516331 in context default
  56. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  57. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  58. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  59. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  60. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 46708516331
  61. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  62. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER120399
  63. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  64. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '46708516331' limit 1
  65. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 120399 / 0455655455
  66. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  67. 2023-05-18 13:04:27.521606 36.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 2
  68. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 2 AND status=0 limit 1
  69. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....46708516331
  70. 2023-05-18 13:04:27.521606 36.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 46708516331
  71. 2023-05-18 13:04:27.521606 36.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 4645546708516331
  72. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  73. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  74. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  75. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  76. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  77. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  78. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  79. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  80. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  81. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  82. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  83. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  84. 2023-05-18 13:04:27.521606 36.97% [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="4645546708516331" limit 1
  85. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  86. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 120399]
  87. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "120399" AND deleted = 0 limit 1
  88. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^46708516331.*' OR blocked_patterns = '^4670851633.*' OR blocked_patterns = '^467085163.*' OR blocked_patterns = '^46708516.*' OR blocked_patterns = '^4670851.*' OR blocked_patterns = '^467085.*' OR blocked_patterns = '^46708.*' OR blocked_patterns = '^4670.*' OR blocked_patterns = '^467.*' OR blocked_patterns = '^46.*' OR blocked_patterns = '^4.*' OR blocked_patterns ='--') AND accountid = 17 limit 1
  89. 2023-05-18 13:04:27.521606 36.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 2
  90. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 2 AND status=0 limit 1
  91. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....46708516331
  92. 2023-05-18 13:04:27.521606 36.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 46708516331
  93. 2023-05-18 13:04:27.521606 36.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 4645546708516331
  94. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  95. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  96. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  97. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  98. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  99. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  100. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  101. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  102. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  103. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  104. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  105. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  106. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  107. 2023-05-18 13:04:27.521606 36.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 2
  108. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 2 AND status=0 limit 1
  109. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....46708516331
  110. 2023-05-18 13:04:27.521606 36.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 46708516331
  111. 2023-05-18 13:04:27.521606 36.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 4645546708516331
  112. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  113. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  114. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  115. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  116. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  117. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  118. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  119. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  120. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  121. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  122. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  123. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  124. 2023-05-18 13:04:27.521606 36.97% [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 = '^4645546708516331.*' OR patterns = '^464554670851633.*' OR patterns = '^46455467085163.*' OR patterns = '^4645546708516.*' OR patterns = '^464554670851.*' OR patterns = '^46455467085.*' OR patterns = '^4645546708.*' OR patterns = '^464554670.*' OR patterns = '^46455467.*' OR patterns = '^4645546.*' OR patterns = '^464554.*' OR patterns = '^46455.*' OR patterns = '^4645.*' OR patterns = '^464.*' OR patterns = '^46.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 17 ORDER BY LENGTH(PKGPTR.patterns) DESC
  125. 2023-05-18 13:04:27.521606 36.97% [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 ="4645546708516331" AND A.accountid = '17' limit 1
  126. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 4645546708516331
  127. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  128. 2023-05-18 13:04:27.521606 36.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 2
  129. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 2 AND status=0 limit 1
  130. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  131. 2023-05-18 13:04:27.521606 36.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 4645546708516331
  132. 2023-05-18 13:04:27.521606 36.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 464554645546708516331
  133. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....464554645546708516331
  134. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....464554645546708516331
  135. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....464554645546708516331
  136. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....464554645546708516331
  137. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....464554645546708516331
  138. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....464554645546708516331
  139. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....464554645546708516331
  140. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....464554645546708516331
  141. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....464554645546708516331
  142. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....464554645546708516331
  143. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....464554645546708516331
  144. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....464554645546708516331
  145. 2023-05-18 13:04:27.521606 36.97% [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="464554645546708516331" limit 1
  146. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  147. 2023-05-18 13:04:27.521606 36.97% [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 = '4645546708516331' OR number = '464554670851633' OR number = '46455467085163' OR number = '4645546708516' OR number = '464554670851' OR number = '46455467085' OR number = '4645546708' OR number = '464554670' OR number = '46455467' OR number = '4645546' OR number = '464554' OR number = '46455' OR number = '4645' OR number = '464' OR number = '46' OR number = '4' OR number ='--') OR (number = '4645546708516331*' OR number = '464554670851633*' OR number = '46455467085163*' OR number = '4645546708516*' OR number = '464554670851*' OR number = '46455467085*' OR number = '4645546708*' OR number = '464554670*' OR number = '46455467*' OR number = '4645546*' OR number = '464554*' OR number = '46455*' OR number = '4645*' OR number = '464*' OR number = '46*' OR number = '4*' OR number ='--') OR (number = '0455655455' OR number = '045565545' OR number = '04556554' OR number = '0455655' OR number = '045565' OR number = '04556' OR number = '0455' OR number = '045' OR number = '04' OR number = '0' OR number ='--') OR (number = '0455655455*' OR number = '045565545*' OR number = '04556554*' OR number = '0455655*' OR number = '045565*' OR number = '04556*' OR number = '0455*' OR number = '045*' OR number = '04*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  148. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  149. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '4645546708516331' OR routing_prefix = '464554670851633' OR routing_prefix = '46455467085163' OR routing_prefix = '4645546708516' OR routing_prefix = '464554670851' OR routing_prefix = '46455467085' OR routing_prefix = '4645546708' OR routing_prefix = '464554670' OR routing_prefix = '46455467' OR routing_prefix = '4645546' OR routing_prefix = '464554' OR routing_prefix = '46455' OR routing_prefix = '4645' OR routing_prefix = '464' OR routing_prefix = '46' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  150. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  151. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 17
  152. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 120399
  153. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 49.46896
  154. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  155. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2
  156. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  157. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  158. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,00/*/*/*,0/46/*/*".....120399
  159. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,00/*/*/*,0/46/*/*".....120399
  160. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,00/*/*/*,0/46/*/*".....120399
  161. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,00/*/*/*,0/46/*/*".....0455655455
  162. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,00/*/*/*,0/46/*/*".....0455655455
  163. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,00/*/*/*,0/46/*/*".....0455655455
  164. 2023-05-18 13:04:27.521606 36.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0455655455
  165. 2023-05-18 13:04:27.521606 36.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 46455655455
  166. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,00/*/*/*,0/46/*/*".....120399
  167. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,00/*/*/*,0/46/*/*".....120399
  168. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,00/*/*/*,0/46/*/*".....120399
  169. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,00/*/*/*,0/46/*/*".....0455655455
  170. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,00/*/*/*,0/46/*/*".....0455655455
  171. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*,00/*/*/*,0/46/*/*".....0455655455
  172. 2023-05-18 13:04:27.521606 36.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0455655455
  173. 2023-05-18 13:04:27.521606 36.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 46455655455
  174. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  175. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::2
  176. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  177. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  178. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::2
  179. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^4645546708516331.*' OR pattern = '^464554670851633.*' OR pattern = '^46455467085163.*' OR pattern = '^4645546708516.*' OR pattern = '^464554670851.*' OR pattern = '^46455467085.*' OR pattern = '^4645546708.*' OR pattern = '^464554670.*' OR pattern = '^46455467.*' OR pattern = '^4645546.*' OR pattern = '^464554.*' OR pattern = '^46455.*' OR pattern = '^4645.*' OR pattern = '^464.*' OR pattern = '^46.*' OR pattern = '^4.*' OR pattern ='--') AND (caller_id_pattern = '^46455655455.*' OR caller_id_pattern = '^4645565545.*' OR caller_id_pattern = '^464556554.*' OR caller_id_pattern = '^46455655.*' OR caller_id_pattern = '^4645565.*' OR caller_id_pattern = '^464556.*' OR caller_id_pattern = '^46455.*' OR caller_id_pattern = '^4645.*' OR caller_id_pattern = '^464.*' OR caller_id_pattern = '^46.*' OR caller_id_pattern = '^4.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 2 OR accountid=17)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  180. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  181. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  182. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3540
  183. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  184. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  185. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.03000
  186. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Sverige Samtal
  187. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  188. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 17
  189. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  190. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  191. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  192. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your49.46896 balance Accountid 17 !!!
  193. 2023-05-18 13:04:27.521606 36.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  194. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  195. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  196. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=2 ORDER by id asc
  197. 2023-05-18 13:04:27.521606 36.97% [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 = '^4645546708516331.*' OR pattern = '^464554670851633.*' OR pattern = '^46455467085163.*' OR pattern = '^4645546708516.*' OR pattern = '^464554670851.*' OR pattern = '^46455467085.*' OR pattern = '^4645546708.*' OR pattern = '^464554670.*' OR pattern = '^46455467.*' OR pattern = '^4645546.*' OR pattern = '^464554.*' OR pattern = '^46455.*' OR pattern = '^4645.*' OR pattern = '^464.*' OR pattern = '^46.*' OR pattern = '^4.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (3,6) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  198. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  199. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1845
  200. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^46.*
  201. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Sverige Samtal
  202. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  203. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  204. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^46.*
  205. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  206. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  207. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 6
  208. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : TELE2
  209. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  210. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  211. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 26
  212. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  213. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  214. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  215. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 688
  216. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^46.*
  217. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Sverige Samtal
  218. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  219. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  220. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^46.*
  221. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  222. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  223. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 3
  224. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : INFRA_1
  225. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  226. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : INFRA_2
  227. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 16
  228. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  229. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  230. 2023-05-18 13:04:27.521606 36.97% [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 = 17 AND status=0 LIMIT 1
  231. 2023-05-18 13:04:27.521606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  232. 2023-05-18 13:04:27.521606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  233. 2023-05-18 13:04:27.541606 36.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  234. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  235. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::2
  236. 2023-05-18 13:04:27.541606 36.97% [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 = 26) AND status=0 limit 1
  237. 2023-05-18 13:04:27.541606 36.97% [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 = 6) AND status=0 limit 1
  238. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"*/+/*/*".....120399
  239. 2023-05-18 13:04:27.541606 36.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 120399
  240. 2023-05-18 13:04:27.541606 36.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : +120399
  241. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"*/+/*/*".....46455655455
  242. 2023-05-18 13:04:27.541606 36.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 46455655455
  243. 2023-05-18 13:04:27.541606 36.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : +46455655455
  244. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"*/+/*/*".....4645546708516331
  245. 2023-05-18 13:04:27.541606 36.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 4645546708516331
  246. 2023-05-18 13:04:27.541606 36.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : +4645546708516331
  247. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT 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="120399" limit 1
  248. 2023-05-18 13:04:27.541606 36.97% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] sip_codec : PCMA,G729,PCMA
  249. 2023-05-18 13:04:27.541606 36.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 2
  250. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 2 AND status=0 limit 1
  251. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....46708516331
  252. 2023-05-18 13:04:27.541606 36.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 46708516331
  253. 2023-05-18 13:04:27.541606 36.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 4645546708516331
  254. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  255. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  256. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  257. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  258. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  259. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  260. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  261. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  262. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  263. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  264. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  265. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  266. 2023-05-18 13:04:27.541606 36.97% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="4645546708516331" LIMIT 1
  267. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  268. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  269. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::2
  270. 2023-05-18 13:04:27.541606 36.97% [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 = 16) AND status=0 limit 1
  271. 2023-05-18 13:04:27.541606 36.97% [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 = 3) AND status=0 limit 1
  272. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"*/+/*/*".....120399
  273. 2023-05-18 13:04:27.541606 36.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 120399
  274. 2023-05-18 13:04:27.541606 36.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : +120399
  275. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"*/+/*/*".....46455655455
  276. 2023-05-18 13:04:27.541606 36.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 46455655455
  277. 2023-05-18 13:04:27.541606 36.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : +46455655455
  278. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"*/+/*/*".....4645546708516331
  279. 2023-05-18 13:04:27.541606 36.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 4645546708516331
  280. 2023-05-18 13:04:27.541606 36.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : +4645546708516331
  281. 2023-05-18 13:04:27.541606 36.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 2
  282. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 2 AND status=0 limit 1
  283. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....46708516331
  284. 2023-05-18 13:04:27.541606 36.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 46708516331
  285. 2023-05-18 13:04:27.541606 36.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 4645546708516331
  286. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  287. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  288. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  289. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  290. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  291. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  292. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  293. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  294. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  295. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  296. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  297. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/464554/*/*,1/464551/*/*,2/464552/*/*,3/464553/*/*,5/464555/*/*,6/464556/*/*,7/464557/*/*,8/464558/*/*,9/464559/*/*,0046/46/*/*,00/*/*/*,0/46/*/*,+46/46/*/*".....4645546708516331
  298. 2023-05-18 13:04:27.541606 36.97% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="4645546708516331" LIMIT 1
  299. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  300. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  301. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  302. <document type="freeswitch/xml">
  303. <section name="dialplan" description="ASTPP Dialplan">
  304. <context name="default">
  305. <extension name="4645546708516331">
  306. <condition field="destination_number" expression="46708516331">
  307. <action application="set" data="effective_destination_number=4645546708516331"/>
  308. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  309. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  310. <action application="set" data="notify_flag=0"/>
  311. <action application="set" data="notify_credit_limit=5.00000"/>
  312. <action application="set" data="type=0"/>
  313. <action application="set" data="callstart=2023-05-18 13:04:27"/>
  314. <action application="set" data="hangup_after_bridge=true"/>
  315. <action application="set" data="continue_on_fail=TRUE"/>
  316. <action application="set" data="account_id=17"/>
  317. <action application="set" data="parent_id=0"/>
  318. <action application="set" data="entity_id=0"/>
  319. <action application="set" data="call_processed=internal"/>
  320. <action application="set" data="call_direction=outbound"/>
  321. <action application="set" data="accountname=default"/>
  322. <action application="set" data="origination_rates=ID:3540|CODE:^46.*|DESTINATION:Sverige Samtal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03000|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:0|ACCID:17"/>
  323. <action application="set" data="original_caller_id_name=120399"/>
  324. <action application="set" data="original_caller_id_number=46455655455"/>
  325.  
  326. <action application="export" data="is_recording=1"/>
  327. <action application="export" data="media_bug_answer_req=true"/>
  328. <action application="export" data="record_sample_rate=8000"/>
  329. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  330. <action application="set" data="effective_caller_id_name=+120399"/>
  331. <action application="set" data="effective_caller_id_number=+46455655455"/>
  332. <action application="set" data="calltype=STANDARD"/>
  333. <action application="set" data="termination_rates=ID:1845|CODE:^46.*|DESTINATION:Sverige Samtal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.02300|INC:0|INITIALBLOCK:0|TRUNK:6|PROVIDER:26"/>
  334. <action application="set" data="trunk_id=6"/>
  335. <action application="set" data="provider_id=26"/>
  336. <action application="set" data="rate_flag=0"/>
  337. <action application="set" data="quality_trunk_seq=6,3"/>
  338. <action application="set" data="force_trunk_flag=0"/>
  339. <action application="export" data="presence_data=trunk_id=6"/>
  340. <action application="set" data="intcall=0"/>
  341. <action application="export" data="presence_id=4645546708516331"/>
  342. <action application="export" data="presence_data=x|||Khodr(120399)|||^46.* // Sverige Samtal // 0.03000 |||TELE2 // ^46.* // Sverige Samtal // 0.02300 // trunk_id=6|||STD|||103.240.35.46"/>
  343. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/TELE2/+4645546708516331"/>
  344. <action application="set" data="effective_caller_id_name=+120399"/>
  345. <action application="set" data="effective_caller_id_number=+46455655455"/>
  346. <action application="set" data="calltype=STANDARD"/>
  347. <action application="set" data="termination_rates=ID:688|CODE:^46.*|DESTINATION:Sverige Samtal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.02300|INC:0|INITIALBLOCK:0|TRUNK:3|PROVIDER:16"/>
  348. <action application="set" data="trunk_id=3"/>
  349. <action application="set" data="provider_id=16"/>
  350. <action application="set" data="rate_flag=0"/>
  351. <action application="set" data="quality_trunk_seq=6,3"/>
  352. <action application="set" data="force_trunk_flag=0"/>
  353. <action application="export" data="presence_data=trunk_id=3"/>
  354. <action application="set" data="intcall=0"/>
  355. <action application="export" data="presence_id=4645546708516331"/>
  356. <action application="export" data="presence_data=x|||Khodr(120399)|||^46.* // Sverige Samtal // 0.03000 |||INFRA // ^46.* // Sverige Samtal // 0.02300 // trunk_id=3|||STD|||103.240.35.46"/>
  357. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/INFRA_1/+4645546708516331"/>
  358. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/INFRA_2/+4645546708516331"/>
  359. </condition>
  360. </extension>
  361. </context>
  362. </document>
  363. Dialplan: sofia/default/120399@cust.minitel.se parsing [default->4645546708516331] continue=false
  364. Dialplan: sofia/default/120399@cust.minitel.se Regex (PASS) [4645546708516331] destination_number(46708516331) =~ /46708516331/ break=on-false
  365. Dialplan: sofia/default/120399@cust.minitel.se Action set(effective_destination_number=4645546708516331)
  366. Dialplan: sofia/default/120399@cust.minitel.se Action set(bridge_pre_execute_bleg_app=sched_hangup)
  367. Dialplan: sofia/default/120399@cust.minitel.se Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  368. Dialplan: sofia/default/120399@cust.minitel.se Action set(notify_flag=0)
  369. Dialplan: sofia/default/120399@cust.minitel.se Action set(notify_credit_limit=5.00000)
  370. Dialplan: sofia/default/120399@cust.minitel.se Action set(type=0)
  371. Dialplan: sofia/default/120399@cust.minitel.se Action set(callstart=2023-05-18 13:04:27)
  372. Dialplan: sofia/default/120399@cust.minitel.se Action set(hangup_after_bridge=true)
  373. Dialplan: sofia/default/120399@cust.minitel.se Action set(continue_on_fail=TRUE)
  374. Dialplan: sofia/default/120399@cust.minitel.se Action set(account_id=17)
  375. Dialplan: sofia/default/120399@cust.minitel.se Action set(parent_id=0)
  376. Dialplan: sofia/default/120399@cust.minitel.se Action set(entity_id=0)
  377. Dialplan: sofia/default/120399@cust.minitel.se Action set(call_processed=internal)
  378. Dialplan: sofia/default/120399@cust.minitel.se Action set(call_direction=outbound)
  379. Dialplan: sofia/default/120399@cust.minitel.se Action set(accountname=default)
  380. Dialplan: sofia/default/120399@cust.minitel.se Action set(origination_rates=ID:3540|CODE:^46.*|DESTINATION:Sverige Samtal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03000|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:0|ACCID:17)
  381. Dialplan: sofia/default/120399@cust.minitel.se Action set(original_caller_id_name=120399)
  382. Dialplan: sofia/default/120399@cust.minitel.se Action set(original_caller_id_number=46455655455)
  383. Dialplan: sofia/default/120399@cust.minitel.se Action export(is_recording=1)
  384. Dialplan: sofia/default/120399@cust.minitel.se Action export(media_bug_answer_req=true)
  385. Dialplan: sofia/default/120399@cust.minitel.se Action export(record_sample_rate=8000)
  386. Dialplan: sofia/default/120399@cust.minitel.se Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  387. Dialplan: sofia/default/120399@cust.minitel.se Action set(effective_caller_id_name=+120399)
  388. Dialplan: sofia/default/120399@cust.minitel.se Action set(effective_caller_id_number=+46455655455)
  389. Dialplan: sofia/default/120399@cust.minitel.se Action set(calltype=STANDARD)
  390. Dialplan: sofia/default/120399@cust.minitel.se Action set(termination_rates=ID:1845|CODE:^46.*|DESTINATION:Sverige Samtal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.02300|INC:0|INITIALBLOCK:0|TRUNK:6|PROVIDER:26)
  391. Dialplan: sofia/default/120399@cust.minitel.se Action set(trunk_id=6)
  392. Dialplan: sofia/default/120399@cust.minitel.se Action set(provider_id=26)
  393. Dialplan: sofia/default/120399@cust.minitel.se Action set(rate_flag=0)
  394. Dialplan: sofia/default/120399@cust.minitel.se Action set(quality_trunk_seq=6,3)
  395. Dialplan: sofia/default/120399@cust.minitel.se Action set(force_trunk_flag=0)
  396. Dialplan: sofia/default/120399@cust.minitel.se Action export(presence_data=trunk_id=6)
  397. Dialplan: sofia/default/120399@cust.minitel.se Action set(intcall=0)
  398. Dialplan: sofia/default/120399@cust.minitel.se Action export(presence_id=4645546708516331)
  399. Dialplan: sofia/default/120399@cust.minitel.se Action export(presence_data=x|||Khodr(120399)|||^46.* // Sverige Samtal // 0.03000 |||TELE2 // ^46.* // Sverige Samtal // 0.02300 // trunk_id=6|||STD|||103.240.35.46)
  400. Dialplan: sofia/default/120399@cust.minitel.se Action bridge({sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/TELE2/+4645546708516331)
  401. Dialplan: sofia/default/120399@cust.minitel.se Action set(effective_caller_id_name=+120399)
  402. Dialplan: sofia/default/120399@cust.minitel.se Action set(effective_caller_id_number=+46455655455)
  403. Dialplan: sofia/default/120399@cust.minitel.se Action set(calltype=STANDARD)
  404. Dialplan: sofia/default/120399@cust.minitel.se Action set(termination_rates=ID:688|CODE:^46.*|DESTINATION:Sverige Samtal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.02300|INC:0|INITIALBLOCK:0|TRUNK:3|PROVIDER:16)
  405. Dialplan: sofia/default/120399@cust.minitel.se Action set(trunk_id=3)
  406. Dialplan: sofia/default/120399@cust.minitel.se Action set(provider_id=16)
  407. Dialplan: sofia/default/120399@cust.minitel.se Action set(rate_flag=0)
  408. Dialplan: sofia/default/120399@cust.minitel.se Action set(quality_trunk_seq=6,3)
  409. Dialplan: sofia/default/120399@cust.minitel.se Action set(force_trunk_flag=0)
  410. Dialplan: sofia/default/120399@cust.minitel.se Action export(presence_data=trunk_id=3)
  411. Dialplan: sofia/default/120399@cust.minitel.se Action set(intcall=0)
  412. Dialplan: sofia/default/120399@cust.minitel.se Action export(presence_id=4645546708516331)
  413. Dialplan: sofia/default/120399@cust.minitel.se Action export(presence_data=x|||Khodr(120399)|||^46.* // Sverige Samtal // 0.03000 |||INFRA // ^46.* // Sverige Samtal // 0.02300 // trunk_id=3|||STD|||103.240.35.46)
  414. Dialplan: sofia/default/120399@cust.minitel.se Action bridge({sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/INFRA_1/+4645546708516331)
  415. Dialplan: sofia/default/120399@cust.minitel.se Action bridge({sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/INFRA_2/+4645546708516331)
  416. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_core_state_machine.c:281 (sofia/default/120399@cust.minitel.se) State Change CS_ROUTING -> CS_EXECUTE
  417. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/120399@cust.minitel.se) State ROUTING going to sleep
  418. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/120399@cust.minitel.se) Running State Change CS_EXECUTE (Cur 1 Tot 111767)
  419. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_core_state_machine.c:647 (sofia/default/120399@cust.minitel.se) State EXECUTE
  420. 2023-05-18 13:04:27.541606 36.97% [DEBUG] mod_sofia.c:213 sofia/default/120399@cust.minitel.se SOFIA EXECUTE
  421. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_core_state_machine.c:323 sofia/default/120399@cust.minitel.se Standard EXECUTE
  422. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se set(effective_destination_number=4645546708516331)
  423. 2023-05-18 13:04:27.541606 36.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/120399@cust.minitel.se [effective_destination_number]=[4645546708516331]
  424. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se set(bridge_pre_execute_bleg_app=sched_hangup)
  425. 2023-05-18 13:04:27.541606 36.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/120399@cust.minitel.se [bridge_pre_execute_bleg_app]=[sched_hangup]
  426. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  427. 2023-05-18 13:04:27.541606 36.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/120399@cust.minitel.se [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  428. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se set(notify_flag=0)
  429. 2023-05-18 13:04:27.541606 36.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/120399@cust.minitel.se [notify_flag]=[0]
  430. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se set(notify_credit_limit=5.00000)
  431. 2023-05-18 13:04:27.541606 36.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/120399@cust.minitel.se [notify_credit_limit]=[5.00000]
  432. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se set(type=0)
  433. 2023-05-18 13:04:27.541606 36.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/120399@cust.minitel.se [type]=[0]
  434. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se set(callstart=2023-05-18 13:04:27)
  435. 2023-05-18 13:04:27.541606 36.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/120399@cust.minitel.se [callstart]=[2023-05-18 13:04:27]
  436. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se set(hangup_after_bridge=true)
  437. 2023-05-18 13:04:27.541606 36.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/120399@cust.minitel.se [hangup_after_bridge]=[true]
  438. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se set(continue_on_fail=TRUE)
  439. 2023-05-18 13:04:27.541606 36.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/120399@cust.minitel.se [continue_on_fail]=[TRUE]
  440. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se set(account_id=17)
  441. 2023-05-18 13:04:27.541606 36.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/120399@cust.minitel.se [account_id]=[17]
  442. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se set(parent_id=0)
  443. 2023-05-18 13:04:27.541606 36.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/120399@cust.minitel.se [parent_id]=[0]
  444. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se set(entity_id=0)
  445. 2023-05-18 13:04:27.541606 36.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/120399@cust.minitel.se [entity_id]=[0]
  446. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se set(call_processed=internal)
  447. 2023-05-18 13:04:27.541606 36.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/120399@cust.minitel.se [call_processed]=[internal]
  448. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se set(call_direction=outbound)
  449. 2023-05-18 13:04:27.541606 36.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/120399@cust.minitel.se [call_direction]=[outbound]
  450. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se set(accountname=default)
  451. 2023-05-18 13:04:27.541606 36.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/120399@cust.minitel.se [accountname]=[default]
  452. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se set(origination_rates=ID:3540|CODE:^46.*|DESTINATION:Sverige Samtal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03000|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:0|ACCID:17)
  453. 2023-05-18 13:04:27.541606 36.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/120399@cust.minitel.se [origination_rates]=[ID:3540|CODE:^46.*|DESTINATION:Sverige Samtal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03000|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:0|ACCID:17]
  454. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se set(original_caller_id_name=120399)
  455. 2023-05-18 13:04:27.541606 36.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/120399@cust.minitel.se [original_caller_id_name]=[120399]
  456. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se set(original_caller_id_number=46455655455)
  457. 2023-05-18 13:04:27.541606 36.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/120399@cust.minitel.se [original_caller_id_number]=[46455655455]
  458. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se export(is_recording=1)
  459. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  460. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se export(media_bug_answer_req=true)
  461. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  462. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se export(record_sample_rate=8000)
  463. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  464. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se export(execute_on_answer=record_session /usr/local/freeswitch/recordings/dbbbe0b6-4619-4f19-9f3c-afc7a87e4443.wav)
  465. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/dbbbe0b6-4619-4f19-9f3c-afc7a87e4443.wav]
  466. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se set(effective_caller_id_name=+120399)
  467. 2023-05-18 13:04:27.541606 36.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/120399@cust.minitel.se [effective_caller_id_name]=[+120399]
  468. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se set(effective_caller_id_number=+46455655455)
  469. 2023-05-18 13:04:27.541606 36.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/120399@cust.minitel.se [effective_caller_id_number]=[+46455655455]
  470. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se set(calltype=STANDARD)
  471. 2023-05-18 13:04:27.541606 36.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/120399@cust.minitel.se [calltype]=[STANDARD]
  472. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se set(termination_rates=ID:1845|CODE:^46.*|DESTINATION:Sverige Samtal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.02300|INC:0|INITIALBLOCK:0|TRUNK:6|PROVIDER:26)
  473. 2023-05-18 13:04:27.541606 36.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/120399@cust.minitel.se [termination_rates]=[ID:1845|CODE:^46.*|DESTINATION:Sverige Samtal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.02300|INC:0|INITIALBLOCK:0|TRUNK:6|PROVIDER:26]
  474. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se set(trunk_id=6)
  475. 2023-05-18 13:04:27.541606 36.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/120399@cust.minitel.se [trunk_id]=[6]
  476. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se set(provider_id=26)
  477. 2023-05-18 13:04:27.541606 36.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/120399@cust.minitel.se [provider_id]=[26]
  478. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se set(rate_flag=0)
  479. 2023-05-18 13:04:27.541606 36.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/120399@cust.minitel.se [rate_flag]=[0]
  480. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se set(quality_trunk_seq=6,3)
  481. 2023-05-18 13:04:27.541606 36.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/120399@cust.minitel.se [quality_trunk_seq]=[6,3]
  482. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se set(force_trunk_flag=0)
  483. 2023-05-18 13:04:27.541606 36.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/120399@cust.minitel.se [force_trunk_flag]=[0]
  484. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se export(presence_data=trunk_id=6)
  485. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=6]
  486. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se set(intcall=0)
  487. 2023-05-18 13:04:27.541606 36.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/120399@cust.minitel.se [intcall]=[0]
  488. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se export(presence_id=4645546708516331)
  489. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[4645546708516331]
  490. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se export(presence_data=x|||Khodr(120399)|||^46.* // Sverige Samtal // 0.03000 |||TELE2 // ^46.* // Sverige Samtal // 0.02300 // trunk_id=6|||STD|||103.240.35.46)
  491. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Khodr(120399)|||^46.* // Sverige Samtal // 0.03000 |||TELE2 // ^46.* // Sverige Samtal // 0.02300 // trunk_id=6|||STD|||103.240.35.46]
  492. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se bridge({sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/TELE2/+4645546708516331)
  493. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_channel.c:1269 sofia/default/120399@cust.minitel.se EXPORTING[export_vars] [is_recording]=[1] to event
  494. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_channel.c:1269 sofia/default/120399@cust.minitel.se EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  495. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_channel.c:1269 sofia/default/120399@cust.minitel.se EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  496. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_channel.c:1269 sofia/default/120399@cust.minitel.se EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/dbbbe0b6-4619-4f19-9f3c-afc7a87e4443.wav] to event
  497. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_channel.c:1269 sofia/default/120399@cust.minitel.se EXPORTING[export_vars] [presence_data]=[x|||Khodr(120399)|||^46.* // Sverige Samtal // 0.03000 |||TELE2 // ^46.* // Sverige Samtal // 0.02300 // trunk_id=6|||STD|||103.240.35.46] to event
  498. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_channel.c:1269 sofia/default/120399@cust.minitel.se EXPORTING[export_vars] [presence_id]=[4645546708516331] to event
  499. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_channel.c:1269 sofia/default/120399@cust.minitel.se EXPORTING[export_vars] [presence_data]=[x|||Khodr(120399)|||^46.* // Sverige Samtal // 0.03000 |||TELE2 // ^46.* // Sverige Samtal // 0.02300 // trunk_id=6|||STD|||103.240.35.46] to event
  500. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  501. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  502. 2023-05-18 13:04:27.541606 36.97% [NOTICE] switch_channel.c:1123 New Channel sofia/default/+4645546708516331 [d6e7f3bf-db58-4530-80c0-41db4acfab93]
  503. 2023-05-18 13:04:27.541606 36.97% [DEBUG] mod_sofia.c:5121 (sofia/default/+4645546708516331) State Change CS_NEW -> CS_INIT
  504. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+4645546708516331) Running State Change CS_INIT (Cur 2 Tot 111768)
  505. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/+4645546708516331) State INIT
  506. 2023-05-18 13:04:27.541606 36.97% [DEBUG] mod_sofia.c:97 sofia/default/+4645546708516331 SOFIA INIT
  507. 2023-05-18 13:04:27.541606 36.97% [INFO] sofia_glue.c:1651 sofia/default/+4645546708516331 sending invite call-id: (null)
  508. 2023-05-18 13:04:27.541606 36.97% [DEBUG] sofia_glue.c:1654 sofia/default/+4645546708516331 sending invite version: 1.10.7 -release 64bit
  509. Local SDP:
  510. v=0
  511. o=FreeSWITCH 1684392041 1684392042 IN IP4 46.246.2.118
  512. s=FreeSWITCH
  513. c=IN IP4 46.246.2.118
  514. t=0 0
  515. m=audio 23026 RTP/AVP 8 18 101
  516. a=rtpmap:8 PCMA/8000
  517. a=rtpmap:18 G729/8000
  518. a=rtpmap:101 telephone-event/8000
  519. a=fmtp:101 0-15
  520. a=ptime:20
  521. a=sendrecv
  522.  
  523. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_core_state_machine.c:40 sofia/default/+4645546708516331 Standard INIT
  524. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_core_state_machine.c:48 (sofia/default/+4645546708516331) State Change CS_INIT -> CS_ROUTING
  525. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/+4645546708516331) State INIT going to sleep
  526. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+4645546708516331) Running State Change CS_ROUTING (Cur 2 Tot 111768)
  527. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/+4645546708516331) State ROUTING
  528. 2023-05-18 13:04:27.541606 36.97% [DEBUG] mod_sofia.c:158 sofia/default/+4645546708516331 SOFIA ROUTING
  529. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_ivr_originate.c:67 (sofia/default/+4645546708516331) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  530. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/+4645546708516331) State ROUTING going to sleep
  531. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+4645546708516331) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 111768)
  532. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_core_state_machine.c:659 (sofia/default/+4645546708516331) State CONSUME_MEDIA
  533. 2023-05-18 13:04:27.541606 36.97% [DEBUG] switch_core_state_machine.c:659 (sofia/default/+4645546708516331) State CONSUME_MEDIA going to sleep
  534. 2023-05-18 13:04:27.541606 36.97% [DEBUG] sofia.c:7499 Channel sofia/default/+4645546708516331 entering state [calling][0]
  535. 2023-05-18 13:04:27.861600 36.97% [DEBUG] sofia.c:7499 Channel sofia/default/+4645546708516331 entering state [proceeding][183]
  536. 2023-05-18 13:04:27.861600 36.97% [DEBUG] sofia.c:7509 Remote SDP:
  537. v=0
  538. o=- 1684415067 1684415067 IN IP4 62.80.216.236
  539. s=-
  540. c=IN IP4 62.80.216.236
  541. t=0 0
  542. m=audio 38132 RTP/AVP 8 101
  543. a=rtpmap:8 PCMA/8000
  544. a=rtpmap:101 telephone-event/8000
  545. a=fmtp:101 0-15
  546. a=ptime:20
  547.  
  548. 2023-05-18 13:04:27.861600 36.97% [NOTICE] sofia.c:7512 Pre-Answer sofia/default/+4645546708516331!
  549. 2023-05-18 13:04:27.861600 36.97% [DEBUG] switch_channel.c:3622 (sofia/default/+4645546708516331) Callstate Change DOWN -> EARLY
  550. 2023-05-18 13:04:27.861600 36.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  551. 2023-05-18 13:04:27.861600 36.97% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  552. 2023-05-18 13:04:27.861600 36.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  553. 2023-05-18 13:04:27.861600 36.97% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  554. 2023-05-18 13:04:27.861600 36.97% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/+4645546708516331 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  555. 2023-05-18 13:04:27.861600 36.97% [DEBUG] switch_core_codec.c:111 sofia/default/+4645546708516331 Original read codec set to PCMA:8
  556. 2023-05-18 13:04:27.861600 36.97% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  557. 2023-05-18 13:04:27.861600 36.97% [DEBUG] switch_core_media.c:5973 sofia/default/+4645546708516331 Set 2833 dtmf send payload to 101 recv payload to 101
  558. 2023-05-18 13:04:27.861600 36.97% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/+4645546708516331] 46.246.2.118 port 23026 -> 62.80.216.236 port 38132 codec: 8 ms: 20
  559. 2023-05-18 13:04:27.861600 36.97% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  560. 2023-05-18 13:04:27.861600 36.97% [DEBUG] switch_core_media.c:9089 sofia/default/+4645546708516331 Set 2833 dtmf send payload to 101
  561. 2023-05-18 13:04:27.861600 36.97% [DEBUG] switch_core_media.c:9096 sofia/default/+4645546708516331 Set 2833 dtmf receive payload to 101
  562. 2023-05-18 13:04:27.861600 36.97% [DEBUG] switch_core_media.c:9119 sofia/default/+4645546708516331 Set rtp dtmf delay to 40
  563. 2023-05-18 13:04:27.881603 36.97% [INFO] switch_ivr_originate.c:3841 Sending early media
  564. 2023-05-18 13:04:27.881603 36.97% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/120399@cust.minitel.se] 46.246.2.118 port 23622 -> 103.240.35.46 port 8000 codec: 8 ms: 20
  565. 2023-05-18 13:04:27.881603 36.97% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  566. 2023-05-18 13:04:27.881603 36.97% [DEBUG] switch_core_media.c:9089 sofia/default/120399@cust.minitel.se Set 2833 dtmf send payload to 101
  567. 2023-05-18 13:04:27.881603 36.97% [DEBUG] switch_core_media.c:9096 sofia/default/120399@cust.minitel.se Set 2833 dtmf receive payload to 101
  568. 2023-05-18 13:04:27.881603 36.97% [DEBUG] switch_core_media.c:9119 sofia/default/120399@cust.minitel.se Set rtp dtmf delay to 40
  569. 2023-05-18 13:04:27.881603 36.97% [DEBUG] mod_sofia.c:2610 Ring SDP:
  570. v=0
  571. o=FreeSWITCH 1684391445 1684391446 IN IP4 46.246.2.118
  572. s=FreeSWITCH
  573. c=IN IP4 46.246.2.118
  574. t=0 0
  575. m=audio 23622 RTP/AVP 8 101
  576. a=rtpmap:8 PCMA/8000
  577. a=rtpmap:101 telephone-event/8000
  578. a=fmtp:101 0-15
  579. a=ptime:20
  580. a=sendrecv
  581.  
  582. 2023-05-18 13:04:27.881603 36.97% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/120399@cust.minitel.se!
  583. 2023-05-18 13:04:27.881603 36.97% [DEBUG] switch_channel.c:3622 (sofia/default/120399@cust.minitel.se) Callstate Change RINGING -> EARLY
  584. 2023-05-18 13:04:27.881603 36.97% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/+4645546708516331] Peer UUID: d6e7f3bf-db58-4530-80c0-41db4acfab93
  585. 2023-05-18 13:04:27.881603 36.97% [DEBUG] sofia.c:7499 Channel sofia/default/120399@cust.minitel.se entering state [early][183]
  586. 2023-05-18 13:04:27.881603 36.97% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/+4645546708516331) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  587. 2023-05-18 13:04:27.881603 36.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+4645546708516331) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 111768)
  588. 2023-05-18 13:04:27.881603 36.97% [DEBUG] switch_core_state_machine.c:650 (sofia/default/+4645546708516331) State EXCHANGE_MEDIA
  589. 2023-05-18 13:04:27.881603 36.97% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  590. 2023-05-18 13:04:27.921599 36.97% [DEBUG] sofia.c:7499 Channel sofia/default/+4645546708516331 entering state [proceeding][183]
  591. 2023-05-18 13:04:27.921599 36.97% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/+4645546708516331!
  592. 2023-05-18 13:04:27.921599 36.97% [DEBUG] switch_channel.c:3494 (sofia/default/+4645546708516331) Callstate Change EARLY -> RINGING
  593. 2023-05-18 13:04:28.021604 36.97% [DEBUG] sofia.c:7499 Channel sofia/default/+4645546708516331 entering state [completing][200]
  594. 2023-05-18 13:04:28.021604 36.97% [DEBUG] sofia.c:7506 Duplicate SDP
  595. v=0
  596. o=- 1684415067 1684415067 IN IP4 62.80.216.236
  597. s=-
  598. c=IN IP4 62.80.216.236
  599. t=0 0
  600. m=audio 38132 RTP/AVP 8 101
  601. a=rtpmap:8 PCMA/8000
  602. a=rtpmap:101 telephone-event/8000
  603. a=fmtp:101 0-15
  604. a=ptime:20
  605.  
  606. 2023-05-18 13:04:28.041600 36.97% [DEBUG] sofia.c:7499 Channel sofia/default/+4645546708516331 entering state [ready][200]
  607. 2023-05-18 13:04:28.041600 36.97% [NOTICE] sofia.c:8624 Channel [sofia/default/+4645546708516331] has been answered
  608. EXECUTE [depth=0] sofia/default/+4645546708516331 record_session(/usr/local/freeswitch/recordings/dbbbe0b6-4619-4f19-9f3c-afc7a87e4443.wav)
  609. 2023-05-18 13:04:28.061600 36.97% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  610. 2023-05-18 13:04:28.061600 36.97% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/+4645546708516331
  611. 2023-05-18 13:04:28.061600 36.97% [DEBUG] switch_channel.c:3950 (sofia/default/+4645546708516331) Callstate Change RINGING -> ACTIVE
  612. 2023-05-18 13:04:28.061600 36.97% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/120399@cust.minitel.se.
  613. 2023-05-18 13:04:28.061600 36.97% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/120399@cust.minitel.se:
  614. v=0
  615. o=FreeSWITCH 1684391445 1684391447 IN IP4 46.246.2.118
  616. s=FreeSWITCH
  617. c=IN IP4 46.246.2.118
  618. t=0 0
  619. m=audio 23622 RTP/AVP 8 101
  620. a=rtpmap:8 PCMA/8000
  621. a=rtpmap:101 telephone-event/8000
  622. a=fmtp:101 0-15
  623. a=ptime:20
  624. a=sendrecv
  625.  
  626. 2023-05-18 13:04:28.061600 36.97% [NOTICE] switch_ivr_bridge.c:731 Channel [sofia/default/120399@cust.minitel.se] has been answered
  627. 2023-05-18 13:04:28.061600 36.97% [DEBUG] sofia.c:7499 Channel sofia/default/120399@cust.minitel.se entering state [completed][200]
  628. EXECUTE [depth=0] sofia/default/120399@cust.minitel.se record_session(/usr/local/freeswitch/recordings/dbbbe0b6-4619-4f19-9f3c-afc7a87e4443.wav)
  629. 2023-05-18 13:04:28.061600 36.97% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  630. 2023-05-18 13:04:28.061600 36.97% [DEBUG] switch_ivr_bridge.c:655 sofia/default/+4645546708516331 Bridge execute app sched_hangup(+6000 normal_clearing)
  631. 2023-05-18 13:04:28.081601 36.97% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  632. 2023-05-18 13:04:28.081601 36.97% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/120399@cust.minitel.se
  633. 2023-05-18 13:04:28.081601 36.97% [DEBUG] switch_channel.c:3950 (sofia/default/120399@cust.minitel.se) Callstate Change EARLY -> ACTIVE
  634. 2023-05-18 13:04:28.081601 36.97% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  635. 2023-05-18 13:04:28.081601 36.97% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  636. 2023-05-18 13:04:28.081601 36.97% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  637. 2023-05-18 13:04:28.081601 36.97% [DEBUG] switch_ivr.c:632 sofia/default/+4645546708516331 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  638. EXECUTE [depth=0] sofia/default/+4645546708516331 sched_hangup(+6000 normal_clearing)
  639. 2023-05-18 13:04:28.081601 36.97% [DEBUG] switch_scheduler.c:263 Added task 34875 switch_ivr_schedule_hangup (d6e7f3bf-db58-4530-80c0-41db4acfab93) to run at 1684421068
  640. 2023-05-18 13:04:28.401642 38.83% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  641. 2023-05-18 13:04:28.401642 38.83% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  642. 2023-05-18 13:04:28.501604 38.83% [DEBUG] sofia.c:7499 Channel sofia/default/120399@cust.minitel.se entering state [ready][200]
  643. 2023-05-18 13:04:37.781604 55.90% [NOTICE] sofia.c:1065 Hangup sofia/default/120399@cust.minitel.se [CS_EXECUTE] [NORMAL_CLEARING]
  644. 2023-05-18 13:04:37.781604 55.90% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/120399@cust.minitel.se]
  645. 2023-05-18 13:04:37.781604 55.90% [DEBUG] switch_ivr_bridge.c:820 sofia/default/120399@cust.minitel.se ending bridge by request from write function
  646. 2023-05-18 13:04:37.781604 55.90% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/+4645546708516331]
  647. 2023-05-18 13:04:37.781604 55.90% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/+4645546708516331 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  648. 2023-05-18 13:04:37.781604 55.90% [DEBUG] switch_core_state_machine.c:650 (sofia/default/+4645546708516331) State EXCHANGE_MEDIA going to sleep
  649. 2023-05-18 13:04:37.781604 55.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+4645546708516331) Running State Change CS_HANGUP (Cur 2 Tot 111768)
  650. 2023-05-18 13:04:37.781604 55.90% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/dbbbe0b6-4619-4f19-9f3c-afc7a87e4443.wav
  651. 2023-05-18 13:04:37.781604 55.90% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  652. 2023-05-18 13:04:37.781604 55.90% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/+4645546708516331
  653. 2023-05-18 13:04:37.781604 55.90% [DEBUG] switch_core_state_machine.c:844 (sofia/default/+4645546708516331) Callstate Change ACTIVE -> HANGUP
  654. 2023-05-18 13:04:37.781604 55.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/+4645546708516331) State HANGUP
  655. 2023-05-18 13:04:37.781604 55.90% [DEBUG] mod_sofia.c:462 sofia/default/+4645546708516331 Overriding SIP cause 480 with 200 from the other leg
  656. 2023-05-18 13:04:37.781604 55.90% [DEBUG] mod_sofia.c:468 Channel sofia/default/+4645546708516331 hanging up, cause: NORMAL_CLEARING
  657. 2023-05-18 13:04:37.781604 55.90% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/+4645546708516331 skip receive message [UNBRIDGE] (channel is hungup already)
  658. 2023-05-18 13:04:37.781604 55.90% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/120399@cust.minitel.se skip receive message [UNBRIDGE] (channel is hungup already)
  659. 2023-05-18 13:04:37.781604 55.90% [DEBUG] switch_core_session.c:2983 sofia/default/120399@cust.minitel.se skip receive message [PHONE_EVENT] (channel is hungup already)
  660. 2023-05-18 13:04:37.781604 55.90% [DEBUG] switch_core_state_machine.c:647 (sofia/default/120399@cust.minitel.se) State EXECUTE going to sleep
  661. 2023-05-18 13:04:37.781604 55.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/120399@cust.minitel.se) Running State Change CS_HANGUP (Cur 2 Tot 111768)
  662. 2023-05-18 13:04:37.781604 55.90% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/dbbbe0b6-4619-4f19-9f3c-afc7a87e4443.wav
  663. 2023-05-18 13:04:37.781604 55.90% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  664. 2023-05-18 13:04:37.781604 55.90% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/+4645546708516331
  665. 2023-05-18 13:04:37.781604 55.90% [DEBUG] switch_core_state_machine.c:59 sofia/default/+4645546708516331 Standard HANGUP, cause: NORMAL_CLEARING
  666. 2023-05-18 13:04:37.781604 55.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/+4645546708516331) State HANGUP going to sleep
  667. 2023-05-18 13:04:37.781604 55.90% [DEBUG] switch_core_state_machine.c:616 (sofia/default/+4645546708516331) State Change CS_HANGUP -> CS_REPORTING
  668. 2023-05-18 13:04:37.781604 55.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+4645546708516331) Running State Change CS_REPORTING (Cur 2 Tot 111768)
  669. 2023-05-18 13:04:37.781604 55.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/+4645546708516331) State REPORTING
  670. 2023-05-18 13:04:37.781604 55.90% [INFO] mod_json_cdr.c:271 Process [d6e7f3bf-db58-4530-80c0-41db4acfab93.cdr.json]
  671. 2023-05-18 13:04:37.781604 55.90% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/120399@cust.minitel.se
  672. 2023-05-18 13:04:37.781604 55.90% [DEBUG] switch_core_state_machine.c:844 (sofia/default/120399@cust.minitel.se) Callstate Change ACTIVE -> HANGUP
  673. 2023-05-18 13:04:37.781604 55.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/120399@cust.minitel.se) State HANGUP
  674. 2023-05-18 13:04:37.781604 55.90% [DEBUG] mod_sofia.c:468 Channel sofia/default/120399@cust.minitel.se hanging up, cause: NORMAL_CLEARING
  675. 2023-05-18 13:04:37.781604 55.90% [DEBUG] switch_core_state_machine.c:59 sofia/default/120399@cust.minitel.se Standard HANGUP, cause: NORMAL_CLEARING
  676. 2023-05-18 13:04:37.781604 55.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/120399@cust.minitel.se) State HANGUP going to sleep
  677. 2023-05-18 13:04:37.781604 55.90% [DEBUG] switch_core_state_machine.c:616 (sofia/default/120399@cust.minitel.se) State Change CS_HANGUP -> CS_REPORTING
  678. 2023-05-18 13:04:37.781604 55.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/120399@cust.minitel.se) Running State Change CS_REPORTING (Cur 2 Tot 111768)
  679. 2023-05-18 13:04:37.781604 55.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/120399@cust.minitel.se) State REPORTING
  680. 2023-05-18 13:04:37.781604 55.90% [INFO] mod_json_cdr.c:271 Process [dbbbe0b6-4619-4f19-9f3c-afc7a87e4443.cdr.json]
  681. 2023-05-18 13:04:37.801601 55.90% [DEBUG] switch_core_state_machine.c:168 sofia/default/+4645546708516331 Standard REPORTING, cause: NORMAL_CLEARING
  682. 2023-05-18 13:04:37.801601 55.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/+4645546708516331) State REPORTING going to sleep
  683. 2023-05-18 13:04:37.801601 55.90% [DEBUG] switch_core_state_machine.c:607 (sofia/default/+4645546708516331) State Change CS_REPORTING -> CS_DESTROY
  684. 2023-05-18 13:04:37.801601 55.90% [DEBUG] switch_core_session.c:1753 Session 111768 (sofia/default/+4645546708516331) Locked, Waiting on external entities
  685. 2023-05-18 13:04:37.801601 55.90% [NOTICE] switch_core_session.c:1771 Session 111768 (sofia/default/+4645546708516331) Ended
  686. 2023-05-18 13:04:37.801601 55.90% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/+4645546708516331 [CS_DESTROY]
  687. 2023-05-18 13:04:37.801601 55.90% [DEBUG] switch_core_state_machine.c:735 (sofia/default/+4645546708516331) Running State Change CS_DESTROY (Cur 1 Tot 111768)
  688. 2023-05-18 13:04:37.801601 55.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/+4645546708516331) State DESTROY
  689. 2023-05-18 13:04:37.801601 55.90% [DEBUG] mod_sofia.c:379 sofia/default/+4645546708516331 SOFIA DESTROY
  690. 2023-05-18 13:04:37.801601 55.90% [DEBUG] switch_core_state_machine.c:175 sofia/default/+4645546708516331 Standard DESTROY
  691. 2023-05-18 13:04:37.801601 55.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/+4645546708516331) State DESTROY going to sleep
  692. 2023-05-18 13:04:37.801601 55.90% [DEBUG] switch_core_state_machine.c:168 sofia/default/120399@cust.minitel.se Standard REPORTING, cause: NORMAL_CLEARING
  693. 2023-05-18 13:04:37.801601 55.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/120399@cust.minitel.se) State REPORTING going to sleep
  694. 2023-05-18 13:04:37.801601 55.90% [DEBUG] switch_core_state_machine.c:607 (sofia/default/120399@cust.minitel.se) State Change CS_REPORTING -> CS_DESTROY
  695. 2023-05-18 13:04:37.801601 55.90% [DEBUG] switch_core_session.c:1753 Session 111767 (sofia/default/120399@cust.minitel.se) Locked, Waiting on external entities
  696. 2023-05-18 13:04:37.801601 55.90% [NOTICE] switch_core_session.c:1771 Session 111767 (sofia/default/120399@cust.minitel.se) Ended
  697. 2023-05-18 13:04:37.801601 55.90% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/120399@cust.minitel.se [CS_DESTROY]
  698. 2023-05-18 13:04:37.801601 55.90% [DEBUG] switch_core_state_machine.c:735 (sofia/default/120399@cust.minitel.se) Running State Change CS_DESTROY (Cur 0 Tot 111768)
  699. 2023-05-18 13:04:37.801601 55.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/120399@cust.minitel.se) State DESTROY
  700. 2023-05-18 13:04:37.801601 55.90% [DEBUG] mod_sofia.c:379 sofia/default/120399@cust.minitel.se SOFIA DESTROY
  701. 2023-05-18 13:04:37.801601 55.90% [DEBUG] switch_core_state_machine.c:175 sofia/default/120399@cust.minitel.se Standard DESTROY
  702. 2023-05-18 13:04:37.801601 55.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/120399@cust.minitel.se) State DESTROY going to sleep
  703. 2023-05-18 13:04:38.041604 55.90% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [279456@46.246.2.118] from ip 103.240.35.46
  704. 2023-05-18 13:04:38.081603 55.90% [DEBUG] switch_scheduler.c:147 Deleting task 34875 switch_ivr_schedule_hangup (d6e7f3bf-db58-4530-80c0-41db4acfab93)
  705. 2023-05-18 13:04:38.401608 58.30% [WARNING] sofia_reg.c:3223 Can't find user [279456@46.246.2.118] from 103.240.35.46
  706. You must define a domain called '46.246.2.118' in your directory and add a user with the id="279456" attribute
  707. and you must configure your device to use the proper domain in its authentication credentials.