From Yash Shah, 10 Months ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: cornflowerblue; font-weight: bold;"> 2023-06-21 10:33:15.733887 96.53% [NOTICE] switch_channel.c:1123 New Channel sofia/default/67411@automation3betav601.astppbilling.org:5060 [98ef7848-9d8b-4ef5-a440-2a0b73291ab7]
  2. 2023-06-21 10:33:15.733887 96.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/67411@automation3betav601.astppbilling.org:5060) Running State Change CS_NEW (Cur 1 Tot 58)
  3. 2023-06-21 10:33:15.733887 96.53% [INFO] sofia.c:10462 sofia/default/67411@automation3betav601.astppbilling.org:5060 receiving invite from 103.240.35.46:58824 version: 1.10.7 -release 64bit call-id: NzJiM2M3ZmE2MmM1YjNlZGVlNzZlNTIwMjMzMWYwODU.
  4. 2023-06-21 10:33:15.733887 96.53% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  5. 2023-06-21 10:33:15.733887 96.53% [DEBUG] sofia.c:2419 detaching session 98ef7848-9d8b-4ef5-a440-2a0b73291ab7
  6. 2023-06-21 10:33:15.733887 96.53% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [91884100@automation3betav601.astppbilling.org] from ip 103.240.35.46
  7. 2023-06-21 10:33:15.733887 96.53% [DEBUG] switch_core_state_machine.c:600 (sofia/default/67411@automation3betav601.astppbilling.org:5060) State NEW
  8. 2023-06-21 10:33:15.813885 96.53% [DEBUG] sofia.c:2532 Re-attaching to session 98ef7848-9d8b-4ef5-a440-2a0b73291ab7
  9. 2023-06-21 10:33:15.813885 96.53% [INFO] sofia.c:10462 sofia/default/67411@automation3betav601.astppbilling.org:5060 receiving invite from 103.240.35.46:58824 version: 1.10.7 -release 64bit call-id: NzJiM2M3ZmE2MmM1YjNlZGVlNzZlNTIwMjMzMWYwODU.
  10. 2023-06-21 10:33:15.813885 96.53% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  11. 2023-06-21 10:33:15.833886 96.53% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  12. 2023-06-21 10:33:15.833886 96.53% [DEBUG] sofia.c:7499 Channel sofia/default/67411@automation3betav601.astppbilling.org:5060 entering state [received][100]
  13. 2023-06-21 10:33:15.833886 96.53% [DEBUG] sofia.c:7509 Remote SDP:
  14. v=0
  15. o=Z 0 0 IN IP4 103.240.35.46
  16. s=Z
  17. c=IN IP4 103.240.35.46
  18. t=0 0
  19. m=audio 1072 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 10:33:15.833886 96.53% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  27. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  28. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  29. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  30. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  31. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  32. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  33. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  34. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  35. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  36. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  37. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  38. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  39. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/67411@automation3betav601.astppbilling.org:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  40. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_core_codec.c:111 sofia/default/67411@automation3betav601.astppbilling.org:5060 Original read codec set to PCMA:8
  41. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  42. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_core_media.c:5973 sofia/default/67411@automation3betav601.astppbilling.org:5060 Set 2833 dtmf send payload to 101 recv payload to 101
  43. 2023-06-21 10:33:15.833886 96.53% [DEBUG] sofia.c:7933 (sofia/default/67411@automation3betav601.astppbilling.org:5060) State Change CS_NEW -> CS_INIT
  44. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/67411@automation3betav601.astppbilling.org:5060) Running State Change CS_INIT (Cur 1 Tot 58)
  45. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/67411@automation3betav601.astppbilling.org:5060) State INIT
  46. 2023-06-21 10:33:15.833886 96.53% [DEBUG] mod_sofia.c:97 sofia/default/67411@automation3betav601.astppbilling.org:5060 SOFIA INIT
  47. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_core_state_machine.c:40 sofia/default/67411@automation3betav601.astppbilling.org:5060 Standard INIT
  48. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_core_state_machine.c:48 (sofia/default/67411@automation3betav601.astppbilling.org:5060) State Change CS_INIT -> CS_ROUTING
  49. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/67411@automation3betav601.astppbilling.org:5060) State INIT going to sleep
  50. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/67411@automation3betav601.astppbilling.org:5060) Running State Change CS_ROUTING (Cur 1 Tot 58)
  51. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_channel.c:2380 (sofia/default/67411@automation3betav601.astppbilling.org:5060) Callstate Change DOWN -> RINGING
  52. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/67411@automation3betav601.astppbilling.org:5060) State ROUTING
  53. 2023-06-21 10:33:15.833886 96.53% [DEBUG] mod_sofia.c:158 sofia/default/67411@automation3betav601.astppbilling.org:5060 SOFIA ROUTING
  54. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_core_state_machine.c:230 sofia/default/67411@automation3betav601.astppbilling.org:5060 Standard ROUTING
  55. 2023-06-21 10:33:15.833886 96.53% [INFO] mod_dialplan_xml.c:639 Processing 67411 <67411>->91884100 in context default
  56. 2023-06-21 10:33:15.833886 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  57. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  58. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  59. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  60. 2023-06-21 10:33:15.833886 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  61. 2023-06-21 10:33:15.833886 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 91884100
  62. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '91884100' limit 1
  63. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  64. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '91884100' and status=0 LIMIT 1
  65. 2023-06-21 10:33:15.833886 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER67411
  66. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  67. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'automation3betav601.astppbilling.org' limit 1
  68. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '476' and username = '91884100' limit 1
  69. 2023-06-21 10:33:15.833886 96.53% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  70. 2023-06-21 10:33:15.833886 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 67411 / 67411
  71. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  72. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  73. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  74. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="91884100" LIMIT 1
  75. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  76. 2023-06-21 10:33:15.833886 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  77. 2023-06-21 10:33:15.833886 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 30681]
  78. 2023-06-21 10:33:15.833886 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "30681" AND deleted = 0 limit 1
  79. 2023-06-21 10:33:15.853881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =476
  80. 2023-06-21 10:33:15.853881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  81. 2023-06-21 10:33:15.853881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
  82. 2023-06-21 10:33:15.853881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  83. 2023-06-21 10:33:15.853881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 476
  84. 2023-06-21 10:33:15.853881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^91884100.*' OR patterns = '^9188410.*' OR patterns = '^918841.*' OR patterns = '^91884.*' OR patterns = '^9188.*' OR patterns = '^918.*' OR patterns = '^91.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 476 ORDER BY LENGTH(PKGPTR.patterns) DESC
  85. 2023-06-21 10:33:15.853881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="91884100" AND A.accountid = '476' limit 1
  86. 2023-06-21 10:33:15.853881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 91884100
  87. 2023-06-21 10:33:15.853881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  88. 2023-06-21 10:33:15.853881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  89. 2023-06-21 10:33:15.853881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  90. 2023-06-21 10:33:15.853881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="91884100" LIMIT 1
  91. 2023-06-21 10:33:15.853881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  92. 2023-06-21 10:33:15.853881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  93. 2023-06-21 10:33:15.853881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '91884100' OR number = '9188410' OR number = '918841' OR number = '91884' OR number = '9188' OR number = '918' OR number = '91' OR number = '9' OR number ='--') OR (number = '91884100*' OR number = '9188410*' OR number = '918841*' OR number = '91884*' OR number = '9188*' OR number = '918*' OR number = '91*' OR number = '9*' OR number ='--') OR (number = '67411' OR number = '6741' OR number = '674' OR number = '67' OR number = '6' OR number ='--') OR (number = '67411*' OR number = '6741*' OR number = '674*' OR number = '67*' OR number = '6*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  94. 2023-06-21 10:33:15.853881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  95. 2023-06-21 10:33:15.853881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '91884100' OR routing_prefix = '9188410' OR routing_prefix = '918841' OR routing_prefix = '91884' OR routing_prefix = '9188' OR routing_prefix = '918' OR routing_prefix = '91' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  96. 2023-06-21 10:33:15.853881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  97. 2023-06-21 10:33:15.853881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 476
  98. 2023-06-21 10:33:15.853881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 30681
  99. 2023-06-21 10:33:15.853881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =476
  100. 2023-06-21 10:33:15.853881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19979.6
  101. 2023-06-21 10:33:15.853881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  102. 2023-06-21 10:33:15.853881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 69
  103. 2023-06-21 10:33:15.853881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  104. 2023-06-21 10:33:15.853881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  105. 2023-06-21 10:33:15.853881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  106. 2023-06-21 10:33:15.853881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::69
  107. 2023-06-21 10:33:15.853881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  108. 2023-06-21 10:33:15.853881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="91884100" LIMIT 1
  109. 2023-06-21 10:33:15.853881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  110. 2023-06-21 10:33:15.853881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  111. 2023-06-21 10:33:15.853881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  112. 2023-06-21 10:33:15.853881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 98
  113. 2023-06-21 10:33:15.853881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  114. 2023-06-21 10:33:15.853881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  115. 2023-06-21 10:33:15.853881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  116. 2023-06-21 10:33:15.853881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 91884100
  117. 2023-06-21 10:33:15.853881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  118. 2023-06-21 10:33:15.853881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 476
  119. 2023-06-21 10:33:15.853881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  120. 2023-06-21 10:33:15.853881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =476
  121. 2023-06-21 10:33:15.873881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19979.6 balance Accountid 476 !!!
  122. 2023-06-21 10:33:15.873881 96.53% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  123. 2023-06-21 10:33:15.873881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  124. 2023-06-21 10:33:15.873881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  125. 2023-06-21 10:33:15.873881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  126. 2023-06-21 10:33:15.873881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 476 AND status=0 LIMIT 1
  127. 2023-06-21 10:33:15.873881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "476" AND deleted = 0 limit 1
  128. 2023-06-21 10:33:15.873881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =476
  129. 2023-06-21 10:33:15.873881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:476
  130. 2023-06-21 10:33:15.873881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:476
  131. 2023-06-21 10:33:15.873881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 476
  132. 2023-06-21 10:33:15.873881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 476 limit 1
  133. 2023-06-21 10:33:15.873881 96.53% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : automation3betav601.astppbilling.org
  134. 2023-06-21 10:33:15.873881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition Id : 1
  135. 2023-06-21 10:33:15.873881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '1' and status =0 LIMIT 1
  136. 2023-06-21 10:33:15.873881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Failover Timecondition : [{"extensions":"#","no_answer_call_type":"12"}]
  137. span style="color: green; font-weight: bold;"> 2023-06-21 10:33:15.873881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition : [{"hour":"00-23","minute":"00-59","wday":"1-7","mday":"1-31","mon":"1-12","year":"2023-2023","extensions":"1","no_answer_call_type":"9","priority":"1"}]
  138. 2023-06-21 10:33:15.873881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Priority : 1
  139. 2023-06-21 10:33:15.873881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from timezone WHERE id = '118' LIMIT 1
  140. 2023-06-21 10:33:15.873881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Condition Str :  time-of-day= "00:00-23:59"  wday= "1-7"  mday= "1-31"  mon= "1-12"  year= "2023-2023"
  141. 2023-06-21 10:33:15.873881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  142. 2023-06-21 10:33:15.873881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  143. 2023-06-21 10:33:15.873881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  144. 2023-06-21 10:33:15.873881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  145. 2023-06-21 10:33:15.873881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing  WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "1" AND accounts.status = 0
  146. 2023-06-21 10:33:15.873881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as redial] destination_number :91884100
  147. 2023-06-21 10:33:15.873881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as return] destination_number :91884100
  148. 2023-06-21 10:33:15.873881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 476 limit 1
  149. 2023-06-21 10:33:15.873881 96.53% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : automation3betav601.astppbilling.org
  150. 2023-06-21 10:33:15.873881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_11
  151. 2023-06-21 10:33:15.873881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] TimeCondition Id : 1
  152. 2023-06-21 10:33:15.873881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '1' and status =0 LIMIT 1
  153. 2023-06-21 10:33:15.873881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  154. <document type="freeswitch/xml">
  155. <section name="dialplan" description="ASTPP Dialplan">
  156. <context name="default">
  157. <extension name="YTimeConditonTest" continue="true">
  158. <condition break="never">
  159. <action application="set" data="timezone=Africa/Abidjan" inline="true"/>
  160. </condition>
  161. <condition  time-of-day= "00:00-23:59"  wday= "1-7"  mday= "1-31"  mon= "1-12"  year= "2023-2023"  break="never">
  162. <action application="set" data="office_status=open" inline="true"/>
  163. <action application="set" data="extensions=1" inline="true"/>
  164. <action application="set" data="no_answer_did_number=91884100" inline="true"/>
  165. <action application="set" data="no_answer_call_type=9" inline="true"/>
  166. </condition>
  167. </extension>
  168. <extension name="tod route, x91884100">
  169. <condition field="destination_number" expression="^(\+?)?(91884100)$">
  170. <action application="execute_extension" data="91884100_${office_status}"/>
  171. </condition>
  172. </extension>
  173. <extension name="office is open">
  174. <condition field="destination_number" expression="^(\+?)?(91884100_open)$">
  175. <action application="set" data="domain_name=automation3betav601.astppbilling.org"/>
  176. <action application="set" data="set_extensions=${extensions}"/>
  177. <action application="set" data="no_answer_flag=true"/>
  178. <action application="set" data="no_answer_did_number=91884100" inline="true"/>
  179. <action application="set" data="no_answer_call_type=${no_answer_call_type}"/>
  180. <action application="set" data="no_answer_number=${extensions}" />
  181. <action application="transfer" data="476 XML default"/>
  182. </condition>
  183. </extension>
  184. <extension name="91884100">
  185. <condition field="destination_number" expression="91884100">
  186. <action application="set" data="effective_destination_number=91884100"/>
  187. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  188. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  189. <action application="set" data="notify_flag=0"/>
  190. <action application="set" data="notify_credit_limit=5.00000"/>
  191. <action application="set" data="type=0"/>
  192. <action application="set" data="callstart=2023-06-21 10:33:15"/>
  193. <action application="set" data="hangup_after_bridge=true"/>
  194. <action application="set" data="continue_on_fail=TRUE"/>
  195. <action application="set" data="account_id=476"/>
  196. <action application="set" data="parent_id=0"/>
  197. <action application="set" data="entity_id=0"/>
  198. <action application="set" data="call_processed=internal"/>
  199. <action application="set" data="call_direction=inbound"/>
  200. <action application="set" data="accountname=default"/>
  201. <action application="export" data="t38_passthru=true"/>
  202. <action application="set" data="fax_enable_t38=true"/>
  203. <action application="set" data="fax_enable_t38_request=true"/>
  204. <action application="set" data="filename1=astpp.pbx.lua"/>
  205. <action application="set" data="origination_rates_did=ID:98|CODE:^91884100.*|DESTINATION:91884100|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:11|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:476"/>
  206. <action application="set" data="origination_rates=0"/>
  207. <action application="set" data="original_caller_id_name=67411"/>
  208. <action application="set" data="original_caller_id_number=67411"/>
  209. <action application="hash" data="insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}"/>
  210. <action application="hash" data="insert/${domain_name}-call_return/${destination_number}/${caller_id_number}"/>
  211. <action application="set" data="effective_caller_id_name=67411"/>
  212. <action application="set" data="effective_caller_id_number=67411"/>
  213. <action application="set" data="receiver_accid=476"/>
  214. <action application="export" data="domain_name=automation3betav601.astppbilling.org"/>
  215. <action application="export" data="sip_to_host=automation3betav601.astppbilling.org"/>
  216. <action application="export" data="presence_data=x|||Yash(30681)|||^91884100.* // 91884100 // 0.00000|||||||||DID|||103.240.35.46"/>
  217. <action application="export" data="call_type=11"/>
  218. </condition>
  219. </extension>
  220. </context>
  221. </section>
  222. </document>
  223. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 parsing [default->YTimeConditonTest] continue=true
  224. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Absolute Condition [YTimeConditonTest]
  225. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Action set(timezone=Africa/Abidjan) INLINE
  226. EXECUTE [depth=0] sofia/default/67411@automation3betav601.astppbilling.org:5060 set(timezone=Africa/Abidjan)
  227. 2023-06-21 10:33:15.873881 96.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/67411@automation3betav601.astppbilling.org:5060 [timezone]=[Africa/Abidjan]
  228. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Date/Time Match (PASS) [YTimeConditonTest] break=never
  229. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Action set(office_status=open) INLINE
  230. EXECUTE [depth=0] sofia/default/67411@automation3betav601.astppbilling.org:5060 set(office_status=open)
  231. 2023-06-21 10:33:15.873881 96.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/67411@automation3betav601.astppbilling.org:5060 [office_status]=[open]
  232. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Action set(extensions=1) INLINE
  233. EXECUTE [depth=0] sofia/default/67411@automation3betav601.astppbilling.org:5060 set(extensions=1)
  234. 2023-06-21 10:33:15.873881 96.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/67411@automation3betav601.astppbilling.org:5060 [extensions]=[1]
  235. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Action set(no_answer_did_number=91884100) INLINE
  236. EXECUTE [depth=0] sofia/default/67411@automation3betav601.astppbilling.org:5060 set(no_answer_did_number=91884100)
  237. 2023-06-21 10:33:15.873881 96.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/67411@automation3betav601.astppbilling.org:5060 [no_answer_did_number]=[91884100]
  238. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Action set(no_answer_call_type=9) INLINE
  239. EXECUTE [depth=0] sofia/default/67411@automation3betav601.astppbilling.org:5060 set(no_answer_call_type=9)
  240. 2023-06-21 10:33:15.873881 96.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/67411@automation3betav601.astppbilling.org:5060 [no_answer_call_type]=[9]
  241. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 parsing [default->tod route, x91884100] continue=false
  242. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Regex (PASS) [tod route, x91884100] destination_number(91884100) =~ /^(\+?)?(91884100)$/ break=on-false
  243. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Action execute_extension(91884100_${office_status})
  244. 2023-06-21 10:33:15.873881 96.53% [DEBUG] switch_core_state_machine.c:281 (sofia/default/67411@automation3betav601.astppbilling.org:5060) State Change CS_ROUTING -> CS_EXECUTE
  245. 2023-06-21 10:33:15.873881 96.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/67411@automation3betav601.astppbilling.org:5060) State ROUTING going to sleep
  246. 2023-06-21 10:33:15.873881 96.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/67411@automation3betav601.astppbilling.org:5060) Running State Change CS_EXECUTE (Cur 1 Tot 58)
  247. 2023-06-21 10:33:15.873881 96.53% [DEBUG] switch_core_state_machine.c:647 (sofia/default/67411@automation3betav601.astppbilling.org:5060) State EXECUTE
  248. 2023-06-21 10:33:15.873881 96.53% [DEBUG] mod_sofia.c:213 sofia/default/67411@automation3betav601.astppbilling.org:5060 SOFIA EXECUTE
  249. 2023-06-21 10:33:15.873881 96.53% [DEBUG] switch_core_state_machine.c:323 sofia/default/67411@automation3betav601.astppbilling.org:5060 Standard EXECUTE
  250. EXECUTE [depth=0] sofia/default/67411@automation3betav601.astppbilling.org:5060 execute_extension(91884100_open)
  251. 2023-06-21 10:33:15.873881 96.53% [INFO] mod_dialplan_xml.c:639 Processing 67411 <67411>->91884100_open in context default
  252. 2023-06-21 10:33:15.873881 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  253. 2023-06-21 10:33:15.873881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  254. 2023-06-21 10:33:15.873881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  255. 2023-06-21 10:33:15.873881 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  256. 2023-06-21 10:33:15.893891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  257. 2023-06-21 10:33:15.893891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 91884100
  258. 2023-06-21 10:33:15.893891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '91884100' limit 1
  259. 2023-06-21 10:33:15.893891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  260. 2023-06-21 10:33:15.893891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '91884100' and status=0 LIMIT 1
  261. 2023-06-21 10:33:15.893891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER67411
  262. 2023-06-21 10:33:15.893891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  263. 2023-06-21 10:33:15.893891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'automation3betav601.astppbilling.org' limit 1
  264. 2023-06-21 10:33:15.893891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '476' and username = '91884100' limit 1
  265. 2023-06-21 10:33:15.893891 96.53% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  266. 2023-06-21 10:33:15.893891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 67411 / 67411
  267. 2023-06-21 10:33:15.893891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  268. 2023-06-21 10:33:15.893891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  269. 2023-06-21 10:33:15.893891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  270. 2023-06-21 10:33:15.893891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="91884100" LIMIT 1
  271. 2023-06-21 10:33:15.893891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  272. 2023-06-21 10:33:15.893891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  273. 2023-06-21 10:33:15.893891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 30681]
  274. 2023-06-21 10:33:15.893891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "30681" AND deleted = 0 limit 1
  275. 2023-06-21 10:33:15.893891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =476
  276. 2023-06-21 10:33:15.893891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  277. 2023-06-21 10:33:15.893891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
  278. 2023-06-21 10:33:15.893891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  279. 2023-06-21 10:33:15.893891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 476
  280. 2023-06-21 10:33:15.893891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^91884100.*' OR patterns = '^9188410.*' OR patterns = '^918841.*' OR patterns = '^91884.*' OR patterns = '^9188.*' OR patterns = '^918.*' OR patterns = '^91.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 476 ORDER BY LENGTH(PKGPTR.patterns) DESC
  281. 2023-06-21 10:33:15.893891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="91884100" AND A.accountid = '476' limit 1
  282. 2023-06-21 10:33:15.893891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 91884100
  283. 2023-06-21 10:33:15.893891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  284. 2023-06-21 10:33:15.893891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  285. 2023-06-21 10:33:15.893891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  286. 2023-06-21 10:33:15.893891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="91884100" LIMIT 1
  287. 2023-06-21 10:33:15.893891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  288. 2023-06-21 10:33:15.893891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  289. 2023-06-21 10:33:15.893891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '91884100' OR number = '9188410' OR number = '918841' OR number = '91884' OR number = '9188' OR number = '918' OR number = '91' OR number = '9' OR number ='--') OR (number = '91884100*' OR number = '9188410*' OR number = '918841*' OR number = '91884*' OR number = '9188*' OR number = '918*' OR number = '91*' OR number = '9*' OR number ='--') OR (number = '67411' OR number = '6741' OR number = '674' OR number = '67' OR number = '6' OR number ='--') OR (number = '67411*' OR number = '6741*' OR number = '674*' OR number = '67*' OR number = '6*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  290. 2023-06-21 10:33:15.893891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  291. 2023-06-21 10:33:15.893891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '91884100' OR routing_prefix = '9188410' OR routing_prefix = '918841' OR routing_prefix = '91884' OR routing_prefix = '9188' OR routing_prefix = '918' OR routing_prefix = '91' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  292. 2023-06-21 10:33:15.913891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  293. 2023-06-21 10:33:15.913891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 476
  294. 2023-06-21 10:33:15.913891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 30681
  295. 2023-06-21 10:33:15.913891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =476
  296. 2023-06-21 10:33:15.913891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19979.6
  297. 2023-06-21 10:33:15.913891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  298. 2023-06-21 10:33:15.913891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 69
  299. 2023-06-21 10:33:15.913891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  300. 2023-06-21 10:33:15.913891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  301. 2023-06-21 10:33:15.913891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  302. 2023-06-21 10:33:15.913891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::69
  303. 2023-06-21 10:33:15.913891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  304. 2023-06-21 10:33:15.913891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="91884100" LIMIT 1
  305. 2023-06-21 10:33:15.913891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  306. 2023-06-21 10:33:15.913891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  307. 2023-06-21 10:33:15.913891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  308. 2023-06-21 10:33:15.913891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 98
  309. 2023-06-21 10:33:15.913891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  310. 2023-06-21 10:33:15.913891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  311. 2023-06-21 10:33:15.913891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  312. 2023-06-21 10:33:15.913891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 91884100
  313. 2023-06-21 10:33:15.913891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  314. 2023-06-21 10:33:15.913891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 476
  315. 2023-06-21 10:33:15.913891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  316. 2023-06-21 10:33:15.913891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =476
  317. 2023-06-21 10:33:15.913891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19979.6 balance Accountid 476 !!!
  318. 2023-06-21 10:33:15.913891 96.53% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  319. 2023-06-21 10:33:15.913891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  320. 2023-06-21 10:33:15.913891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  321. 2023-06-21 10:33:15.913891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  322. 2023-06-21 10:33:15.913891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 476 AND status=0 LIMIT 1
  323. 2023-06-21 10:33:15.913891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "476" AND deleted = 0 limit 1
  324. 2023-06-21 10:33:15.913891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =476
  325. 2023-06-21 10:33:15.913891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:476
  326. 2023-06-21 10:33:15.913891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:476
  327. 2023-06-21 10:33:15.913891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 476
  328. 2023-06-21 10:33:15.913891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 476 limit 1
  329. 2023-06-21 10:33:15.913891 96.53% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : automation3betav601.astppbilling.org
  330. 2023-06-21 10:33:15.913891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition Id : 1
  331. 2023-06-21 10:33:15.913891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '1' and status =0 LIMIT 1
  332. 2023-06-21 10:33:15.913891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Failover Timecondition : [{"extensions":"#","no_answer_call_type":"12"}]
  333. span style="color: green; font-weight: bold;"> 2023-06-21 10:33:15.913891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition : [{"hour":"00-23","minute":"00-59","wday":"1-7","mday":"1-31","mon":"1-12","year":"2023-2023","extensions":"1","no_answer_call_type":"9","priority":"1"}]
  334. 2023-06-21 10:33:15.913891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Priority : 1
  335. 2023-06-21 10:33:15.913891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from timezone WHERE id = '118' LIMIT 1
  336. 2023-06-21 10:33:15.913891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Condition Str :  time-of-day= "00:00-23:59"  wday= "1-7"  mday= "1-31"  mon= "1-12"  year= "2023-2023"
  337. 2023-06-21 10:33:15.913891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  338. 2023-06-21 10:33:15.913891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  339. 2023-06-21 10:33:15.913891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  340. 2023-06-21 10:33:15.913891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  341. 2023-06-21 10:33:15.913891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing  WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "1" AND accounts.status = 0
  342. 2023-06-21 10:33:15.913891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as redial] destination_number :91884100
  343. 2023-06-21 10:33:15.913891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as return] destination_number :91884100
  344. 2023-06-21 10:33:15.913891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 476 limit 1
  345. 2023-06-21 10:33:15.913891 96.53% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : automation3betav601.astppbilling.org
  346. 2023-06-21 10:33:15.913891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_11
  347. 2023-06-21 10:33:15.913891 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] TimeCondition Id : 1
  348. 2023-06-21 10:33:15.913891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '1' and status =0 LIMIT 1
  349. 2023-06-21 10:33:15.913891 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  350. <document type="freeswitch/xml">
  351. <section name="dialplan" description="ASTPP Dialplan">
  352. <context name="default">
  353. <extension name="YTimeConditonTest" continue="true">
  354. <condition break="never">
  355. <action application="set" data="timezone=Africa/Abidjan" inline="true"/>
  356. </condition>
  357. <condition  time-of-day= "00:00-23:59"  wday= "1-7"  mday= "1-31"  mon= "1-12"  year= "2023-2023"  break="never">
  358. <action application="set" data="office_status=open" inline="true"/>
  359. <action application="set" data="extensions=1" inline="true"/>
  360. <action application="set" data="no_answer_did_number=91884100" inline="true"/>
  361. <action application="set" data="no_answer_call_type=9" inline="true"/>
  362. </condition>
  363. </extension>
  364. <extension name="tod route, x91884100">
  365. <condition field="destination_number" expression="^(\+?)?(91884100)$">
  366. <action application="execute_extension" data="91884100_${office_status}"/>
  367. </condition>
  368. </extension>
  369. <extension name="office is open">
  370. <condition field="destination_number" expression="^(\+?)?(91884100_open)$">
  371. <action application="set" data="domain_name=automation3betav601.astppbilling.org"/>
  372. <action application="set" data="set_extensions=${extensions}"/>
  373. <action application="set" data="no_answer_flag=true"/>
  374. <action application="set" data="no_answer_did_number=91884100" inline="true"/>
  375. <action application="set" data="no_answer_call_type=${no_answer_call_type}"/>
  376. <action application="set" data="no_answer_number=${extensions}" />
  377. <action application="transfer" data="476 XML default"/>
  378. </condition>
  379. </extension>
  380. <extension name="91884100">
  381. <condition field="destination_number" expression="91884100">
  382. <action application="set" data="effective_destination_number=91884100"/>
  383. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  384. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  385. <action application="set" data="notify_flag=0"/>
  386. <action application="set" data="notify_credit_limit=5.00000"/>
  387. <action application="set" data="type=0"/>
  388. <action application="set" data="callstart=2023-06-21 10:33:15"/>
  389. <action application="set" data="hangup_after_bridge=true"/>
  390. <action application="set" data="continue_on_fail=TRUE"/>
  391. <action application="set" data="account_id=476"/>
  392. <action application="set" data="parent_id=0"/>
  393. <action application="set" data="entity_id=0"/>
  394. <action application="set" data="call_processed=internal"/>
  395. <action application="set" data="call_direction=inbound"/>
  396. <action application="set" data="accountname=default"/>
  397. <action application="export" data="t38_passthru=true"/>
  398. <action application="set" data="fax_enable_t38=true"/>
  399. <action application="set" data="fax_enable_t38_request=true"/>
  400. <action application="set" data="filename1=astpp.pbx.lua"/>
  401. <action application="set" data="origination_rates_did=ID:98|CODE:^91884100.*|DESTINATION:91884100|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:11|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:476"/>
  402. <action application="set" data="origination_rates=0"/>
  403. <action application="set" data="original_caller_id_name=67411"/>
  404. <action application="set" data="original_caller_id_number=67411"/>
  405. <action application="hash" data="insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}"/>
  406. <action application="hash" data="insert/${domain_name}-call_return/${destination_number}/${caller_id_number}"/>
  407. <action application="set" data="effective_caller_id_name=67411"/>
  408. <action application="set" data="effective_caller_id_number=67411"/>
  409. <action application="set" data="receiver_accid=476"/>
  410. <action application="export" data="domain_name=automation3betav601.astppbilling.org"/>
  411. <action application="export" data="sip_to_host=automation3betav601.astppbilling.org"/>
  412. <action application="export" data="presence_data=x|||Yash(30681)|||^91884100.* // 91884100 // 0.00000|||||||||DID|||103.240.35.46"/>
  413. <action application="export" data="call_type=11"/>
  414. </condition>
  415. </extension>
  416. </context>
  417. </section>
  418. </document>
  419. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 parsing [default->YTimeConditonTest] continue=true
  420. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Absolute Condition [YTimeConditonTest]
  421. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Action set(timezone=Africa/Abidjan) INLINE
  422. EXECUTE [depth=1] sofia/default/67411@automation3betav601.astppbilling.org:5060 set(timezone=Africa/Abidjan)
  423. 2023-06-21 10:33:15.913891 96.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/67411@automation3betav601.astppbilling.org:5060 [timezone]=[Africa/Abidjan]
  424. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Date/Time Match (PASS) [YTimeConditonTest] break=never
  425. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Action set(office_status=open) INLINE
  426. EXECUTE [depth=1] sofia/default/67411@automation3betav601.astppbilling.org:5060 set(office_status=open)
  427. 2023-06-21 10:33:15.913891 96.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/67411@automation3betav601.astppbilling.org:5060 [office_status]=[open]
  428. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Action set(extensions=1) INLINE
  429. EXECUTE [depth=1] sofia/default/67411@automation3betav601.astppbilling.org:5060 set(extensions=1)
  430. 2023-06-21 10:33:15.913891 96.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/67411@automation3betav601.astppbilling.org:5060 [extensions]=[1]
  431. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Action set(no_answer_did_number=91884100) INLINE
  432. EXECUTE [depth=1] sofia/default/67411@automation3betav601.astppbilling.org:5060 set(no_answer_did_number=91884100)
  433. 2023-06-21 10:33:15.913891 96.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/67411@automation3betav601.astppbilling.org:5060 [no_answer_did_number]=[91884100]
  434. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Action set(no_answer_call_type=9) INLINE
  435. EXECUTE [depth=1] sofia/default/67411@automation3betav601.astppbilling.org:5060 set(no_answer_call_type=9)
  436. 2023-06-21 10:33:15.913891 96.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/67411@automation3betav601.astppbilling.org:5060 [no_answer_call_type]=[9]
  437. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 parsing [default->tod route, x91884100] continue=false
  438. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Regex (FAIL) [tod route, x91884100] destination_number(91884100_open) =~ /^(\+?)?(91884100)$/ break=on-false
  439. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 parsing [default->office is open] continue=false
  440. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Regex (PASS) [office is open] destination_number(91884100_open) =~ /^(\+?)?(91884100_open)$/ break=on-false
  441. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Action set(domain_name=automation3betav601.astppbilling.org)
  442. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Action set(set_extensions=${extensions})
  443. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Action set(no_answer_flag=true)
  444. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Action set(no_answer_did_number=91884100) INLINE
  445. EXECUTE [depth=1] sofia/default/67411@automation3betav601.astppbilling.org:5060 set(no_answer_did_number=91884100)
  446. 2023-06-21 10:33:15.913891 96.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/67411@automation3betav601.astppbilling.org:5060 [no_answer_did_number]=[91884100]
  447. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Action set(no_answer_call_type=${no_answer_call_type})
  448. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Action set(no_answer_number=${extensions})
  449. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Action transfer(476 XML default)
  450. 2023-06-21 10:33:15.913891 96.53% [NOTICE] switch_core_session.c:3095 Execute [depth=1] set(domain_name=automation3betav601.astppbilling.org)
  451. EXECUTE [depth=1] sofia/default/67411@automation3betav601.astppbilling.org:5060 set(domain_name=automation3betav601.astppbilling.org)
  452. 2023-06-21 10:33:15.913891 96.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/67411@automation3betav601.astppbilling.org:5060 [domain_name]=[automation3betav601.astppbilling.org]
  453. 2023-06-21 10:33:15.913891 96.53% [NOTICE] switch_core_session.c:3095 Execute [depth=1] set(set_extensions=${extensions})
  454. EXECUTE [depth=1] sofia/default/67411@automation3betav601.astppbilling.org:5060 set(set_extensions=1)
  455. 2023-06-21 10:33:15.913891 96.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/67411@automation3betav601.astppbilling.org:5060 [set_extensions]=[1]
  456. 2023-06-21 10:33:15.913891 96.53% [NOTICE] switch_core_session.c:3095 Execute [depth=1] set(no_answer_flag=true)
  457. EXECUTE [depth=1] sofia/default/67411@automation3betav601.astppbilling.org:5060 set(no_answer_flag=true)
  458. 2023-06-21 10:33:15.913891 96.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/67411@automation3betav601.astppbilling.org:5060 [no_answer_flag]=[true]
  459. 2023-06-21 10:33:15.913891 96.53% [NOTICE] switch_core_session.c:3095 Execute [depth=1] set(no_answer_call_type=${no_answer_call_type})
  460. EXECUTE [depth=1] sofia/default/67411@automation3betav601.astppbilling.org:5060 set(no_answer_call_type=9)
  461. 2023-06-21 10:33:15.913891 96.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/67411@automation3betav601.astppbilling.org:5060 [no_answer_call_type]=[9]
  462. 2023-06-21 10:33:15.913891 96.53% [NOTICE] switch_core_session.c:3095 Execute [depth=1] set(no_answer_number=${extensions})
  463. EXECUTE [depth=1] sofia/default/67411@automation3betav601.astppbilling.org:5060 set(no_answer_number=1)
  464. 2023-06-21 10:33:15.913891 96.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/67411@automation3betav601.astppbilling.org:5060 [no_answer_number]=[1]
  465. 2023-06-21 10:33:15.913891 96.53% [NOTICE] switch_core_session.c:3095 Execute [depth=1] transfer(476 XML default)
  466. EXECUTE [depth=1] sofia/default/67411@automation3betav601.astppbilling.org:5060 transfer(476 XML default)
  467. 2023-06-21 10:33:15.913891 96.53% [DEBUG] switch_ivr.c:2289 (sofia/default/67411@automation3betav601.astppbilling.org:5060) State Change CS_EXECUTE -> CS_ROUTING
  468. 2023-06-21 10:33:15.913891 96.53% [NOTICE] switch_ivr.c:2296 Transfer sofia/default/67411@automation3betav601.astppbilling.org:5060 to XML[476@default]
  469. 2023-06-21 10:33:15.913891 96.53% [DEBUG] switch_core_state_machine.c:647 (sofia/default/67411@automation3betav601.astppbilling.org:5060) State EXECUTE going to sleep
  470. 2023-06-21 10:33:15.913891 96.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/67411@automation3betav601.astppbilling.org:5060) Running State Change CS_ROUTING (Cur 1 Tot 58)
  471. 2023-06-21 10:33:15.913891 96.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/67411@automation3betav601.astppbilling.org:5060) State ROUTING
  472. 2023-06-21 10:33:15.913891 96.53% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
  473. 2023-06-21 10:33:15.913891 96.53% [DEBUG] mod_sofia.c:158 sofia/default/67411@automation3betav601.astppbilling.org:5060 SOFIA ROUTING
  474. 2023-06-21 10:33:15.913891 96.53% [DEBUG] switch_core_state_machine.c:230 sofia/default/67411@automation3betav601.astppbilling.org:5060 Standard ROUTING
  475. 2023-06-21 10:33:15.913891 96.53% [INFO] mod_dialplan_xml.c:639 Processing 67411 <67411>->476 in context default
  476. 2023-06-21 10:33:15.933884 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  477. 2023-06-21 10:33:15.933884 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  478. 2023-06-21 10:33:15.933884 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  479. 2023-06-21 10:33:15.933884 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  480. 2023-06-21 10:33:15.933884 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  481. 2023-06-21 10:33:15.933884 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 476
  482. 2023-06-21 10:33:15.933884 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '476' limit 1
  483. 2023-06-21 10:33:15.933884 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  484. 2023-06-21 10:33:15.933884 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '476' and status=0 LIMIT 1
  485. 2023-06-21 10:33:15.933884 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER67411
  486. 2023-06-21 10:33:15.933884 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  487. 2023-06-21 10:33:15.933884 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'automation3betav601.astppbilling.org' limit 1
  488. 2023-06-21 10:33:15.933884 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '476' and username = '476' limit 1
  489. 2023-06-21 10:33:15.933884 96.53% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  490. 2023-06-21 10:33:15.933884 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 67411 / 67411
  491. 2023-06-21 10:33:15.933884 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  492. 2023-06-21 10:33:15.933884 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="476"  AND domains.domain="automation3betav601.astppbilling.org" limit 1
  493. 2023-06-21 10:33:15.933884 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  494. 2023-06-21 10:33:15.933884 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 30681]
  495. 2023-06-21 10:33:15.933884 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "30681" AND deleted = 0 limit 1
  496. 2023-06-21 10:33:15.953885 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^476.*' OR blocked_patterns = '^47.*' OR blocked_patterns = '^4.*' OR blocked_patterns ='--') AND accountid = 476 limit 1
  497. 2023-06-21 10:33:15.953885 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  498. 2023-06-21 10:33:15.953885 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] ringgroup_no_answer_forward _ no_answer_did_number :91884100
  499. 2023-06-21 10:33:15.953885 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="91884100" LIMIT 1
  500. 2023-06-21 10:33:15.953885 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  501. 2023-06-21 10:33:15.953885 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] ringgroup_no_answer_forward _ accountid :476
  502. 2023-06-21 10:33:15.953885 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "476" AND deleted = 0 limit 1
  503. 2023-06-21 10:33:15.953885 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^476.*' OR blocked_patterns = '^47.*' OR blocked_patterns = '^4.*' OR blocked_patterns ='--') AND accountid = 476 limit 1
  504. 2023-06-21 10:33:15.953885 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated RingGroup No Answer Forward :476
  505. 2023-06-21 10:33:15.953885 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 476 limit 1
  506. 2023-06-21 10:33:15.953885 96.53% [WARNING] switch_cpp.cpp:1465 [ASTPP] [ringgroup_no_answer_forward] User Domainautomation3betav601.astppbilling.org
  507. 2023-06-21 10:33:15.953885 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : 9
  508. 2023-06-21 10:33:15.953885 96.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : Queue
  509. 2023-06-21 10:33:15.953885 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_Queue_INFO] Query :SELECT * from pbx_queue WHERE id = 1 and status=0 LIMIT 1
  510. 2023-06-21 10:33:15.953885 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT name FROM pbx_music_on_hold WHERE id = 0 ORDER BY RAND() LIMIT 1
  511. 2023-06-21 10:33:15.953885 96.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  512. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  513. <document type="freeswitch/xml">
  514. <section name="dialplan" description="ASTPP Dialplan">
  515. <context name="default">
  516. <extension name="476">
  517. <condition field="destination_number" expression="476">
  518. <action application="export" data="did_user_domain=automation3betav601.astppbilling.org"/>
  519. <action application="set" data="continue_on_fail=TRUE"/>
  520. <action application="set" data="ignore_early_media=true"/>
  521. <action application="set" data="no_answer_flag=false"/>
  522. <action application="set" data="did_calltype=9"/>
  523. <action application="set" data="did_extensions=1"/>
  524. <action application="set" data="daily_call_credit_limit=0.00000"/>
  525. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  526. <action application="set" data="daily_call_used_limit=0.00000"/>
  527. <action application="set" data="monthly_call_used_limit=0.00000"/>
  528. <action application="set" data="fifo_music="/>
  529.     <action application="set" data="fifo_music=$${hold_music}"/>
  530. <action application="set" data="module_name=pbx"/>
  531.     <action application="answer"/>
  532.     <action application="fifo" data="myqueue_1 in"/>
  533. </condition>
  534. </extension>
  535. </context>
  536. </section>
  537. </document>
  538. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 parsing [default->476] continue=false
  539. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Regex (PASS) [476] destination_number(476) =~ /476/ break=on-false
  540. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Action export(did_user_domain=automation3betav601.astppbilling.org)
  541. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Action set(continue_on_fail=TRUE)
  542. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Action set(ignore_early_media=true)
  543. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Action set(no_answer_flag=false)
  544. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Action set(did_calltype=9)
  545. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Action set(did_extensions=1)
  546. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Action set(daily_call_credit_limit=0.00000)
  547. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Action set(monthly_call_credit_limit=0.00000)
  548. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Action set(daily_call_used_limit=0.00000)
  549. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Action set(monthly_call_used_limit=0.00000)
  550. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Action set(fifo_music=)
  551. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Action set(fifo_music=$${hold_music})
  552. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Action set(module_name=pbx)
  553. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Action answer()
  554. Dialplan: sofia/default/67411@automation3betav601.astppbilling.org:5060 Action fifo(myqueue_1 in)
  555. 2023-06-21 10:33:15.953885 96.53% [DEBUG] switch_core_state_machine.c:281 (sofia/default/67411@automation3betav601.astppbilling.org:5060) State Change CS_ROUTING -> CS_EXECUTE
  556. 2023-06-21 10:33:15.953885 96.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/67411@automation3betav601.astppbilling.org:5060) State ROUTING going to sleep
  557. 2023-06-21 10:33:15.953885 96.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/67411@automation3betav601.astppbilling.org:5060) Running State Change CS_EXECUTE (Cur 1 Tot 58)
  558. 2023-06-21 10:33:15.953885 96.53% [DEBUG] switch_core_state_machine.c:647 (sofia/default/67411@automation3betav601.astppbilling.org:5060) State EXECUTE
  559. 2023-06-21 10:33:15.953885 96.53% [DEBUG] mod_sofia.c:213 sofia/default/67411@automation3betav601.astppbilling.org:5060 SOFIA EXECUTE
  560. 2023-06-21 10:33:15.953885 96.53% [DEBUG] switch_core_state_machine.c:323 sofia/default/67411@automation3betav601.astppbilling.org:5060 Standard EXECUTE
  561. EXECUTE [depth=0] sofia/default/67411@automation3betav601.astppbilling.org:5060 export(did_user_domain=automation3betav601.astppbilling.org)
  562. 2023-06-21 10:33:15.953885 96.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [did_user_domain]=[automation3betav601.astppbilling.org]
  563. EXECUTE [depth=0] sofia/default/67411@automation3betav601.astppbilling.org:5060 set(continue_on_fail=TRUE)
  564. 2023-06-21 10:33:15.953885 96.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/67411@automation3betav601.astppbilling.org:5060 [continue_on_fail]=[TRUE]
  565. EXECUTE [depth=0] sofia/default/67411@automation3betav601.astppbilling.org:5060 set(ignore_early_media=true)
  566. 2023-06-21 10:33:15.953885 96.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/67411@automation3betav601.astppbilling.org:5060 [ignore_early_media]=[true]
  567. EXECUTE [depth=0] sofia/default/67411@automation3betav601.astppbilling.org:5060 set(no_answer_flag=false)
  568. 2023-06-21 10:33:15.953885 96.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/67411@automation3betav601.astppbilling.org:5060 [no_answer_flag]=[false]
  569. EXECUTE [depth=0] sofia/default/67411@automation3betav601.astppbilling.org:5060 set(did_calltype=9)
  570. 2023-06-21 10:33:15.953885 96.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/67411@automation3betav601.astppbilling.org:5060 [did_calltype]=[9]
  571. EXECUTE [depth=0] sofia/default/67411@automation3betav601.astppbilling.org:5060 set(did_extensions=1)
  572. 2023-06-21 10:33:15.953885 96.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/67411@automation3betav601.astppbilling.org:5060 [did_extensions]=[1]
  573. EXECUTE [depth=0] sofia/default/67411@automation3betav601.astppbilling.org:5060 set(daily_call_credit_limit=0.00000)
  574. 2023-06-21 10:33:15.953885 96.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/67411@automation3betav601.astppbilling.org:5060 [daily_call_credit_limit]=[0.00000]
  575. EXECUTE [depth=0] sofia/default/67411@automation3betav601.astppbilling.org:5060 set(monthly_call_credit_limit=0.00000)
  576. 2023-06-21 10:33:15.953885 96.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/67411@automation3betav601.astppbilling.org:5060 [monthly_call_credit_limit]=[0.00000]
  577. EXECUTE [depth=0] sofia/default/67411@automation3betav601.astppbilling.org:5060 set(daily_call_used_limit=0.00000)
  578. 2023-06-21 10:33:15.953885 96.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/67411@automation3betav601.astppbilling.org:5060 [daily_call_used_limit]=[0.00000]
  579. EXECUTE [depth=0] sofia/default/67411@automation3betav601.astppbilling.org:5060 set(monthly_call_used_limit=0.00000)
  580. 2023-06-21 10:33:15.953885 96.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/67411@automation3betav601.astppbilling.org:5060 [monthly_call_used_limit]=[0.00000]
  581. EXECUTE [depth=0] sofia/default/67411@automation3betav601.astppbilling.org:5060 set(fifo_music=)
  582. 2023-06-21 10:33:15.953885 96.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/67411@automation3betav601.astppbilling.org:5060 [fifo_music]=[UNDEF]
  583. EXECUTE [depth=0] sofia/default/67411@automation3betav601.astppbilling.org:5060 set(fifo_music=local_stream://moh)
  584. 2023-06-21 10:33:15.953885 96.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/67411@automation3betav601.astppbilling.org:5060 [fifo_music]=[local_stream://moh]
  585. EXECUTE [depth=0] sofia/default/67411@automation3betav601.astppbilling.org:5060 set(module_name=pbx)
  586. 2023-06-21 10:33:15.953885 96.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/67411@automation3betav601.astppbilling.org:5060 [module_name]=[pbx]
  587. EXECUTE [depth=0] sofia/default/67411@automation3betav601.astppbilling.org:5060 answer()
  588. 2023-06-21 10:33:15.953885 96.53% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/67411@automation3betav601.astppbilling.org:5060] 172.31.38.162 port 22434 -> 103.240.35.46 port 1072 codec: 8 ms: 20
  589. 2023-06-21 10:33:15.953885 96.53% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  590. 2023-06-21 10:33:15.953885 96.53% [DEBUG] switch_core_media.c:9089 sofia/default/67411@automation3betav601.astppbilling.org:5060 Set 2833 dtmf send payload to 101
  591. 2023-06-21 10:33:15.953885 96.53% [DEBUG] switch_core_media.c:9096 sofia/default/67411@automation3betav601.astppbilling.org:5060 Set 2833 dtmf receive payload to 101
  592. 2023-06-21 10:33:15.953885 96.53% [DEBUG] switch_core_media.c:9119 sofia/default/67411@automation3betav601.astppbilling.org:5060 Set rtp dtmf delay to 40
  593. 2023-06-21 10:33:15.953885 96.53% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/67411@automation3betav601.astppbilling.org:5060:
  594. v=0
  595. o=FreeSWITCH 1687321161 1687321162 IN IP4 13.127.204.47
  596. s=FreeSWITCH
  597. c=IN IP4 13.127.204.47
  598. t=0 0
  599. m=audio 22434 RTP/AVP 8 101
  600. a=rtpmap:8 PCMA/8000
  601. a=rtpmap:101 telephone-event/8000
  602. a=fmtp:101 0-15
  603. a=ptime:20
  604. a=sendrecv
  605.  
  606. 2023-06-21 10:33:15.953885 96.53% [DEBUG] sofia.c:7499 Channel sofia/default/67411@automation3betav601.astppbilling.org:5060 entering state [completed][200]
  607. 2023-06-21 10:33:15.953885 96.53% [NOTICE] mod_dptools.c:1419 Channel [sofia/default/67411@automation3betav601.astppbilling.org:5060] has been answered
  608. 2023-06-21 10:33:15.953885 96.53% [DEBUG] switch_channel.c:3950 (sofia/default/67411@automation3betav601.astppbilling.org:5060) Callstate Change RINGING -> ACTIVE
  609. EXECUTE [depth=0] sofia/default/67411@automation3betav601.astppbilling.org:5060 fifo(myqueue_1 in)
  610. 2023-06-21 10:33:15.973882 96.53% [DEBUG] mod_local_stream.c:911 Opening Stream [moh/8000] 8000hz
  611. 2023-06-21 10:33:15.973882 96.53% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  612. 2023-06-21 10:33:15.993904 96.53% [DEBUG] sofia.c:7499 Channel sofia/default/67411@automation3betav601.astppbilling.org:5060 entering state [ready][200]
  613. 2023-06-21 10:33:16.233896 96.53% [INFO] switch_rtp.c:7894 Auto Changing audio port from 103.240.35.46:1072 to 103.240.35.46:1070
  614. 2023-06-21 10:33:39.753911 97.13% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [30681@automation3betav601.astppbilling.org] from ip 185.117.83.208
  615. 2023-06-21 10:33:40.053885 97.13% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [30681@automation3betav601.astppbilling.org] from ip 185.117.83.208
  616. 2023-06-21 10:33:40.453887 96.43% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [30681@automation3betav601.astppbilling.org] from ip 185.117.83.208
  617. 2023-06-21 10:33:42.293889 96.40% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [30681@automation3betav601.astppbilling.org] from ip 185.117.83.208
  618. 2023-06-21 10:33:46.133890 96.33% [NOTICE] switch_channel.c:1123 New Channel sofia/default/30681@automation3betav601.astppbilling.org:5060 [2a0e65d7-011b-4b2d-b0ec-259e6097ce30]
  619. 2023-06-21 10:33:46.133890 96.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/30681@automation3betav601.astppbilling.org:5060) Running State Change CS_NEW (Cur 2 Tot 59)
  620. 2023-06-21 10:33:46.133890 96.33% [INFO] sofia.c:10462 sofia/default/30681@automation3betav601.astppbilling.org:5060 receiving invite from 185.117.83.208:35080 version: 1.10.7 -release 64bit call-id: 8GJ1iCaa0HIOrdVx_zO3XA..
  621. 2023-06-21 10:33:46.133890 96.33% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 185.117.83.208:0.
  622. 2023-06-21 10:33:46.133890 96.33% [DEBUG] sofia.c:2419 detaching session 2a0e65d7-011b-4b2d-b0ec-259e6097ce30
  623. 2023-06-21 10:33:46.133890 96.33% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [912033@automation3betav601.astppbilling.org] from ip 185.117.83.208
  624. 2023-06-21 10:33:46.133890 96.33% [DEBUG] switch_core_state_machine.c:600 (sofia/default/30681@automation3betav601.astppbilling.org:5060) State NEW
  625. 2023-06-21 10:33:47.213890 96.77% [DEBUG] sofia.c:2532 Re-attaching to session 2a0e65d7-011b-4b2d-b0ec-259e6097ce30
  626. 2023-06-21 10:33:47.233899 96.77% [INFO] sofia.c:10462 sofia/default/30681@automation3betav601.astppbilling.org:5060 receiving invite from 185.117.83.208:35080 version: 1.10.7 -release 64bit call-id: 8GJ1iCaa0HIOrdVx_zO3XA..
  627. 2023-06-21 10:33:47.233899 96.77% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 185.117.83.208:0.
  628. 2023-06-21 10:33:47.233899 96.77% [DEBUG] sofia.c:7499 Channel sofia/default/30681@automation3betav601.astppbilling.org:5060 entering state [received][100]
  629. 2023-06-21 10:33:47.233899 96.77% [DEBUG] sofia.c:7509 Remote SDP:
  630. v=0
  631. o=Zoiper 0 1218126022 IN IP4 10.46.119.216
  632. s=Zoiper
  633. c=IN IP4 10.46.119.216
  634. t=0 0
  635. m=audio 46506 RTP/AVP 106 9 98 101 0 8 3
  636. a=rtpmap:106 opus/48000/2
  637. a=fmtp:106 sprop-maxcapturerate=16000; minptime=20; useinbandfec=1
  638. a=rtpmap:98 telephone-event/48000
  639. a=fmtp:98 0-16
  640. a=rtpmap:101 telephone-event/8000
  641. a=fmtp:101 0-16
  642. a=rtcp-mux
  643. a=ptime:20
  644. a=direction:both
  645.  
  646. 2023-06-21 10:33:47.233899 96.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [opus:106:48000:20:0:2]/[PCMA:8:8000:20:64000:1]
  647. 2023-06-21 10:33:47.233899 96.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [opus:106:48000:20:0:2]/[PCMU:0:8000:20:64000:1]
  648. 2023-06-21 10:33:47.233899 96.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  649. 2023-06-21 10:33:47.233899 96.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  650. 2023-06-21 10:33:47.233899 96.77% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 98@48000
  651. 2023-06-21 10:33:47.233899 96.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  652. 2023-06-21 10:33:47.233899 96.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  653. 2023-06-21 10:33:47.233899 96.77% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  654. 2023-06-21 10:33:47.233899 96.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  655. 2023-06-21 10:33:47.233899 96.77% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  656. 2023-06-21 10:33:47.233899 96.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  657. 2023-06-21 10:33:47.233899 96.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  658. 2023-06-21 10:33:47.233899 96.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  659. 2023-06-21 10:33:47.233899 96.77% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/30681@automation3betav601.astppbilling.org:5060 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  660. 2023-06-21 10:33:47.233899 96.77% [DEBUG] switch_core_codec.c:111 sofia/default/30681@automation3betav601.astppbilling.org:5060 Original read codec set to PCMU:0
  661. 2023-06-21 10:33:47.233899 96.77% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  662. 2023-06-21 10:33:47.233899 96.77% [DEBUG] switch_core_media.c:5973 sofia/default/30681@automation3betav601.astppbilling.org:5060 Set 2833 dtmf send payload to 101 recv payload to 101
  663. 2023-06-21 10:33:47.233899 96.77% [DEBUG] sofia.c:7933 (sofia/default/30681@automation3betav601.astppbilling.org:5060) State Change CS_NEW -> CS_INIT
  664. 2023-06-21 10:33:47.233899 96.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/30681@automation3betav601.astppbilling.org:5060) Running State Change CS_INIT (Cur 2 Tot 59)
  665. 2023-06-21 10:33:47.233899 96.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/30681@automation3betav601.astppbilling.org:5060) State INIT
  666. 2023-06-21 10:33:47.233899 96.77% [DEBUG] mod_sofia.c:97 sofia/default/30681@automation3betav601.astppbilling.org:5060 SOFIA INIT
  667. 2023-06-21 10:33:47.233899 96.77% [DEBUG] switch_core_state_machine.c:40 sofia/default/30681@automation3betav601.astppbilling.org:5060 Standard INIT
  668. 2023-06-21 10:33:47.233899 96.77% [DEBUG] switch_core_state_machine.c:48 (sofia/default/30681@automation3betav601.astppbilling.org:5060) State Change CS_INIT -> CS_ROUTING
  669. 2023-06-21 10:33:47.233899 96.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/30681@automation3betav601.astppbilling.org:5060) State INIT going to sleep
  670. 2023-06-21 10:33:47.233899 96.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/30681@automation3betav601.astppbilling.org:5060) Running State Change CS_ROUTING (Cur 2 Tot 59)
  671. 2023-06-21 10:33:47.233899 96.77% [DEBUG] switch_channel.c:2380 (sofia/default/30681@automation3betav601.astppbilling.org:5060) Callstate Change DOWN -> RINGING
  672. 2023-06-21 10:33:47.233899 96.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/30681@automation3betav601.astppbilling.org:5060) State ROUTING
  673. 2023-06-21 10:33:47.233899 96.77% [DEBUG] mod_sofia.c:158 sofia/default/30681@automation3betav601.astppbilling.org:5060 SOFIA ROUTING
  674. 2023-06-21 10:33:47.233899 96.77% [DEBUG] switch_core_state_machine.c:230 sofia/default/30681@automation3betav601.astppbilling.org:5060 Standard ROUTING
  675. 2023-06-21 10:33:47.233899 96.77% [INFO] mod_dialplan_xml.c:639 Processing 30681 <30681>->912033 in context default
  676. 2023-06-21 10:33:47.253887 96.77% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  677. 2023-06-21 10:33:47.253887 96.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  678. 2023-06-21 10:33:47.253887 96.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  679. 2023-06-21 10:33:47.253887 96.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  680. 2023-06-21 10:33:47.253887 96.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  681. 2023-06-21 10:33:47.253887 96.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 912033
  682. 2023-06-21 10:33:47.253887 96.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '912033' limit 1
  683. 2023-06-21 10:33:47.253887 96.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  684. 2023-06-21 10:33:47.253887 96.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 = '912033' and status=0 LIMIT 1
  685. 2023-06-21 10:33:47.253887 96.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] queue_destination_number,agent_hold_file : 912033
  686. 2023-06-21 10:33:47.253887 96.77% [WARNING] switch_cpp.cpp:1465 [ASTPP] Fifo Agent Flag1
  687. 2023-06-21 10:33:47.253887 96.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Queue Destination Number : 912033
  688. 2023-06-21 10:33:47.253887 96.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '' LIMIT 1
  689. 2023-06-21 10:33:47.253887 96.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  690. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  691. <document type="freeswitch/xml">
  692. <section name="dialplan" description="ASTPP Dialplan">
  693. <context name="default">
  694. <extension name="912033">
  695. <condition field="destination_number" expression="912033">
  696. <action application="export" data="did_user_domain=automation3betav601.astppbilling.org"/>
  697. <action application="set" data="fifo_music="/>
  698. <action application="set" data="fifo_music=$${hold_music}"/>
  699.     <action application="answer"/>
  700.     <action application="fifo" data="myqueue_1 out wait"/>
  701. </condition>
  702. </extension>
  703. </context>
  704. </section>
  705. </document>
  706. Dialplan: sofia/default/30681@automation3betav601.astppbilling.org:5060 parsing [default->912033] continue=false
  707. Dialplan: sofia/default/30681@automation3betav601.astppbilling.org:5060 Regex (PASS) [912033] destination_number(912033) =~ /912033/ break=on-false
  708. Dialplan: sofia/default/30681@automation3betav601.astppbilling.org:5060 Action export(did_user_domain=automation3betav601.astppbilling.org)
  709. Dialplan: sofia/default/30681@automation3betav601.astppbilling.org:5060 Action set(fifo_music=)
  710. Dialplan: sofia/default/30681@automation3betav601.astppbilling.org:5060 Action set(fifo_music=$${hold_music})
  711. Dialplan: sofia/default/30681@automation3betav601.astppbilling.org:5060 Action answer()
  712. Dialplan: sofia/default/30681@automation3betav601.astppbilling.org:5060 Action fifo(myqueue_1 out wait)
  713. 2023-06-21 10:33:47.253887 96.77% [DEBUG] switch_core_state_machine.c:281 (sofia/default/30681@automation3betav601.astppbilling.org:5060) State Change CS_ROUTING -> CS_EXECUTE
  714. 2023-06-21 10:33:47.253887 96.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/30681@automation3betav601.astppbilling.org:5060) State ROUTING going to sleep
  715. 2023-06-21 10:33:47.253887 96.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/30681@automation3betav601.astppbilling.org:5060) Running State Change CS_EXECUTE (Cur 2 Tot 59)
  716. 2023-06-21 10:33:47.253887 96.77% [DEBUG] switch_core_state_machine.c:647 (sofia/default/30681@automation3betav601.astppbilling.org:5060) State EXECUTE
  717. 2023-06-21 10:33:47.253887 96.77% [DEBUG] mod_sofia.c:213 sofia/default/30681@automation3betav601.astppbilling.org:5060 SOFIA EXECUTE
  718. 2023-06-21 10:33:47.253887 96.77% [DEBUG] switch_core_state_machine.c:323 sofia/default/30681@automation3betav601.astppbilling.org:5060 Standard EXECUTE
  719. EXECUTE [depth=0] sofia/default/30681@automation3betav601.astppbilling.org:5060 export(did_user_domain=automation3betav601.astppbilling.org)
  720. 2023-06-21 10:33:47.253887 96.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [did_user_domain]=[automation3betav601.astppbilling.org]
  721. EXECUTE [depth=0] sofia/default/30681@automation3betav601.astppbilling.org:5060 set(fifo_music=)
  722. 2023-06-21 10:33:47.253887 96.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/30681@automation3betav601.astppbilling.org:5060 [fifo_music]=[UNDEF]
  723. EXECUTE [depth=0] sofia/default/30681@automation3betav601.astppbilling.org:5060 set(fifo_music=local_stream://moh)
  724. 2023-06-21 10:33:47.253887 96.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/30681@automation3betav601.astppbilling.org:5060 [fifo_music]=[local_stream://moh]
  725. EXECUTE [depth=0] sofia/default/30681@automation3betav601.astppbilling.org:5060 answer()
  726. 2023-06-21 10:33:47.253887 96.77% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/30681@automation3betav601.astppbilling.org:5060] 172.31.38.162 port 28972 -> 10.46.119.216 port 46506 codec: 0 ms: 20
  727. 2023-06-21 10:33:47.253887 96.77% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  728. 2023-06-21 10:33:47.253887 96.77% [DEBUG] switch_core_media.c:8997 Activating RTCP PORT 46506
  729. 2023-06-21 10:33:47.253887 96.77% [DEBUG] switch_rtp.c:5017 RTCP send rate is: 1000 and packet rate is: 20000 Remote Port: 46506
  730. 2023-06-21 10:33:47.253887 96.77% [DEBUG] switch_core_media.c:9089 sofia/default/30681@automation3betav601.astppbilling.org:5060 Set 2833 dtmf send payload to 101
  731. 2023-06-21 10:33:47.253887 96.77% [DEBUG] switch_core_media.c:9096 sofia/default/30681@automation3betav601.astppbilling.org:5060 Set 2833 dtmf receive payload to 101
  732. 2023-06-21 10:33:47.253887 96.77% [DEBUG] switch_core_media.c:9119 sofia/default/30681@automation3betav601.astppbilling.org:5060 Set rtp dtmf delay to 40
  733. 2023-06-21 10:33:47.253887 96.77% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/30681@automation3betav601.astppbilling.org:5060:
  734. v=0
  735. o=FreeSWITCH 1687314655 1687314656 IN IP4 13.127.204.47
  736. s=FreeSWITCH
  737. c=IN IP4 13.127.204.47
  738. t=0 0
  739. m=audio 28972 RTP/AVP 0 101
  740. a=rtpmap:0 PCMU/8000
  741. a=rtpmap:101 telephone-event/8000
  742. a=fmtp:101 0-15
  743. a=ptime:20
  744. a=sendrecv
  745. a=rtcp-mux
  746. a=rtcp:28972 IN IP4 13.127.204.47
  747.  
  748. 2023-06-21 10:33:47.253887 96.77% [DEBUG] sofia.c:7499 Channel sofia/default/30681@automation3betav601.astppbilling.org:5060 entering state [completed][200]
  749. 2023-06-21 10:33:47.253887 96.77% [NOTICE] mod_dptools.c:1419 Channel [sofia/default/30681@automation3betav601.astppbilling.org:5060] has been answered
  750. 2023-06-21 10:33:47.253887 96.77% [DEBUG] switch_channel.c:3950 (sofia/default/30681@automation3betav601.astppbilling.org:5060) Callstate Change RINGING -> ACTIVE
  751. EXECUTE [depth=0] sofia/default/30681@automation3betav601.astppbilling.org:5060 fifo(myqueue_1 out wait)
  752. 2023-06-21 10:33:47.253887 96.77% [DEBUG] mod_local_stream.c:911 Opening Stream [moh/8000] 8000hz
  753. 2023-06-21 10:33:47.253887 96.77% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  754. 2023-06-21 10:33:47.273888 96.77% [DEBUG] switch_ivr_play_say.c:2001 done playing file local_stream://moh
  755. 2023-06-21 10:33:47.273888 96.77% [DEBUG] switch_ivr_play_say.c:2001 done playing file local_stream://moh
  756. 2023-06-21 10:33:47.273888 96.77% [DEBUG] mod_fifo.c:2858 (sofia/default/67411@automation3betav601.astppbilling.org:5060) State Change CS_EXECUTE -> CS_HIBERNATE
  757. 2023-06-21 10:33:47.273888 96.77% [DEBUG] switch_core_state_machine.c:647 (sofia/default/67411@automation3betav601.astppbilling.org:5060) State EXECUTE going to sleep
  758. 2023-06-21 10:33:47.273888 96.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/67411@automation3betav601.astppbilling.org:5060) Running State Change CS_HIBERNATE (Cur 2 Tot 59)
  759. 2023-06-21 10:33:47.273888 96.77% [DEBUG] switch_core_state_machine.c:662 (sofia/default/67411@automation3betav601.astppbilling.org:5060) State HIBERNATE
  760. 2023-06-21 10:33:47.273888 96.77% [DEBUG] mod_sofia.c:195 sofia/default/67411@automation3betav601.astppbilling.org:5060 SOFIA HIBERNATE
  761. 2023-06-21 10:33:47.273888 96.77% [DEBUG] switch_core_state_machine.c:417 sofia/default/67411@automation3betav601.astppbilling.org:5060 Standard HIBERNATE
  762. 2023-06-21 10:33:47.273888 96.77% [DEBUG] switch_core_state_machine.c:662 (sofia/default/67411@automation3betav601.astppbilling.org:5060) State HIBERNATE going to sleep
  763. 2023-06-21 10:33:47.293894 96.77% [DEBUG] switch_ivr_bridge.c:1683 (sofia/default/67411@automation3betav601.astppbilling.org:5060) State Change CS_HIBERNATE -> CS_CONSUME_MEDIA
  764. 2023-06-21 10:33:47.293894 96.77% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/67411@automation3betav601.astppbilling.org:5060) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  765. 2023-06-21 10:33:47.293894 96.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/67411@automation3betav601.astppbilling.org:5060) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 59)
  766. 2023-06-21 10:33:47.293894 96.77% [DEBUG] switch_core_state_machine.c:650 (sofia/default/67411@automation3betav601.astppbilling.org:5060) State EXCHANGE_MEDIA
  767. 2023-06-21 10:33:47.293894 96.77% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  768. 2023-06-21 10:33:47.893894 96.60% [DEBUG] sofia.c:7499 Channel sofia/default/30681@automation3betav601.astppbilling.org:5060 entering state [ready][200]
  769. 2023-06-21 10:33:47.993913 96.60% [DEBUG] switch_rtp.c:1982 rtcp_stats_init: audio ssrc[4214101713] base_seq[39698]
  770. 2023-06-21 10:33:48.273891 96.60% [INFO] switch_rtp.c:7894 Auto Changing audio port from 10.46.119.216:46506 to 117.228.97.50:42767
  771. 2023-06-21 10:33:58.713908 96.50% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [22@automation2betav601.astppbilling.org] from ip 103.240.35.46
  772. 2023-06-21 10:33:58.853886 96.50% [WARNING] sofia_reg.c:3223 Can't find user [22@automation2betav601.astppbilling.org] from 103.240.35.46
  773. You must define a domain called 'automation2betav601.astppbilling.org' in your directory and add a user with the id="22" attribute
  774. and you must configure your device to use the proper domain in its authentication credentials.
  775. 2023-06-21 10:33:59.893887 96.53% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [48@automation2betav601.astppbilling.org] from ip 103.240.35.46
  776. 2023-06-21 10:34:00.013893 96.53% [WARNING] sofia_reg.c:3223 Can't find user [48@automation2betav601.astppbilling.org] from 103.240.35.46
  777. You must define a domain called 'automation2betav601.astppbilling.org' in your directory and add a user with the id="48" attribute
  778. and you must configure your device to use the proper domain in its authentication credentials.
  779. 2023-06-21 10:34:01.493886 96.40% [NOTICE] sofia.c:1065 Hangup sofia/default/30681@automation3betav601.astppbilling.org:5060 [CS_EXECUTE] [NORMAL_CLEARING]
  780. 2023-06-21 10:34:01.493886 96.40% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/30681@automation3betav601.astppbilling.org:5060]
  781. 2023-06-21 10:34:01.493886 96.40% [DEBUG] switch_ivr_bridge.c:820 sofia/default/30681@automation3betav601.astppbilling.org:5060 ending bridge by request from write function
  782. 2023-06-21 10:34:01.493886 96.40% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/67411@automation3betav601.astppbilling.org:5060]
  783. 2023-06-21 10:34:01.493886 96.40% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/67411@automation3betav601.astppbilling.org:5060 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  784. 2023-06-21 10:34:01.493886 96.40% [DEBUG] switch_core_state_machine.c:650 (sofia/default/67411@automation3betav601.astppbilling.org:5060) State EXCHANGE_MEDIA going to sleep
  785. 2023-06-21 10:34:01.493886 96.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/67411@automation3betav601.astppbilling.org:5060) Running State Change CS_HANGUP (Cur 2 Tot 59)
  786. 2023-06-21 10:34:01.493886 96.40% [DEBUG] switch_core_state_machine.c:844 (sofia/default/67411@automation3betav601.astppbilling.org:5060) Callstate Change ACTIVE -> HANGUP
  787. 2023-06-21 10:34:01.493886 96.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/67411@automation3betav601.astppbilling.org:5060) State HANGUP
  788. 2023-06-21 10:34:01.493886 96.40% [DEBUG] mod_sofia.c:462 sofia/default/67411@automation3betav601.astppbilling.org:5060 Overriding SIP cause 480 with 200 from the other leg
  789. 2023-06-21 10:34:01.493886 96.40% [DEBUG] mod_sofia.c:468 Channel sofia/default/67411@automation3betav601.astppbilling.org:5060 hanging up, cause: NORMAL_CLEARING
  790. 2023-06-21 10:34:01.493886 96.40% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/67411@automation3betav601.astppbilling.org:5060
  791. 2023-06-21 10:34:01.493886 96.40% [DEBUG] switch_core_state_machine.c:59 sofia/default/67411@automation3betav601.astppbilling.org:5060 Standard HANGUP, cause: NORMAL_CLEARING
  792. 2023-06-21 10:34:01.493886 96.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/67411@automation3betav601.astppbilling.org:5060) State HANGUP going to sleep
  793. 2023-06-21 10:34:01.493886 96.40% [DEBUG] switch_core_state_machine.c:616 (sofia/default/67411@automation3betav601.astppbilling.org:5060) State Change CS_HANGUP -> CS_REPORTING
  794. 2023-06-21 10:34:01.493886 96.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/67411@automation3betav601.astppbilling.org:5060) Running State Change CS_REPORTING (Cur 2 Tot 59)
  795. 2023-06-21 10:34:01.493886 96.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/67411@automation3betav601.astppbilling.org:5060) State REPORTING
  796. 2023-06-21 10:34:01.493886 96.40% [INFO] mod_json_cdr.c:271 Process [98ef7848-9d8b-4ef5-a440-2a0b73291ab7.cdr.json]
  797. 2023-06-21 10:34:01.493886 96.40% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/67411@automation3betav601.astppbilling.org:5060 skip receive message [UNBRIDGE] (channel is hungup already)
  798. 2023-06-21 10:34:01.493886 96.40% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/30681@automation3betav601.astppbilling.org:5060 skip receive message [UNBRIDGE] (channel is hungup already)
  799. 2023-06-21 10:34:01.493886 96.40% [DEBUG] switch_core_session.c:2983 sofia/default/30681@automation3betav601.astppbilling.org:5060 skip receive message [PHONE_EVENT] (channel is hungup already)
  800. 2023-06-21 10:34:01.493886 96.40% [DEBUG] switch_core_state_machine.c:647 (sofia/default/30681@automation3betav601.astppbilling.org:5060) State EXECUTE going to sleep
  801. 2023-06-21 10:34:01.493886 96.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/30681@automation3betav601.astppbilling.org:5060) Running State Change CS_HANGUP (Cur 2 Tot 59)
  802. 2023-06-21 10:34:01.493886 96.40% [DEBUG] switch_core_state_machine.c:844 (sofia/default/30681@automation3betav601.astppbilling.org:5060) Callstate Change ACTIVE -> HANGUP
  803. 2023-06-21 10:34:01.493886 96.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/30681@automation3betav601.astppbilling.org:5060) State HANGUP
  804. 2023-06-21 10:34:01.493886 96.40% [DEBUG] mod_sofia.c:468 Channel sofia/default/30681@automation3betav601.astppbilling.org:5060 hanging up, cause: NORMAL_CLEARING
  805. 2023-06-21 10:34:01.513889 96.40% [DEBUG] switch_core_state_machine.c:59 sofia/default/30681@automation3betav601.astppbilling.org:5060 Standard HANGUP, cause: NORMAL_CLEARING
  806. 2023-06-21 10:34:01.513889 96.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/30681@automation3betav601.astppbilling.org:5060) State HANGUP going to sleep
  807. 2023-06-21 10:34:01.513889 96.40% [DEBUG] switch_core_state_machine.c:616 (sofia/default/30681@automation3betav601.astppbilling.org:5060) State Change CS_HANGUP -> CS_REPORTING
  808. 2023-06-21 10:34:01.513889 96.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/30681@automation3betav601.astppbilling.org:5060) Running State Change CS_REPORTING (Cur 2 Tot 59)
  809. 2023-06-21 10:34:01.513889 96.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/30681@automation3betav601.astppbilling.org:5060) State REPORTING
  810. 2023-06-21 10:34:01.513889 96.40% [INFO] mod_json_cdr.c:271 Process [2a0e65d7-011b-4b2d-b0ec-259e6097ce30.cdr.json]
  811. 2023-06-21 10:34:01.513889 96.40% [DEBUG] switch_core_state_machine.c:168 sofia/default/30681@automation3betav601.astppbilling.org:5060 Standard REPORTING, cause: NORMAL_CLEARING
  812. 2023-06-21 10:34:01.513889 96.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/30681@automation3betav601.astppbilling.org:5060) State REPORTING going to sleep
  813. 2023-06-21 10:34:01.513889 96.40% [DEBUG] switch_core_state_machine.c:607 (sofia/default/30681@automation3betav601.astppbilling.org:5060) State Change CS_REPORTING -> CS_DESTROY
  814. 2023-06-21 10:34:01.513889 96.40% [DEBUG] switch_core_session.c:1753 Session 59 (sofia/default/30681@automation3betav601.astppbilling.org:5060) Locked, Waiting on external entities
  815. 2023-06-21 10:34:01.513889 96.40% [NOTICE] switch_core_session.c:1771 Session 59 (sofia/default/30681@automation3betav601.astppbilling.org:5060) Ended
  816. 2023-06-21 10:34:01.513889 96.40% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/30681@automation3betav601.astppbilling.org:5060 [CS_DESTROY]
  817. 2023-06-21 10:34:01.513889 96.40% [DEBUG] switch_core_state_machine.c:735 (sofia/default/30681@automation3betav601.astppbilling.org:5060) Running State Change CS_DESTROY (Cur 1 Tot 59)
  818. 2023-06-21 10:34:01.513889 96.40% [DEBUG] switch_core_state_machine.c:745 (sofia/default/30681@automation3betav601.astppbilling.org:5060) State DESTROY
  819. 2023-06-21 10:34:01.513889 96.40% [DEBUG] mod_sofia.c:379 sofia/default/30681@automation3betav601.astppbilling.org:5060 SOFIA DESTROY
  820. 2023-06-21 10:34:01.513889 96.40% [DEBUG] switch_core_state_machine.c:175 sofia/default/30681@automation3betav601.astppbilling.org:5060 Standard DESTROY
  821. 2023-06-21 10:34:01.513889 96.40% [DEBUG] switch_core_state_machine.c:745 (sofia/default/30681@automation3betav601.astppbilling.org:5060) State DESTROY going to sleep
  822. 2023-06-21 10:34:01.513889 96.40% [DEBUG] switch_core_state_machine.c:168 sofia/default/67411@automation3betav601.astppbilling.org:5060 Standard REPORTING, cause: NORMAL_CLEARING
  823. 2023-06-21 10:34:01.513889 96.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/67411@automation3betav601.astppbilling.org:5060) State REPORTING going to sleep
  824. 2023-06-21 10:34:01.513889 96.40% [DEBUG] switch_core_state_machine.c:607 (sofia/default/67411@automation3betav601.astppbilling.org:5060) State Change CS_REPORTING -> CS_DESTROY
  825. 2023-06-21 10:34:01.513889 96.40% [DEBUG] switch_core_session.c:1753 Session 58 (sofia/default/67411@automation3betav601.astppbilling.org:5060) Locked, Waiting on external entities
  826. 2023-06-21 10:34:01.513889 96.40% [NOTICE] switch_core_session.c:1771 Session 58 (sofia/default/67411@automation3betav601.astppbilling.org:5060) Ended
  827. 2023-06-21 10:34:01.513889 96.40% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/67411@automation3betav601.astppbilling.org:5060 [CS_DESTROY]
  828. 2023-06-21 10:34:01.513889 96.40% [DEBUG] switch_core_state_machine.c:735 (sofia/default/67411@automation3betav601.astppbilling.org:5060) Running State Change CS_DESTROY (Cur 0 Tot 59)
  829. 2023-06-21 10:34:01.513889 96.40% [DEBUG] switch_core_state_machine.c:745 (sofia/default/67411@automation3betav601.astppbilling.org:5060) State DESTROY
  830. 2023-06-21 10:34:01.513889 96.40% [DEBUG] mod_sofia.c:379 sofia/default/67411@automation3betav601.astppbilling.org:5060 SOFIA DESTROY
  831. 2023-06-21 10:34:01.513889 96.40% [DEBUG] switch_core_state_machine.c:175 sofia/default/67411@automation3betav601.astppbilling.org:5060 Standard DESTROY
  832. 2023-06-21 10:34:01.513889 96.40% [DEBUG] switch_core_state_machine.c:745 (sofia/default/67411@automation3betav601.astppbilling.org:5060) State DESTROY going to sleep