From Yash Shah, 1 Year ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: cornflowerblue; font-weight: bold;"> 2023-06-21 08:25:35.474292 82.73% [NOTICE] switch_channel.c:1123 New Channel sofia/default/7870463271@alpha3.astppbilling.org:5076 [fed14196-8415-4571-a3b0-53d97f710c5f]
  2. 2023-06-21 08:25:35.474292 82.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7870463271@alpha3.astppbilling.org:5076) Running State Change CS_NEW (Cur 1 Tot 13)
  3. 2023-06-21 08:25:35.474292 82.73% [INFO] sofia.c:10453 sofia/default/7870463271@alpha3.astppbilling.org:5076 receiving invite from 103.240.35.46:32832 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: NmIyMTc2NDZkMzQyZjc4MjY2YmE4OWEwM2Q0MzAyOTQ.
  4. 2023-06-21 08:25:35.474292 82.73% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 103.240.35.46:0.
  5. 2023-06-21 08:25:35.474292 82.73% [WARNING] sofia_reg.c:1846 SIP auth challenge (INVITE) on sofia profile 'default' for [9120201@alpha3.astppbilling.org] from ip 103.240.35.46
  6. 2023-06-21 08:25:35.474292 82.73% [DEBUG] switch_core_state_machine.c:600 (sofia/default/7870463271@alpha3.astppbilling.org:5076) State NEW
  7. 2023-06-21 08:25:35.474292 82.73% [DEBUG] sofia.c:2419 detaching session fed14196-8415-4571-a3b0-53d97f710c5f
  8. 2023-06-21 08:25:36.094344 82.73% [DEBUG] sofia.c:2532 Re-attaching to session fed14196-8415-4571-a3b0-53d97f710c5f
  9. 2023-06-21 08:25:36.094344 82.73% [INFO] sofia.c:10453 sofia/default/7870463271@alpha3.astppbilling.org:5076 receiving invite from 103.240.35.46:32832 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: NmIyMTc2NDZkMzQyZjc4MjY2YmE4OWEwM2Q0MzAyOTQ.
  10. 2023-06-21 08:25:36.094344 82.73% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 103.240.35.46:0.
  11. 2023-06-21 08:25:36.114340 84.70% [DEBUG] sofia.c:11668 Setting NAT mode based on via received
  12. 2023-06-21 08:25:36.114340 84.70% [DEBUG] sofia.c:7487 Channel sofia/default/7870463271@alpha3.astppbilling.org:5076 entering state [received][100]
  13. 2023-06-21 08:25:36.114340 84.70% [DEBUG] sofia.c:7497 Remote SDP:
  14. v=0
  15. o=Z 0 0 IN IP4 103.240.35.46
  16. s=Z
  17. c=IN IP4 103.240.35.46
  18. t=0 0
  19. m=audio 8000 RTP/AVP 3 110 8 0 98 101
  20. a=rtpmap:110 speex/8000
  21. a=rtpmap:98 iLBC/8000
  22. a=fmtp:98 mode=20
  23. a=rtpmap:101 telephone-event/8000
  24. a=fmtp:101 0-15
  25.  
  26. 2023-06-21 08:25:36.114340 84.70% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  27. 2023-06-21 08:25:36.114340 84.70% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  28. 2023-06-21 08:25:36.114340 84.70% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G729:18:8000:20:8000:1]
  29. 2023-06-21 08:25:36.114340 84.70% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  30. 2023-06-21 08:25:36.114340 84.70% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  31. 2023-06-21 08:25:36.114340 84.70% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:110:8000:20:0:1]/[G729:18:8000:20:8000:1]
  32. 2023-06-21 08:25:36.114340 84.70% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  33. 2023-06-21 08:25:36.114340 84.70% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  34. 2023-06-21 08:25:36.114340 84.70% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  35. 2023-06-21 08:25:36.114340 84.70% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  36. 2023-06-21 08:25:36.114340 84.70% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  37. 2023-06-21 08:25:36.114340 84.70% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  38. 2023-06-21 08:25:36.114340 84.70% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  39. 2023-06-21 08:25:36.114340 84.70% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  40. 2023-06-21 08:25:36.114340 84.70% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  41. 2023-06-21 08:25:36.114340 84.70% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  42. 2023-06-21 08:25:36.114340 84.70% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [iLBC:98:8000:30:0:1]/[G729:18:8000:20:8000:1]
  43. 2023-06-21 08:25:36.114340 84.70% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000
  44. 2023-06-21 08:25:36.114340 84.70% [DEBUG] switch_core_media.c:3750 Set Codec sofia/default/7870463271@alpha3.astppbilling.org:5076 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  45. 2023-06-21 08:25:36.114340 84.70% [DEBUG] switch_core_codec.c:111 sofia/default/7870463271@alpha3.astppbilling.org:5076 Original read codec set to PCMA:8
  46. 2023-06-21 08:25:36.114340 84.70% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000
  47. 2023-06-21 08:25:36.114340 84.70% [DEBUG] switch_core_media.c:5850 sofia/default/7870463271@alpha3.astppbilling.org:5076 Set 2833 dtmf send payload to 101 recv payload to 101
  48. 2023-06-21 08:25:36.114340 84.70% [DEBUG] sofia.c:7921 (sofia/default/7870463271@alpha3.astppbilling.org:5076) State Change CS_NEW -> CS_INIT
  49. 2023-06-21 08:25:36.114340 84.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7870463271@alpha3.astppbilling.org:5076) Running State Change CS_INIT (Cur 1 Tot 13)
  50. 2023-06-21 08:25:36.114340 84.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/7870463271@alpha3.astppbilling.org:5076) State INIT
  51. 2023-06-21 08:25:36.114340 84.70% [DEBUG] mod_sofia.c:97 sofia/default/7870463271@alpha3.astppbilling.org:5076 SOFIA INIT
  52. 2023-06-21 08:25:36.114340 84.70% [DEBUG] switch_core_state_machine.c:40 sofia/default/7870463271@alpha3.astppbilling.org:5076 Standard INIT
  53. 2023-06-21 08:25:36.114340 84.70% [DEBUG] switch_core_state_machine.c:48 (sofia/default/7870463271@alpha3.astppbilling.org:5076) State Change CS_INIT -> CS_ROUTING
  54. 2023-06-21 08:25:36.114340 84.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/7870463271@alpha3.astppbilling.org:5076) State INIT going to sleep
  55. 2023-06-21 08:25:36.114340 84.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7870463271@alpha3.astppbilling.org:5076) Running State Change CS_ROUTING (Cur 1 Tot 13)
  56. 2023-06-21 08:25:36.114340 84.70% [DEBUG] switch_channel.c:2380 (sofia/default/7870463271@alpha3.astppbilling.org:5076) Callstate Change DOWN -> RINGING
  57. 2023-06-21 08:25:36.114340 84.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/7870463271@alpha3.astppbilling.org:5076) State ROUTING
  58. 2023-06-21 08:25:36.114340 84.70% [DEBUG] mod_sofia.c:158 sofia/default/7870463271@alpha3.astppbilling.org:5076 SOFIA ROUTING
  59. 2023-06-21 08:25:36.114340 84.70% [DEBUG] switch_core_state_machine.c:230 sofia/default/7870463271@alpha3.astppbilling.org:5076 Standard ROUTING
  60. 2023-06-21 08:25:36.114340 84.70% [INFO] mod_dialplan_xml.c:639 Processing 7870463271 <7870463271>->9120201 in context default
  61. 2023-06-21 08:25:36.134292 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  62. 2023-06-21 08:25:36.134292 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  63. 2023-06-21 08:25:36.134292 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  64. 2023-06-21 08:25:36.134292 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  65. 2023-06-21 08:25:36.134292 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  66. 2023-06-21 08:25:36.134292 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 9120201
  67. 2023-06-21 08:25:36.134292 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '9120201' limit 1
  68. 2023-06-21 08:25:36.134292 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  69. 2023-06-21 08:25:36.134292 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '9120201' and status=0 LIMIT 1
  70. 2023-06-21 08:25:36.134292 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER7870463271
  71. 2023-06-21 08:25:36.134292 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  72. 2023-06-21 08:25:36.134292 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'alpha3.astppbilling.org' limit 1
  73. 2023-06-21 08:25:36.134292 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '170' and username = '9120201' limit 1
  74. 2023-06-21 08:25:36.134292 84.70% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  75. 2023-06-21 08:25:36.134292 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 7870463271 / 23222
  76. 2023-06-21 08:25:36.134292 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 1
  77. 2023-06-21 08:25:36.134292 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 912020 AND status=0 limit 1
  78. 2023-06-21 08:25:36.134292 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  79. 2023-06-21 08:25:36.134292 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  80. 2023-06-21 08:25:36.134292 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  81. 2023-06-21 08:25:36.134292 84.70% [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 ="9120201" LIMIT 1
  82. 2023-06-21 08:25:36.134292 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="9120201" LIMIT 1
  83. 2023-06-21 08:25:36.134292 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  84. 2023-06-21 08:25:36.134292 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  85. 2023-06-21 08:25:36.134292 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 7870463271]
  86. 2023-06-21 08:25:36.134292 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =9120201
  87. 2023-06-21 08:25:36.134292 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "7870463271" AND deleted = 0 limit 1
  88. 2023-06-21 08:25:36.154284 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =170
  89. 2023-06-21 08:25:36.154284 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  90. 2023-06-21 08:25:36.154284 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
  91. 2023-06-21 08:25:36.154284 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  92. 2023-06-21 08:25:36.154284 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 170
  93. 2023-06-21 08:25:36.154284 84.70% [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 = '^9120201.*' OR patterns = '^912020.*' OR patterns = '^91202.*' OR patterns = '^9120.*' OR patterns = '^912.*' OR patterns = '^91.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 170 ORDER BY LENGTH(PKGPTR.patterns) DESC
  94. 2023-06-21 08:25:36.154284 84.70% [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 ="9120201" AND A.accountid = '170' limit 1
  95. 2023-06-21 08:25:36.154284 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 9120201
  96. 2023-06-21 08:25:36.154284 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  97. 2023-06-21 08:25:36.154284 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  98. 2023-06-21 08:25:36.154284 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  99. 2023-06-21 08:25:36.154284 84.70% [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 ="9120201" LIMIT 1
  100. 2023-06-21 08:25:36.154284 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="9120201" LIMIT 1
  101. 2023-06-21 08:25:36.154284 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  102. 2023-06-21 08:25:36.154284 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  103. 2023-06-21 08:25:36.154284 84.70% [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 = '9120201' OR number = '912020' OR number = '91202' OR number = '9120' OR number = '912' OR number = '91' OR number = '9' OR number ='--') OR (number = '9120201*' OR number = '912020*' OR number = '91202*' OR number = '9120*' OR number = '912*' OR number = '91*' OR number = '9*' OR number ='--') OR (number = '23222' OR number = '2322' OR number = '232' OR number = '23' OR number = '2' OR number ='--') OR (number = '23222*' OR number = '2322*' OR number = '232*' OR number = '23*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  104. 2023-06-21 08:25:36.154284 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  105. 2023-06-21 08:25:36.154284 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '9120201' OR routing_prefix = '912020' OR routing_prefix = '91202' OR routing_prefix = '9120' OR routing_prefix = '912' OR routing_prefix = '91' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  106. 2023-06-21 08:25:36.154284 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  107. 2023-06-21 08:25:36.154284 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 170
  108. 2023-06-21 08:25:36.154284 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 7870463271
  109. 2023-06-21 08:25:36.154284 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =170
  110. 2023-06-21 08:25:36.154284 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 2883.9867
  111. 2023-06-21 08:25:36.154284 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  112. 2023-06-21 08:25:36.154284 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 29
  113. 2023-06-21 08:25:36.154284 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  114. 2023-06-21 08:25:36.154284 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  115. 2023-06-21 08:25:36.154284 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  116. 2023-06-21 08:25:36.154284 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::29
  117. 2023-06-21 08:25:36.154284 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  118. 2023-06-21 08:25:36.154284 84.70% [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 ="9120201" LIMIT 1
  119. 2023-06-21 08:25:36.154284 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="9120201" LIMIT 1
  120. 2023-06-21 08:25:36.154284 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  121. 2023-06-21 08:25:36.154284 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  122. 2023-06-21 08:25:36.154284 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  123. 2023-06-21 08:25:36.154284 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 55
  124. 2023-06-21 08:25:36.154284 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  125. 2023-06-21 08:25:36.154284 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  126. 2023-06-21 08:25:36.154284 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  127. 2023-06-21 08:25:36.154284 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 9120201
  128. 2023-06-21 08:25:36.154284 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  129. 2023-06-21 08:25:36.154284 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 170
  130. 2023-06-21 08:25:36.154284 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  131. 2023-06-21 08:25:36.154284 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =170
  132. 2023-06-21 08:25:36.174289 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your2883.9867 balance Accountid 170 !!!
  133. 2023-06-21 08:25:36.174289 84.70% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  134. 2023-06-21 08:25:36.174289 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  135. 2023-06-21 08:25:36.174289 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  136. 2023-06-21 08:25:36.174289 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  137. 2023-06-21 08:25:36.174289 84.70% [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 = 170 AND status=0 LIMIT 1
  138. 2023-06-21 08:25:36.174289 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "170" AND deleted = 0 limit 1
  139. 2023-06-21 08:25:36.174289 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =170
  140. 2023-06-21 08:25:36.174289 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:170
  141. 2023-06-21 08:25:36.174289 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:170
  142. 2023-06-21 08:25:36.174289 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 170
  143. 2023-06-21 08:25:36.174289 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 170 limit 1
  144. 2023-06-21 08:25:36.174289 84.70% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : alpha3.astppbilling.org
  145. 2023-06-21 08:25:36.174289 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition Id : 1
  146. 2023-06-21 08:25:36.174289 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '1' and status =0 LIMIT 1
  147. 2023-06-21 08:25:36.174289 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Failover Timecondition : [{"extensions":"#","no_answer_call_type":"12"}]
  148. span style="color: green; font-weight: bold;"> 2023-06-21 08:25:36.174289 84.70% [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":"2","no_answer_call_type":"9","priority":"1"}]
  149. 2023-06-21 08:25:36.174289 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Priority : 1
  150. 2023-06-21 08:25:36.174289 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from timezone WHERE id = '49' LIMIT 1
  151. 2023-06-21 08:25:36.174289 84.70% [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"
  152. 2023-06-21 08:25:36.174289 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  153. 2023-06-21 08:25:36.174289 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  154. 2023-06-21 08:25:36.174289 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  155. 2023-06-21 08:25:36.174289 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  156. 2023-06-21 08:25:36.174289 84.70% [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
  157. 2023-06-21 08:25:36.174289 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 170 limit 1
  158. 2023-06-21 08:25:36.174289 84.70% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : alpha3.astppbilling.org
  159. 2023-06-21 08:25:36.174289 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_11
  160. 2023-06-21 08:25:36.174289 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] TimeCondition Id : 1
  161. 2023-06-21 08:25:36.174289 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '1' and status =0 LIMIT 1
  162. 2023-06-21 08:25:36.174289 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  163. <document type="freeswitch/xml">
  164. <section name="dialplan" description="ASTPP Dialplan">
  165. <context name="default">
  166. <extension name="Y Time condi test" continue="true">
  167. <condition break="never">
  168. <action application="set" data="timezone=Europe/Sarajevo" inline="true"/>
  169. </condition>
  170. <condition  time-of-day= "00:00-23:59"  wday= "1-7"  mday= "1-31"  mon= "1-12"  year= "2023-2023"  break="never">
  171. <action application="set" data="office_status=open" inline="true"/>
  172. <action application="set" data="extensions=2" inline="true"/>
  173. <action application="set" data="no_answer_did_number=9120201" inline="true"/>
  174. <action application="set" data="no_answer_call_type=9" inline="true"/>
  175. </condition>
  176. </extension>
  177. <extension name="tod route, x9120201">
  178. <condition field="destination_number" expression="^(\+?)?(9120201)$">
  179. <action application="execute_extension" data="9120201_${office_status}"/>
  180. </condition>
  181. </extension>
  182. <extension name="office is open">
  183. <condition field="destination_number" expression="^(\+?)?(9120201_open)$">
  184. <action application="set" data="domain_name=alpha3.astppbilling.org"/>
  185. <action application="set" data="set_extensions=${extensions}"/>
  186. <action application="set" data="no_answer_flag=true"/>
  187. <action application="set" data="no_answer_did_number=9120201" inline="true"/>
  188. <action application="set" data="no_answer_call_type=${no_answer_call_type}"/>
  189. <action application="set" data="no_answer_number=${extensions}" />
  190. <action application="transfer" data="170 XML default"/>
  191. </condition>
  192. </extension>
  193. <extension name="9120201">
  194. <condition field="destination_number" expression="9120201">
  195. <action application="set" data="effective_destination_number=9120201"/>
  196. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  197. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  198. <action application="set" data="notify_flag=0"/>
  199. <action application="set" data="notify_credit_limit=5.00000"/>
  200. <action application="set" data="type=0"/>
  201. <action application="set" data="callstart=2023-06-21 08:25:36"/>
  202. <action application="set" data="hangup_after_bridge=true"/>
  203. <action application="set" data="continue_on_fail=TRUE"/>
  204. <action application="set" data="account_id=170"/>
  205. <action application="set" data="parent_id=0"/>
  206. <action application="set" data="entity_id=0"/>
  207. <action application="set" data="call_processed=internal"/>
  208. <action application="set" data="call_direction=inbound"/>
  209. <action application="set" data="accountname=default"/>
  210. <action application="set" data="filename1=astpp.pbx.lua"/>
  211. <action application="sleep" data="500"/>
  212. <action application="playback" data="/usr/local/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav"/>
  213. <action application="say" data="en NUMBER PRONOUNCED 100"/>
  214. <action application="playback" data="/usr/local/freeswitch/sounds/en/us/callie/astpp-minute.wav"/>
  215. <action application="set" data="ringback=%(2000,4000,440.0,480.0)"/>
  216. <action application="set" data="origination_rates_did=ID:55|CODE:^9120201.*|DESTINATION:9120201|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:11|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:170"/>
  217. <action application="set" data="origination_rates=0"/>
  218. <action application="set" data="original_caller_id_name=7870463271"/>
  219. <action application="set" data="original_caller_id_number=23222"/>
  220. <action application="set" data="effective_caller_id_name=7870463271"/>
  221. <action application="set" data="effective_caller_id_number=23222"/>
  222. <action application="set" data="receiver_accid=170"/>
  223. <action application="set" data="did_id=55"/>
  224. <action application="set" data="transfer_call_type=4"/>
  225. <action application="set" data="transfer_extensions="/>
  226. <action application="set" data="busy_status=1"/>
  227. <action application="set" data="no_answer_status=1"/>
  228. <action application="set" data="always_status=1"/>
  229. <action application="set" data="transfer_status=1"/>
  230. <action application="set" data="variable_sip_to_host=${domain_name}"/>
  231. <action application="set" data="variable_sip_network_ip=103.240.35.46"/>
  232. <action application="set" data="variable_sip_network_port=32832"/>
  233. <action application="export" data="domain_name=alpha3.astppbilling.org"/>
  234. <action application="export" data="sip_to_host=alpha3.astppbilling.org"/>
  235. <action application="export" data="presence_data=x|||Yash(7870463271)|||^9120201.* // 9120201 // 0.00000|||||||||DID|||103.240.35.46"/>
  236. <action application="export" data="call_type=11"/>
  237. </condition>
  238. </extension>
  239. </context>
  240. </section>
  241. </document>
  242. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 parsing [default->Y Time condi test] continue=true
  243. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Absolute Condition [Y Time condi test]
  244. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Action set(timezone=Europe/Sarajevo) INLINE
  245. EXECUTE [depth=0] sofia/default/7870463271@alpha3.astppbilling.org:5076 set(timezone=Europe/Sarajevo)
  246. 2023-06-21 08:25:36.174289 84.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/7870463271@alpha3.astppbilling.org:5076 [timezone]=[Europe/Sarajevo]
  247. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Date/Time Match (PASS) [Y Time condi test] break=never
  248. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Action set(office_status=open) INLINE
  249. EXECUTE [depth=0] sofia/default/7870463271@alpha3.astppbilling.org:5076 set(office_status=open)
  250. 2023-06-21 08:25:36.174289 84.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/7870463271@alpha3.astppbilling.org:5076 [office_status]=[open]
  251. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Action set(extensions=2) INLINE
  252. EXECUTE [depth=0] sofia/default/7870463271@alpha3.astppbilling.org:5076 set(extensions=2)
  253. 2023-06-21 08:25:36.174289 84.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/7870463271@alpha3.astppbilling.org:5076 [extensions]=[2]
  254. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Action set(no_answer_did_number=9120201) INLINE
  255. EXECUTE [depth=0] sofia/default/7870463271@alpha3.astppbilling.org:5076 set(no_answer_did_number=9120201)
  256. 2023-06-21 08:25:36.174289 84.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/7870463271@alpha3.astppbilling.org:5076 [no_answer_did_number]=[9120201]
  257. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Action set(no_answer_call_type=9) INLINE
  258. EXECUTE [depth=0] sofia/default/7870463271@alpha3.astppbilling.org:5076 set(no_answer_call_type=9)
  259. 2023-06-21 08:25:36.174289 84.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/7870463271@alpha3.astppbilling.org:5076 [no_answer_call_type]=[9]
  260. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 parsing [default->tod route, x9120201] continue=false
  261. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Regex (PASS) [tod route, x9120201] destination_number(9120201) =~ /^(\+?)?(9120201)$/ break=on-false
  262. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Action execute_extension(9120201_${office_status})
  263. 2023-06-21 08:25:36.174289 84.70% [DEBUG] switch_core_state_machine.c:281 (sofia/default/7870463271@alpha3.astppbilling.org:5076) State Change CS_ROUTING -> CS_EXECUTE
  264. 2023-06-21 08:25:36.174289 84.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/7870463271@alpha3.astppbilling.org:5076) State ROUTING going to sleep
  265. 2023-06-21 08:25:36.174289 84.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7870463271@alpha3.astppbilling.org:5076) Running State Change CS_EXECUTE (Cur 1 Tot 13)
  266. 2023-06-21 08:25:36.174289 84.70% [DEBUG] switch_core_state_machine.c:647 (sofia/default/7870463271@alpha3.astppbilling.org:5076) State EXECUTE
  267. 2023-06-21 08:25:36.174289 84.70% [DEBUG] mod_sofia.c:213 sofia/default/7870463271@alpha3.astppbilling.org:5076 SOFIA EXECUTE
  268. 2023-06-21 08:25:36.174289 84.70% [DEBUG] switch_core_state_machine.c:323 sofia/default/7870463271@alpha3.astppbilling.org:5076 Standard EXECUTE
  269. EXECUTE [depth=0] sofia/default/7870463271@alpha3.astppbilling.org:5076 execute_extension(9120201_open)
  270. 2023-06-21 08:25:36.174289 84.70% [INFO] mod_dialplan_xml.c:639 Processing 7870463271 <7870463271>->9120201_open in context default
  271. 2023-06-21 08:25:36.194283 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  272. 2023-06-21 08:25:36.194283 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  273. 2023-06-21 08:25:36.194283 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  274. 2023-06-21 08:25:36.194283 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  275. 2023-06-21 08:25:36.194283 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  276. 2023-06-21 08:25:36.194283 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 9120201
  277. 2023-06-21 08:25:36.194283 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '9120201' limit 1
  278. 2023-06-21 08:25:36.194283 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  279. 2023-06-21 08:25:36.194283 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '9120201' and status=0 LIMIT 1
  280. 2023-06-21 08:25:36.194283 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER7870463271
  281. 2023-06-21 08:25:36.194283 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  282. 2023-06-21 08:25:36.194283 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'alpha3.astppbilling.org' limit 1
  283. 2023-06-21 08:25:36.214286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '170' and username = '9120201' limit 1
  284. 2023-06-21 08:25:36.214286 84.70% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  285. 2023-06-21 08:25:36.214286 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 7870463271 / 23222
  286. 2023-06-21 08:25:36.214286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 1
  287. 2023-06-21 08:25:36.214286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 912020 AND status=0 limit 1
  288. 2023-06-21 08:25:36.214286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  289. 2023-06-21 08:25:36.214286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  290. 2023-06-21 08:25:36.214286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  291. 2023-06-21 08:25:36.214286 84.70% [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 ="9120201" LIMIT 1
  292. 2023-06-21 08:25:36.214286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="9120201" LIMIT 1
  293. 2023-06-21 08:25:36.214286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  294. 2023-06-21 08:25:36.214286 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  295. 2023-06-21 08:25:36.214286 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 7870463271]
  296. 2023-06-21 08:25:36.214286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =9120201
  297. 2023-06-21 08:25:36.214286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "7870463271" AND deleted = 0 limit 1
  298. 2023-06-21 08:25:36.214286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =170
  299. 2023-06-21 08:25:36.214286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  300. 2023-06-21 08:25:36.214286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
  301. 2023-06-21 08:25:36.214286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  302. 2023-06-21 08:25:36.214286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 170
  303. 2023-06-21 08:25:36.214286 84.70% [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 = '^9120201.*' OR patterns = '^912020.*' OR patterns = '^91202.*' OR patterns = '^9120.*' OR patterns = '^912.*' OR patterns = '^91.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 170 ORDER BY LENGTH(PKGPTR.patterns) DESC
  304. 2023-06-21 08:25:36.214286 84.70% [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 ="9120201" AND A.accountid = '170' limit 1
  305. 2023-06-21 08:25:36.214286 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 9120201
  306. 2023-06-21 08:25:36.214286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  307. 2023-06-21 08:25:36.214286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  308. 2023-06-21 08:25:36.214286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  309. 2023-06-21 08:25:36.214286 84.70% [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 ="9120201" LIMIT 1
  310. 2023-06-21 08:25:36.214286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="9120201" LIMIT 1
  311. 2023-06-21 08:25:36.214286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  312. 2023-06-21 08:25:36.214286 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  313. 2023-06-21 08:25:36.214286 84.70% [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 = '9120201' OR number = '912020' OR number = '91202' OR number = '9120' OR number = '912' OR number = '91' OR number = '9' OR number ='--') OR (number = '9120201*' OR number = '912020*' OR number = '91202*' OR number = '9120*' OR number = '912*' OR number = '91*' OR number = '9*' OR number ='--') OR (number = '23222' OR number = '2322' OR number = '232' OR number = '23' OR number = '2' OR number ='--') OR (number = '23222*' OR number = '2322*' OR number = '232*' OR number = '23*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  314. 2023-06-21 08:25:36.214286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  315. 2023-06-21 08:25:36.214286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '9120201' OR routing_prefix = '912020' OR routing_prefix = '91202' OR routing_prefix = '9120' OR routing_prefix = '912' OR routing_prefix = '91' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  316. 2023-06-21 08:25:36.214286 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  317. 2023-06-21 08:25:36.214286 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 170
  318. 2023-06-21 08:25:36.214286 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 7870463271
  319. 2023-06-21 08:25:36.214286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =170
  320. 2023-06-21 08:25:36.214286 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 2883.9867
  321. 2023-06-21 08:25:36.214286 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  322. 2023-06-21 08:25:36.214286 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 29
  323. 2023-06-21 08:25:36.214286 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  324. 2023-06-21 08:25:36.214286 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  325. 2023-06-21 08:25:36.214286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  326. 2023-06-21 08:25:36.214286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::29
  327. 2023-06-21 08:25:36.214286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  328. 2023-06-21 08:25:36.214286 84.70% [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 ="9120201" LIMIT 1
  329. 2023-06-21 08:25:36.214286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="9120201" LIMIT 1
  330. 2023-06-21 08:25:36.214286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  331. 2023-06-21 08:25:36.214286 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  332. 2023-06-21 08:25:36.214286 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  333. 2023-06-21 08:25:36.214286 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 55
  334. 2023-06-21 08:25:36.214286 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  335. 2023-06-21 08:25:36.214286 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  336. 2023-06-21 08:25:36.214286 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  337. 2023-06-21 08:25:36.214286 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 9120201
  338. 2023-06-21 08:25:36.214286 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  339. 2023-06-21 08:25:36.214286 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 170
  340. 2023-06-21 08:25:36.214286 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  341. 2023-06-21 08:25:36.214286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =170
  342. 2023-06-21 08:25:36.234285 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your2883.9867 balance Accountid 170 !!!
  343. 2023-06-21 08:25:36.234285 84.70% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  344. 2023-06-21 08:25:36.234285 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  345. 2023-06-21 08:25:36.234285 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  346. 2023-06-21 08:25:36.234285 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  347. 2023-06-21 08:25:36.234285 84.70% [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 = 170 AND status=0 LIMIT 1
  348. 2023-06-21 08:25:36.234285 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "170" AND deleted = 0 limit 1
  349. 2023-06-21 08:25:36.234285 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =170
  350. 2023-06-21 08:25:36.234285 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:170
  351. 2023-06-21 08:25:36.234285 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:170
  352. 2023-06-21 08:25:36.234285 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 170
  353. 2023-06-21 08:25:36.234285 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 170 limit 1
  354. 2023-06-21 08:25:36.234285 84.70% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : alpha3.astppbilling.org
  355. 2023-06-21 08:25:36.234285 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition Id : 1
  356. 2023-06-21 08:25:36.234285 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '1' and status =0 LIMIT 1
  357. 2023-06-21 08:25:36.234285 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Failover Timecondition : [{"extensions":"#","no_answer_call_type":"12"}]
  358. span style="color: green; font-weight: bold;"> 2023-06-21 08:25:36.234285 84.70% [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":"2","no_answer_call_type":"9","priority":"1"}]
  359. 2023-06-21 08:25:36.234285 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Priority : 1
  360. 2023-06-21 08:25:36.234285 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from timezone WHERE id = '49' LIMIT 1
  361. 2023-06-21 08:25:36.234285 84.70% [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"
  362. 2023-06-21 08:25:36.234285 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  363. 2023-06-21 08:25:36.234285 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  364. 2023-06-21 08:25:36.234285 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  365. 2023-06-21 08:25:36.234285 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  366. 2023-06-21 08:25:36.234285 84.70% [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
  367. 2023-06-21 08:25:36.234285 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 170 limit 1
  368. 2023-06-21 08:25:36.234285 84.70% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : alpha3.astppbilling.org
  369. 2023-06-21 08:25:36.234285 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_11
  370. 2023-06-21 08:25:36.234285 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] TimeCondition Id : 1
  371. 2023-06-21 08:25:36.234285 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '1' and status =0 LIMIT 1
  372. 2023-06-21 08:25:36.234285 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  373. <document type="freeswitch/xml">
  374. <section name="dialplan" description="ASTPP Dialplan">
  375. <context name="default">
  376. <extension name="Y Time condi test" continue="true">
  377. <condition break="never">
  378. <action application="set" data="timezone=Europe/Sarajevo" inline="true"/>
  379. </condition>
  380. <condition  time-of-day= "00:00-23:59"  wday= "1-7"  mday= "1-31"  mon= "1-12"  year= "2023-2023"  break="never">
  381. <action application="set" data="office_status=open" inline="true"/>
  382. <action application="set" data="extensions=2" inline="true"/>
  383. <action application="set" data="no_answer_did_number=9120201" inline="true"/>
  384. <action application="set" data="no_answer_call_type=9" inline="true"/>
  385. </condition>
  386. </extension>
  387. <extension name="tod route, x9120201">
  388. <condition field="destination_number" expression="^(\+?)?(9120201)$">
  389. <action application="execute_extension" data="9120201_${office_status}"/>
  390. </condition>
  391. </extension>
  392. <extension name="office is open">
  393. <condition field="destination_number" expression="^(\+?)?(9120201_open)$">
  394. <action application="set" data="domain_name=alpha3.astppbilling.org"/>
  395. <action application="set" data="set_extensions=${extensions}"/>
  396. <action application="set" data="no_answer_flag=true"/>
  397. <action application="set" data="no_answer_did_number=9120201" inline="true"/>
  398. <action application="set" data="no_answer_call_type=${no_answer_call_type}"/>
  399. <action application="set" data="no_answer_number=${extensions}" />
  400. <action application="transfer" data="170 XML default"/>
  401. </condition>
  402. </extension>
  403. <extension name="9120201">
  404. <condition field="destination_number" expression="9120201">
  405. <action application="set" data="effective_destination_number=9120201"/>
  406. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  407. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  408. <action application="set" data="notify_flag=0"/>
  409. <action application="set" data="notify_credit_limit=5.00000"/>
  410. <action application="set" data="type=0"/>
  411. <action application="set" data="callstart=2023-06-21 08:25:36"/>
  412. <action application="set" data="hangup_after_bridge=true"/>
  413. <action application="set" data="continue_on_fail=TRUE"/>
  414. <action application="set" data="account_id=170"/>
  415. <action application="set" data="parent_id=0"/>
  416. <action application="set" data="entity_id=0"/>
  417. <action application="set" data="call_processed=internal"/>
  418. <action application="set" data="call_direction=inbound"/>
  419. <action application="set" data="accountname=default"/>
  420. <action application="set" data="filename1=astpp.pbx.lua"/>
  421. <action application="sleep" data="500"/>
  422. <action application="playback" data="/usr/local/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav"/>
  423. <action application="say" data="en NUMBER PRONOUNCED 100"/>
  424. <action application="playback" data="/usr/local/freeswitch/sounds/en/us/callie/astpp-minute.wav"/>
  425. <action application="set" data="ringback=%(2000,4000,440.0,480.0)"/>
  426. <action application="set" data="origination_rates_did=ID:55|CODE:^9120201.*|DESTINATION:9120201|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:11|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:170"/>
  427. <action application="set" data="origination_rates=0"/>
  428. <action application="set" data="original_caller_id_name=7870463271"/>
  429. <action application="set" data="original_caller_id_number=23222"/>
  430. <action application="set" data="effective_caller_id_name=7870463271"/>
  431. <action application="set" data="effective_caller_id_number=23222"/>
  432. <action application="set" data="receiver_accid=170"/>
  433. <action application="set" data="did_id=55"/>
  434. <action application="set" data="transfer_call_type=4"/>
  435. <action application="set" data="transfer_extensions="/>
  436. <action application="set" data="busy_status=1"/>
  437. <action application="set" data="no_answer_status=1"/>
  438. <action application="set" data="always_status=1"/>
  439. <action application="set" data="transfer_status=1"/>
  440. <action application="set" data="variable_sip_to_host=${domain_name}"/>
  441. <action application="set" data="variable_sip_network_ip=103.240.35.46"/>
  442. <action application="set" data="variable_sip_network_port=32832"/>
  443. <action application="export" data="domain_name=alpha3.astppbilling.org"/>
  444. <action application="export" data="sip_to_host=alpha3.astppbilling.org"/>
  445. <action application="export" data="presence_data=x|||Yash(7870463271)|||^9120201.* // 9120201 // 0.00000|||||||||DID|||103.240.35.46"/>
  446. <action application="export" data="call_type=11"/>
  447. </condition>
  448. </extension>
  449. </context>
  450. </section>
  451. </document>
  452. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 parsing [default->Y Time condi test] continue=true
  453. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Absolute Condition [Y Time condi test]
  454. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Action set(timezone=Europe/Sarajevo) INLINE
  455. EXECUTE [depth=1] sofia/default/7870463271@alpha3.astppbilling.org:5076 set(timezone=Europe/Sarajevo)
  456. 2023-06-21 08:25:36.234285 84.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/7870463271@alpha3.astppbilling.org:5076 [timezone]=[Europe/Sarajevo]
  457. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Date/Time Match (PASS) [Y Time condi test] break=never
  458. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Action set(office_status=open) INLINE
  459. EXECUTE [depth=1] sofia/default/7870463271@alpha3.astppbilling.org:5076 set(office_status=open)
  460. 2023-06-21 08:25:36.234285 84.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/7870463271@alpha3.astppbilling.org:5076 [office_status]=[open]
  461. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Action set(extensions=2) INLINE
  462. EXECUTE [depth=1] sofia/default/7870463271@alpha3.astppbilling.org:5076 set(extensions=2)
  463. 2023-06-21 08:25:36.234285 84.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/7870463271@alpha3.astppbilling.org:5076 [extensions]=[2]
  464. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Action set(no_answer_did_number=9120201) INLINE
  465. EXECUTE [depth=1] sofia/default/7870463271@alpha3.astppbilling.org:5076 set(no_answer_did_number=9120201)
  466. 2023-06-21 08:25:36.234285 84.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/7870463271@alpha3.astppbilling.org:5076 [no_answer_did_number]=[9120201]
  467. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Action set(no_answer_call_type=9) INLINE
  468. EXECUTE [depth=1] sofia/default/7870463271@alpha3.astppbilling.org:5076 set(no_answer_call_type=9)
  469. 2023-06-21 08:25:36.234285 84.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/7870463271@alpha3.astppbilling.org:5076 [no_answer_call_type]=[9]
  470. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 parsing [default->tod route, x9120201] continue=false
  471. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Regex (FAIL) [tod route, x9120201] destination_number(9120201_open) =~ /^(\+?)?(9120201)$/ break=on-false
  472. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 parsing [default->office is open] continue=false
  473. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Regex (PASS) [office is open] destination_number(9120201_open) =~ /^(\+?)?(9120201_open)$/ break=on-false
  474. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Action set(domain_name=alpha3.astppbilling.org)
  475. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Action set(set_extensions=${extensions})
  476. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Action set(no_answer_flag=true)
  477. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Action set(no_answer_did_number=9120201) INLINE
  478. EXECUTE [depth=1] sofia/default/7870463271@alpha3.astppbilling.org:5076 set(no_answer_did_number=9120201)
  479. 2023-06-21 08:25:36.234285 84.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/7870463271@alpha3.astppbilling.org:5076 [no_answer_did_number]=[9120201]
  480. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Action set(no_answer_call_type=${no_answer_call_type})
  481. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Action set(no_answer_number=${extensions})
  482. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Action transfer(170 XML default)
  483. 2023-06-21 08:25:36.234285 84.70% [NOTICE] switch_core_session.c:3085 Execute [depth=1] set(domain_name=alpha3.astppbilling.org)
  484. EXECUTE [depth=1] sofia/default/7870463271@alpha3.astppbilling.org:5076 set(domain_name=alpha3.astppbilling.org)
  485. 2023-06-21 08:25:36.234285 84.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/7870463271@alpha3.astppbilling.org:5076 [domain_name]=[alpha3.astppbilling.org]
  486. 2023-06-21 08:25:36.234285 84.70% [NOTICE] switch_core_session.c:3085 Execute [depth=1] set(set_extensions=${extensions})
  487. EXECUTE [depth=1] sofia/default/7870463271@alpha3.astppbilling.org:5076 set(set_extensions=2)
  488. 2023-06-21 08:25:36.234285 84.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/7870463271@alpha3.astppbilling.org:5076 [set_extensions]=[2]
  489. 2023-06-21 08:25:36.234285 84.70% [NOTICE] switch_core_session.c:3085 Execute [depth=1] set(no_answer_flag=true)
  490. EXECUTE [depth=1] sofia/default/7870463271@alpha3.astppbilling.org:5076 set(no_answer_flag=true)
  491. 2023-06-21 08:25:36.234285 84.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/7870463271@alpha3.astppbilling.org:5076 [no_answer_flag]=[true]
  492. 2023-06-21 08:25:36.234285 84.70% [NOTICE] switch_core_session.c:3085 Execute [depth=1] set(no_answer_call_type=${no_answer_call_type})
  493. EXECUTE [depth=1] sofia/default/7870463271@alpha3.astppbilling.org:5076 set(no_answer_call_type=9)
  494. 2023-06-21 08:25:36.234285 84.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/7870463271@alpha3.astppbilling.org:5076 [no_answer_call_type]=[9]
  495. 2023-06-21 08:25:36.234285 84.70% [NOTICE] switch_core_session.c:3085 Execute [depth=1] set(no_answer_number=${extensions})
  496. EXECUTE [depth=1] sofia/default/7870463271@alpha3.astppbilling.org:5076 set(no_answer_number=2)
  497. 2023-06-21 08:25:36.234285 84.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/7870463271@alpha3.astppbilling.org:5076 [no_answer_number]=[2]
  498. 2023-06-21 08:25:36.234285 84.70% [NOTICE] switch_core_session.c:3085 Execute [depth=1] transfer(170 XML default)
  499. EXECUTE [depth=1] sofia/default/7870463271@alpha3.astppbilling.org:5076 transfer(170 XML default)
  500. 2023-06-21 08:25:36.234285 84.70% [DEBUG] switch_ivr.c:2288 (sofia/default/7870463271@alpha3.astppbilling.org:5076) State Change CS_EXECUTE -> CS_ROUTING
  501. 2023-06-21 08:25:36.234285 84.70% [NOTICE] switch_ivr.c:2295 Transfer sofia/default/7870463271@alpha3.astppbilling.org:5076 to XML[170@default]
  502. 2023-06-21 08:25:36.234285 84.70% [DEBUG] switch_core_state_machine.c:647 (sofia/default/7870463271@alpha3.astppbilling.org:5076) State EXECUTE going to sleep
  503. 2023-06-21 08:25:36.234285 84.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7870463271@alpha3.astppbilling.org:5076) Running State Change CS_ROUTING (Cur 1 Tot 13)
  504. 2023-06-21 08:25:36.234285 84.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/7870463271@alpha3.astppbilling.org:5076) State ROUTING
  505. 2023-06-21 08:25:36.234285 84.70% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
  506. 2023-06-21 08:25:36.234285 84.70% [DEBUG] mod_sofia.c:158 sofia/default/7870463271@alpha3.astppbilling.org:5076 SOFIA ROUTING
  507. 2023-06-21 08:25:36.234285 84.70% [DEBUG] switch_core_state_machine.c:230 sofia/default/7870463271@alpha3.astppbilling.org:5076 Standard ROUTING
  508. 2023-06-21 08:25:36.234285 84.70% [INFO] mod_dialplan_xml.c:639 Processing 7870463271 <7870463271>->170 in context default
  509. 2023-06-21 08:25:36.254282 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  510. 2023-06-21 08:25:36.254282 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  511. 2023-06-21 08:25:36.254282 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  512. 2023-06-21 08:25:36.254282 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  513. 2023-06-21 08:25:36.254282 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  514. 2023-06-21 08:25:36.254282 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 170
  515. 2023-06-21 08:25:36.254282 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '170' limit 1
  516. 2023-06-21 08:25:36.254282 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  517. 2023-06-21 08:25:36.254282 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '170' and status=0 LIMIT 1
  518. 2023-06-21 08:25:36.254282 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER7870463271
  519. 2023-06-21 08:25:36.254282 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  520. 2023-06-21 08:25:36.254282 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'alpha3.astppbilling.org' limit 1
  521. 2023-06-21 08:25:36.254282 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '170' and username = '170' limit 1
  522. 2023-06-21 08:25:36.254282 84.70% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  523. 2023-06-21 08:25:36.254282 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 7870463271 / 23222
  524. 2023-06-21 08:25:36.254282 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number
  525. 2023-06-21 08:25:36.254282 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 170 AND status=0 limit 1
  526. 2023-06-21 08:25:36.254282 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  527. 2023-06-21 08:25:36.254282 84.70% [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="170"  AND domains.domain="alpha3.astppbilling.org" limit 1
  528. 2023-06-21 08:25:36.254282 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  529. 2023-06-21 08:25:36.254282 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 7870463271]
  530. 2023-06-21 08:25:36.254282 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =170
  531. 2023-06-21 08:25:36.254282 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "7870463271" AND deleted = 0 limit 1
  532. 2023-06-21 08:25:36.274286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^170.*' OR blocked_patterns = '^17.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 170 limit 1
  533. 2023-06-21 08:25:36.274286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  534. 2023-06-21 08:25:36.274286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] ringgroup_no_answer_forward _ no_answer_did_number :9120201
  535. 2023-06-21 08:25:36.274286 84.70% [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 ="9120201" LIMIT 1
  536. 2023-06-21 08:25:36.274286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="9120201" LIMIT 1
  537. 2023-06-21 08:25:36.274286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  538. 2023-06-21 08:25:36.274286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] ringgroup_no_answer_forward _ accountid :170
  539. 2023-06-21 08:25:36.274286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "170" AND deleted = 0 limit 1
  540. 2023-06-21 08:25:36.274286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^170.*' OR blocked_patterns = '^17.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 170 limit 1
  541. 2023-06-21 08:25:36.274286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated RingGroup No Answer Forward :170
  542. 2023-06-21 08:25:36.274286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 170 limit 1
  543. 2023-06-21 08:25:36.274286 84.70% [WARNING] switch_cpp.cpp:1465 [ASTPP] [ringgroup_no_answer_forward] User Domainalpha3.astppbilling.org
  544. 2023-06-21 08:25:36.274286 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : 9
  545. 2023-06-21 08:25:36.274286 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : Queue
  546. 2023-06-21 08:25:36.274286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_Queue_INFO] Query :SELECT * from pbx_queue WHERE id = 2 and status=0 LIMIT 1
  547. 2023-06-21 08:25:36.274286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '6' LIMIT 1
  548. 2023-06-21 08:25:36.274286 84.70% [INFO] switch_cpp.cpp:1465 [ASTPP] music on hold recording name :- /var/www/html/astpp//upload/pbx/Greeting_210623035220.wav
  549. 2023-06-21 08:25:36.274286 84.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  550. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  551. <document type="freeswitch/xml">
  552. <section name="dialplan" description="ASTPP Dialplan">
  553. <context name="default">
  554. <extension name="170">
  555. <condition field="destination_number" expression="170">
  556. <action application="export" data="did_user_domain=alpha3.astppbilling.org"/>
  557. <action application="set" data="continue_on_fail=TRUE"/>
  558. <action application="set" data="ignore_early_media=true"/>
  559. <action application="set" data="no_answer_flag=false"/>
  560. <action application="set" data="did_calltype=9"/>
  561. <action application="set" data="did_extensions=2"/>
  562. <action application="set" data="daily_call_credit_limit=0.00000"/>
  563. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  564. <action application="set" data="daily_call_used_limit=0.00000"/>
  565. <action application="set" data="monthly_call_used_limit=0.00000"/>
  566. <action application="set" data="fifo_music="/>
  567.     <action application="set" data="fifo_music=$${hold_music}"/>
  568. <action application="set" data="module_name=pbx"/>
  569. <action application="bridge_export" data="hold_music=/var/www/html/astpp//upload/pbx/Greeting_210623035220.wav"/>
  570.     <action application="answer"/>
  571.     <action application="fifo" data="myqueue_2 in"/>
  572. </condition>
  573. </extension>
  574. </context>
  575. </section>
  576. </document>
  577. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 parsing [default->170] continue=false
  578. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Regex (PASS) [170] destination_number(170) =~ /170/ break=on-false
  579. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Action export(did_user_domain=alpha3.astppbilling.org)
  580. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Action set(continue_on_fail=TRUE)
  581. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Action set(ignore_early_media=true)
  582. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Action set(no_answer_flag=false)
  583. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Action set(did_calltype=9)
  584. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Action set(did_extensions=2)
  585. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Action set(daily_call_credit_limit=0.00000)
  586. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Action set(monthly_call_credit_limit=0.00000)
  587. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Action set(daily_call_used_limit=0.00000)
  588. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Action set(monthly_call_used_limit=0.00000)
  589. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Action set(fifo_music=)
  590. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Action set(fifo_music=$${hold_music})
  591. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Action set(module_name=pbx)
  592. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Action bridge_export(hold_music=/var/www/html/astpp//upload/pbx/Greeting_210623035220.wav)
  593. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Action answer()
  594. Dialplan: sofia/default/7870463271@alpha3.astppbilling.org:5076 Action fifo(myqueue_2 in)
  595. 2023-06-21 08:25:36.274286 84.70% [DEBUG] switch_core_state_machine.c:281 (sofia/default/7870463271@alpha3.astppbilling.org:5076) State Change CS_ROUTING -> CS_EXECUTE
  596. 2023-06-21 08:25:36.274286 84.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/7870463271@alpha3.astppbilling.org:5076) State ROUTING going to sleep
  597. 2023-06-21 08:25:36.274286 84.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7870463271@alpha3.astppbilling.org:5076) Running State Change CS_EXECUTE (Cur 1 Tot 13)
  598. 2023-06-21 08:25:36.274286 84.70% [DEBUG] switch_core_state_machine.c:647 (sofia/default/7870463271@alpha3.astppbilling.org:5076) State EXECUTE
  599. 2023-06-21 08:25:36.274286 84.70% [DEBUG] mod_sofia.c:213 sofia/default/7870463271@alpha3.astppbilling.org:5076 SOFIA EXECUTE
  600. 2023-06-21 08:25:36.274286 84.70% [DEBUG] switch_core_state_machine.c:323 sofia/default/7870463271@alpha3.astppbilling.org:5076 Standard EXECUTE
  601. EXECUTE [depth=0] sofia/default/7870463271@alpha3.astppbilling.org:5076 export(did_user_domain=alpha3.astppbilling.org)
  602. 2023-06-21 08:25:36.274286 84.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [did_user_domain]=[alpha3.astppbilling.org]
  603. EXECUTE [depth=0] sofia/default/7870463271@alpha3.astppbilling.org:5076 set(continue_on_fail=TRUE)
  604. 2023-06-21 08:25:36.274286 84.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/7870463271@alpha3.astppbilling.org:5076 [continue_on_fail]=[TRUE]
  605. EXECUTE [depth=0] sofia/default/7870463271@alpha3.astppbilling.org:5076 set(ignore_early_media=true)
  606. 2023-06-21 08:25:36.274286 84.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/7870463271@alpha3.astppbilling.org:5076 [ignore_early_media]=[true]
  607. EXECUTE [depth=0] sofia/default/7870463271@alpha3.astppbilling.org:5076 set(no_answer_flag=false)
  608. 2023-06-21 08:25:36.274286 84.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/7870463271@alpha3.astppbilling.org:5076 [no_answer_flag]=[false]
  609. EXECUTE [depth=0] sofia/default/7870463271@alpha3.astppbilling.org:5076 set(did_calltype=9)
  610. 2023-06-21 08:25:36.274286 84.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/7870463271@alpha3.astppbilling.org:5076 [did_calltype]=[9]
  611. EXECUTE [depth=0] sofia/default/7870463271@alpha3.astppbilling.org:5076 set(did_extensions=2)
  612. 2023-06-21 08:25:36.274286 84.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/7870463271@alpha3.astppbilling.org:5076 [did_extensions]=[2]
  613. EXECUTE [depth=0] sofia/default/7870463271@alpha3.astppbilling.org:5076 set(daily_call_credit_limit=0.00000)
  614. 2023-06-21 08:25:36.274286 84.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/7870463271@alpha3.astppbilling.org:5076 [daily_call_credit_limit]=[0.00000]
  615. EXECUTE [depth=0] sofia/default/7870463271@alpha3.astppbilling.org:5076 set(monthly_call_credit_limit=0.00000)
  616. 2023-06-21 08:25:36.274286 84.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/7870463271@alpha3.astppbilling.org:5076 [monthly_call_credit_limit]=[0.00000]
  617. EXECUTE [depth=0] sofia/default/7870463271@alpha3.astppbilling.org:5076 set(daily_call_used_limit=0.00000)
  618. 2023-06-21 08:25:36.274286 84.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/7870463271@alpha3.astppbilling.org:5076 [daily_call_used_limit]=[0.00000]
  619. EXECUTE [depth=0] sofia/default/7870463271@alpha3.astppbilling.org:5076 set(monthly_call_used_limit=0.00000)
  620. 2023-06-21 08:25:36.274286 84.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/7870463271@alpha3.astppbilling.org:5076 [monthly_call_used_limit]=[0.00000]
  621. EXECUTE [depth=0] sofia/default/7870463271@alpha3.astppbilling.org:5076 set(fifo_music=)
  622. 2023-06-21 08:25:36.274286 84.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/7870463271@alpha3.astppbilling.org:5076 [fifo_music]=[UNDEF]
  623. EXECUTE [depth=0] sofia/default/7870463271@alpha3.astppbilling.org:5076 set(fifo_music=local_stream://moh)
  624. 2023-06-21 08:25:36.274286 84.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/7870463271@alpha3.astppbilling.org:5076 [fifo_music]=[local_stream://moh]
  625. EXECUTE [depth=0] sofia/default/7870463271@alpha3.astppbilling.org:5076 set(module_name=pbx)
  626. 2023-06-21 08:25:36.274286 84.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/7870463271@alpha3.astppbilling.org:5076 [module_name]=[pbx]
  627. EXECUTE [depth=0] sofia/default/7870463271@alpha3.astppbilling.org:5076 bridge_export(hold_music=/var/www/html/astpp//upload/pbx/Greeting_210623035220.wav)
  628. 2023-06-21 08:25:36.274286 84.70% [DEBUG] switch_channel.c:1315 EXPORT (bridge_export_vars) [hold_music]=[/var/www/html/astpp//upload/pbx/Greeting_210623035220.wav]
  629. EXECUTE [depth=0] sofia/default/7870463271@alpha3.astppbilling.org:5076 answer()
  630. 2023-06-21 08:25:36.274286 84.70% [DEBUG] switch_core_media.c:8651 AUDIO RTP [sofia/default/7870463271@alpha3.astppbilling.org:5076] 95.217.238.195 port 30934 -> 103.240.35.46 port 8000 codec: 8 ms: 20
  631. 2023-06-21 08:25:36.274286 84.70% [DEBUG] switch_rtp.c:4377 Starting timer [soft] 160 bytes per 20ms
  632. 2023-06-21 08:25:36.274286 84.70% [DEBUG] switch_core_media.c:8963 sofia/default/7870463271@alpha3.astppbilling.org:5076 Set 2833 dtmf send payload to 101
  633. 2023-06-21 08:25:36.274286 84.70% [DEBUG] switch_core_media.c:8970 sofia/default/7870463271@alpha3.astppbilling.org:5076 Set 2833 dtmf receive payload to 101
  634. 2023-06-21 08:25:36.274286 84.70% [DEBUG] switch_core_media.c:8993 sofia/default/7870463271@alpha3.astppbilling.org:5076 Set rtp dtmf delay to 40
  635. 2023-06-21 08:25:36.274286 84.70% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/7870463271@alpha3.astppbilling.org:5076:
  636. v=0
  637. o=FreeSWITCH 1687305002 1687305003 IN IP4 95.217.238.195
  638. s=FreeSWITCH
  639. c=IN IP4 95.217.238.195
  640. t=0 0
  641. m=audio 30934 RTP/AVP 8 101
  642. a=rtpmap:8 PCMA/8000
  643. a=rtpmap:101 telephone-event/8000
  644. a=fmtp:101 0-15
  645. a=ptime:20
  646. a=sendrecv
  647.  
  648. 2023-06-21 08:25:36.274286 84.70% [NOTICE] mod_dptools.c:1408 Channel [sofia/default/7870463271@alpha3.astppbilling.org:5076] has been answered
  649. 2023-06-21 08:25:36.274286 84.70% [DEBUG] switch_channel.c:3893 (sofia/default/7870463271@alpha3.astppbilling.org:5076) Callstate Change RINGING -> ACTIVE
  650. 2023-06-21 08:25:36.274286 84.70% [DEBUG] sofia.c:7487 Channel sofia/default/7870463271@alpha3.astppbilling.org:5076 entering state [completed][200]
  651. EXECUTE [depth=0] sofia/default/7870463271@alpha3.astppbilling.org:5076 fifo(myqueue_2 in)
  652. 2023-06-21 08:25:36.294282 84.70% [DEBUG] mod_local_stream.c:912 Opening Stream [moh/8000] 8000hz
  653. 2023-06-21 08:25:36.294282 84.70% [DEBUG] switch_ivr_play_say.c:1566 Codec Activated L16@8000hz 1 channels 20ms
  654. 2023-06-21 08:25:36.574304 84.70% [DEBUG] sofia.c:7487 Channel sofia/default/7870463271@alpha3.astppbilling.org:5076 entering state [ready][200]
  655. 2023-06-21 08:25:36.614286 84.70% [DEBUG] switch_rtp.c:7511 Correct audio ip/port confirmed.
  656. 2023-06-21 08:25:48.994314 93.60% [WARNING] sofia_reg.c:1846 SIP auth challenge (REGISTER) on sofia profile 'default' for [2271920202@alpha.astppbilling.org] from ip 157.32.125.19
  657. 2023-06-21 08:25:49.294309 93.57% [WARNING] sofia_reg.c:3211 Can't find user [2271920202@alpha.astppbilling.org] from 157.32.125.19
  658. You must define a domain called 'alpha.astppbilling.org' in your directory and add a user with the id="2271920202" attribute
  659. and you must configure your device to use the proper domain in its authentication credentials.
  660. 2023-06-21 08:25:49.294309 93.57% [WARNING] sofia_reg.c:1791 SIP auth failure (REGISTER) on sofia profile 'default' for [2271920202@alpha.astppbilling.org] from ip 157.32.125.19
  661. 2023-06-21 08:26:17.434283 63.33% [WARNING] sofia_reg.c:1846 SIP auth challenge (REGISTER) on sofia profile 'default' for [41002@alpha3.astppbilling.org] from ip 185.117.83.208
  662. 2023-06-21 08:26:18.954304 61.70% [WARNING] sofia_reg.c:1846 SIP auth challenge (REGISTER) on sofia profile 'default' for [41002@alpha3.astppbilling.org] from ip 185.117.83.208
  663. 2023-06-21 08:26:20.774285 58.37% [NOTICE] switch_channel.c:1123 New Channel sofia/default/41002@alpha3.astppbilling.org:5076 [bc5327ab-ac87-4ad8-b390-4898058a424b]
  664. 2023-06-21 08:26:20.774285 58.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/41002@alpha3.astppbilling.org:5076) Running State Change CS_NEW (Cur 2 Tot 14)
  665. 2023-06-21 08:26:20.774285 58.37% [INFO] sofia.c:10453 sofia/default/41002@alpha3.astppbilling.org:5076 receiving invite from 185.117.83.208:35080 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: a048J5m7hnR-8SNHc6mIuw..
  666. 2023-06-21 08:26:20.774285 58.37% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 185.117.83.208:0.
  667. 2023-06-21 08:26:20.774285 58.37% [WARNING] sofia_reg.c:1846 SIP auth challenge (INVITE) on sofia profile 'default' for [91300144@alpha3.astppbilling.org] from ip 185.117.83.208
  668. 2023-06-21 08:26:20.774285 58.37% [DEBUG] switch_core_state_machine.c:600 (sofia/default/41002@alpha3.astppbilling.org:5076) State NEW
  669. 2023-06-21 08:26:20.774285 58.37% [DEBUG] sofia.c:2419 detaching session bc5327ab-ac87-4ad8-b390-4898058a424b
  670. 2023-06-21 08:26:21.214287 56.77% [DEBUG] sofia.c:2532 Re-attaching to session bc5327ab-ac87-4ad8-b390-4898058a424b
  671. 2023-06-21 08:26:21.214287 56.77% [INFO] sofia.c:10453 sofia/default/41002@alpha3.astppbilling.org:5076 receiving invite from 185.117.83.208:35080 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: a048J5m7hnR-8SNHc6mIuw..
  672. 2023-06-21 08:26:21.214287 56.77% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 185.117.83.208:0.
  673. 2023-06-21 08:26:21.234296 56.77% [DEBUG] sofia.c:7487 Channel sofia/default/41002@alpha3.astppbilling.org:5076 entering state [received][100]
  674. 2023-06-21 08:26:21.234296 56.77% [DEBUG] sofia.c:7497 Remote SDP:
  675. v=0
  676. o=Zoiper 0 1216638701 IN IP4 10.153.246.64
  677. s=Zoiper
  678. c=IN IP4 10.153.246.64
  679. t=0 0
  680. m=audio 47734 RTP/AVP 106 9 98 101 0 8 3
  681. a=rtpmap:106 opus/48000/2
  682. a=fmtp:106 sprop-maxcapturerate=16000; minptime=20; useinbandfec=1
  683. a=rtpmap:98 telephone-event/48000
  684. a=fmtp:98 0-16
  685. a=rtpmap:101 telephone-event/8000
  686. a=fmtp:101 0-16
  687. a=rtcp-mux
  688. a=ptime:20
  689. a=direction:both
  690.  
  691. 2023-06-21 08:26:21.234296 56.77% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [opus:106:48000:20:0:2]/[PCMU:0:8000:20:64000:1]
  692. 2023-06-21 08:26:21.234296 56.77% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [opus:106:48000:20:0:2]/[PCMA:8:8000:20:64000:1]
  693. 2023-06-21 08:26:21.234296 56.77% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [opus:106:48000:20:0:2]/[G729:18:8000:20:8000:1]
  694. 2023-06-21 08:26:21.234296 56.77% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  695. 2023-06-21 08:26:21.234296 56.77% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  696. 2023-06-21 08:26:21.234296 56.77% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  697. 2023-06-21 08:26:21.234296 56.77% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 98@48000
  698. 2023-06-21 08:26:21.234296 56.77% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  699. 2023-06-21 08:26:21.234296 56.77% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  700. 2023-06-21 08:26:21.234296 56.77% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  701. 2023-06-21 08:26:21.234296 56.77% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  702. 2023-06-21 08:26:21.234296 56.77% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  703. 2023-06-21 08:26:21.234296 56.77% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  704. 2023-06-21 08:26:21.234296 56.77% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  705. 2023-06-21 08:26:21.234296 56.77% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  706. 2023-06-21 08:26:21.234296 56.77% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  707. 2023-06-21 08:26:21.234296 56.77% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  708. 2023-06-21 08:26:21.234296 56.77% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G729:18:8000:20:8000:1]
  709. 2023-06-21 08:26:21.234296 56.77% [DEBUG] switch_core_media.c:3750 Set Codec sofia/default/41002@alpha3.astppbilling.org:5076 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  710. 2023-06-21 08:26:21.234296 56.77% [DEBUG] switch_core_codec.c:111 sofia/default/41002@alpha3.astppbilling.org:5076 Original read codec set to PCMU:0
  711. 2023-06-21 08:26:21.234296 56.77% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000
  712. 2023-06-21 08:26:21.234296 56.77% [DEBUG] switch_core_media.c:5850 sofia/default/41002@alpha3.astppbilling.org:5076 Set 2833 dtmf send payload to 101 recv payload to 101
  713. 2023-06-21 08:26:21.234296 56.77% [DEBUG] sofia.c:7921 (sofia/default/41002@alpha3.astppbilling.org:5076) State Change CS_NEW -> CS_INIT
  714. 2023-06-21 08:26:21.234296 56.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/41002@alpha3.astppbilling.org:5076) Running State Change CS_INIT (Cur 2 Tot 14)
  715. 2023-06-21 08:26:21.234296 56.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/41002@alpha3.astppbilling.org:5076) State INIT
  716. 2023-06-21 08:26:21.234296 56.77% [DEBUG] mod_sofia.c:97 sofia/default/41002@alpha3.astppbilling.org:5076 SOFIA INIT
  717. 2023-06-21 08:26:21.234296 56.77% [DEBUG] switch_core_state_machine.c:40 sofia/default/41002@alpha3.astppbilling.org:5076 Standard INIT
  718. 2023-06-21 08:26:21.234296 56.77% [DEBUG] switch_core_state_machine.c:48 (sofia/default/41002@alpha3.astppbilling.org:5076) State Change CS_INIT -> CS_ROUTING
  719. 2023-06-21 08:26:21.234296 56.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/41002@alpha3.astppbilling.org:5076) State INIT going to sleep
  720. 2023-06-21 08:26:21.234296 56.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/41002@alpha3.astppbilling.org:5076) Running State Change CS_ROUTING (Cur 2 Tot 14)
  721. 2023-06-21 08:26:21.234296 56.77% [DEBUG] switch_channel.c:2380 (sofia/default/41002@alpha3.astppbilling.org:5076) Callstate Change DOWN -> RINGING
  722. 2023-06-21 08:26:21.234296 56.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/41002@alpha3.astppbilling.org:5076) State ROUTING
  723. 2023-06-21 08:26:21.234296 56.77% [DEBUG] mod_sofia.c:158 sofia/default/41002@alpha3.astppbilling.org:5076 SOFIA ROUTING
  724. 2023-06-21 08:26:21.234296 56.77% [DEBUG] switch_core_state_machine.c:230 sofia/default/41002@alpha3.astppbilling.org:5076 Standard ROUTING
  725. 2023-06-21 08:26:21.234296 56.77% [INFO] mod_dialplan_xml.c:639 Processing 41002 <41002>->91300144 in context default
  726. 2023-06-21 08:26:21.254284 56.77% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  727. 2023-06-21 08:26:21.254284 56.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  728. 2023-06-21 08:26:21.254284 56.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  729. 2023-06-21 08:26:21.254284 56.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  730. 2023-06-21 08:26:21.254284 56.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  731. 2023-06-21 08:26:21.254284 56.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 91300144
  732. 2023-06-21 08:26:21.254284 56.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '91300144' limit 1
  733. 2023-06-21 08:26:21.254284 56.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  734. 2023-06-21 08:26:21.254284 56.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '91300144' and status=0 LIMIT 1
  735. 2023-06-21 08:26:21.254284 56.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] queue_destination_number,agent_hold_file : 91300144
  736. 2023-06-21 08:26:21.254284 56.77% [WARNING] switch_cpp.cpp:1465 [ASTPP] Fifo Agent Flag1
  737. 2023-06-21 08:26:21.254284 56.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Queue Destination Number : 91300144
  738. 2023-06-21 08:26:21.254284 56.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '' LIMIT 1
  739. 2023-06-21 08:26:21.254284 56.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  740. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  741. <document type="freeswitch/xml">
  742. <section name="dialplan" description="ASTPP Dialplan">
  743. <context name="default">
  744. <extension name="91300144">
  745. <condition field="destination_number" expression="91300144">
  746. <action application="export" data="did_user_domain=alpha3.astppbilling.org"/>
  747. <action application="set" data="fifo_music="/>
  748. <action application="set" data="fifo_music=$${hold_music}"/>
  749.     <action application="answer"/>
  750.     <action application="fifo" data="myqueue_2 out wait"/>
  751. </condition>
  752. </extension>
  753. </context>
  754. </section>
  755. </document>
  756. Dialplan: sofia/default/41002@alpha3.astppbilling.org:5076 parsing [default->91300144] continue=false
  757. Dialplan: sofia/default/41002@alpha3.astppbilling.org:5076 Regex (PASS) [91300144] destination_number(91300144) =~ /91300144/ break=on-false
  758. Dialplan: sofia/default/41002@alpha3.astppbilling.org:5076 Action export(did_user_domain=alpha3.astppbilling.org)
  759. Dialplan: sofia/default/41002@alpha3.astppbilling.org:5076 Action set(fifo_music=)
  760. Dialplan: sofia/default/41002@alpha3.astppbilling.org:5076 Action set(fifo_music=$${hold_music})
  761. Dialplan: sofia/default/41002@alpha3.astppbilling.org:5076 Action answer()
  762. Dialplan: sofia/default/41002@alpha3.astppbilling.org:5076 Action fifo(myqueue_2 out wait)
  763. 2023-06-21 08:26:21.254284 56.77% [DEBUG] switch_core_state_machine.c:281 (sofia/default/41002@alpha3.astppbilling.org:5076) State Change CS_ROUTING -> CS_EXECUTE
  764. 2023-06-21 08:26:21.254284 56.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/41002@alpha3.astppbilling.org:5076) State ROUTING going to sleep
  765. 2023-06-21 08:26:21.254284 56.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/41002@alpha3.astppbilling.org:5076) Running State Change CS_EXECUTE (Cur 2 Tot 14)
  766. 2023-06-21 08:26:21.254284 56.77% [DEBUG] switch_core_state_machine.c:647 (sofia/default/41002@alpha3.astppbilling.org:5076) State EXECUTE
  767. 2023-06-21 08:26:21.254284 56.77% [DEBUG] mod_sofia.c:213 sofia/default/41002@alpha3.astppbilling.org:5076 SOFIA EXECUTE
  768. 2023-06-21 08:26:21.254284 56.77% [DEBUG] switch_core_state_machine.c:323 sofia/default/41002@alpha3.astppbilling.org:5076 Standard EXECUTE
  769. EXECUTE [depth=0] sofia/default/41002@alpha3.astppbilling.org:5076 export(did_user_domain=alpha3.astppbilling.org)
  770. 2023-06-21 08:26:21.254284 56.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [did_user_domain]=[alpha3.astppbilling.org]
  771. EXECUTE [depth=0] sofia/default/41002@alpha3.astppbilling.org:5076 set(fifo_music=)
  772. 2023-06-21 08:26:21.254284 56.77% [DEBUG] mod_dptools.c:1673 SET sofia/default/41002@alpha3.astppbilling.org:5076 [fifo_music]=[UNDEF]
  773. EXECUTE [depth=0] sofia/default/41002@alpha3.astppbilling.org:5076 set(fifo_music=local_stream://moh)
  774. 2023-06-21 08:26:21.254284 56.77% [DEBUG] mod_dptools.c:1673 SET sofia/default/41002@alpha3.astppbilling.org:5076 [fifo_music]=[local_stream://moh]
  775. EXECUTE [depth=0] sofia/default/41002@alpha3.astppbilling.org:5076 answer()
  776. 2023-06-21 08:26:21.254284 56.77% [DEBUG] switch_core_media.c:8651 AUDIO RTP [sofia/default/41002@alpha3.astppbilling.org:5076] 95.217.238.195 port 26546 -> 10.153.246.64 port 47734 codec: 0 ms: 20
  777. 2023-06-21 08:26:21.254284 56.77% [DEBUG] switch_rtp.c:4377 Starting timer [soft] 160 bytes per 20ms
  778. 2023-06-21 08:26:21.254284 56.77% [DEBUG] switch_core_media.c:8871 Activating RTCP PORT 47734
  779. 2023-06-21 08:26:21.254284 56.77% [DEBUG] switch_rtp.c:4708 RTCP send rate is: 1000 and packet rate is: 20000 Remote Port: 47734
  780. 2023-06-21 08:26:21.254284 56.77% [DEBUG] switch_core_media.c:8963 sofia/default/41002@alpha3.astppbilling.org:5076 Set 2833 dtmf send payload to 101
  781. 2023-06-21 08:26:21.254284 56.77% [DEBUG] switch_core_media.c:8970 sofia/default/41002@alpha3.astppbilling.org:5076 Set 2833 dtmf receive payload to 101
  782. 2023-06-21 08:26:21.254284 56.77% [DEBUG] switch_core_media.c:8993 sofia/default/41002@alpha3.astppbilling.org:5076 Set rtp dtmf delay to 40
  783. 2023-06-21 08:26:21.254284 56.77% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/41002@alpha3.astppbilling.org:5076:
  784. v=0
  785. o=FreeSWITCH 1687309435 1687309436 IN IP4 95.217.238.195
  786. s=FreeSWITCH
  787. c=IN IP4 95.217.238.195
  788. t=0 0
  789. m=audio 26546 RTP/AVP 0 101
  790. a=rtpmap:0 PCMU/8000
  791. a=rtpmap:101 telephone-event/8000
  792. a=fmtp:101 0-15
  793. a=ptime:20
  794. a=sendrecv
  795. a=rtcp-mux
  796. a=rtcp:26546 IN IP4 95.217.238.195
  797.  
  798. 2023-06-21 08:26:21.254284 56.77% [NOTICE] mod_dptools.c:1408 Channel [sofia/default/41002@alpha3.astppbilling.org:5076] has been answered
  799. 2023-06-21 08:26:21.254284 56.77% [DEBUG] switch_channel.c:3893 (sofia/default/41002@alpha3.astppbilling.org:5076) Callstate Change RINGING -> ACTIVE
  800. 2023-06-21 08:26:21.254284 56.77% [DEBUG] sofia.c:7487 Channel sofia/default/41002@alpha3.astppbilling.org:5076 entering state [completed][200]
  801. EXECUTE [depth=0] sofia/default/41002@alpha3.astppbilling.org:5076 fifo(myqueue_2 out wait)
  802. 2023-06-21 08:26:21.254284 56.77% [DEBUG] mod_local_stream.c:912 Opening Stream [moh/8000] 8000hz
  803. 2023-06-21 08:26:21.254284 56.77% [DEBUG] switch_ivr_play_say.c:1566 Codec Activated L16@8000hz 1 channels 20ms
  804. 2023-06-21 08:26:21.274281 56.77% [DEBUG] switch_ivr_play_say.c:2015 done playing file local_stream://moh
  805. 2023-06-21 08:26:21.274281 56.77% [DEBUG] switch_ivr_play_say.c:2015 done playing file local_stream://moh
  806. 2023-06-21 08:26:21.274281 56.77% [DEBUG] mod_fifo.c:2857 (sofia/default/7870463271@alpha3.astppbilling.org:5076) State Change CS_EXECUTE -> CS_HIBERNATE
  807. 2023-06-21 08:26:21.274281 56.77% [DEBUG] switch_core_state_machine.c:647 (sofia/default/7870463271@alpha3.astppbilling.org:5076) State EXECUTE going to sleep
  808. 2023-06-21 08:26:21.274281 56.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7870463271@alpha3.astppbilling.org:5076) Running State Change CS_HIBERNATE (Cur 2 Tot 14)
  809. 2023-06-21 08:26:21.274281 56.77% [DEBUG] switch_core_state_machine.c:662 (sofia/default/7870463271@alpha3.astppbilling.org:5076) State HIBERNATE
  810. 2023-06-21 08:26:21.274281 56.77% [DEBUG] mod_sofia.c:195 sofia/default/7870463271@alpha3.astppbilling.org:5076 SOFIA HIBERNATE
  811. 2023-06-21 08:26:21.274281 56.77% [DEBUG] switch_core_state_machine.c:417 sofia/default/7870463271@alpha3.astppbilling.org:5076 Standard HIBERNATE
  812. 2023-06-21 08:26:21.274281 56.77% [DEBUG] switch_core_state_machine.c:662 (sofia/default/7870463271@alpha3.astppbilling.org:5076) State HIBERNATE going to sleep
  813. 2023-06-21 08:26:21.294281 56.77% [DEBUG] switch_channel.c:1276 sofia/default/7870463271@alpha3.astppbilling.org:5076 EXPORTING[bridge_export_vars] [hold_music]=[/var/www/html/astpp//upload/pbx/Greeting_210623035220.wav] to sofia/default/41002@alpha3.astppbilling.org:5076
  814. 2023-06-21 08:26:21.294281 56.77% [DEBUG] switch_channel.c:1276 sofia/default/41002@alpha3.astppbilling.org:5076 EXPORTING[bridge_export_vars] [hold_music]=[/var/www/html/astpp//upload/pbx/Greeting_210623035220.wav] to sofia/default/7870463271@alpha3.astppbilling.org:5076
  815. 2023-06-21 08:26:21.294281 56.77% [DEBUG] switch_ivr_bridge.c:1681 (sofia/default/7870463271@alpha3.astppbilling.org:5076) State Change CS_HIBERNATE -> CS_CONSUME_MEDIA
  816. 2023-06-21 08:26:21.294281 56.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7870463271@alpha3.astppbilling.org:5076) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 14)
  817. 2023-06-21 08:26:21.294281 56.77% [DEBUG] switch_core_state_machine.c:659 (sofia/default/7870463271@alpha3.astppbilling.org:5076) State CONSUME_MEDIA
  818. 2023-06-21 08:26:21.294281 56.77% [DEBUG] switch_ivr_bridge.c:1056 sofia/default/7870463271@alpha3.astppbilling.org:5076 CUSTOM HOLD
  819. 2023-06-21 08:26:21.294281 56.77% [DEBUG] switch_ivr_bridge.c:1791 (sofia/default/7870463271@alpha3.astppbilling.org:5076) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  820. 2023-06-21 08:26:21.294281 56.77% [DEBUG] switch_core_state_machine.c:659 (sofia/default/7870463271@alpha3.astppbilling.org:5076) State CONSUME_MEDIA going to sleep
  821. 2023-06-21 08:26:21.294281 56.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7870463271@alpha3.astppbilling.org:5076) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 14)
  822. 2023-06-21 08:26:21.294281 56.77% [DEBUG] switch_core_state_machine.c:650 (sofia/default/7870463271@alpha3.astppbilling.org:5076) State EXCHANGE_MEDIA
  823. 2023-06-21 08:26:21.294281 56.77% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  824. 2023-06-21 08:26:21.674290 56.77% [DEBUG] sofia.c:7487 Channel sofia/default/41002@alpha3.astppbilling.org:5076 entering state [ready][200]
  825. 2023-06-21 08:26:21.774287 56.77% [WARNING] sofia_reg.c:1846 SIP auth challenge (REGISTER) on sofia profile 'default' for [2271920202@alpha.astppbilling.org] from ip 157.32.125.19
  826. 2023-06-21 08:26:22.134282 55.03% [DEBUG] switch_rtp.c:1775 rtcp_stats_init: audio ssrc[3029823461] base_seq[18444]
  827. 2023-06-21 08:26:22.174296 55.03% [WARNING] sofia_reg.c:3211 Can't find user [2271920202@alpha.astppbilling.org] from 157.32.125.19
  828. You must define a domain called 'alpha.astppbilling.org' in your directory and add a user with the id="2271920202" attribute
  829. and you must configure your device to use the proper domain in its authentication credentials.
  830. 2023-06-21 08:26:22.174296 55.03% [WARNING] sofia_reg.c:1791 SIP auth failure (REGISTER) on sofia profile 'default' for [2271920202@alpha.astppbilling.org] from ip 157.32.125.19
  831. 2023-06-21 08:26:22.174296 55.03% [WARNING] sofia_reg.c:1846 SIP auth challenge (REGISTER) on sofia profile 'default' for [41002@alpha3.astppbilling.org] from ip 185.117.83.208
  832. 2023-06-21 08:26:22.374285 55.03% [INFO] switch_rtp.c:7471 Auto Changing audio port from 10.153.246.64:47734 to 117.228.45.182:45495
  833. 2023-06-21 08:26:34.454285 40.40% [WARNING] sofia_reg.c:1846 SIP auth challenge (REGISTER) on sofia profile 'default' for [41002@alpha3.astppbilling.org] from ip 185.117.83.208
  834. 2023-06-21 08:26:36.274293 40.17% [DEBUG] sofia.c:7487 Channel sofia/default/41002@alpha3.astppbilling.org:5076 entering state [received][100]
  835. 2023-06-21 08:26:36.274293 40.17% [DEBUG] sofia.c:7497 Remote SDP:
  836. v=0
  837. o=Zoiper 0 1216638703 IN IP4 10.153.246.64
  838. s=Zoiper
  839. c=IN IP4 10.153.246.64
  840. t=0 0
  841. m=audio 47734 RTP/AVP 0 106 9 8 3 101 98
  842. a=rtpmap:106 opus/48000/2
  843. a=fmtp:106 sprop-maxcapturerate=16000; minptime=20; useinbandfec=1
  844. a=rtpmap:101 telephone-event/8000
  845. a=fmtp:101 0-16
  846. a=rtpmap:98 telephone-event/48000
  847. a=fmtp:98 0-16
  848. a=rtcp-mux
  849. a=ptime:20
  850. a=direction:both
  851.  
  852. 2023-06-21 08:26:36.274293 40.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  853. 2023-06-21 08:26:36.274293 40.17% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  854. 2023-06-21 08:26:36.274293 40.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  855. 2023-06-21 08:26:36.274293 40.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  856. 2023-06-21 08:26:36.274293 40.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [opus:106:48000:20:0:2]/[PCMU:0:8000:20:64000:1]
  857. 2023-06-21 08:26:36.274293 40.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [opus:106:48000:20:0:2]/[PCMA:8:8000:20:64000:1]
  858. 2023-06-21 08:26:36.274293 40.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [opus:106:48000:20:0:2]/[G729:18:8000:20:8000:1]
  859. 2023-06-21 08:26:36.274293 40.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  860. 2023-06-21 08:26:36.274293 40.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  861. 2023-06-21 08:26:36.274293 40.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  862. 2023-06-21 08:26:36.274293 40.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  863. 2023-06-21 08:26:36.274293 40.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  864. 2023-06-21 08:26:36.274293 40.17% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  865. 2023-06-21 08:26:36.274293 40.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  866. 2023-06-21 08:26:36.274293 40.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  867. 2023-06-21 08:26:36.274293 40.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  868. 2023-06-21 08:26:36.274293 40.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G729:18:8000:20:8000:1]
  869. 2023-06-21 08:26:36.274293 40.17% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000
  870. 2023-06-21 08:26:36.274293 40.17% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000
  871. 2023-06-21 08:26:36.274293 40.17% [DEBUG] switch_core_media.c:5850 sofia/default/41002@alpha3.astppbilling.org:5076 Set 2833 dtmf send payload to 101 recv payload to 101
  872. 2023-06-21 08:26:36.274293 40.17% [DEBUG] switch_core_media.c:8633 Audio params are unchanged for sofia/default/41002@alpha3.astppbilling.org:5076.
  873. 2023-06-21 08:26:36.274293 40.17% [DEBUG] sofia.c:8442 Processing updated SDP
  874. 2023-06-21 08:26:36.294292 40.17% [DEBUG] sofia.c:7487 Channel sofia/default/41002@alpha3.astppbilling.org:5076 entering state [completed][200]
  875. 2023-06-21 08:26:36.574295 40.17% [DEBUG] sofia.c:7487 Channel sofia/default/41002@alpha3.astppbilling.org:5076 entering state [ready][200]
  876. 2023-06-21 08:26:43.194293 41.20% [NOTICE] sofia.c:1065 Hangup sofia/default/41002@alpha3.astppbilling.org:5076 [CS_EXECUTE] [NORMAL_CLEARING]
  877. 2023-06-21 08:26:43.194293 41.20% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/41002@alpha3.astppbilling.org:5076]
  878. 2023-06-21 08:26:43.194293 41.20% [DEBUG] switch_ivr_bridge.c:819 sofia/default/41002@alpha3.astppbilling.org:5076 ending bridge by request from write function
  879. 2023-06-21 08:26:43.194293 41.20% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/7870463271@alpha3.astppbilling.org:5076]
  880. 2023-06-21 08:26:43.194293 41.20% [NOTICE] switch_ivr_bridge.c:1027 Hangup sofia/default/7870463271@alpha3.astppbilling.org:5076 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  881. 2023-06-21 08:26:43.194293 41.20% [DEBUG] switch_core_state_machine.c:650 (sofia/default/7870463271@alpha3.astppbilling.org:5076) State EXCHANGE_MEDIA going to sleep
  882. 2023-06-21 08:26:43.194293 41.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7870463271@alpha3.astppbilling.org:5076) Running State Change CS_HANGUP (Cur 2 Tot 14)
  883. 2023-06-21 08:26:43.194293 41.20% [DEBUG] switch_core_state_machine.c:844 (sofia/default/7870463271@alpha3.astppbilling.org:5076) Callstate Change ACTIVE -> HANGUP
  884. 2023-06-21 08:26:43.194293 41.20% [DEBUG] switch_core_state_machine.c:846 (sofia/default/7870463271@alpha3.astppbilling.org:5076) State HANGUP
  885. 2023-06-21 08:26:43.194293 41.20% [DEBUG] mod_sofia.c:462 sofia/default/7870463271@alpha3.astppbilling.org:5076 Overriding SIP cause 480 with 200 from the other leg
  886. 2023-06-21 08:26:43.194293 41.20% [DEBUG] mod_sofia.c:468 Channel sofia/default/7870463271@alpha3.astppbilling.org:5076 hanging up, cause: NORMAL_CLEARING
  887. 2023-06-21 08:26:43.194293 41.20% [DEBUG] switch_ivr_bridge.c:1890 sofia/default/7870463271@alpha3.astppbilling.org:5076 skip receive message [UNBRIDGE] (channel is hungup already)
  888. 2023-06-21 08:26:43.194293 41.20% [DEBUG] switch_ivr_bridge.c:1893 sofia/default/41002@alpha3.astppbilling.org:5076 skip receive message [UNBRIDGE] (channel is hungup already)
  889. 2023-06-21 08:26:43.194293 41.20% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/7870463271@alpha3.astppbilling.org:5076
  890. 2023-06-21 08:26:43.194293 41.20% [DEBUG] switch_core_state_machine.c:59 sofia/default/7870463271@alpha3.astppbilling.org:5076 Standard HANGUP, cause: NORMAL_CLEARING
  891. 2023-06-21 08:26:43.194293 41.20% [DEBUG] switch_core_state_machine.c:846 (sofia/default/7870463271@alpha3.astppbilling.org:5076) State HANGUP going to sleep
  892. 2023-06-21 08:26:43.194293 41.20% [DEBUG] switch_core_state_machine.c:616 (sofia/default/7870463271@alpha3.astppbilling.org:5076) State Change CS_HANGUP -> CS_REPORTING
  893. 2023-06-21 08:26:43.194293 41.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7870463271@alpha3.astppbilling.org:5076) Running State Change CS_REPORTING (Cur 2 Tot 14)
  894. 2023-06-21 08:26:43.194293 41.20% [DEBUG] switch_core_session.c:2973 sofia/default/41002@alpha3.astppbilling.org:5076 skip receive message [PHONE_EVENT] (channel is hungup already)
  895. 2023-06-21 08:26:43.194293 41.20% [DEBUG] switch_core_state_machine.c:647 (sofia/default/41002@alpha3.astppbilling.org:5076) State EXECUTE going to sleep
  896. 2023-06-21 08:26:43.194293 41.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/41002@alpha3.astppbilling.org:5076) Running State Change CS_HANGUP (Cur 2 Tot 14)
  897. 2023-06-21 08:26:43.194293 41.20% [DEBUG] switch_core_state_machine.c:844 (sofia/default/41002@alpha3.astppbilling.org:5076) Callstate Change ACTIVE -> HANGUP
  898. 2023-06-21 08:26:43.194293 41.20% [DEBUG] switch_core_state_machine.c:846 (sofia/default/41002@alpha3.astppbilling.org:5076) State HANGUP
  899. 2023-06-21 08:26:43.194293 41.20% [DEBUG] mod_sofia.c:468 Channel sofia/default/41002@alpha3.astppbilling.org:5076 hanging up, cause: NORMAL_CLEARING
  900. 2023-06-21 08:26:43.194293 41.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/7870463271@alpha3.astppbilling.org:5076) State REPORTING
  901. 2023-06-21 08:26:43.214282 41.20% [INFO] mod_json_cdr.c:272 Process [fed14196-8415-4571-a3b0-53d97f710c5f.cdr.json]
  902. 2023-06-21 08:26:43.214282 41.20% [DEBUG] switch_core_state_machine.c:59 sofia/default/41002@alpha3.astppbilling.org:5076 Standard HANGUP, cause: NORMAL_CLEARING
  903. 2023-06-21 08:26:43.214282 41.20% [DEBUG] switch_core_state_machine.c:846 (sofia/default/41002@alpha3.astppbilling.org:5076) State HANGUP going to sleep
  904. 2023-06-21 08:26:43.214282 41.20% [DEBUG] switch_core_state_machine.c:616 (sofia/default/41002@alpha3.astppbilling.org:5076) State Change CS_HANGUP -> CS_REPORTING
  905. 2023-06-21 08:26:43.214282 41.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/41002@alpha3.astppbilling.org:5076) Running State Change CS_REPORTING (Cur 2 Tot 14)
  906. 2023-06-21 08:26:43.214282 41.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/41002@alpha3.astppbilling.org:5076) State REPORTING
  907. 2023-06-21 08:26:43.214282 41.20% [INFO] mod_json_cdr.c:272 Process [bc5327ab-ac87-4ad8-b390-4898058a424b.cdr.json]
  908. 2023-06-21 08:26:43.214282 41.20% [DEBUG] switch_core_state_machine.c:168 sofia/default/41002@alpha3.astppbilling.org:5076 Standard REPORTING, cause: NORMAL_CLEARING
  909. 2023-06-21 08:26:43.214282 41.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/41002@alpha3.astppbilling.org:5076) State REPORTING going to sleep
  910. 2023-06-21 08:26:43.214282 41.20% [DEBUG] switch_core_state_machine.c:607 (sofia/default/41002@alpha3.astppbilling.org:5076) State Change CS_REPORTING -> CS_DESTROY
  911. 2023-06-21 08:26:43.214282 41.20% [DEBUG] switch_core_session.c:1743 Session 14 (sofia/default/41002@alpha3.astppbilling.org:5076) Locked, Waiting on external entities
  912. 2023-06-21 08:26:43.214282 41.20% [NOTICE] switch_core_session.c:1761 Session 14 (sofia/default/41002@alpha3.astppbilling.org:5076) Ended
  913. 2023-06-21 08:26:43.214282 41.20% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/41002@alpha3.astppbilling.org:5076 [CS_DESTROY]
  914. 2023-06-21 08:26:43.214282 41.20% [DEBUG] switch_core_state_machine.c:168 sofia/default/7870463271@alpha3.astppbilling.org:5076 Standard REPORTING, cause: NORMAL_CLEARING
  915. 2023-06-21 08:26:43.214282 41.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/7870463271@alpha3.astppbilling.org:5076) State REPORTING going to sleep
  916. 2023-06-21 08:26:43.214282 41.20% [DEBUG] switch_core_state_machine.c:735 (sofia/default/41002@alpha3.astppbilling.org:5076) Running State Change CS_DESTROY (Cur 1 Tot 14)
  917. 2023-06-21 08:26:43.214282 41.20% [DEBUG] switch_core_state_machine.c:745 (sofia/default/41002@alpha3.astppbilling.org:5076) State DESTROY
  918. 2023-06-21 08:26:43.214282 41.20% [DEBUG] mod_sofia.c:379 sofia/default/41002@alpha3.astppbilling.org:5076 SOFIA DESTROY
  919. 2023-06-21 08:26:43.214282 41.20% [DEBUG] switch_core_state_machine.c:607 (sofia/default/7870463271@alpha3.astppbilling.org:5076) State Change CS_REPORTING -> CS_DESTROY
  920. 2023-06-21 08:26:43.214282 41.20% [DEBUG] switch_core_session.c:1743 Session 13 (sofia/default/7870463271@alpha3.astppbilling.org:5076) Locked, Waiting on external entities
  921. 2023-06-21 08:26:43.214282 41.20% [NOTICE] switch_core_session.c:1761 Session 13 (sofia/default/7870463271@alpha3.astppbilling.org:5076) Ended
  922. 2023-06-21 08:26:43.214282 41.20% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/7870463271@alpha3.astppbilling.org:5076 [CS_DESTROY]
  923. 2023-06-21 08:26:43.214282 41.20% [DEBUG] switch_core_state_machine.c:175 sofia/default/41002@alpha3.astppbilling.org:5076 Standard DESTROY
  924. 2023-06-21 08:26:43.214282 41.20% [DEBUG] switch_core_state_machine.c:745 (sofia/default/41002@alpha3.astppbilling.org:5076) State DESTROY going to sleep
  925. 2023-06-21 08:26:43.214282 41.20% [DEBUG] switch_core_state_machine.c:735 (sofia/default/7870463271@alpha3.astppbilling.org:5076) Running State Change CS_DESTROY (Cur 0 Tot 14)
  926. 2023-06-21 08:26:43.214282 41.20% [DEBUG] switch_core_state_machine.c:745 (sofia/default/7870463271@alpha3.astppbilling.org:5076) State DESTROY
  927. 2023-06-21 08:26:43.214282 41.20% [DEBUG] mod_sofia.c:379 sofia/default/7870463271@alpha3.astppbilling.org:5076 SOFIA DESTROY
  928. 2023-06-21 08:26:43.214282 41.20% [DEBUG] switch_core_state_machine.c:175 sofia/default/7870463271@alpha3.astppbilling.org:5076 Standard DESTROY
  929. 2023-06-21 08:26:43.214282 41.20% [DEBUG] switch_core_state_machine.c:745 (sofia/default/7870463271@alpha3.astppbilling.org:5076) State DESTROY going to sleep