From Bistre Wolf, 1 Year ago, written in HTML5.
- go back
Embed
Viewing differences between and Untitled
  1.  
  2. 2023-07-03 10:26:26.656415 95.53% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1111@52.66.198.239:5070 [66e1102f-3b68-4ba8-a40b-61314831a826]
  3. 2023-07-03 10:26:26.656415 95.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1111@52.66.198.239:5070) Running State Change CS_NEW (Cur 1 Tot 46)
  4. 2023-07-03 10:26:26.656415 95.53% [INFO] sofia.c:10453 sofia/default/1111@52.66.198.239:5070 receiving invite from 103.206.138.169:24034 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: ZWEzYTI5YTY1ZWUzYWYzOWNmNzliZjBiMmIwOTk1YTU.
  5. 2023-07-03 10:26:26.656415 95.53% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 103.206.138.169:0.
  6. 2023-07-03 10:26:26.656415 95.53% [DEBUG] sofia.c:2419 detaching session 66e1102f-3b68-4ba8-a40b-61314831a826
  7. 2023-07-03 10:26:26.656415 95.53% [WARNING] sofia_reg.c:1846 SIP auth challenge (INVITE) on sofia profile 'default' for [1585@52.66.198.239] from ip 103.206.138.169
  8. 2023-07-03 10:26:26.656415 95.53% [DEBUG] switch_core_state_machine.c:600 (sofia/default/1111@52.66.198.239:5070) State NEW
  9. 2023-07-03 10:26:26.736411 95.53% [DEBUG] sofia.c:2532 Re-attaching to session 66e1102f-3b68-4ba8-a40b-61314831a826
  10. 2023-07-03 10:26:26.756422 95.53% [INFO] sofia.c:10453 sofia/default/1111@52.66.198.239:5070 receiving invite from 103.206.138.169:24034 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: ZWEzYTI5YTY1ZWUzYWYzOWNmNzliZjBiMmIwOTk1YTU.
  11. 2023-07-03 10:26:26.756422 95.53% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 103.206.138.169:0.
  12. 2023-07-03 10:26:26.756422 95.53% [DEBUG] sofia.c:11668 Setting NAT mode based on via received
  13. 2023-07-03 10:26:26.756422 95.53% [DEBUG] sofia.c:7487 Channel sofia/default/1111@52.66.198.239:5070 entering state [received][100]
  14. 2023-07-03 10:26:26.756422 95.53% [DEBUG] sofia.c:7497 Remote SDP:
  15. v=0
  16. o=Z 0 0 IN IP4 103.206.138.169
  17. s=Z
  18. c=IN IP4 103.206.138.169
  19. t=0 0
  20. m=audio 23936 RTP/AVP 3 110 8 0 98 101
  21. a=rtpmap:110 speex/8000
  22. a=rtpmap:98 iLBC/8000
  23. a=fmtp:98 mode=20
  24. a=rtpmap:101 telephone-event/8000
  25. a=fmtp:101 0-15
  26.  
  27. 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  28. 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  29. 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  30. 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  31. 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  32. 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  33. 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  34. 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  35. 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  36. 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  37. 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  38. 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  39. 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000
  40. 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_media.c:3750 Set Codec sofia/default/1111@52.66.198.239:5070 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  41. 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_codec.c:111 sofia/default/1111@52.66.198.239:5070 Original read codec set to PCMA:8
  42. 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000
  43. 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_media.c:5850 sofia/default/1111@52.66.198.239:5070 Set 2833 dtmf send payload to 101 recv payload to 101
  44. 2023-07-03 10:26:26.756422 95.53% [DEBUG] sofia.c:7921 (sofia/default/1111@52.66.198.239:5070) State Change CS_NEW -> CS_INIT
  45. 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1111@52.66.198.239:5070) Running State Change CS_INIT (Cur 1 Tot 46)
  46. 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1111@52.66.198.239:5070) State INIT
  47. 2023-07-03 10:26:26.756422 95.53% [DEBUG] mod_sofia.c:97 sofia/default/1111@52.66.198.239:5070 SOFIA INIT
  48. 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_state_machine.c:40 sofia/default/1111@52.66.198.239:5070 Standard INIT
  49. 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1111@52.66.198.239:5070) State Change CS_INIT -> CS_ROUTING
  50. 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1111@52.66.198.239:5070) State INIT going to sleep
  51. 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1111@52.66.198.239:5070) Running State Change CS_ROUTING (Cur 1 Tot 46)
  52. 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_channel.c:2380 (sofia/default/1111@52.66.198.239:5070) Callstate Change DOWN -> RINGING
  53. 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1111@52.66.198.239:5070) State ROUTING
  54. 2023-07-03 10:26:26.756422 95.53% [DEBUG] mod_sofia.c:158 sofia/default/1111@52.66.198.239:5070 SOFIA ROUTING
  55. 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_state_machine.c:230 sofia/default/1111@52.66.198.239:5070 Standard ROUTING
  56. 2023-07-03 10:26:26.756422 95.53% [INFO] mod_dialplan_xml.c:639 Processing 1111 <1111>->1585 in context default
  57. 2023-07-03 10:26:26.756422 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  58. 2023-07-03 10:26:26.776392 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  59. 2023-07-03 10:26:26.776392 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
  60. 2023-07-03 10:26:26.776392 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  61. 2023-07-03 10:26:26.776392 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  62. 2023-07-03 10:26:26.776392 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1585
  63. 2023-07-03 10:26:26.776392 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '1585' limit 1
  64. 2023-07-03 10:26:26.776392 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '1585' AND status=0 limit 1
  65. 2023-07-03 10:26:26.776392 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '1585' and status=0 LIMIT 1
  66. 2023-07-03 10:26:26.776392 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER1111
  67. 2023-07-03 10:26:26.776392 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  68. 2023-07-03 10:26:26.776392 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '52.66.198.239' limit 1
  69. 2023-07-03 10:26:26.776392 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '2' and username = '1585' limit 1
  70. 2023-07-03 10:26:26.776392 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 1111 / 1111
  71. 2023-07-03 10:26:26.776392 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number
  72. 2023-07-03 10:26:26.776392 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 1585 AND status=0 limit 1
  73. 2023-07-03 10:26:26.776392 95.53% [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 ="1585" LIMIT 1
  74. 2023-07-03 10:26:26.776392 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  75. 2023-07-03 10:26:26.776392 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  76. 2023-07-03 10:26:26.776392 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 4727985745]
  77. 2023-07-03 10:26:26.776392 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "4727985745" OR id = "4727985745") AND deleted = 0 limit 1
  78. 2023-07-03 10:26:26.796391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2
  79. 2023-07-03 10:26:26.796391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="1585" AND (accountid = 0 OR status = 1) LIMIT 1
  80. 2023-07-03 10:26:26.796391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  81. 2023-07-03 10:26:26.796391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 2
  82. 2023-07-03 10:26:26.796391 95.53% [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 = '^1585.*' OR patterns = '^158.*' OR patterns = '^15.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 2 ORDER BY LENGTH(PKGPTR.patterns) DESC
  83. 2023-07-03 10:26:26.796391 95.53% [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 ="1585" AND A.accountid = '2' limit 1
  84. 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 1585
  85. 2023-07-03 10:26:26.796391 95.53% [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 ="1585" LIMIT 1
  86. 2023-07-03 10:26:26.796391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  87. 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  88. 2023-07-03 10:26:26.796391 95.53% [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 = '1585' OR number = '158' OR number = '15' OR number = '1' OR number ='--') OR (number = '1585*' OR number = '158*' OR number = '15*' OR number = '1*' OR number ='--') OR (number = '1111' OR number = '111' OR number = '11' OR number = '1' OR number ='--') OR (number = '1111*' OR number = '111*' OR number = '11*' OR number = '1*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  89. 2023-07-03 10:26:26.796391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  90. 2023-07-03 10:26:26.796391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '1585' OR routing_prefix = '158' OR routing_prefix = '15' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  91. 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  92. 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 2
  93. 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 4727985745
  94. 2023-07-03 10:26:26.796391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2
  95. 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 4999
  96. 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  97. 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  98. 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  99. 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  100. 2023-07-03 10:26:26.796391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  101. 2023-07-03 10:26:26.796391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  102. 2023-07-03 10:26:26.796391 95.53% [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 ="1585" LIMIT 1
  103. 2023-07-03 10:26:26.796391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  104. 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  105. 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  106. 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  107. 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  108. 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  109. 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  110. 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 1585
  111. 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  112. 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 2
  113. 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  114. 2023-07-03 10:26:26.796391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2
  115. 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your4999 balance Accountid 2 !!!
  116. 2023-07-03 10:26:26.796391 95.53% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  117. 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  118. 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  119. 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  120. 2023-07-03 10:26:26.796391 95.53% [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 = 2 AND status=0 LIMIT 1
  121. 2023-07-03 10:26:26.796391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "2" OR number = "2") AND deleted = 0 limit 1
  122. 2023-07-03 10:26:26.796391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2
  123. 2023-07-03 10:26:26.816391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:2
  124. 2023-07-03 10:26:26.816391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:2
  125. 2023-07-03 10:26:26.816391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 2
  126. 2023-07-03 10:26:26.816391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 2 limit 1
  127. 2023-07-03 10:26:26.816391 95.53% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : 52.66.198.239
  128. 2023-07-03 10:26:26.816391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition Id : 1
  129. 2023-07-03 10:26:26.816391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '1' and status =0 LIMIT 1
  130. 2023-07-03 10:26:26.816391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Failover Timecondition : [{"extensions":"#","no_answer_call_type":"12"}]
  131. 2023-07-03 10:26:26.816391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition : [{"hour":"00-23","minute":"00-59","wday":"1-7","mday":"1-31","mon":"1-12","year":"2023-2023","extensions":"3","no_answer_call_type":"11","priority":"1"}]
  132. 2023-07-03 10:26:26.816391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Priority : 1
  133. 2023-07-03 10:26:26.816391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Sipdevice Form Id] Query :SELECT username from sip_devices where id = "3" limit 1
  134. 2023-07-03 10:26:26.816391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from timezone WHERE id = '49' LIMIT 1
  135. 2023-07-03 10:26:26.816391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Condition Str :  time-of-day= "00:00-23:59"  wday= "1-7"  mday= "1-31"  mon= "1-12"  year= "2023-2023"
  136. 2023-07-03 10:26:26.816391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  137. 2023-07-03 10:26:26.816391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  138. 2023-07-03 10:26:26.816391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  139. 2023-07-03 10:26:26.816391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  140. 2023-07-03 10:26:26.816391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing  WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "1" AND accounts.status = 0
  141. 2023-07-03 10:26:26.816391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 2 limit 1
  142. 2023-07-03 10:26:26.816391 95.53% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : 52.66.198.239
  143. 2023-07-03 10:26:26.816391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_11
  144. 2023-07-03 10:26:26.816391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] TimeCondition Id : 1
  145. 2023-07-03 10:26:26.816391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '1' and status =0 LIMIT 1
  146. 2023-07-03 10:26:26.816391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  147. <document type="freeswitch/xml">
  148. <section name="dialplan" description="ASTPP Dialplan">
  149. <context name="default">
  150. <extension name="TESTTCCC" continue="true">
  151. <condition break="never">
  152. <action application="set" data="timezone=Europe/Sarajevo" inline="true"/>
  153. </condition>
  154. <condition  time-of-day= "00:00-23:59"  wday= "1-7"  mday= "1-31"  mon= "1-12"  year= "2023-2023"  break="never">
  155. <action application="set" data="office_status=open" inline="true"/>
  156. <action application="set" data="extensions=2222" inline="true"/>
  157. <action application="set" data="no_answer_did_number=1585" inline="true"/>
  158. <action application="set" data="no_answer_call_type=11" inline="true"/>
  159. </condition>
  160. </extension>
  161. <extension name="tod route, x1585">
  162. <condition field="destination_number" expression="^(\+?)?(1585)$">
  163. <action application="execute_extension" data="1585_${office_status}"/>
  164. </condition>
  165. </extension>
  166. <extension name="office is open">
  167. <condition field="destination_number" expression="^(\+?)?(1585_open)$">
  168. <action application="set" data="domain_name=52.66.198.239"/>
  169. <action application="set" data="set_extensions=${extensions}"/>
  170. <action application="set" data="no_answer_flag=true"/>
  171. <action application="set" data="no_answer_did_number=1585" inline="true"/>
  172. <action application="set" data="no_answer_call_type=${no_answer_call_type}"/>
  173. <action application="set" data="no_answer_number=${extensions}" />
  174. <action application="transfer" data="2 XML default"/>
  175. </condition>
  176. </extension>
  177. <extension name="1585">
  178. <condition field="destination_number" expression="1585">
  179. <action application="set" data="effective_destination_number=1585"/>
  180. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  181. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  182. <action application="set" data="type=0"/>
  183. <action application="set" data="callstart=2023-07-03 10:26:26"/>
  184. <action application="set" data="hangup_after_bridge=true"/>
  185. <action application="set" data="continue_on_fail=TRUE"/>
  186. <action application="set" data="account_id=2"/>
  187. <action application="set" data="parent_id=0"/>
  188. <action application="set" data="entity_id=0"/>
  189. <action application="set" data="call_processed=internal"/>
  190. <action application="set" data="call_direction=inbound"/>
  191. <action application="set" data="accountname=default"/>
  192. <action application="set" data="origination_rates_did=ID:1|CODE:^1585.*|DESTINATION:1585|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:11|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:2"/>
  193. <action application="set" data="origination_rates=0"/>
  194. <action application="set" data="original_caller_id_name=1111"/>
  195. <action application="set" data="original_caller_id_number=1111"/>
  196. <action application="limit" data="db 4727985745 user_4727985745 1 "/>
  197. <action application="export" data="is_recording=1"/>
  198. <action application="export" data="media_bug_answer_req=true"/>
  199. <action application="export" data="RECORD_STEREO=true"/>
  200. <action application="export" data="record_sample_rate=8000"/>
  201. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  202. <action application="set" data="effective_caller_id_name=1111"/>
  203. <action application="set" data="effective_caller_id_number=1111"/>
  204. <action application="set" data="receiver_accid=2"/>
  205. <action application="export" data="domain_name=52.66.198.239"/>
  206. <action application="export" data="sip_to_host=52.66.198.239"/>
  207. <action application="export" data="presence_data=x|||default(4727985745)|||^1585.* // 1585 // 0.00000|||||||||DID|||103.206.138.169"/>
  208. <action application="export" data="call_type=11"/>
  209. </condition>
  210. </extension>
  211. </context>
  212. </document>
  213. Dialplan: sofia/default/1111@52.66.198.239:5070 parsing [default->TESTTCCC] continue=true
  214. Dialplan: sofia/default/1111@52.66.198.239:5070 Absolute Condition [TESTTCCC]
  215. Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(timezone=Europe/Sarajevo) INLINE
  216. EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(timezone=Europe/Sarajevo)
  217. 2023-07-03 10:26:26.816391 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [timezone]=[Europe/Sarajevo]
  218. Dialplan: sofia/default/1111@52.66.198.239:5070 Date/Time Match (PASS) [TESTTCCC] break=never
  219. Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(office_status=open) INLINE
  220. EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(office_status=open)
  221. 2023-07-03 10:26:26.816391 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [office_status]=[open]
  222. Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(extensions=2222) INLINE
  223. EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(extensions=2222)
  224. 2023-07-03 10:26:26.816391 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [extensions]=[2222]
  225. Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(no_answer_did_number=1585) INLINE
  226. EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(no_answer_did_number=1585)
  227. 2023-07-03 10:26:26.816391 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [no_answer_did_number]=[1585]
  228. Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(no_answer_call_type=11) INLINE
  229. EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(no_answer_call_type=11)
  230. 2023-07-03 10:26:26.816391 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [no_answer_call_type]=[11]
  231. Dialplan: sofia/default/1111@52.66.198.239:5070 parsing [default->tod route, x1585] continue=false
  232. Dialplan: sofia/default/1111@52.66.198.239:5070 Regex (PASS) [tod route, x1585] destination_number(1585) =~ /^(\+?)?(1585)$/ break=on-false
  233. Dialplan: sofia/default/1111@52.66.198.239:5070 Action execute_extension(1585_${office_status})
  234. 2023-07-03 10:26:26.816391 95.53% [DEBUG] switch_core_state_machine.c:281 (sofia/default/1111@52.66.198.239:5070) State Change CS_ROUTING -> CS_EXECUTE
  235. 2023-07-03 10:26:26.816391 95.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1111@52.66.198.239:5070) State ROUTING going to sleep
  236. 2023-07-03 10:26:26.816391 95.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1111@52.66.198.239:5070) Running State Change CS_EXECUTE (Cur 1 Tot 46)
  237. 2023-07-03 10:26:26.816391 95.53% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1111@52.66.198.239:5070) State EXECUTE
  238. 2023-07-03 10:26:26.816391 95.53% [DEBUG] mod_sofia.c:213 sofia/default/1111@52.66.198.239:5070 SOFIA EXECUTE
  239. 2023-07-03 10:26:26.816391 95.53% [DEBUG] switch_core_state_machine.c:323 sofia/default/1111@52.66.198.239:5070 Standard EXECUTE
  240. EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 execute_extension(1585_open)
  241. 2023-07-03 10:26:26.816391 95.53% [INFO] mod_dialplan_xml.c:639 Processing 1111 <1111>->1585_open in context default
  242. 2023-07-03 10:26:26.816391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  243. 2023-07-03 10:26:26.816391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  244. 2023-07-03 10:26:26.816391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
  245. 2023-07-03 10:26:26.836397 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  246. 2023-07-03 10:26:26.836397 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  247. 2023-07-03 10:26:26.836397 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1585
  248. 2023-07-03 10:26:26.836397 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '1585' limit 1
  249. 2023-07-03 10:26:26.836397 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '1585' AND status=0 limit 1
  250. 2023-07-03 10:26:26.836397 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '1585' and status=0 LIMIT 1
  251. 2023-07-03 10:26:26.836397 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER1111
  252. 2023-07-03 10:26:26.836397 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  253. 2023-07-03 10:26:26.836397 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '52.66.198.239' limit 1
  254. 2023-07-03 10:26:26.836397 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '2' and username = '1585' limit 1
  255. 2023-07-03 10:26:26.836397 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 1111 / 1111
  256. 2023-07-03 10:26:26.836397 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number
  257. 2023-07-03 10:26:26.836397 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 1585 AND status=0 limit 1
  258. 2023-07-03 10:26:26.836397 95.53% [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 ="1585" LIMIT 1
  259. 2023-07-03 10:26:26.836397 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  260. 2023-07-03 10:26:26.836397 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  261. 2023-07-03 10:26:26.836397 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 4727985745]
  262. 2023-07-03 10:26:26.836397 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "4727985745" OR id = "4727985745") AND deleted = 0 limit 1
  263. 2023-07-03 10:26:26.836397 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2
  264. 2023-07-03 10:26:26.836397 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="1585" AND (accountid = 0 OR status = 1) LIMIT 1
  265. 2023-07-03 10:26:26.836397 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  266. 2023-07-03 10:26:26.836397 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 2
  267. 2023-07-03 10:26:26.836397 95.53% [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 = '^1585.*' OR patterns = '^158.*' OR patterns = '^15.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 2 ORDER BY LENGTH(PKGPTR.patterns) DESC
  268. 2023-07-03 10:26:26.856394 95.53% [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 ="1585" AND A.accountid = '2' limit 1
  269. 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 1585
  270. 2023-07-03 10:26:26.856394 95.53% [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 ="1585" LIMIT 1
  271. 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  272. 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  273. 2023-07-03 10:26:26.856394 95.53% [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 = '1585' OR number = '158' OR number = '15' OR number = '1' OR number ='--') OR (number = '1585*' OR number = '158*' OR number = '15*' OR number = '1*' OR number ='--') OR (number = '1111' OR number = '111' OR number = '11' OR number = '1' OR number ='--') OR (number = '1111*' OR number = '111*' OR number = '11*' OR number = '1*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  274. 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  275. 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '1585' OR routing_prefix = '158' OR routing_prefix = '15' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  276. 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  277. 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 2
  278. 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 4727985745
  279. 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2
  280. 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 4999
  281. 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  282. 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  283. 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  284. 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  285. 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  286. 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  287. 2023-07-03 10:26:26.856394 95.53% [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 ="1585" LIMIT 1
  288. 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  289. 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  290. 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  291. 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  292. 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  293. 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  294. 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  295. 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 1585
  296. 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  297. 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 2
  298. 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  299. 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2
  300. 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your4999 balance Accountid 2 !!!
  301. 2023-07-03 10:26:26.856394 95.53% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  302. 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  303. 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  304. 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  305. 2023-07-03 10:26:26.856394 95.53% [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 = 2 AND status=0 LIMIT 1
  306. 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "2" OR number = "2") AND deleted = 0 limit 1
  307. 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2
  308. 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:2
  309. 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:2
  310. 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 2
  311. 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 2 limit 1
  312. 2023-07-03 10:26:26.856394 95.53% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : 52.66.198.239
  313. 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition Id : 1
  314. 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '1' and status =0 LIMIT 1
  315. 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Failover Timecondition : [{"extensions":"#","no_answer_call_type":"12"}]
  316. 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition : [{"hour":"00-23","minute":"00-59","wday":"1-7","mday":"1-31","mon":"1-12","year":"2023-2023","extensions":"3","no_answer_call_type":"11","priority":"1"}]
  317. 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Priority : 1
  318. 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Sipdevice Form Id] Query :SELECT username from sip_devices where id = "3" limit 1
  319. 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from timezone WHERE id = '49' LIMIT 1
  320. 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Condition Str :  time-of-day= "00:00-23:59"  wday= "1-7"  mday= "1-31"  mon= "1-12"  year= "2023-2023"
  321. 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  322. 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  323. 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  324. 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  325. 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing  WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "1" AND accounts.status = 0
  326. 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 2 limit 1
  327. 2023-07-03 10:26:26.856394 95.53% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : 52.66.198.239
  328. 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_11
  329. 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] TimeCondition Id : 1
  330. 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '1' and status =0 LIMIT 1
  331. 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  332. <document type="freeswitch/xml">
  333. <section name="dialplan" description="ASTPP Dialplan">
  334. <context name="default">
  335. <extension name="TESTTCCC" continue="true">
  336. <condition break="never">
  337. <action application="set" data="timezone=Europe/Sarajevo" inline="true"/>
  338. </condition>
  339. <condition  time-of-day= "00:00-23:59"  wday= "1-7"  mday= "1-31"  mon= "1-12"  year= "2023-2023"  break="never">
  340. <action application="set" data="office_status=open" inline="true"/>
  341. <action application="set" data="extensions=2222" inline="true"/>
  342. <action application="set" data="no_answer_did_number=1585" inline="true"/>
  343. <action application="set" data="no_answer_call_type=11" inline="true"/>
  344. </condition>
  345. </extension>
  346. <extension name="tod route, x1585">
  347. <condition field="destination_number" expression="^(\+?)?(1585)$">
  348. <action application="execute_extension" data="1585_${office_status}"/>
  349. </condition>
  350. </extension>
  351. <extension name="office is open">
  352. <condition field="destination_number" expression="^(\+?)?(1585_open)$">
  353. <action application="set" data="domain_name=52.66.198.239"/>
  354. <action application="set" data="set_extensions=${extensions}"/>
  355. <action application="set" data="no_answer_flag=true"/>
  356. <action application="set" data="no_answer_did_number=1585" inline="true"/>
  357. <action application="set" data="no_answer_call_type=${no_answer_call_type}"/>
  358. <action application="set" data="no_answer_number=${extensions}" />
  359. <action application="transfer" data="2 XML default"/>
  360. </condition>
  361. </extension>
  362. <extension name="1585">
  363. <condition field="destination_number" expression="1585">
  364. <action application="set" data="effective_destination_number=1585"/>
  365. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  366. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  367. <action application="set" data="type=0"/>
  368. <action application="set" data="callstart=2023-07-03 10:26:26"/>
  369. <action application="set" data="hangup_after_bridge=true"/>
  370. <action application="set" data="continue_on_fail=TRUE"/>
  371. <action application="set" data="account_id=2"/>
  372. <action application="set" data="parent_id=0"/>
  373. <action application="set" data="entity_id=0"/>
  374. <action application="set" data="call_processed=internal"/>
  375. <action application="set" data="call_direction=inbound"/>
  376. <action application="set" data="accountname=default"/>
  377. <action application="set" data="origination_rates_did=ID:1|CODE:^1585.*|DESTINATION:1585|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:11|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:2"/>
  378. <action application="set" data="origination_rates=0"/>
  379. <action application="set" data="original_caller_id_name=1111"/>
  380. <action application="set" data="original_caller_id_number=1111"/>
  381. <action application="limit" data="db 4727985745 user_4727985745 1 "/>
  382. <action application="export" data="is_recording=1"/>
  383. <action application="export" data="media_bug_answer_req=true"/>
  384. <action application="export" data="RECORD_STEREO=true"/>
  385. <action application="export" data="record_sample_rate=8000"/>
  386. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  387. <action application="set" data="effective_caller_id_name=1111"/>
  388. <action application="set" data="effective_caller_id_number=1111"/>
  389. <action application="set" data="receiver_accid=2"/>
  390. <action application="export" data="domain_name=52.66.198.239"/>
  391. <action application="export" data="sip_to_host=52.66.198.239"/>
  392. <action application="export" data="presence_data=x|||default(4727985745)|||^1585.* // 1585 // 0.00000|||||||||DID|||103.206.138.169"/>
  393. <action application="export" data="call_type=11"/>
  394. </condition>
  395. </extension>
  396. </context>
  397. </document>
  398. Dialplan: sofia/default/1111@52.66.198.239:5070 parsing [default->TESTTCCC] continue=true
  399. Dialplan: sofia/default/1111@52.66.198.239:5070 Absolute Condition [TESTTCCC]
  400. Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(timezone=Europe/Sarajevo) INLINE
  401. EXECUTE [depth=1] sofia/default/1111@52.66.198.239:5070 set(timezone=Europe/Sarajevo)
  402. 2023-07-03 10:26:26.856394 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [timezone]=[Europe/Sarajevo]
  403. Dialplan: sofia/default/1111@52.66.198.239:5070 Date/Time Match (PASS) [TESTTCCC] break=never
  404. Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(office_status=open) INLINE
  405. EXECUTE [depth=1] sofia/default/1111@52.66.198.239:5070 set(office_status=open)
  406. 2023-07-03 10:26:26.856394 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [office_status]=[open]
  407. Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(extensions=2222) INLINE
  408. EXECUTE [depth=1] sofia/default/1111@52.66.198.239:5070 set(extensions=2222)
  409. 2023-07-03 10:26:26.856394 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [extensions]=[2222]
  410. Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(no_answer_did_number=1585) INLINE
  411. EXECUTE [depth=1] sofia/default/1111@52.66.198.239:5070 set(no_answer_did_number=1585)
  412. 2023-07-03 10:26:26.856394 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [no_answer_did_number]=[1585]
  413. Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(no_answer_call_type=11) INLINE
  414. EXECUTE [depth=1] sofia/default/1111@52.66.198.239:5070 set(no_answer_call_type=11)
  415. 2023-07-03 10:26:26.856394 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [no_answer_call_type]=[11]
  416. Dialplan: sofia/default/1111@52.66.198.239:5070 parsing [default->tod route, x1585] continue=false
  417. Dialplan: sofia/default/1111@52.66.198.239:5070 Regex (FAIL) [tod route, x1585] destination_number(1585_open) =~ /^(\+?)?(1585)$/ break=on-false
  418. Dialplan: sofia/default/1111@52.66.198.239:5070 parsing [default->office is open] continue=false
  419. Dialplan: sofia/default/1111@52.66.198.239:5070 Regex (PASS) [office is open] destination_number(1585_open) =~ /^(\+?)?(1585_open)$/ break=on-false
  420. Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(domain_name=52.66.198.239)
  421. Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(set_extensions=${extensions})
  422. Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(no_answer_flag=true)
  423. Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(no_answer_did_number=1585) INLINE
  424. EXECUTE [depth=1] sofia/default/1111@52.66.198.239:5070 set(no_answer_did_number=1585)
  425. 2023-07-03 10:26:26.856394 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [no_answer_did_number]=[1585]
  426. Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(no_answer_call_type=${no_answer_call_type})
  427. Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(no_answer_number=${extensions})
  428. Dialplan: sofia/default/1111@52.66.198.239:5070 Action transfer(2 XML default)
  429. 2023-07-03 10:26:26.856394 95.53% [NOTICE] switch_core_session.c:3085 Execute [depth=1] set(domain_name=52.66.198.239)
  430. EXECUTE [depth=1] sofia/default/1111@52.66.198.239:5070 set(domain_name=52.66.198.239)
  431. 2023-07-03 10:26:26.856394 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [domain_name]=[52.66.198.239]
  432. 2023-07-03 10:26:26.856394 95.53% [NOTICE] switch_core_session.c:3085 Execute [depth=1] set(set_extensions=${extensions})
  433. EXECUTE [depth=1] sofia/default/1111@52.66.198.239:5070 set(set_extensions=2222)
  434. 2023-07-03 10:26:26.856394 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [set_extensions]=[2222]
  435. 2023-07-03 10:26:26.856394 95.53% [NOTICE] switch_core_session.c:3085 Execute [depth=1] set(no_answer_flag=true)
  436. EXECUTE [depth=1] sofia/default/1111@52.66.198.239:5070 set(no_answer_flag=true)
  437. 2023-07-03 10:26:26.876388 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [no_answer_flag]=[true]
  438. 2023-07-03 10:26:26.876388 95.53% [NOTICE] switch_core_session.c:3085 Execute [depth=1] set(no_answer_call_type=${no_answer_call_type})
  439. EXECUTE [depth=1] sofia/default/1111@52.66.198.239:5070 set(no_answer_call_type=11)
  440. 2023-07-03 10:26:26.876388 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [no_answer_call_type]=[11]
  441. 2023-07-03 10:26:26.876388 95.53% [NOTICE] switch_core_session.c:3085 Execute [depth=1] set(no_answer_number=${extensions})
  442. EXECUTE [depth=1] sofia/default/1111@52.66.198.239:5070 set(no_answer_number=2222)
  443. 2023-07-03 10:26:26.876388 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [no_answer_number]=[2222]
  444. 2023-07-03 10:26:26.876388 95.53% [NOTICE] switch_core_session.c:3085 Execute [depth=1] transfer(2 XML default)
  445. EXECUTE [depth=1] sofia/default/1111@52.66.198.239:5070 transfer(2 XML default)
  446. 2023-07-03 10:26:26.876388 95.53% [DEBUG] switch_ivr.c:2288 (sofia/default/1111@52.66.198.239:5070) State Change CS_EXECUTE -> CS_ROUTING
  447. 2023-07-03 10:26:26.876388 95.53% [NOTICE] switch_ivr.c:2295 Transfer sofia/default/1111@52.66.198.239:5070 to XML[2@default]
  448. 2023-07-03 10:26:26.876388 95.53% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1111@52.66.198.239:5070) State EXECUTE going to sleep
  449. 2023-07-03 10:26:26.876388 95.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1111@52.66.198.239:5070) Running State Change CS_ROUTING (Cur 1 Tot 46)
  450. 2023-07-03 10:26:26.876388 95.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1111@52.66.198.239:5070) State ROUTING
  451. 2023-07-03 10:26:26.876388 95.53% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
  452. 2023-07-03 10:26:26.876388 95.53% [DEBUG] mod_sofia.c:158 sofia/default/1111@52.66.198.239:5070 SOFIA ROUTING
  453. 2023-07-03 10:26:26.876388 95.53% [DEBUG] switch_core_state_machine.c:230 sofia/default/1111@52.66.198.239:5070 Standard ROUTING
  454. 2023-07-03 10:26:26.876388 95.53% [INFO] mod_dialplan_xml.c:639 Processing 1111 <1111>->2 in context default
  455. 2023-07-03 10:26:26.876388 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  456. 2023-07-03 10:26:26.876388 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  457. 2023-07-03 10:26:26.876388 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
  458. 2023-07-03 10:26:26.876388 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  459. 2023-07-03 10:26:26.876388 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  460. 2023-07-03 10:26:26.876388 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 2
  461. 2023-07-03 10:26:26.876388 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '2' limit 1
  462. 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '2' AND status=0 limit 1
  463. 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '2' and status=0 LIMIT 1
  464. 2023-07-03 10:26:26.896387 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER1111
  465. 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  466. 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '52.66.198.239' limit 1
  467. 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '2' and username = '2' limit 1
  468. 2023-07-03 10:26:26.896387 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 1111 / 1111
  469. 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number
  470. 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 2 AND status=0 limit 1
  471. 2023-07-03 10:26:26.896387 95.53% [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 ="2" LIMIT 1
  472. 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  473. 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,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 ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="2"  AND domains.domain="52.66.198.239" limit 1
  474. 2023-07-03 10:26:26.896387 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  475. 2023-07-03 10:26:26.896387 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 4727985745]
  476. 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "4727985745" OR id = "4727985745") AND deleted = 0 limit 1
  477. 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^2.*' OR blocked_patterns ='--') AND accountid = 2 limit 1
  478. 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="2" AND (accountid = 0 OR status = 1) LIMIT 1
  479. 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] ringgroup_no_answer_forward _ no_answer_did_number :1585
  480. 2023-07-03 10:26:26.896387 95.53% [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 ="1585" LIMIT 1
  481. 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  482. 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] ringgroup_no_answer_forward _ accountid :2
  483. 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "2" OR number = "2") AND deleted = 0 limit 1
  484. 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^2.*' OR blocked_patterns ='--') AND accountid = 2 limit 1
  485. 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated RingGroup No Answer Forward :2
  486. 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 2 limit 1
  487. 2023-07-03 10:26:26.896387 95.53% [WARNING] switch_cpp.cpp:1465 [ASTPP] [ringgroup_no_answer_forward] User Domain52.66.198.239
  488. 2023-07-03 10:26:26.896387 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : 11
  489. 2023-07-03 10:26:26.896387 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : Time Conditions
  490. 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_extensions_forwarding] Query :select sip_devices.id,sip_device_routing.call_forwarding_flag,sip_device_routing.call_forwarding_destination from sip_devices JOIN sip_device_routing ON sip_devices.id = sip_device_routing.sip_device_id where sip_devices.username = "2222"
  491. 2023-07-03 10:26:26.896387 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC5]
  492. 2023-07-03 10:26:26.896387 95.53% [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 ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="2222"  AND domains.domain="52.66.198.239" limit 1
  493. 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  494. 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  495. 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  496. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  497. <document type="freeswitch/xml">
  498. <section name="dialplan" description="ASTPP Dialplan">
  499. <context name="default">
  500. <extension name="2">
  501. <condition field="destination_number" expression="2">
  502. <action application="export" data="did_user_domain=52.66.198.239"/>
  503. <action application="set" data="continue_on_fail=TRUE"/>
  504. <action application="set" data="ignore_early_media=true"/>
  505. <action application="set" data="no_answer_flag=false"/>
  506. <action application="set" data="did_calltype=11"/>
  507. <action application="set" data="did_extensions=2222"/>
  508. <action application="set" data="daily_call_credit_limit=0.00000"/>
  509. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  510. <action application="set" data="daily_call_used_limit=0.00000"/>
  511. <action application="set" data="monthly_call_used_limit=0.00000"/>
  512. <action application="export" data="is_recording=1"/>
  513. <action application="export" data="media_bug_answer_req=true"/>
  514. <action application="export" data="RECORD_STEREO=true"/>
  515. <action application="export" data="record_sample_rate=8000"/>
  516. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  517. <action application="set" data="sip_destination_number=2222"/>
  518. <action application="set" data="sip_to_host=52.66.198.239"/>
  519. <action application="set" data="user_domain=52.66.198.239"/>
  520. <action application="db" data="insert/pickup_any_group_${callgroup}/2222/${uuid}"/>
  521. <action application="set" data="dialed_extension=transfer_call"/>
  522. <action application="export" data="dialed_extension=transfer_call"/>
  523. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  524. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  525. <action application="export" data="ring_group_transfer=true"/>
  526. <action application="set" data="userinfo_id=2"/>
  527. <action application="bridge" data="user/2222@52.66.198.239"/>
  528. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  529. </condition>
  530. </extension>
  531. </context>
  532. </document>
  533. Dialplan: sofia/default/1111@52.66.198.239:5070 parsing [default->2] continue=false
  534. Dialplan: sofia/default/1111@52.66.198.239:5070 Regex (PASS) [2] destination_number(2) =~ /2/ break=on-false
  535. Dialplan: sofia/default/1111@52.66.198.239:5070 Action export(did_user_domain=52.66.198.239)
  536. Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(continue_on_fail=TRUE)
  537. Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(ignore_early_media=true)
  538. Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(no_answer_flag=false)
  539. Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(did_calltype=11)
  540. Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(did_extensions=2222)
  541. Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(daily_call_credit_limit=0.00000)
  542. Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(monthly_call_credit_limit=0.00000)
  543. Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(daily_call_used_limit=0.00000)
  544. Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(monthly_call_used_limit=0.00000)
  545. Dialplan: sofia/default/1111@52.66.198.239:5070 Action export(is_recording=1)
  546. Dialplan: sofia/default/1111@52.66.198.239:5070 Action export(media_bug_answer_req=true)
  547. Dialplan: sofia/default/1111@52.66.198.239:5070 Action export(RECORD_STEREO=true)
  548. Dialplan: sofia/default/1111@52.66.198.239:5070 Action export(record_sample_rate=8000)
  549. Dialplan: sofia/default/1111@52.66.198.239:5070 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  550. Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(sip_destination_number=2222)
  551. Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(sip_to_host=52.66.198.239)
  552. Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(user_domain=52.66.198.239)
  553. Dialplan: sofia/default/1111@52.66.198.239:5070 Action db(insert/pickup_any_group_${callgroup}/2222/${uuid})
  554. Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(dialed_extension=transfer_call)
  555. Dialplan: sofia/default/1111@52.66.198.239:5070 Action export(dialed_extension=transfer_call)
  556. Dialplan: sofia/default/1111@52.66.198.239:5070 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  557. Dialplan: sofia/default/1111@52.66.198.239:5070 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  558. Dialplan: sofia/default/1111@52.66.198.239:5070 Action export(ring_group_transfer=true)
  559. Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(userinfo_id=2)
  560. Dialplan: sofia/default/1111@52.66.198.239:5070 Action bridge(user/2222@52.66.198.239)
  561. Dialplan: sofia/default/1111@52.66.198.239:5070 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  562. 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_core_state_machine.c:281 (sofia/default/1111@52.66.198.239:5070) State Change CS_ROUTING -> CS_EXECUTE
  563. 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1111@52.66.198.239:5070) State ROUTING going to sleep
  564. 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1111@52.66.198.239:5070) Running State Change CS_EXECUTE (Cur 1 Tot 46)
  565. 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1111@52.66.198.239:5070) State EXECUTE
  566. 2023-07-03 10:26:26.896387 95.53% [DEBUG] mod_sofia.c:213 sofia/default/1111@52.66.198.239:5070 SOFIA EXECUTE
  567. 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_core_state_machine.c:323 sofia/default/1111@52.66.198.239:5070 Standard EXECUTE
  568. EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 export(did_user_domain=52.66.198.239)
  569. 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [did_user_domain]=[52.66.198.239]
  570. EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(continue_on_fail=TRUE)
  571. 2023-07-03 10:26:26.896387 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [continue_on_fail]=[TRUE]
  572. EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(ignore_early_media=true)
  573. 2023-07-03 10:26:26.896387 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [ignore_early_media]=[true]
  574. EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(no_answer_flag=false)
  575. 2023-07-03 10:26:26.896387 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [no_answer_flag]=[false]
  576. EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(did_calltype=11)
  577. 2023-07-03 10:26:26.896387 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [did_calltype]=[11]
  578. EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(did_extensions=2222)
  579. 2023-07-03 10:26:26.896387 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [did_extensions]=[2222]
  580. EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(daily_call_credit_limit=0.00000)
  581. 2023-07-03 10:26:26.896387 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [daily_call_credit_limit]=[0.00000]
  582. EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(monthly_call_credit_limit=0.00000)
  583. 2023-07-03 10:26:26.896387 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [monthly_call_credit_limit]=[0.00000]
  584. EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(daily_call_used_limit=0.00000)
  585. 2023-07-03 10:26:26.916386 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [daily_call_used_limit]=[0.00000]
  586. EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(monthly_call_used_limit=0.00000)
  587. 2023-07-03 10:26:26.916386 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [monthly_call_used_limit]=[0.00000]
  588. EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 export(is_recording=1)
  589. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  590. EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 export(media_bug_answer_req=true)
  591. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  592. EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 export(RECORD_STEREO=true)
  593. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [RECORD_STEREO]=[true]
  594. EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 export(record_sample_rate=8000)
  595. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  596. EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/66e1102f-3b68-4ba8-a40b-61314831a826.wav)
  597. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/66e1102f-3b68-4ba8-a40b-61314831a826.wav]
  598. EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(sip_destination_number=2222)
  599. 2023-07-03 10:26:26.916386 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [sip_destination_number]=[2222]
  600. EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(sip_to_host=52.66.198.239)
  601. 2023-07-03 10:26:26.916386 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [sip_to_host]=[52.66.198.239]
  602. EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(user_domain=52.66.198.239)
  603. 2023-07-03 10:26:26.916386 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [user_domain]=[52.66.198.239]
  604. EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 db(insert/pickup_any_group_/2222/66e1102f-3b68-4ba8-a40b-61314831a826)
  605. EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(dialed_extension=transfer_call)
  606. 2023-07-03 10:26:26.916386 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [dialed_extension]=[transfer_call]
  607. EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 export(dialed_extension=transfer_call)
  608. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  609. EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  610. 2023-07-03 10:26:26.916386 95.53% [INFO] switch_ivr_async.c:4780 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  611. EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  612. 2023-07-03 10:26:26.916386 95.53% [INFO] switch_ivr_async.c:4780 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  613. EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 export(ring_group_transfer=true)
  614. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [ring_group_transfer]=[true]
  615. EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(userinfo_id=2)
  616. 2023-07-03 10:26:26.916386 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [userinfo_id]=[2]
  617. EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 bridge(user/2222@52.66.198.239)
  618. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1269 sofia/default/1111@52.66.198.239:5070 EXPORTING[export_vars] [did_user_domain]=[52.66.198.239] to event
  619. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1269 sofia/default/1111@52.66.198.239:5070 EXPORTING[export_vars] [is_recording]=[1] to event
  620. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1269 sofia/default/1111@52.66.198.239:5070 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  621. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1269 sofia/default/1111@52.66.198.239:5070 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  622. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1269 sofia/default/1111@52.66.198.239:5070 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  623. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1269 sofia/default/1111@52.66.198.239:5070 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/66e1102f-3b68-4ba8-a40b-61314831a826.wav] to event
  624. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1269 sofia/default/1111@52.66.198.239:5070 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  625. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1269 sofia/default/1111@52.66.198.239:5070 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
  626. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_ivr_originate.c:2291 Parsing global variables
  627. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1269 sofia/default/1111@52.66.198.239:5070 EXPORTING[export_vars] [did_user_domain]=[52.66.198.239] to event
  628. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1269 sofia/default/1111@52.66.198.239:5070 EXPORTING[export_vars] [is_recording]=[1] to event
  629. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1269 sofia/default/1111@52.66.198.239:5070 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  630. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1269 sofia/default/1111@52.66.198.239:5070 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  631. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1269 sofia/default/1111@52.66.198.239:5070 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  632. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1269 sofia/default/1111@52.66.198.239:5070 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/66e1102f-3b68-4ba8-a40b-61314831a826.wav] to event
  633. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1269 sofia/default/1111@52.66.198.239:5070 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  634. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1269 sofia/default/1111@52.66.198.239:5070 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
  635. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_ivr_originate.c:2291 Parsing global variables
  636. 2023-07-03 10:26:26.916386 95.53% [NOTICE] switch_channel.c:1123 New Channel sofia/default/2222@103.206.138.169:24048 [daeaca92-6737-4bb2-b37b-e2438ffdc9e6]
  637. 2023-07-03 10:26:26.916386 95.53% [DEBUG] mod_sofia.c:5117 (sofia/default/2222@103.206.138.169:24048) State Change CS_NEW -> CS_INIT
  638. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2222@103.206.138.169:24048) Running State Change CS_INIT (Cur 2 Tot 47)
  639. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/2222@103.206.138.169:24048) State INIT
  640. 2023-07-03 10:26:26.916386 95.53% [DEBUG] mod_sofia.c:97 sofia/default/2222@103.206.138.169:24048 SOFIA INIT
  641. 2023-07-03 10:26:26.916386 95.53% [DEBUG] sofia_glue.c:1623 sip:2222@103.206.138.169:24034;rinstance=cca0043b66b1bf8c;transport=TCP Setting proxy route to sofia/default/2222@103.206.138.169:24048
  642. 2023-07-03 10:26:26.916386 95.53% [INFO] sofia_glue.c:1654 sofia/default/2222@103.206.138.169:24048 sending invite call-id: (null)
  643. 2023-07-03 10:26:26.916386 95.53% [DEBUG] sofia_glue.c:1657 sofia/default/2222@103.206.138.169:24048 sending invite version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit
  644. Local SDP:
  645. v=0
  646. o=FreeSWITCH 1688359634 1688359635 IN IP4 52.66.198.239
  647. s=FreeSWITCH
  648. c=IN IP4 52.66.198.239
  649. t=0 0
  650. m=audio 20352 RTP/AVP 8 101
  651. a=rtpmap:8 PCMA/8000
  652. a=rtpmap:101 telephone-event/8000
  653. a=fmtp:101 0-15
  654. a=ptime:20
  655. a=sendrecv
  656.  
  657. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_core_state_machine.c:40 sofia/default/2222@103.206.138.169:24048 Standard INIT
  658. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_core_state_machine.c:48 (sofia/default/2222@103.206.138.169:24048) State Change CS_INIT -> CS_ROUTING
  659. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/2222@103.206.138.169:24048) State INIT going to sleep
  660. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2222@103.206.138.169:24048) Running State Change CS_ROUTING (Cur 2 Tot 47)
  661. 2023-07-03 10:26:26.916386 95.53% [DEBUG] sofia.c:7487 Channel sofia/default/2222@103.206.138.169:24048 entering state [calling][0]
  662. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/2222@103.206.138.169:24048) State ROUTING
  663. 2023-07-03 10:26:26.916386 95.53% [DEBUG] mod_sofia.c:158 sofia/default/2222@103.206.138.169:24048 SOFIA ROUTING
  664. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_ivr_originate.c:67 (sofia/default/2222@103.206.138.169:24048) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  665. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/2222@103.206.138.169:24048) State ROUTING going to sleep
  666. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2222@103.206.138.169:24048) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 47)
  667. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_core_state_machine.c:659 (sofia/default/2222@103.206.138.169:24048) State CONSUME_MEDIA
  668. 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_core_state_machine.c:659 (sofia/default/2222@103.206.138.169:24048) State CONSUME_MEDIA going to sleep
  669. 2023-07-03 10:26:27.236430 95.53% [DEBUG] sofia.c:7487 Channel sofia/default/2222@103.206.138.169:24048 entering state [proceeding][180]
  670. 2023-07-03 10:26:27.236430 95.53% [NOTICE] sofia.c:7598 Ring-Ready sofia/default/2222@103.206.138.169:24048!
  671. 2023-07-03 10:26:27.236430 95.53% [DEBUG] switch_channel.c:3494 (sofia/default/2222@103.206.138.169:24048) Callstate Change DOWN -> RINGING
  672. 2023-07-03 10:26:27.236430 95.53% [NOTICE] mod_sofia.c:2516 Ring-Ready sofia/default/1111@52.66.198.239:5070!
  673. 2023-07-03 10:26:27.236430 95.53% [DEBUG] sofia.c:7487 Channel sofia/default/1111@52.66.198.239:5070 entering state [early][180]
  674. 2023-07-03 10:26:27.236430 95.53% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/1111@52.66.198.239:5070!
  675. 2023-07-03 10:26:28.016389 94.93% [DEBUG] sofia.c:7487 Channel sofia/default/2222@103.206.138.169:24048 entering state [completing][200]
  676. 2023-07-03 10:26:28.016389 94.93% [DEBUG] sofia.c:7497 Remote SDP:
  677. v=0
  678. o=Z 0 3 IN IP4 103.206.138.169
  679. s=Z
  680. c=IN IP4 103.206.138.169
  681. t=0 0
  682. m=audio 23592 RTP/AVP 8 3 110 0 98 101
  683. a=rtpmap:110 speex/8000
  684. a=rtpmap:98 iLBC/8000
  685. a=fmtp:98 mode=20
  686. a=rtpmap:101 telephone-event/8000
  687. a=fmtp:101 0-15
  688.  
  689. 2023-07-03 10:26:28.016389 94.93% [DEBUG] sofia.c:7487 Channel sofia/default/2222@103.206.138.169:24048 entering state [ready][200]
  690. 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  691. 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  692. 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  693. 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  694. 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  695. 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  696. 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000
  697. 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_core_media.c:3750 Set Codec sofia/default/2222@103.206.138.169:24048 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  698. 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_core_codec.c:111 sofia/default/2222@103.206.138.169:24048 Original read codec set to PCMA:8
  699. 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000
  700. 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_core_media.c:5850 sofia/default/2222@103.206.138.169:24048 Set 2833 dtmf send payload to 101 recv payload to 101
  701. 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_core_media.c:8651 AUDIO RTP [sofia/default/2222@103.206.138.169:24048] 172.31.33.51 port 20352 -> 103.206.138.169 port 23592 codec: 8 ms: 20
  702. 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_rtp.c:4377 Starting timer [soft] 160 bytes per 20ms
  703. 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_core_media.c:8963 sofia/default/2222@103.206.138.169:24048 Set 2833 dtmf send payload to 101
  704. 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_core_media.c:8970 sofia/default/2222@103.206.138.169:24048 Set 2833 dtmf receive payload to 101
  705. 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_core_media.c:8993 sofia/default/2222@103.206.138.169:24048 Set rtp dtmf delay to 40
  706. 2023-07-03 10:26:28.016389 94.93% [NOTICE] sofia.c:8674 Channel [sofia/default/2222@103.206.138.169:24048] has been answered
  707. EXECUTE [depth=1] sofia/default/2222@103.206.138.169:24048 record_session(/usr/local/freeswitch/recordings/66e1102f-3b68-4ba8-a40b-61314831a826.wav)
  708. 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  709. 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_core_media_bug.c:976 Attaching BUG to sofia/default/2222@103.206.138.169:24048
  710. 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_channel.c:3893 (sofia/default/2222@103.206.138.169:24048) Callstate Change RINGING -> ACTIVE
  711. 2023-07-03 10:26:28.036434 94.93% [DEBUG] switch_core_media.c:8651 AUDIO RTP [sofia/default/1111@52.66.198.239:5070] 172.31.33.51 port 25402 -> 103.206.138.169 port 23936 codec: 8 ms: 20
  712. 2023-07-03 10:26:28.036434 94.93% [DEBUG] switch_rtp.c:4377 Starting timer [soft] 160 bytes per 20ms
  713. 2023-07-03 10:26:28.036434 94.93% [DEBUG] switch_core_media.c:8963 sofia/default/1111@52.66.198.239:5070 Set 2833 dtmf send payload to 101
  714. 2023-07-03 10:26:28.036434 94.93% [DEBUG] switch_core_media.c:8970 sofia/default/1111@52.66.198.239:5070 Set 2833 dtmf receive payload to 101
  715. 2023-07-03 10:26:28.036434 94.93% [DEBUG] switch_core_media.c:8993 sofia/default/1111@52.66.198.239:5070 Set rtp dtmf delay to 40
  716. 2023-07-03 10:26:28.036434 94.93% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/1111@52.66.198.239:5070:
  717. v=0
  718. o=FreeSWITCH 1688354586 1688354587 IN IP4 52.66.198.239
  719. s=FreeSWITCH
  720. c=IN IP4 52.66.198.239
  721. t=0 0
  722. m=audio 25402 RTP/AVP 8 101
  723. a=rtpmap:8 PCMA/8000
  724. a=rtpmap:101 telephone-event/8000
  725. a=fmtp:101 0-15
  726. a=ptime:20
  727. a=sendrecv
  728.  
  729. 2023-07-03 10:26:28.036434 94.93% [DEBUG] sofia.c:7487 Channel sofia/default/1111@52.66.198.239:5070 entering state [completed][200]
  730. 2023-07-03 10:26:28.036434 94.93% [NOTICE] switch_ivr_originate.c:3844 Channel [sofia/default/1111@52.66.198.239:5070] has been answered
  731. EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 record_session(/usr/local/freeswitch/recordings/66e1102f-3b68-4ba8-a40b-61314831a826.wav)
  732. 2023-07-03 10:26:28.036434 94.93% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  733. 2023-07-03 10:26:28.036434 94.93% [DEBUG] switch_core_media_bug.c:976 Attaching BUG to sofia/default/1111@52.66.198.239:5070
  734. 2023-07-03 10:26:28.036434 94.93% [DEBUG] switch_channel.c:3893 (sofia/default/1111@52.66.198.239:5070) Callstate Change RINGING -> ACTIVE
  735. 2023-07-03 10:26:28.036434 94.93% [DEBUG] switch_ivr_originate.c:3902 Originate Resulted in Success: [sofia/default/2222@103.206.138.169:24048] Peer UUID: daeaca92-6737-4bb2-b37b-e2438ffdc9e6
  736. 2023-07-03 10:26:28.036434 94.93% [DEBUG] switch_ivr_originate.c:3902 Originate Resulted in Success: [sofia/default/2222@103.206.138.169:24048] Peer UUID: daeaca92-6737-4bb2-b37b-e2438ffdc9e6
  737. 2023-07-03 10:26:28.036434 94.93% [DEBUG] switch_ivr_bridge.c:1791 (sofia/default/2222@103.206.138.169:24048) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  738. 2023-07-03 10:26:28.036434 94.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2222@103.206.138.169:24048) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 47)
  739. 2023-07-03 10:26:28.036434 94.93% [DEBUG] switch_core_state_machine.c:650 (sofia/default/2222@103.206.138.169:24048) State EXCHANGE_MEDIA
  740. 2023-07-03 10:26:28.036434 94.93% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  741. 2023-07-03 10:26:28.036434 94.93% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  742. 2023-07-03 10:26:28.056390 94.93% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  743. 2023-07-03 10:26:28.076390 94.93% [DEBUG] switch_rtp.c:7511 Correct audio ip/port confirmed.
  744. 2023-07-03 10:26:28.076390 94.93% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  745. 2023-07-03 10:26:28.076390 94.93% [DEBUG] sofia.c:7487 Channel sofia/default/1111@52.66.198.239:5070 entering state [ready][200]
  746. 2023-07-03 10:26:28.136412 94.93% [DEBUG] sofia.c:7487 Channel sofia/default/1111@52.66.198.239:5070 entering state [received][100]
  747. 2023-07-03 10:26:28.136412 94.93% [DEBUG] sofia.c:7497 Remote SDP:
  748. v=0
  749. o=Z 0 1 IN IP4 103.206.138.169
  750. s=Z
  751. c=IN IP4 0.0.0.0
  752. t=0 0
  753. m=audio 23936 RTP/AVP 3 110 8 0 98 101
  754. a=rtpmap:110 speex/8000
  755. a=rtpmap:98 iLBC/8000
  756. a=fmtp:98 mode=20
  757. a=rtpmap:101 telephone-event/8000
  758. a=fmtp:101 0-15
  759. a=inactive
  760.  
  761. 2023-07-03 10:26:28.136412 94.93% [WARNING] switch_core_media.c:4918 RFC2543 from March 1999 called; They want their 0.0.0.0 hold method back.....
  762. 2023-07-03 10:26:28.136412 94.93% [DEBUG] switch_channel.c:1975 (sofia/default/1111@52.66.198.239:5070) Callstate Change ACTIVE -> HELD
  763. 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_ivr.c:632 sofia/default/2222@103.206.138.169:24048 Command Execute [depth=0] playback(local_stream://moh)
  764. EXECUTE [depth=0] sofia/default/2222@103.206.138.169:24048 playback(local_stream://moh)
  765. 2023-07-03 10:26:28.376412 94.93% [DEBUG] mod_local_stream.c:912 Opening Stream [moh/8000] 8000hz
  766. 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_ivr_play_say.c:1566 Codec Activated L16@8000hz 1 channels 20ms
  767. 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  768. 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  769. 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  770. 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  771. 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  772. 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  773. 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  774. 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  775. 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  776. 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  777. 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  778. 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  779. 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000
  780. 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000
  781. 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_core_media.c:5850 sofia/default/1111@52.66.198.239:5070 Set 2833 dtmf send payload to 101 recv payload to 101
  782. 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_core_media.c:8639 Audio params changed for sofia/default/1111@52.66.198.239:5070 from 103.206.138.169:23936 to 0.0.0.0:23936
  783. 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_core_media.c:8651 AUDIO RTP [sofia/default/1111@52.66.198.239:5070] 172.31.33.51 port 25402 -> 0.0.0.0 port 23936 codec: 8 ms: 20
  784. 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_core_media.c:8680 AUDIO RTP CHANGING DEST TO: [0.0.0.0:23936]
  785. 2023-07-03 10:26:28.376412 94.93% [DEBUG] sofia.c:8442 Processing updated SDP
  786. 2023-07-03 10:26:28.376412 94.93% [DEBUG] sofia.c:7487 Channel sofia/default/1111@52.66.198.239:5070 entering state [completed][200]
  787. 2023-07-03 10:26:28.416412 94.93% [DEBUG] sofia.c:7487 Channel sofia/default/1111@52.66.198.239:5070 entering state [ready][200]
  788. 2023-07-03 10:26:29.316411 94.83% [NOTICE] sofia.c:1065 Hangup sofia/default/2222@103.206.138.169:24048 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  789. 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_ivr_play_say.c:2015 done playing file local_stream://moh
  790. 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_core_session.c:2973 sofia/default/2222@103.206.138.169:24048 skip receive message [PHONE_EVENT] (channel is hungup already)
  791. 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_ivr_bridge.c:567 sofia/default/2222@103.206.138.169:24048 skip receive message [BRIDGE] (channel is hungup already)
  792. 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_ivr.c:679 sofia/default/2222@103.206.138.169:24048 skip receive message [VIDEO_SYNC] (channel is hungup already)
  793. 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_ivr_bridge.c:825 sofia/default/2222@103.206.138.169:24048 ending bridge by request from read function
  794. 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/2222@103.206.138.169:24048]
  795. 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_core_state_machine.c:650 (sofia/default/2222@103.206.138.169:24048) State EXCHANGE_MEDIA going to sleep
  796. 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2222@103.206.138.169:24048) Running State Change CS_HANGUP (Cur 2 Tot 47)
  797. 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/66e1102f-3b68-4ba8-a40b-61314831a826.wav
  798. 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  799. 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_core_media_bug.c:1326 Removing BUG from sofia/default/2222@103.206.138.169:24048
  800. 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_core_state_machine.c:844 (sofia/default/2222@103.206.138.169:24048) Callstate Change ACTIVE -> HANGUP
  801. 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/2222@103.206.138.169:24048) State HANGUP
  802. 2023-07-03 10:26:29.316411 94.83% [DEBUG] mod_sofia.c:468 Channel sofia/default/2222@103.206.138.169:24048 hanging up, cause: NORMAL_CLEARING
  803. 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_core_state_machine.c:59 sofia/default/2222@103.206.138.169:24048 Standard HANGUP, cause: NORMAL_CLEARING
  804. 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/2222@103.206.138.169:24048) State HANGUP going to sleep
  805. 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_core_state_machine.c:616 (sofia/default/2222@103.206.138.169:24048) State Change CS_HANGUP -> CS_REPORTING
  806. 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2222@103.206.138.169:24048) Running State Change CS_REPORTING (Cur 2 Tot 47)
  807. 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/2222@103.206.138.169:24048) State REPORTING
  808. 2023-07-03 10:26:29.316411 94.83% [INFO] mod_json_cdr.c:272 Process [daeaca92-6737-4bb2-b37b-e2438ffdc9e6.cdr.json]
  809. 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_core_state_machine.c:168 sofia/default/2222@103.206.138.169:24048 Standard REPORTING, cause: NORMAL_CLEARING
  810. 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/2222@103.206.138.169:24048) State REPORTING going to sleep
  811. 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_core_state_machine.c:607 (sofia/default/2222@103.206.138.169:24048) State Change CS_REPORTING -> CS_DESTROY
  812. 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_core_session.c:1743 Session 47 (sofia/default/2222@103.206.138.169:24048) Locked, Waiting on external entities
  813. 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/1111@52.66.198.239:5070]
  814. 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_channel.c:2160 (sofia/default/1111@52.66.198.239:5070) Callstate Change HELD -> UNHELD
  815. EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  816. 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  817. 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
  818. 2023-07-03 10:26:29.336385 94.83% [NOTICE] switch_core_session.c:1761 Session 47 (sofia/default/2222@103.206.138.169:24048) Ended
  819. 2023-07-03 10:26:29.336385 94.83% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/2222@103.206.138.169:24048 [CS_DESTROY]
  820. 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_core_state_machine.c:735 (sofia/default/2222@103.206.138.169:24048) Running State Change CS_DESTROY (Cur 1 Tot 47)
  821. 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/2222@103.206.138.169:24048) State DESTROY
  822. 2023-07-03 10:26:29.336385 94.83% [DEBUG] mod_sofia.c:379 sofia/default/2222@103.206.138.169:24048 SOFIA DESTROY
  823. 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_core_state_machine.c:175 sofia/default/2222@103.206.138.169:24048 Standard DESTROY
  824. 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/2222@103.206.138.169:24048) State DESTROY going to sleep
  825. 2023-07-03 10:26:29.336385 94.83% [NOTICE] switch_cpp.cpp:1465 [Astpp_SIP-Devices] This Is Last Dispositions SUCCESS This Is SIP Number : 2222
  826. 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_cpp.cpp:1209 sofia/default/1111@52.66.198.239:5070 destroy/unlink session from object
  827. 2023-07-03 10:26:29.336385 94.83% [NOTICE] switch_core_state_machine.c:382 sofia/default/1111@52.66.198.239:5070 has executed the last dialplan instruction, hanging up.
  828. 2023-07-03 10:26:29.336385 94.83% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/1111@52.66.198.239:5070 [CS_EXECUTE] [NORMAL_CLEARING]
  829. 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1111@52.66.198.239:5070) State EXECUTE going to sleep
  830. 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1111@52.66.198.239:5070) Running State Change CS_HANGUP (Cur 1 Tot 47)
  831. 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/66e1102f-3b68-4ba8-a40b-61314831a826.wav
  832. 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  833. 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_core_media_bug.c:1326 Removing BUG from sofia/default/1111@52.66.198.239:5070
  834. 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1111@52.66.198.239:5070) Callstate Change UNHELD -> HANGUP
  835. 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1111@52.66.198.239:5070) State HANGUP
  836. 2023-07-03 10:26:29.336385 94.83% [DEBUG] mod_sofia.c:462 sofia/default/1111@52.66.198.239:5070 Overriding SIP cause 480 with 200 from the other leg
  837. 2023-07-03 10:26:29.336385 94.83% [DEBUG] mod_sofia.c:468 Channel sofia/default/1111@52.66.198.239:5070 hanging up, cause: NORMAL_CLEARING
  838. 2023-07-03 10:26:29.336385 94.83% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/1111@52.66.198.239:5070
  839. 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_core_state_machine.c:59 sofia/default/1111@52.66.198.239:5070 Standard HANGUP, cause: NORMAL_CLEARING
  840. 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1111@52.66.198.239:5070) State HANGUP going to sleep
  841. 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1111@52.66.198.239:5070) State Change CS_HANGUP -> CS_REPORTING
  842. 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1111@52.66.198.239:5070) Running State Change CS_REPORTING (Cur 1 Tot 47)
  843. 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1111@52.66.198.239:5070) State REPORTING
  844. 2023-07-03 10:26:29.336385 94.83% [INFO] mod_json_cdr.c:272 Process [66e1102f-3b68-4ba8-a40b-61314831a826.cdr.json]
  845. 2023-07-03 10:26:29.356390 94.83% [DEBUG] switch_core_state_machine.c:168 sofia/default/1111@52.66.198.239:5070 Standard REPORTING, cause: NORMAL_CLEARING
  846. 2023-07-03 10:26:29.356390 94.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1111@52.66.198.239:5070) State REPORTING going to sleep
  847. 2023-07-03 10:26:29.356390 94.83% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1111@52.66.198.239:5070) State Change CS_REPORTING -> CS_DESTROY
  848. 2023-07-03 10:26:29.356390 94.83% [DEBUG] switch_core_session.c:1743 Session 46 (sofia/default/1111@52.66.198.239:5070) Locked, Waiting on external entities
  849. 2023-07-03 10:26:29.356390 94.83% [NOTICE] switch_core_session.c:1761 Session 46 (sofia/default/1111@52.66.198.239:5070) Ended
  850. 2023-07-03 10:26:29.356390 94.83% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/1111@52.66.198.239:5070 [CS_DESTROY]
  851. 2023-07-03 10:26:29.356390 94.83% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1111@52.66.198.239:5070) Running State Change CS_DESTROY (Cur 0 Tot 47)
  852. 2023-07-03 10:26:29.356390 94.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1111@52.66.198.239:5070) State DESTROY
  853. 2023-07-03 10:26:29.356390 94.83% [DEBUG] mod_sofia.c:379 sofia/default/1111@52.66.198.239:5070 SOFIA DESTROY
  854. 2023-07-03 10:26:29.356390 94.83% [DEBUG] switch_core_state_machine.c:175 sofia/default/1111@52.66.198.239:5070 Standard DESTROY
  855. 2023-07-03 10:26:29.356390 94.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1111@52.66.198.239:5070) State DESTROY going to sleep