From Prashant Kumar, 2 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. Type /help <enter> to see a list of commands
  2.  
  3.  
  4.  
  5. +OK log level  [7]
  6. 2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  7. 2022-09-16 07:36:31.666808 84.00% [NOTICE] switch_channel.c:1123 New Channel sofia/default/100000@142.132.184.134:5072 [42e1cdf4-7053-43d0-8d69-12f27c000cde]
  8. 2022-09-16 07:36:31.666808 84.00% [DEBUG] mod_sofia.c:5121 (sofia/default/100000@142.132.184.134:5072) State Change CS_NEW -> CS_INIT
  9. 2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100000@142.132.184.134:5072) Running State Change CS_INIT (Cur 1 Tot 68)
  10. 2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/100000@142.132.184.134:5072) State INIT
  11. 2022-09-16 07:36:31.666808 84.00% [DEBUG] mod_sofia.c:97 sofia/default/100000@142.132.184.134:5072 SOFIA INIT
  12. 2022-09-16 07:36:31.666808 84.00% [INFO] sofia_glue.c:1651 sofia/default/100000@142.132.184.134:5072 sending invite call-id: (null)
  13. 2022-09-16 07:36:31.666808 84.00% [DEBUG] sofia_glue.c:1654 sofia/default/100000@142.132.184.134:5072 sending invite version: 1.10.7 -release 64bit
  14. Local SDP:
  15. v=0
  16. o=FreeSWITCH 1663283275 1663283276 IN IP4 142.132.184.134
  17. s=FreeSWITCH
  18. c=IN IP4 142.132.184.134
  19. t=0 0
  20. m=audio 30516 RTP/AVP 8 0 101
  21. a=rtpmap:8 PCMA/8000
  22. a=rtpmap:0 PCMU/8000
  23. a=rtpmap:101 telephone-event/8000
  24. a=fmtp:101 0-15
  25. a=ptime:20
  26. a=sendrecv
  27.  
  28. 2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:40 sofia/default/100000@142.132.184.134:5072 Standard INIT
  29. 2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:48 (sofia/default/100000@142.132.184.134:5072) State Change CS_INIT -> CS_ROUTING
  30. 2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/100000@142.132.184.134:5072) State INIT going to sleep
  31. 2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100000@142.132.184.134:5072) Running State Change CS_ROUTING (Cur 1 Tot 68)
  32. 2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/100000@142.132.184.134:5072) State ROUTING
  33. 2022-09-16 07:36:31.666808 84.00% [DEBUG] mod_sofia.c:158 sofia/default/100000@142.132.184.134:5072 SOFIA ROUTING
  34. 2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_ivr_originate.c:67 (sofia/default/100000@142.132.184.134:5072) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  35. 2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/100000@142.132.184.134:5072) State ROUTING going to sleep
  36. 2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100000@142.132.184.134:5072) Running State Change CS_CONSUME_MEDIA (Cur 1 Tot 68)
  37. 2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:659 (sofia/default/100000@142.132.184.134:5072) State CONSUME_MEDIA
  38. 2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:659 (sofia/default/100000@142.132.184.134:5072) State CONSUME_MEDIA going to sleep
  39. 2022-09-16 07:36:31.666808 84.00% [DEBUG] sofia.c:7499 Channel sofia/default/100000@142.132.184.134:5072 entering state [calling][0]
  40. 2022-09-16 07:36:31.666808 84.00% [NOTICE] switch_channel.c:1123 New Channel sofia/default/100000@142.132.184.134 [efa2b078-7666-473d-a6d5-50aab8d1b854]
  41. 2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100000@142.132.184.134) Running State Change CS_NEW (Cur 2 Tot 69)
  42. 2022-09-16 07:36:31.666808 84.00% [INFO] sofia.c:10462 sofia/default/100000@142.132.184.134 receiving invite from 142.132.184.134:5072 version: 1.10.7 -release 64bit call-id: 2002c53f-b035-123b-87b4-9600013c8d14
  43. 2022-09-16 07:36:31.666808 84.00% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 142.132.184.134:0.
  44. 2022-09-16 07:36:31.666808 84.00% [DEBUG] sofia.c:10585 IP 142.132.184.134 Approved by acl "default[]". Access Granted.
  45. 2022-09-16 07:36:31.666808 84.00% [DEBUG] sofia.c:7499 Channel sofia/default/100000@142.132.184.134 entering state [received][100]
  46. 2022-09-16 07:36:31.666808 84.00% [DEBUG] sofia.c:7509 Remote SDP:
  47. v=0
  48. o=FreeSWITCH 1663283275 1663283276 IN IP4 142.132.184.134
  49. s=FreeSWITCH
  50. c=IN IP4 142.132.184.134
  51. t=0 0
  52. m=audio 30516 RTP/AVP 8 0 101
  53. a=rtpmap:8 PCMA/8000
  54. a=rtpmap:0 PCMU/8000
  55. a=rtpmap:101 telephone-event/8000
  56. a=fmtp:101 0-15
  57. a=ptime:20
  58.  
  59. 2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  60. 2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  61. 2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  62. 2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  63. 2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  64. 2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  65. 2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  66. 2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/100000@142.132.184.134 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  67. 2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_codec.c:111 sofia/default/100000@142.132.184.134 Original read codec set to PCMA:8
  68. 2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  69. 2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_media.c:5973 sofia/default/100000@142.132.184.134 Set 2833 dtmf send payload to 101 recv payload to 101
  70. 2022-09-16 07:36:31.666808 84.00% [DEBUG] sofia.c:7933 (sofia/default/100000@142.132.184.134) State Change CS_NEW -> CS_INIT
  71. 2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:600 (sofia/default/100000@142.132.184.134) State NEW
  72. 2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100000@142.132.184.134) Running State Change CS_INIT (Cur 2 Tot 69)
  73. 2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/100000@142.132.184.134) State INIT
  74. 2022-09-16 07:36:31.666808 84.00% [DEBUG] mod_sofia.c:97 sofia/default/100000@142.132.184.134 SOFIA INIT
  75. 2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:40 sofia/default/100000@142.132.184.134 Standard INIT
  76. 2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:48 (sofia/default/100000@142.132.184.134) State Change CS_INIT -> CS_ROUTING
  77. 2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/100000@142.132.184.134) State INIT going to sleep
  78. 2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100000@142.132.184.134) Running State Change CS_ROUTING (Cur 2 Tot 69)
  79. 2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_channel.c:2380 (sofia/default/100000@142.132.184.134) Callstate Change DOWN -> RINGING
  80. 2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/100000@142.132.184.134) State ROUTING
  81. 2022-09-16 07:36:31.666808 84.00% [DEBUG] mod_sofia.c:158 sofia/default/100000@142.132.184.134 SOFIA ROUTING
  82. 2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:230 sofia/default/100000@142.132.184.134 Standard ROUTING
  83. 2022-09-16 07:36:31.666808 84.00% [INFO] mod_dialplan_xml.c:639 Processing 40 <100000>->100000 in context default
  84. 2022-09-16 07:36:31.686804 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  85. 2022-09-16 07:36:31.686804 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  86. 2022-09-16 07:36:31.686804 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  87. 2022-09-16 07:36:31.686804 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  88. 2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Clicktocall Destination Number 11222222222222
  89. 2022-09-16 07:36:31.706817 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  90. 2022-09-16 07:36:31.706817 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 11222222222222
  91. 2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '11222222222222' limit 1
  92. 2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  93. 2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '11222222222222' and status=0 LIMIT 1
  94. 2022-09-16 07:36:31.706817 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERmod_sofia
  95. 2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  96. 2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '11222222222222' limit 1
  97. 2022-09-16 07:36:31.706817 84.00% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  98. 2022-09-16 07:36:31.706817 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 40 / 100000
  99. 2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 22222222
  100. 2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 112222 AND status=0 limit 1
  101. 2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  102. 2022-09-16 07:36:31.706817 84.00% [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="11222222222222"  AND domains.domain="142.132.184.134" limit 1
  103. 2022-09-16 07:36:31.706817 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  104. 2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("142.132.184.134") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "11222222222222"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  105. 2022-09-16 07:36:31.706817 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 993088]
  106. 2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =11222222222222
  107. 2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "993088" AND deleted = 0 limit 1
  108. 2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^11222222222222.*' OR blocked_patterns = '^1122222222222.*' OR blocked_patterns = '^112222222222.*' OR blocked_patterns = '^11222222222.*' OR blocked_patterns = '^1122222222.*' OR blocked_patterns = '^112222222.*' OR blocked_patterns = '^11222222.*' OR blocked_patterns = '^1122222.*' OR blocked_patterns = '^112222.*' OR blocked_patterns = '^11222.*' OR blocked_patterns = '^1122.*' OR blocked_patterns = '^112.*' OR blocked_patterns = '^11.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 203 limit 1
  109. 2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  110. 2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^11222222222222.*' OR patterns = '^1122222222222.*' OR patterns = '^112222222222.*' OR patterns = '^11222222222.*' OR patterns = '^1122222222.*' OR patterns = '^112222222.*' OR patterns = '^11222222.*' OR patterns = '^1122222.*' OR patterns = '^112222.*' OR patterns = '^11222.*' OR patterns = '^1122.*' OR patterns = '^112.*' OR patterns = '^11.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 203 ORDER BY LENGTH(PKGPTR.patterns) DESC
  111. 2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="11222222222222" AND A.accountid = '203' limit 1
  112. 2022-09-16 07:36:31.706817 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 11222222222222
  113. 2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  114. 2022-09-16 07:36:31.706817 84.00% [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="11222222222222"  AND domains.domain="142.132.184.134" limit 1
  115. 2022-09-16 07:36:31.706817 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  116. 2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '11222222222222' OR number = '1122222222222' OR number = '112222222222' OR number = '11222222222' OR number = '1122222222' OR number = '112222222' OR number = '11222222' OR number = '1122222' OR number = '112222' OR number = '11222' OR number = '1122' OR number = '112' OR number = '11' OR number = '1' OR number ='--') OR (number = '11222222222222*' OR number = '1122222222222*' OR number = '112222222222*' OR number = '11222222222*' OR number = '1122222222*' OR number = '112222222*' OR number = '11222222*' OR number = '1122222*' OR number = '112222*' OR number = '11222*' OR number = '1122*' OR number = '112*' OR number = '11*' OR number = '1*' OR number ='--') OR (number = '100000' OR number = '10000' OR number = '1000' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '100000*' OR number = '10000*' OR number = '1000*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  117. 2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  118. 2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '11222222222222' OR routing_prefix = '1122222222222' OR routing_prefix = '112222222222' OR routing_prefix = '11222222222' OR routing_prefix = '1122222222' OR routing_prefix = '112222222' OR routing_prefix = '11222222' OR routing_prefix = '1122222' OR routing_prefix = '112222' OR routing_prefix = '11222' OR routing_prefix = '1122' OR routing_prefix = '112' OR routing_prefix = '11' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 31 limit 1
  119. 2022-09-16 07:36:31.706817 84.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] Get Destination Number (11222222222222)!!!!
  120. 2022-09-16 07:36:31.706817 84.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] After Append Ported Number : (11222222222222)!!!!
  121. 2022-09-16 07:36:31.706817 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  122. 2022-09-16 07:36:31.706817 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 203
  123. 2022-09-16 07:36:31.706817 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 993088
  124. 2022-09-16 07:36:31.706817 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 9974.104
  125. 2022-09-16 07:36:31.706817 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  126. 2022-09-16 07:36:31.706817 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 41
  127. 2022-09-16 07:36:31.706817 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  128. 2022-09-16 07:36:31.706817 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  129. 2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  130. 2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::41
  131. 2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  132. 2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  133. 2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::41
  134. 2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^11222222222222.*' OR pattern = '^1122222222222.*' OR pattern = '^112222222222.*' OR pattern = '^11222222222.*' OR pattern = '^1122222222.*' OR pattern = '^112222222.*' OR pattern = '^11222222.*' OR pattern = '^1122222.*' OR pattern = '^112222.*' OR pattern = '^11222.*' OR pattern = '^1122.*' OR pattern = '^112.*' OR pattern = '^11.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^100000.*' OR caller_id_pattern = '^10000.*' OR caller_id_pattern = '^1000.*' OR caller_id_pattern = '^100.*' OR caller_id_pattern = '^10.*' OR caller_id_pattern = '^1.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 41 OR accountid=203)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  135. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  136. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  137. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.90000
  138. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:41
  139. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '41' and status=0
  140. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.90000
  141. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  142. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 34847
  143. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  144. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  145. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.90000
  146. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : QAA-Oman
  147. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 145
  148. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 203
  149. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  150. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  151. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  152. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Shadow_billing_rates]SHADOWBILLING:0|ID:34847|CODE:^1.*|DESTINATION:QAA-Oman|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.90000|INC:60|INITIALBLOCK:60|RATEGROUP:41|MARKUP:0|CI:145|ACCID:203!!!
  153. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your9974.104 balance Accountid 203 !!!
  154. 2022-09-16 07:36:31.726794 84.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 1000 mins!
  155. 2022-09-16 07:36:31.726794 84.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 31
  156. 2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "31" AND deleted = 0 limit 1
  157. 2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^11222222222222.*' OR blocked_patterns = '^1122222222222.*' OR blocked_patterns = '^112222222222.*' OR blocked_patterns = '^11222222222.*' OR blocked_patterns = '^1122222222.*' OR blocked_patterns = '^112222222.*' OR blocked_patterns = '^11222222.*' OR blocked_patterns = '^1122222.*' OR blocked_patterns = '^112222.*' OR blocked_patterns = '^11222.*' OR blocked_patterns = '^1122.*' OR blocked_patterns = '^112.*' OR blocked_patterns = '^11.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 31 limit 1
  158. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
  159. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 31
  160. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 814162
  161. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 49.304
  162. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  163. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 57
  164. 2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  165. 2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::57
  166. 2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  167. 2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  168. 2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::57
  169. 2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^11222222222222.*' OR pattern = '^1122222222222.*' OR pattern = '^112222222222.*' OR pattern = '^11222222222.*' OR pattern = '^1122222222.*' OR pattern = '^112222222.*' OR pattern = '^11222222.*' OR pattern = '^1122222.*' OR pattern = '^112222.*' OR pattern = '^11222.*' OR pattern = '^1122.*' OR pattern = '^112.*' OR pattern = '^11.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^100000.*' OR caller_id_pattern = '^10000.*' OR caller_id_pattern = '^1000.*' OR caller_id_pattern = '^100.*' OR caller_id_pattern = '^10.*' OR caller_id_pattern = '^1.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 57 OR accountid=31)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  170. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  171. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  172. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.60000
  173. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:57
  174. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '57' and status=0
  175. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.60000
  176. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  177. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 34873
  178. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  179. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  180. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000
  181. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : COMMUNITY DESTINATION
  182. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 49
  183. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 31
  184. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  185. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  186. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  187. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Shadow_billing_rates]SHADOWBILLING:0|ID:34873|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:57|MARKUP:0|CI:49|ACCID:31!!!
  188. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your49.304 balance Accountid 31 !!!
  189. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : SHADOWBILLING:0|ID:34847|CODE:^1.*|DESTINATION:QAA-Oman|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.90000|INC:60|INITIALBLOCK:60|RATEGROUP:41|MARKUP:0|CI:145|ACCID:203||SHADOWBILLING:0|ID:34873|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:57|MARKUP:0|CI:49|ACCID:31
  190. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  191. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 1
  192. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 82.173333333333 minutes
  193. 2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  194. 2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=57 ORDER by id asc
  195. 2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^11222222222222.*' OR pattern = '^1122222222222.*' OR pattern = '^112222222222.*' OR pattern = '^11222222222.*' OR pattern = '^1122222222.*' OR pattern = '^112222222.*' OR pattern = '^11222222.*' OR pattern = '^1122222.*' OR pattern = '^112222.*' OR pattern = '^11222.*' OR pattern = '^1122.*' OR pattern = '^112.*' OR pattern = '^11.*' OR pattern = '^1.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (53,99) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  196. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  197. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
  198. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.*
  199. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : COMMUNITY DESTINATION
  200. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  201. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  202. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.*
  203. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  204. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  205. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 53
  206. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : COMMUNITYPKGATEWAY
  207. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  208. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : YourProvider
  209. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 227
  210. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  211. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  212. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  213. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 9
  214. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.*
  215. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : QAAA-SEND-ON-CLICK
  216. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  217. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  218. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.*
  219. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  220. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  221. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 99
  222. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider
  223. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  224. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  225. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 227
  226. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  227. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  228. 2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 203 AND status=0 LIMIT 1
  229. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 82.173333333333
  230. 2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  231. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  232. 2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
  233. 2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  234. 2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::57
  235. 2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 227) AND status=0 limit 1
  236. 2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 53) AND status=0 limit 1
  237. 2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="100000"  AND domains.domain="142.132.184.134" limit 1
  238. 2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100000" LIMIT 1
  239. 2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100000" LIMIT 1
  240. 2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  241. 2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  242. 2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::57
  243. 2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 227) AND status=0 limit 1
  244. 2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 99) AND status=0 limit 1
  245. 2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="100000"  AND domains.domain="142.132.184.134" limit 1
  246. 2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100000" LIMIT 1
  247. 2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100000" LIMIT 1
  248. 2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  249. 2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  250. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  251. <document type="freeswitch/xml">
  252. <section name="dialplan" description="ASTPP Dialplan">
  253. <context name="default">
  254. <extension name="11222222222222">
  255. <condition field="destination_number" expression="100000">
  256. <action application="set" data="effective_destination_number=11222222222222"/>
  257. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  258. <action application="set" data="bridge_pre_execute_bleg_data=+4930.4 normal_clearing"/>
  259. <action application="set" data="notify_flag=0"/>
  260. <action application="set" data="notify_credit_limit=12.00000"/>
  261. <action application="set" data="type=0"/>
  262. <action application="set" data="callstart=2022-09-16 07:36:31"/>
  263. <action application="set" data="hangup_after_bridge=true"/>
  264. <action application="set" data="continue_on_fail=TRUE"/>
  265. <action application="set" data="account_id=203"/>
  266. <action application="set" data="parent_id=31"/>
  267. <action application="set" data="entity_id=0"/>
  268. <action application="set" data="call_processed=internal"/>
  269. <action application="set" data="call_direction=outbound"/>
  270. <action application="set" data="accountname=QAA"/>
  271. <action application="set" data="filename1=astpp.pbx.lua"/>
  272. <action application="set" data="origination_rates=SHADOWBILLING:0|ID:34847|CODE:^1.*|DESTINATION:QAA-Oman|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.90000|INC:60|INITIALBLOCK:60|RATEGROUP:41|MARKUP:0|CI:145|ACCID:203||SHADOWBILLING:0|ID:34873|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:57|MARKUP:0|CI:49|ACCID:31"/>
  273. <action application="set" data="original_caller_id_name=40"/>
  274. <action application="set" data="original_caller_id_number=100000"/>
  275. <action application="limit" data="db 993088 user_993088 12 "/>
  276.  
  277. <action application="set" data="effective_caller_id_name=40"/>
  278. <action application="set" data="effective_caller_id_number=100000"/>
  279. <action application="set" data="calltype=STANDARD"/>
  280. <action application="set" data="termination_rates=ID:7|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:53|PROVIDER:227"/>
  281. <action application="set" data="trunk_id=53"/>
  282. <action application="set" data="provider_id=227"/>
  283. <action application="set" data="rate_flag=0"/>
  284. <action application="set" data="quality_trunk_seq=53,99"/>
  285. <action application="set" data="force_trunk_flag=0"/>
  286. <action application="export" data="presence_data=trunk_id=53"/>
  287. <action application="set" data="intcall=0"/>
  288. <action application="export" data="presence_id=11222222222222"/>
  289. <action application="export" data="presence_data=x//31|||PK Resellers Cust(993088)|||^1.* // QAA-Oman // 0.90000 |||COMMUNITYPK-TRINK // ^1.* // COMMUNITY DESTINATION // 0.30000 // trunk_id=53|||STD|||142.132.184.134|||0.60000 // ^1.* // COMMUNITY DESTINATION"/>
  290. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=33]sofia/gateway/COMMUNITYPKGATEWAY/11222222222222"/>
  291. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=33]sofia/gateway/YourProvider/11222222222222"/>
  292. <action application="set" data="effective_caller_id_name=40"/>
  293. <action application="set" data="effective_caller_id_number=100000"/>
  294. <action application="set" data="calltype=STANDARD"/>
  295. <action application="set" data="termination_rates=ID:9|CODE:^1.*|DESTINATION:QAAA-SEND-ON-CLICK|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.35000|INC:60|INITIALBLOCK:60|TRUNK:99|PROVIDER:227"/>
  296. <action application="set" data="trunk_id=99"/>
  297. <action application="set" data="provider_id=227"/>
  298. <action application="set" data="rate_flag=0"/>
  299. <action application="set" data="quality_trunk_seq=53,99"/>
  300. <action application="set" data="force_trunk_flag=0"/>
  301. <action application="export" data="presence_data=trunk_id=99"/>
  302. <action application="set" data="intcall=0"/>
  303. <action application="export" data="presence_id=11222222222222"/>
  304. <action application="export" data="presence_data=x//31|||PK Resellers Cust(993088)|||^1.* // QAA-Oman // 0.90000 |||PK-SENDON-CLICK // ^1.* // QAAA-SEND-ON-CLICK // 0.35000 // trunk_id=99|||STD|||142.132.184.134|||0.60000 // ^1.* // COMMUNITY DESTINATION"/>
  305. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/YourProvider/11222222222222"/>
  306. </condition>
  307. </extension>
  308. </context>
  309. </section>
  310. </document>
  311. Dialplan: sofia/default/100000@142.132.184.134 parsing [default->11222222222222] continue=false
  312. Dialplan: sofia/default/100000@142.132.184.134 Regex (PASS) [11222222222222] destination_number(100000) =~ /100000/ break=on-false
  313. Dialplan: sofia/default/100000@142.132.184.134 Action set(effective_destination_number=11222222222222)
  314. Dialplan: sofia/default/100000@142.132.184.134 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  315. Dialplan: sofia/default/100000@142.132.184.134 Action set(bridge_pre_execute_bleg_data=+4930.4 normal_clearing)
  316. Dialplan: sofia/default/100000@142.132.184.134 Action set(notify_flag=0)
  317. Dialplan: sofia/default/100000@142.132.184.134 Action set(notify_credit_limit=12.00000)
  318. Dialplan: sofia/default/100000@142.132.184.134 Action set(type=0)
  319. Dialplan: sofia/default/100000@142.132.184.134 Action set(callstart=2022-09-16 07:36:31)
  320. Dialplan: sofia/default/100000@142.132.184.134 Action set(hangup_after_bridge=true)
  321. Dialplan: sofia/default/100000@142.132.184.134 Action set(continue_on_fail=TRUE)
  322. Dialplan: sofia/default/100000@142.132.184.134 Action set(account_id=203)
  323. Dialplan: sofia/default/100000@142.132.184.134 Action set(parent_id=31)
  324. Dialplan: sofia/default/100000@142.132.184.134 Action set(entity_id=0)
  325. Dialplan: sofia/default/100000@142.132.184.134 Action set(call_processed=internal)
  326. Dialplan: sofia/default/100000@142.132.184.134 Action set(call_direction=outbound)
  327. Dialplan: sofia/default/100000@142.132.184.134 Action set(accountname=QAA)
  328. Dialplan: sofia/default/100000@142.132.184.134 Action set(filename1=astpp.pbx.lua)
  329. Dialplan: sofia/default/100000@142.132.184.134 Action set(origination_rates=SHADOWBILLING:0|ID:34847|CODE:^1.*|DESTINATION:QAA-Oman|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.90000|INC:60|INITIALBLOCK:60|RATEGROUP:41|MARKUP:0|CI:145|ACCID:203||SHADOWBILLING:0|ID:34873|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:57|MARKUP:0|CI:49|ACCID:31)
  330. Dialplan: sofia/default/100000@142.132.184.134 Action set(original_caller_id_name=40)
  331. Dialplan: sofia/default/100000@142.132.184.134 Action set(original_caller_id_number=100000)
  332. Dialplan: sofia/default/100000@142.132.184.134 Action limit(db 993088 user_993088 12 )
  333. Dialplan: sofia/default/100000@142.132.184.134 Action set(effective_caller_id_name=40)
  334. Dialplan: sofia/default/100000@142.132.184.134 Action set(effective_caller_id_number=100000)
  335. Dialplan: sofia/default/100000@142.132.184.134 Action set(calltype=STANDARD)
  336. Dialplan: sofia/default/100000@142.132.184.134 Action set(termination_rates=ID:7|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:53|PROVIDER:227)
  337. Dialplan: sofia/default/100000@142.132.184.134 Action set(trunk_id=53)
  338. Dialplan: sofia/default/100000@142.132.184.134 Action set(provider_id=227)
  339. Dialplan: sofia/default/100000@142.132.184.134 Action set(rate_flag=0)
  340. Dialplan: sofia/default/100000@142.132.184.134 Action set(quality_trunk_seq=53,99)
  341. Dialplan: sofia/default/100000@142.132.184.134 Action set(force_trunk_flag=0)
  342. Dialplan: sofia/default/100000@142.132.184.134 Action export(presence_data=trunk_id=53)
  343. Dialplan: sofia/default/100000@142.132.184.134 Action set(intcall=0)
  344. Dialplan: sofia/default/100000@142.132.184.134 Action export(presence_id=11222222222222)
  345. Dialplan: sofia/default/100000@142.132.184.134 Action export(presence_data=x//31|||PK Resellers Cust(993088)|||^1.* // QAA-Oman // 0.90000 |||COMMUNITYPK-TRINK // ^1.* // COMMUNITY DESTINATION // 0.30000 // trunk_id=53|||STD|||142.132.184.134|||0.60000 // ^1.* // COMMUNITY DESTINATION)
  346. Dialplan: sofia/default/100000@142.132.184.134 Action bridge({sip_cid_type=none}[leg_timeout=33]sofia/gateway/COMMUNITYPKGATEWAY/11222222222222)
  347. Dialplan: sofia/default/100000@142.132.184.134 Action bridge({sip_cid_type=none}[leg_timeout=33]sofia/gateway/YourProvider/11222222222222)
  348. Dialplan: sofia/default/100000@142.132.184.134 Action set(effective_caller_id_name=40)
  349. Dialplan: sofia/default/100000@142.132.184.134 Action set(effective_caller_id_number=100000)
  350. Dialplan: sofia/default/100000@142.132.184.134 Action set(calltype=STANDARD)
  351. Dialplan: sofia/default/100000@142.132.184.134 Action set(termination_rates=ID:9|CODE:^1.*|DESTINATION:QAAA-SEND-ON-CLICK|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.35000|INC:60|INITIALBLOCK:60|TRUNK:99|PROVIDER:227)
  352. Dialplan: sofia/default/100000@142.132.184.134 Action set(trunk_id=99)
  353. Dialplan: sofia/default/100000@142.132.184.134 Action set(provider_id=227)
  354. Dialplan: sofia/default/100000@142.132.184.134 Action set(rate_flag=0)
  355. Dialplan: sofia/default/100000@142.132.184.134 Action set(quality_trunk_seq=53,99)
  356. Dialplan: sofia/default/100000@142.132.184.134 Action set(force_trunk_flag=0)
  357. Dialplan: sofia/default/100000@142.132.184.134 Action export(presence_data=trunk_id=99)
  358. Dialplan: sofia/default/100000@142.132.184.134 Action set(intcall=0)
  359. Dialplan: sofia/default/100000@142.132.184.134 Action export(presence_id=11222222222222)
  360. Dialplan: sofia/default/100000@142.132.184.134 Action export(presence_data=x//31|||PK Resellers Cust(993088)|||^1.* // QAA-Oman // 0.90000 |||PK-SENDON-CLICK // ^1.* // QAAA-SEND-ON-CLICK // 0.35000 // trunk_id=99|||STD|||142.132.184.134|||0.60000 // ^1.* // COMMUNITY DESTINATION)
  361. Dialplan: sofia/default/100000@142.132.184.134 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/YourProvider/11222222222222)
  362. 2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_core_state_machine.c:281 (sofia/default/100000@142.132.184.134) State Change CS_ROUTING -> CS_EXECUTE
  363. 2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/100000@142.132.184.134) State ROUTING going to sleep
  364. 2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100000@142.132.184.134) Running State Change CS_EXECUTE (Cur 2 Tot 69)
  365. 2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_core_state_machine.c:647 (sofia/default/100000@142.132.184.134) State EXECUTE
  366. 2022-09-16 07:36:31.726794 84.00% [DEBUG] mod_sofia.c:213 sofia/default/100000@142.132.184.134 SOFIA EXECUTE
  367. 2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_core_state_machine.c:323 sofia/default/100000@142.132.184.134 Standard EXECUTE
  368. EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(effective_destination_number=11222222222222)
  369. 2022-09-16 07:36:31.726794 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [effective_destination_number]=[11222222222222]
  370. EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(bridge_pre_execute_bleg_app=sched_hangup)
  371. 2022-09-16 07:36:31.726794 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [bridge_pre_execute_bleg_app]=[sched_hangup]
  372. EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(bridge_pre_execute_bleg_data=+4930.4 normal_clearing)
  373. 2022-09-16 07:36:31.726794 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [bridge_pre_execute_bleg_data]=[+4930.4 normal_clearing]
  374. EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(notify_flag=0)
  375. 2022-09-16 07:36:31.726794 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [notify_flag]=[0]
  376. EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(notify_credit_limit=12.00000)
  377. 2022-09-16 07:36:31.726794 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [notify_credit_limit]=[12.00000]
  378. EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(type=0)
  379. 2022-09-16 07:36:31.726794 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [type]=[0]
  380. EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(callstart=2022-09-16 07:36:31)
  381. 2022-09-16 07:36:31.726794 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [callstart]=[2022-09-16 07:36:31]
  382. EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(hangup_after_bridge=true)
  383. 2022-09-16 07:36:31.726794 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [hangup_after_bridge]=[true]
  384. EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(continue_on_fail=TRUE)
  385. 2022-09-16 07:36:31.726794 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [continue_on_fail]=[TRUE]
  386. EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(account_id=203)
  387. 2022-09-16 07:36:31.726794 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [account_id]=[203]
  388. EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(parent_id=31)
  389. 2022-09-16 07:36:31.726794 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [parent_id]=[31]
  390. EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(entity_id=0)
  391. 2022-09-16 07:36:31.726794 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [entity_id]=[0]
  392. EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(call_processed=internal)
  393. 2022-09-16 07:36:31.726794 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [call_processed]=[internal]
  394. EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(call_direction=outbound)
  395. 2022-09-16 07:36:31.726794 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [call_direction]=[outbound]
  396. EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(accountname=QAA)
  397. 2022-09-16 07:36:31.726794 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [accountname]=[QAA]
  398. EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(filename1=astpp.pbx.lua)
  399. 2022-09-16 07:36:31.726794 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [filename1]=[astpp.pbx.lua]
  400. EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(origination_rates=SHADOWBILLING:0|ID:34847|CODE:^1.*|DESTINATION:QAA-Oman|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.90000|INC:60|INITIALBLOCK:60|RATEGROUP:41|MARKUP:0|CI:145|ACCID:203||SHADOWBILLING:0|ID:34873|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:57|MARKUP:0|CI:49|ACCID:31)
  401. 2022-09-16 07:36:31.726794 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [origination_rates]=[SHADOWBILLING:0|ID:34847|CODE:^1.*|DESTINATION:QAA-Oman|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.90000|INC:60|INITIALBLOCK:60|RATEGROUP:41|MARKUP:0|CI:145|ACCID:203||SHADOWBILLING:0|ID:34873|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:57|MARKUP:0|CI:49|ACCID:31]
  402. EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(original_caller_id_name=40)
  403. 2022-09-16 07:36:31.746822 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [original_caller_id_name]=[40]
  404. EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(original_caller_id_number=100000)
  405. 2022-09-16 07:36:31.746822 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [original_caller_id_number]=[100000]
  406. EXECUTE [depth=0] sofia/default/100000@142.132.184.134 limit(db 993088 user_993088 12 )
  407. 2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_limit.c:124 incr called: 993088_user_993088 max:12, interval:0
  408. 2022-09-16 07:36:31.746822 84.00% [DEBUG] mod_db.c:194 Usage for 993088_user_993088 is now 1/12
  409. EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(effective_caller_id_name=40)
  410. 2022-09-16 07:36:31.746822 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [effective_caller_id_name]=[40]
  411. EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(effective_caller_id_number=100000)
  412. 2022-09-16 07:36:31.746822 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [effective_caller_id_number]=[100000]
  413. EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(calltype=STANDARD)
  414. 2022-09-16 07:36:31.746822 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [calltype]=[STANDARD]
  415. EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(termination_rates=ID:7|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:53|PROVIDER:227)
  416. 2022-09-16 07:36:31.746822 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [termination_rates]=[ID:7|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:53|PROVIDER:227]
  417. EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(trunk_id=53)
  418. 2022-09-16 07:36:31.746822 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [trunk_id]=[53]
  419. EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(provider_id=227)
  420. 2022-09-16 07:36:31.746822 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [provider_id]=[227]
  421. EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(rate_flag=0)
  422. 2022-09-16 07:36:31.746822 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [rate_flag]=[0]
  423. EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(quality_trunk_seq=53,99)
  424. 2022-09-16 07:36:31.746822 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [quality_trunk_seq]=[53,99]
  425. EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(force_trunk_flag=0)
  426. 2022-09-16 07:36:31.746822 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [force_trunk_flag]=[0]
  427. EXECUTE [depth=0] sofia/default/100000@142.132.184.134 export(presence_data=trunk_id=53)
  428. 2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=53]
  429. EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(intcall=0)
  430. 2022-09-16 07:36:31.746822 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [intcall]=[0]
  431. EXECUTE [depth=0] sofia/default/100000@142.132.184.134 export(presence_id=11222222222222)
  432. 2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[11222222222222]
  433. EXECUTE [depth=0] sofia/default/100000@142.132.184.134 export(presence_data=x//31|||PK Resellers Cust(993088)|||^1.* // QAA-Oman // 0.90000 |||COMMUNITYPK-TRINK // ^1.* // COMMUNITY DESTINATION // 0.30000 // trunk_id=53|||STD|||142.132.184.134|||0.60000 // ^1.* // COMMUNITY DESTINATION)
  434. 2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//31|||PK Resellers Cust(993088)|||^1.* // QAA-Oman // 0.90000 |||COMMUNITYPK-TRINK // ^1.* // COMMUNITY DESTINATION // 0.30000 // trunk_id=53|||STD|||142.132.184.134|||0.60000 // ^1.* // COMMUNITY DESTINATION]
  435. EXECUTE [depth=0] sofia/default/100000@142.132.184.134 bridge({sip_cid_type=none}[leg_timeout=33]sofia/gateway/COMMUNITYPKGATEWAY/11222222222222)
  436. 2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_channel.c:1269 sofia/default/100000@142.132.184.134 EXPORTING[export_vars] [presence_data]=[x//31|||PK Resellers Cust(993088)|||^1.* // QAA-Oman // 0.90000 |||COMMUNITYPK-TRINK // ^1.* // COMMUNITY DESTINATION // 0.30000 // trunk_id=53|||STD|||142.132.184.134|||0.60000 // ^1.* // COMMUNITY DESTINATION] to event
  437. 2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_channel.c:1269 sofia/default/100000@142.132.184.134 EXPORTING[export_vars] [presence_id]=[11222222222222] to event
  438. 2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_channel.c:1269 sofia/default/100000@142.132.184.134 EXPORTING[export_vars] [presence_data]=[x//31|||PK Resellers Cust(993088)|||^1.* // QAA-Oman // 0.90000 |||COMMUNITYPK-TRINK // ^1.* // COMMUNITY DESTINATION // 0.30000 // trunk_id=53|||STD|||142.132.184.134|||0.60000 // ^1.* // COMMUNITY DESTINATION] to event
  439. 2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  440. 2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  441. 2022-09-16 07:36:31.746822 84.00% [NOTICE] switch_channel.c:1123 New Channel sofia/default/11222222222222 [12f016ba-f5cd-4590-a14d-f90a745aeec0]
  442. 2022-09-16 07:36:31.746822 84.00% [DEBUG] mod_sofia.c:5121 (sofia/default/11222222222222) State Change CS_NEW -> CS_INIT
  443. 2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_ivr_originate.c:3151 sofia/default/11222222222222 Setting leg timeout to 33
  444. 2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/11222222222222) Running State Change CS_INIT (Cur 3 Tot 70)
  445. 2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/11222222222222) State INIT
  446. 2022-09-16 07:36:31.746822 84.00% [DEBUG] mod_sofia.c:97 sofia/default/11222222222222 SOFIA INIT
  447. 2022-09-16 07:36:31.746822 84.00% [INFO] sofia_glue.c:1651 sofia/default/11222222222222 sending invite call-id: (null)
  448. 2022-09-16 07:36:31.746822 84.00% [DEBUG] sofia_glue.c:1654 sofia/default/11222222222222 sending invite version: 1.10.7 -release 64bit
  449. Local SDP:
  450. v=0
  451. o=FreeSWITCH 1663286631 1663286632 IN IP4 142.132.184.134
  452. s=FreeSWITCH
  453. c=IN IP4 142.132.184.134
  454. t=0 0
  455. m=audio 27160 RTP/AVP 8 101
  456. a=rtpmap:8 PCMA/8000
  457. a=rtpmap:101 telephone-event/8000
  458. a=fmtp:101 0-15
  459. a=ptime:20
  460. a=sendrecv
  461.  
  462. 2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_core_state_machine.c:40 sofia/default/11222222222222 Standard INIT
  463. 2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_core_state_machine.c:48 (sofia/default/11222222222222) State Change CS_INIT -> CS_ROUTING
  464. 2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/11222222222222) State INIT going to sleep
  465. 2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/11222222222222) Running State Change CS_ROUTING (Cur 3 Tot 70)
  466. 2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/11222222222222) State ROUTING
  467. 2022-09-16 07:36:31.746822 84.00% [DEBUG] mod_sofia.c:158 sofia/default/11222222222222 SOFIA ROUTING
  468. 2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_ivr_originate.c:67 (sofia/default/11222222222222) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  469. 2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/11222222222222) State ROUTING going to sleep
  470. 2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/11222222222222) Running State Change CS_CONSUME_MEDIA (Cur 3 Tot 70)
  471. 2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_core_state_machine.c:659 (sofia/default/11222222222222) State CONSUME_MEDIA
  472. 2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_core_state_machine.c:659 (sofia/default/11222222222222) State CONSUME_MEDIA going to sleep
  473. 2022-09-16 07:36:31.746822 84.00% [DEBUG] sofia.c:7499 Channel sofia/default/11222222222222 entering state [calling][0]
  474. 2022-09-16 07:36:32.126804 83.80% [DEBUG] sofia.c:7499 Channel sofia/default/11222222222222 entering state [completing][200]
  475. 2022-09-16 07:36:32.126804 83.80% [DEBUG] sofia.c:7509 Remote SDP:
  476. v=0
  477. o=FreeSWITCH 1663290730 1663290731 IN IP4 13.127.224.72
  478. s=FreeSWITCH
  479. c=IN IP4 13.127.224.72
  480. t=0 0
  481. m=audio 23062 RTP/AVP 8 101
  482. a=rtpmap:8 PCMA/8000
  483. a=rtpmap:101 telephone-event/8000
  484. a=fmtp:101 0-15
  485. a=ptime:20
  486.  
  487. 2022-09-16 07:36:32.126804 83.80% [DEBUG] sofia.c:7499 Channel sofia/default/11222222222222 entering state [ready][200]
  488. 2022-09-16 07:36:32.126804 83.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  489. 2022-09-16 07:36:32.126804 83.80% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  490. 2022-09-16 07:36:32.126804 83.80% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  491. 2022-09-16 07:36:32.126804 83.80% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/11222222222222 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  492. 2022-09-16 07:36:32.126804 83.80% [DEBUG] switch_core_codec.c:111 sofia/default/11222222222222 Original read codec set to PCMA:8
  493. 2022-09-16 07:36:32.126804 83.80% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  494. 2022-09-16 07:36:32.126804 83.80% [DEBUG] switch_core_media.c:5973 sofia/default/11222222222222 Set 2833 dtmf send payload to 101 recv payload to 101
  495. 2022-09-16 07:36:32.126804 83.80% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/11222222222222] 142.132.184.134 port 27160 -> 13.127.224.72 port 23062 codec: 8 ms: 20
  496. 2022-09-16 07:36:32.126804 83.80% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  497. 2022-09-16 07:36:32.126804 83.80% [DEBUG] switch_core_media.c:9089 sofia/default/11222222222222 Set 2833 dtmf send payload to 101
  498. 2022-09-16 07:36:32.126804 83.80% [DEBUG] switch_core_media.c:9096 sofia/default/11222222222222 Set 2833 dtmf receive payload to 101
  499. 2022-09-16 07:36:32.126804 83.80% [DEBUG] switch_core_media.c:9119 sofia/default/11222222222222 Set rtp dtmf delay to 40
  500. 2022-09-16 07:36:32.126804 83.80% [NOTICE] sofia.c:8683 Channel [sofia/default/11222222222222] has been answered
  501. 2022-09-16 07:36:32.126804 83.80% [DEBUG] switch_channel.c:3950 (sofia/default/11222222222222) Callstate Change DOWN -> ACTIVE
  502. 2022-09-16 07:36:32.146801 83.80% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [4519181496@astppqa604.astppbilling.org] from ip 103.240.35.46
  503. 2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/100000@142.132.184.134] 142.132.184.134 port 27678 -> 142.132.184.134 port 30516 codec: 8 ms: 20
  504. 2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  505. 2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_core_media.c:9089 sofia/default/100000@142.132.184.134 Set 2833 dtmf send payload to 101
  506. 2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_core_media.c:9096 sofia/default/100000@142.132.184.134 Set 2833 dtmf receive payload to 101
  507. 2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_core_media.c:9119 sofia/default/100000@142.132.184.134 Set rtp dtmf delay to 40
  508. 2022-09-16 07:36:32.146801 83.80% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/100000@142.132.184.134:
  509. v=0
  510. o=FreeSWITCH 1663286114 1663286115 IN IP4 142.132.184.134
  511. s=FreeSWITCH
  512. c=IN IP4 142.132.184.134
  513. t=0 0
  514. m=audio 27678 RTP/AVP 8 101
  515. a=rtpmap:8 PCMA/8000
  516. a=rtpmap:101 telephone-event/8000
  517. a=fmtp:101 0-15
  518. a=ptime:20
  519. a=sendrecv
  520.  
  521. 2022-09-16 07:36:32.146801 83.80% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/100000@142.132.184.134] has been answered
  522. 2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_channel.c:3950 (sofia/default/100000@142.132.184.134) Callstate Change RINGING -> ACTIVE
  523. 2022-09-16 07:36:32.146801 83.80% [DEBUG] sofia.c:7499 Channel sofia/default/100000@142.132.184.134 entering state [completed][200]
  524. 2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/11222222222222] Peer UUID: 12f016ba-f5cd-4590-a14d-f90a745aeec0
  525. 2022-09-16 07:36:32.146801 83.80% [DEBUG] sofia.c:7499 Channel sofia/default/100000@142.132.184.134:5072 entering state [completing][200]
  526. 2022-09-16 07:36:32.146801 83.80% [DEBUG] sofia.c:7509 Remote SDP:
  527. v=0
  528. o=FreeSWITCH 1663286114 1663286115 IN IP4 142.132.184.134
  529. s=FreeSWITCH
  530. c=IN IP4 142.132.184.134
  531. t=0 0
  532. m=audio 27678 RTP/AVP 8 101
  533. a=rtpmap:8 PCMA/8000
  534. a=rtpmap:101 telephone-event/8000
  535. a=fmtp:101 0-15
  536. a=ptime:20
  537.  
  538. 2022-09-16 07:36:32.146801 83.80% [DEBUG] sofia.c:7499 Channel sofia/default/100000@142.132.184.134:5072 entering state [ready][200]
  539. 2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  540. 2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  541. 2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  542. 2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  543. 2022-09-16 07:36:32.146801 83.80% [DEBUG] sofia.c:7499 Channel sofia/default/100000@142.132.184.134 entering state [ready][200]
  544. 2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/100000@142.132.184.134:5072 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  545. 2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_core_codec.c:111 sofia/default/100000@142.132.184.134:5072 Original read codec set to PCMA:8
  546. 2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  547. 2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_core_media.c:5973 sofia/default/100000@142.132.184.134:5072 Set 2833 dtmf send payload to 101 recv payload to 101
  548. 2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/100000@142.132.184.134:5072] 142.132.184.134 port 30516 -> 142.132.184.134 port 27678 codec: 8 ms: 20
  549. 2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  550. 2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/11222222222222) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  551. 2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/11222222222222) Running State Change CS_EXCHANGE_MEDIA (Cur 3 Tot 70)
  552. 2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_core_state_machine.c:650 (sofia/default/11222222222222) State EXCHANGE_MEDIA
  553. 2022-09-16 07:36:32.146801 83.80% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  554. 2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_core_media.c:9089 sofia/default/100000@142.132.184.134:5072 Set 2833 dtmf send payload to 101
  555. 2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_core_media.c:9096 sofia/default/100000@142.132.184.134:5072 Set 2833 dtmf receive payload to 101
  556. 2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_core_media.c:9119 sofia/default/100000@142.132.184.134:5072 Set rtp dtmf delay to 40
  557. 2022-09-16 07:36:32.146801 83.80% [NOTICE] sofia.c:8683 Channel [sofia/default/100000@142.132.184.134:5072] has been answered
  558. 2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_channel.c:3950 (sofia/default/100000@142.132.184.134:5072) Callstate Change DOWN -> ACTIVE
  559. 2022-09-16 07:36:32.166820 83.80% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/100000@142.132.184.134:5072] Peer UUID: 42e1cdf4-7053-43d0-8d69-12f27c000cde
  560. 2022-09-16 07:36:32.166820 83.80% [DEBUG] switch_ivr.c:2289 (sofia/default/100000@142.132.184.134:5072) State Change CS_CONSUME_MEDIA -> CS_ROUTING
  561. 2022-09-16 07:36:32.166820 83.80% [NOTICE] switch_ivr.c:2296 Transfer sofia/default/100000@142.132.184.134:5072 to xml[CLICKTOCALL@public]
  562. 2022-09-16 07:36:32.166820 83.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100000@142.132.184.134:5072) Running State Change CS_ROUTING (Cur 3 Tot 70)
  563. 2022-09-16 07:36:32.166820 83.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/100000@142.132.184.134:5072) State ROUTING
  564. 2022-09-16 07:36:32.166820 83.80% [DEBUG] mod_sofia.c:158 sofia/default/100000@142.132.184.134:5072 SOFIA ROUTING
  565. 2022-09-16 07:36:32.166820 83.80% [DEBUG] switch_core_state_machine.c:230 sofia/default/100000@142.132.184.134:5072 Standard ROUTING
  566. 2022-09-16 07:36:32.166820 83.80% [INFO] mod_dialplan_xml.c:639 Processing 40 <100000>->CLICKTOCALL in context public
  567. 2022-09-16 07:36:32.186812 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  568. 2022-09-16 07:36:32.186812 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  569. 2022-09-16 07:36:32.186812 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  570. 2022-09-16 07:36:32.186812 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  571. 2022-09-16 07:36:32.186812 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Clicktocall Destination Number 11222222222222
  572. 2022-09-16 07:36:32.186812 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  573. 2022-09-16 07:36:32.186812 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 11222222222222
  574. 2022-09-16 07:36:32.186812 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '11222222222222' limit 1
  575. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  576. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '11222222222222' and status=0 LIMIT 1
  577. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER100000
  578. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  579. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '11222222222222' limit 1
  580. 2022-09-16 07:36:32.206805 83.80% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  581. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  :  / 100000
  582. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 22222222
  583. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 112222 AND status=0 limit 1
  584. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  585. 2022-09-16 07:36:32.206805 83.80% [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="11222222222222"  AND domains.domain="142.132.184.134" limit 1
  586. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  587. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("142.132.184.134") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "11222222222222"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  588. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 993088]
  589. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =11222222222222
  590. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "993088" AND deleted = 0 limit 1
  591. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^11222222222222.*' OR blocked_patterns = '^1122222222222.*' OR blocked_patterns = '^112222222222.*' OR blocked_patterns = '^11222222222.*' OR blocked_patterns = '^1122222222.*' OR blocked_patterns = '^112222222.*' OR blocked_patterns = '^11222222.*' OR blocked_patterns = '^1122222.*' OR blocked_patterns = '^112222.*' OR blocked_patterns = '^11222.*' OR blocked_patterns = '^1122.*' OR blocked_patterns = '^112.*' OR blocked_patterns = '^11.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 203 limit 1
  592. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  593. 2022-09-16 07:36:32.206805 83.80% [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 = '^11222222222222.*' OR patterns = '^1122222222222.*' OR patterns = '^112222222222.*' OR patterns = '^11222222222.*' OR patterns = '^1122222222.*' OR patterns = '^112222222.*' OR patterns = '^11222222.*' OR patterns = '^1122222.*' OR patterns = '^112222.*' OR patterns = '^11222.*' OR patterns = '^1122.*' OR patterns = '^112.*' OR patterns = '^11.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 203 ORDER BY LENGTH(PKGPTR.patterns) DESC
  594. 2022-09-16 07:36:32.206805 83.80% [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 ="11222222222222" AND A.accountid = '203' limit 1
  595. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 11222222222222
  596. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  597. 2022-09-16 07:36:32.206805 83.80% [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="11222222222222"  AND domains.domain="142.132.184.134" limit 1
  598. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  599. 2022-09-16 07:36:32.206805 83.80% [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 = '11222222222222' OR number = '1122222222222' OR number = '112222222222' OR number = '11222222222' OR number = '1122222222' OR number = '112222222' OR number = '11222222' OR number = '1122222' OR number = '112222' OR number = '11222' OR number = '1122' OR number = '112' OR number = '11' OR number = '1' OR number ='--') OR (number = '11222222222222*' OR number = '1122222222222*' OR number = '112222222222*' OR number = '11222222222*' OR number = '1122222222*' OR number = '112222222*' OR number = '11222222*' OR number = '1122222*' OR number = '112222*' OR number = '11222*' OR number = '1122*' OR number = '112*' OR number = '11*' OR number = '1*' OR number ='--') OR (number = '100000' OR number = '10000' OR number = '1000' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '100000*' OR number = '10000*' OR number = '1000*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  600. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  601. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '11222222222222' OR routing_prefix = '1122222222222' OR routing_prefix = '112222222222' OR routing_prefix = '11222222222' OR routing_prefix = '1122222222' OR routing_prefix = '112222222' OR routing_prefix = '11222222' OR routing_prefix = '1122222' OR routing_prefix = '112222' OR routing_prefix = '11222' OR routing_prefix = '1122' OR routing_prefix = '112' OR routing_prefix = '11' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 31 limit 1
  602. 2022-09-16 07:36:32.206805 83.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] Get Destination Number (11222222222222)!!!!
  603. 2022-09-16 07:36:32.206805 83.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] After Append Ported Number : (11222222222222)!!!!
  604. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  605. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 203
  606. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 993088
  607. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 9974.104
  608. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  609. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 41
  610. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  611. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  612. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  613. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::41
  614. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  615. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  616. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::41
  617. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^11222222222222.*' OR pattern = '^1122222222222.*' OR pattern = '^112222222222.*' OR pattern = '^11222222222.*' OR pattern = '^1122222222.*' OR pattern = '^112222222.*' OR pattern = '^11222222.*' OR pattern = '^1122222.*' OR pattern = '^112222.*' OR pattern = '^11222.*' OR pattern = '^1122.*' OR pattern = '^112.*' OR pattern = '^11.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^100000.*' OR caller_id_pattern = '^10000.*' OR caller_id_pattern = '^1000.*' OR caller_id_pattern = '^100.*' OR caller_id_pattern = '^10.*' OR caller_id_pattern = '^1.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 41 OR accountid=203)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  618. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  619. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  620. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.90000
  621. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:41
  622. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '41' and status=0
  623. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.90000
  624. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  625. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 34847
  626. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  627. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  628. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.90000
  629. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : QAA-Oman
  630. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 145
  631. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 203
  632. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  633. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  634. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  635. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Shadow_billing_rates]SHADOWBILLING:0|ID:34847|CODE:^1.*|DESTINATION:QAA-Oman|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.90000|INC:60|INITIALBLOCK:60|RATEGROUP:41|MARKUP:0|CI:145|ACCID:203!!!
  636. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your9974.104 balance Accountid 203 !!!
  637. 2022-09-16 07:36:32.206805 83.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 1000 mins!
  638. 2022-09-16 07:36:32.206805 83.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 31
  639. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "31" AND deleted = 0 limit 1
  640. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^11222222222222.*' OR blocked_patterns = '^1122222222222.*' OR blocked_patterns = '^112222222222.*' OR blocked_patterns = '^11222222222.*' OR blocked_patterns = '^1122222222.*' OR blocked_patterns = '^112222222.*' OR blocked_patterns = '^11222222.*' OR blocked_patterns = '^1122222.*' OR blocked_patterns = '^112222.*' OR blocked_patterns = '^11222.*' OR blocked_patterns = '^1122.*' OR blocked_patterns = '^112.*' OR blocked_patterns = '^11.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 31 limit 1
  641. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
  642. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 31
  643. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 814162
  644. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 49.304
  645. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  646. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 57
  647. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  648. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::57
  649. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  650. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  651. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::57
  652. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^11222222222222.*' OR pattern = '^1122222222222.*' OR pattern = '^112222222222.*' OR pattern = '^11222222222.*' OR pattern = '^1122222222.*' OR pattern = '^112222222.*' OR pattern = '^11222222.*' OR pattern = '^1122222.*' OR pattern = '^112222.*' OR pattern = '^11222.*' OR pattern = '^1122.*' OR pattern = '^112.*' OR pattern = '^11.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^100000.*' OR caller_id_pattern = '^10000.*' OR caller_id_pattern = '^1000.*' OR caller_id_pattern = '^100.*' OR caller_id_pattern = '^10.*' OR caller_id_pattern = '^1.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 57 OR accountid=31)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  653. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  654. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  655. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.60000
  656. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:57
  657. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '57' and status=0
  658. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.60000
  659. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  660. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 34873
  661. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  662. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  663. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000
  664. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : COMMUNITY DESTINATION
  665. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 49
  666. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 31
  667. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  668. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  669. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  670. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Shadow_billing_rates]SHADOWBILLING:0|ID:34873|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:57|MARKUP:0|CI:49|ACCID:31!!!
  671. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your49.304 balance Accountid 31 !!!
  672. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : SHADOWBILLING:0|ID:34847|CODE:^1.*|DESTINATION:QAA-Oman|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.90000|INC:60|INITIALBLOCK:60|RATEGROUP:41|MARKUP:0|CI:145|ACCID:203||SHADOWBILLING:0|ID:34873|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:57|MARKUP:0|CI:49|ACCID:31
  673. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  674. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 1
  675. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 82.173333333333 minutes
  676. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  677. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=57 ORDER by id asc
  678. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^11222222222222.*' OR pattern = '^1122222222222.*' OR pattern = '^112222222222.*' OR pattern = '^11222222222.*' OR pattern = '^1122222222.*' OR pattern = '^112222222.*' OR pattern = '^11222222.*' OR pattern = '^1122222.*' OR pattern = '^112222.*' OR pattern = '^11222.*' OR pattern = '^1122.*' OR pattern = '^112.*' OR pattern = '^11.*' OR pattern = '^1.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (53,99) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  679. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  680. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
  681. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.*
  682. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : COMMUNITY DESTINATION
  683. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  684. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  685. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.*
  686. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  687. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  688. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 53
  689. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : COMMUNITYPKGATEWAY
  690. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  691. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : YourProvider
  692. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 227
  693. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  694. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  695. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  696. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 9
  697. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.*
  698. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : QAAA-SEND-ON-CLICK
  699. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  700. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  701. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.*
  702. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  703. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  704. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 99
  705. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider
  706. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  707. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  708. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 227
  709. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  710. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  711. 2022-09-16 07:36:32.206805 83.80% [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 = 203 AND status=0 LIMIT 1
  712. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 82.173333333333
  713. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  714. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  715. 2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
  716. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  717. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::57
  718. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 227) AND status=0 limit 1
  719. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 53) AND status=0 limit 1
  720. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="100000"  AND domains.domain="142.132.184.134" limit 1
  721. 2022-09-16 07:36:32.206805 83.80% [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 ="100000" LIMIT 1
  722. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100000" LIMIT 1
  723. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  724. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  725. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::57
  726. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 227) AND status=0 limit 1
  727. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 99) AND status=0 limit 1
  728. 2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="100000"  AND domains.domain="142.132.184.134" limit 1
  729. 2022-09-16 07:36:32.226804 83.80% [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 ="100000" LIMIT 1
  730. 2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100000" LIMIT 1
  731. 2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  732. 2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  733. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  734. <document type="freeswitch/xml">
  735. <section name="dialplan" description="ASTPP Dialplan">
  736. <context name="public">
  737. <extension name="11222222222222">
  738. <condition field="destination_number" expression="CLICKTOCALL">
  739. <action application="set" data="effective_destination_number=11222222222222"/>
  740. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  741. <action application="set" data="bridge_pre_execute_bleg_data=+4930.4 normal_clearing"/>
  742. <action application="set" data="notify_flag=0"/>
  743. <action application="set" data="notify_credit_limit=12.00000"/>
  744. <action application="set" data="type=0"/>
  745. <action application="set" data="callstart=2022-09-16 07:36:32"/>
  746. <action application="set" data="hangup_after_bridge=true"/>
  747. <action application="set" data="continue_on_fail=TRUE"/>
  748. <action application="set" data="account_id=203"/>
  749. <action application="set" data="parent_id=31"/>
  750. <action application="set" data="entity_id=0"/>
  751. <action application="set" data="call_processed=internal"/>
  752. <action application="set" data="call_direction=outbound"/>
  753. <action application="set" data="accountname=QAA"/>
  754. <action application="set" data="filename1=astpp.pbx.lua"/>
  755. <action application="set" data="origination_rates=SHADOWBILLING:0|ID:34847|CODE:^1.*|DESTINATION:QAA-Oman|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.90000|INC:60|INITIALBLOCK:60|RATEGROUP:41|MARKUP:0|CI:145|ACCID:203||SHADOWBILLING:0|ID:34873|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:57|MARKUP:0|CI:49|ACCID:31"/>
  756. <action application="set" data="original_caller_id_number=100000"/>
  757. <action application="limit" data="db 993088 user_993088 12 "/>
  758.  
  759. <action application="set" data="effective_caller_id_number=100000"/>
  760. <action application="set" data="calltype=STANDARD"/>
  761. <action application="set" data="termination_rates=ID:7|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:53|PROVIDER:227"/>
  762. <action application="set" data="trunk_id=53"/>
  763. <action application="set" data="provider_id=227"/>
  764. <action application="set" data="rate_flag=0"/>
  765. <action application="set" data="quality_trunk_seq=53,99"/>
  766. <action application="set" data="force_trunk_flag=0"/>
  767. <action application="export" data="presence_data=trunk_id=53"/>
  768. <action application="set" data="intcall=0"/>
  769. <action application="export" data="presence_id=11222222222222"/>
  770. <action application="export" data="presence_data=x//31|||PK Resellers Cust(993088)|||^1.* // QAA-Oman // 0.90000 |||COMMUNITYPK-TRINK // ^1.* // COMMUNITY DESTINATION // 0.30000 // trunk_id=53|||STD|||142.132.184.134|||0.60000 // ^1.* // COMMUNITY DESTINATION"/>
  771. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=33]sofia/gateway/COMMUNITYPKGATEWAY/11222222222222"/>
  772. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=33]sofia/gateway/YourProvider/11222222222222"/>
  773. <action application="set" data="effective_caller_id_number=100000"/>
  774. <action application="set" data="calltype=STANDARD"/>
  775. <action application="set" data="termination_rates=ID:9|CODE:^1.*|DESTINATION:QAAA-SEND-ON-CLICK|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.35000|INC:60|INITIALBLOCK:60|TRUNK:99|PROVIDER:227"/>
  776. <action application="set" data="trunk_id=99"/>
  777. <action application="set" data="provider_id=227"/>
  778. <action application="set" data="rate_flag=0"/>
  779. <action application="set" data="quality_trunk_seq=53,99"/>
  780. <action application="set" data="force_trunk_flag=0"/>
  781. <action application="export" data="presence_data=trunk_id=99"/>
  782. <action application="set" data="intcall=0"/>
  783. <action application="export" data="presence_id=11222222222222"/>
  784. <action application="export" data="presence_data=x//31|||PK Resellers Cust(993088)|||^1.* // QAA-Oman // 0.90000 |||PK-SENDON-CLICK // ^1.* // QAAA-SEND-ON-CLICK // 0.35000 // trunk_id=99|||STD|||142.132.184.134|||0.60000 // ^1.* // COMMUNITY DESTINATION"/>
  785. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/YourProvider/11222222222222"/>
  786. </condition>
  787. </extension>
  788. </context>
  789. </section>
  790. </document>
  791. Dialplan: sofia/default/100000@142.132.184.134:5072 parsing [public->11222222222222] continue=false
  792. Dialplan: sofia/default/100000@142.132.184.134:5072 Regex (PASS) [11222222222222] destination_number(CLICKTOCALL) =~ /CLICKTOCALL/ break=on-false
  793. Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(effective_destination_number=11222222222222)
  794. Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  795. Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(bridge_pre_execute_bleg_data=+4930.4 normal_clearing)
  796. Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(notify_flag=0)
  797. Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(notify_credit_limit=12.00000)
  798. Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(type=0)
  799. Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(callstart=2022-09-16 07:36:32)
  800. Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(hangup_after_bridge=true)
  801. Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(continue_on_fail=TRUE)
  802. Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(account_id=203)
  803. Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(parent_id=31)
  804. Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(entity_id=0)
  805. Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(call_processed=internal)
  806. Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(call_direction=outbound)
  807. Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(accountname=QAA)
  808. Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(filename1=astpp.pbx.lua)
  809. Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(origination_rates=SHADOWBILLING:0|ID:34847|CODE:^1.*|DESTINATION:QAA-Oman|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.90000|INC:60|INITIALBLOCK:60|RATEGROUP:41|MARKUP:0|CI:145|ACCID:203||SHADOWBILLING:0|ID:34873|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:57|MARKUP:0|CI:49|ACCID:31)
  810. Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(original_caller_id_number=100000)
  811. Dialplan: sofia/default/100000@142.132.184.134:5072 Action limit(db 993088 user_993088 12 )
  812. Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(effective_caller_id_number=100000)
  813. Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(calltype=STANDARD)
  814. Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(termination_rates=ID:7|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:53|PROVIDER:227)
  815. Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(trunk_id=53)
  816. Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(provider_id=227)
  817. Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(rate_flag=0)
  818. Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(quality_trunk_seq=53,99)
  819. Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(force_trunk_flag=0)
  820. Dialplan: sofia/default/100000@142.132.184.134:5072 Action export(presence_data=trunk_id=53)
  821. Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(intcall=0)
  822. Dialplan: sofia/default/100000@142.132.184.134:5072 Action export(presence_id=11222222222222)
  823. Dialplan: sofia/default/100000@142.132.184.134:5072 Action export(presence_data=x//31|||PK Resellers Cust(993088)|||^1.* // QAA-Oman // 0.90000 |||COMMUNITYPK-TRINK // ^1.* // COMMUNITY DESTINATION // 0.30000 // trunk_id=53|||STD|||142.132.184.134|||0.60000 // ^1.* // COMMUNITY DESTINATION)
  824. Dialplan: sofia/default/100000@142.132.184.134:5072 Action bridge({sip_cid_type=none}[leg_timeout=33]sofia/gateway/COMMUNITYPKGATEWAY/11222222222222)
  825. Dialplan: sofia/default/100000@142.132.184.134:5072 Action bridge({sip_cid_type=none}[leg_timeout=33]sofia/gateway/YourProvider/11222222222222)
  826. Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(effective_caller_id_number=100000)
  827. Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(calltype=STANDARD)
  828. Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(termination_rates=ID:9|CODE:^1.*|DESTINATION:QAAA-SEND-ON-CLICK|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.35000|INC:60|INITIALBLOCK:60|TRUNK:99|PROVIDER:227)
  829. Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(trunk_id=99)
  830. Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(provider_id=227)
  831. Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(rate_flag=0)
  832. Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(quality_trunk_seq=53,99)
  833. Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(force_trunk_flag=0)
  834. Dialplan: sofia/default/100000@142.132.184.134:5072 Action export(presence_data=trunk_id=99)
  835. Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(intcall=0)
  836. Dialplan: sofia/default/100000@142.132.184.134:5072 Action export(presence_id=11222222222222)
  837. Dialplan: sofia/default/100000@142.132.184.134:5072 Action export(presence_data=x//31|||PK Resellers Cust(993088)|||^1.* // QAA-Oman // 0.90000 |||PK-SENDON-CLICK // ^1.* // QAAA-SEND-ON-CLICK // 0.35000 // trunk_id=99|||STD|||142.132.184.134|||0.60000 // ^1.* // COMMUNITY DESTINATION)
  838. Dialplan: sofia/default/100000@142.132.184.134:5072 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/YourProvider/11222222222222)
  839. 2022-09-16 07:36:32.226804 83.80% [INFO] switch_channel.c:3270 sofia/default/100000@142.132.184.134:5072 Flipping CID from "40" <100000> to "Outbound Call" <100000>
  840. 2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_core_state_machine.c:281 (sofia/default/100000@142.132.184.134:5072) State Change CS_ROUTING -> CS_EXECUTE
  841. 2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/100000@142.132.184.134:5072) State ROUTING going to sleep
  842. 2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100000@142.132.184.134:5072) Running State Change CS_EXECUTE (Cur 3 Tot 70)
  843. 2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_core_state_machine.c:647 (sofia/default/100000@142.132.184.134:5072) State EXECUTE
  844. 2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_sofia.c:213 sofia/default/100000@142.132.184.134:5072 SOFIA EXECUTE
  845. 2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_core_state_machine.c:323 sofia/default/100000@142.132.184.134:5072 Standard EXECUTE
  846. EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(effective_destination_number=11222222222222)
  847. 2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [effective_destination_number]=[11222222222222]
  848. EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(bridge_pre_execute_bleg_app=sched_hangup)
  849. 2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [bridge_pre_execute_bleg_app]=[sched_hangup]
  850. EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(bridge_pre_execute_bleg_data=+4930.4 normal_clearing)
  851. 2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [bridge_pre_execute_bleg_data]=[+4930.4 normal_clearing]
  852. EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(notify_flag=0)
  853. 2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [notify_flag]=[0]
  854. EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(notify_credit_limit=12.00000)
  855. 2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [notify_credit_limit]=[12.00000]
  856. EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(type=0)
  857. 2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [type]=[0]
  858. EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(callstart=2022-09-16 07:36:32)
  859. 2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [callstart]=[2022-09-16 07:36:32]
  860. EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(hangup_after_bridge=true)
  861. 2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [hangup_after_bridge]=[true]
  862. EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(continue_on_fail=TRUE)
  863. 2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [continue_on_fail]=[TRUE]
  864. EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(account_id=203)
  865. 2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [account_id]=[203]
  866. EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(parent_id=31)
  867. 2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [parent_id]=[31]
  868. EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(entity_id=0)
  869. 2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [entity_id]=[0]
  870. EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(call_processed=internal)
  871. 2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [call_processed]=[internal]
  872. EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(call_direction=outbound)
  873. 2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [call_direction]=[outbound]
  874. EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(accountname=QAA)
  875. 2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [accountname]=[QAA]
  876. EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(filename1=astpp.pbx.lua)
  877. 2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [filename1]=[astpp.pbx.lua]
  878. EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(origination_rates=SHADOWBILLING:0|ID:34847|CODE:^1.*|DESTINATION:QAA-Oman|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.90000|INC:60|INITIALBLOCK:60|RATEGROUP:41|MARKUP:0|CI:145|ACCID:203||SHADOWBILLING:0|ID:34873|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:57|MARKUP:0|CI:49|ACCID:31)
  879. 2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [origination_rates]=[SHADOWBILLING:0|ID:34847|CODE:^1.*|DESTINATION:QAA-Oman|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.90000|INC:60|INITIALBLOCK:60|RATEGROUP:41|MARKUP:0|CI:145|ACCID:203||SHADOWBILLING:0|ID:34873|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:57|MARKUP:0|CI:49|ACCID:31]
  880. EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(original_caller_id_number=100000)
  881. 2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [original_caller_id_number]=[100000]
  882. EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 limit(db 993088 user_993088 12 )
  883. 2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_limit.c:124 incr called: 993088_user_993088 max:12, interval:0
  884. 2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_db.c:194 Usage for 993088_user_993088 is now 2/12
  885. EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(effective_caller_id_number=100000)
  886. 2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [effective_caller_id_number]=[100000]
  887. EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(calltype=STANDARD)
  888. 2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [calltype]=[STANDARD]
  889. EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(termination_rates=ID:7|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:53|PROVIDER:227)
  890. 2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [termination_rates]=[ID:7|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:53|PROVIDER:227]
  891. EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(trunk_id=53)
  892. 2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [trunk_id]=[53]
  893. EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(provider_id=227)
  894. 2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [provider_id]=[227]
  895. EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(rate_flag=0)
  896. 2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [rate_flag]=[0]
  897. EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(quality_trunk_seq=53,99)
  898. 2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [quality_trunk_seq]=[53,99]
  899. EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(force_trunk_flag=0)
  900. 2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [force_trunk_flag]=[0]
  901. EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 export(presence_data=trunk_id=53)
  902. 2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=53]
  903. EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(intcall=0)
  904. 2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [intcall]=[0]
  905. EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 export(presence_id=11222222222222)
  906. 2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[11222222222222]
  907. EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 export(presence_data=x//31|||PK Resellers Cust(993088)|||^1.* // QAA-Oman // 0.90000 |||COMMUNITYPK-TRINK // ^1.* // COMMUNITY DESTINATION // 0.30000 // trunk_id=53|||STD|||142.132.184.134|||0.60000 // ^1.* // COMMUNITY DESTINATION)
  908. 2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//31|||PK Resellers Cust(993088)|||^1.* // QAA-Oman // 0.90000 |||COMMUNITYPK-TRINK // ^1.* // COMMUNITY DESTINATION // 0.30000 // trunk_id=53|||STD|||142.132.184.134|||0.60000 // ^1.* // COMMUNITY DESTINATION]
  909. EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 bridge({sip_cid_type=none}[leg_timeout=33]sofia/gateway/COMMUNITYPKGATEWAY/11222222222222)
  910. 2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_channel.c:1954 (sofia/default/100000@142.132.184.134:5072) Callstate Change ACTIVE -> RING_WAIT
  911. 2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_channel.c:1269 sofia/default/100000@142.132.184.134:5072 EXPORTING[export_vars] [presence_data]=[x//31|||PK Resellers Cust(993088)|||^1.* // QAA-Oman // 0.90000 |||COMMUNITYPK-TRINK // ^1.* // COMMUNITY DESTINATION // 0.30000 // trunk_id=53|||STD|||142.132.184.134|||0.60000 // ^1.* // COMMUNITY DESTINATION] to event
  912. 2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_channel.c:1269 sofia/default/100000@142.132.184.134:5072 EXPORTING[export_vars] [presence_id]=[11222222222222] to event
  913. 2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_channel.c:1269 sofia/default/100000@142.132.184.134:5072 EXPORTING[export_vars] [presence_data]=[x//31|||PK Resellers Cust(993088)|||^1.* // QAA-Oman // 0.90000 |||COMMUNITYPK-TRINK // ^1.* // COMMUNITY DESTINATION // 0.30000 // trunk_id=53|||STD|||142.132.184.134|||0.60000 // ^1.* // COMMUNITY DESTINATION] to event
  914. 2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  915. 2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  916. 2022-09-16 07:36:32.226804 83.80% [NOTICE] switch_channel.c:1123 New Channel sofia/default/11222222222222 [e060658d-40a4-4f61-820b-478d3dbddece]
  917. 2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_sofia.c:5121 (sofia/default/11222222222222) State Change CS_NEW -> CS_INIT
  918. 2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_ivr_originate.c:3151 sofia/default/11222222222222 Setting leg timeout to 33
  919. 2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/11222222222222) Running State Change CS_INIT (Cur 4 Tot 71)
  920. 2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_core_state_machine.c:624 (sofia/default/11222222222222) State INIT
  921. 2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_sofia.c:97 sofia/default/11222222222222 SOFIA INIT
  922. 2022-09-16 07:36:32.226804 83.80% [INFO] sofia_glue.c:1651 sofia/default/11222222222222 sending invite call-id: (null)
  923. 2022-09-16 07:36:32.226804 83.80% [DEBUG] sofia_glue.c:1654 sofia/default/11222222222222 sending invite version: 1.10.7 -release 64bit
  924. Local SDP:
  925. v=0
  926. o=FreeSWITCH 1663289610 1663289611 IN IP4 142.132.184.134
  927. s=FreeSWITCH
  928. c=IN IP4 142.132.184.134
  929. t=0 0
  930. m=audio 24182 RTP/AVP 8 101
  931. a=rtpmap:8 PCMA/8000
  932. a=rtpmap:101 telephone-event/8000
  933. a=fmtp:101 0-15
  934. a=ptime:20
  935. a=sendrecv
  936.  
  937. 2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_core_state_machine.c:40 sofia/default/11222222222222 Standard INIT
  938. 2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_core_state_machine.c:48 (sofia/default/11222222222222) State Change CS_INIT -> CS_ROUTING
  939. 2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_core_state_machine.c:624 (sofia/default/11222222222222) State INIT going to sleep
  940. 2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/11222222222222) Running State Change CS_ROUTING (Cur 4 Tot 71)
  941. 2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/11222222222222) State ROUTING
  942. 2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_sofia.c:158 sofia/default/11222222222222 SOFIA ROUTING
  943. 2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_ivr_originate.c:67 (sofia/default/11222222222222) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  944. 2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/11222222222222) State ROUTING going to sleep
  945. 2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/11222222222222) Running State Change CS_CONSUME_MEDIA (Cur 4 Tot 71)
  946. 2022-09-16 07:36:32.226804 83.80% [DEBUG] sofia.c:7499 Channel sofia/default/11222222222222 entering state [calling][0]
  947. 2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_core_state_machine.c:659 (sofia/default/11222222222222) State CONSUME_MEDIA
  948. 2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_core_state_machine.c:659 (sofia/default/11222222222222) State CONSUME_MEDIA going to sleep
  949. 2022-09-16 07:36:32.326806 83.80% [DEBUG] switch_ivr_bridge.c:655 sofia/default/11222222222222 Bridge execute app sched_hangup(+4930.4 normal_clearing)
  950. 2022-09-16 07:36:32.346802 83.80% [DEBUG] switch_ivr.c:632 sofia/default/11222222222222 Command Execute [depth=0] sched_hangup(+4930.4 normal_clearing)
  951. EXECUTE [depth=0] sofia/default/11222222222222 sched_hangup(+4930.4 normal_clearing)
  952. 2022-09-16 07:36:32.346802 83.80% [DEBUG] switch_scheduler.c:263 Added task 25 switch_ivr_schedule_hangup (12f016ba-f5cd-4590-a14d-f90a745aeec0) to run at 1663318722
  953. 2022-09-16 07:36:32.586820 83.80% [WARNING] sofia_reg.c:3223 Can't find user [4519181496@astppqa604.astppbilling.org] from 103.240.35.46
  954. You must define a domain called 'astppqa604.astppbilling.org' in your directory and add a user with the id="4519181496" attribute
  955. and you must configure your device to use the proper domain in its authentication credentials.
  956. 2022-09-16 07:36:32.606812 83.80% [DEBUG] sofia.c:7499 Channel sofia/default/11222222222222 entering state [completing][200]
  957. 2022-09-16 07:36:32.606812 83.80% [DEBUG] sofia.c:7509 Remote SDP:
  958. v=0
  959. o=FreeSWITCH 1663292870 1663292871 IN IP4 13.127.224.72
  960. s=FreeSWITCH
  961. c=IN IP4 13.127.224.72
  962. t=0 0
  963. m=audio 20922 RTP/AVP 8 101
  964. a=rtpmap:8 PCMA/8000
  965. a=rtpmap:101 telephone-event/8000
  966. a=fmtp:101 0-15
  967. a=ptime:20
  968.  
  969. 2022-09-16 07:36:32.626815 83.80% [DEBUG] sofia.c:7499 Channel sofia/default/11222222222222 entering state [ready][200]
  970. 2022-09-16 07:36:32.626815 83.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  971. 2022-09-16 07:36:32.626815 83.80% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  972. 2022-09-16 07:36:32.626815 83.80% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  973. 2022-09-16 07:36:32.626815 83.80% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/11222222222222 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  974. 2022-09-16 07:36:32.626815 83.80% [DEBUG] switch_core_codec.c:111 sofia/default/11222222222222 Original read codec set to PCMA:8
  975. 2022-09-16 07:36:32.626815 83.80% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  976. 2022-09-16 07:36:32.626815 83.80% [DEBUG] switch_core_media.c:5973 sofia/default/11222222222222 Set 2833 dtmf send payload to 101 recv payload to 101
  977. 2022-09-16 07:36:32.626815 83.80% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/11222222222222] 142.132.184.134 port 24182 -> 13.127.224.72 port 20922 codec: 8 ms: 20
  978. 2022-09-16 07:36:32.626815 83.80% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  979. 2022-09-16 07:36:32.626815 83.80% [DEBUG] switch_core_media.c:9089 sofia/default/11222222222222 Set 2833 dtmf send payload to 101
  980. 2022-09-16 07:36:32.626815 83.80% [DEBUG] switch_core_media.c:9096 sofia/default/11222222222222 Set 2833 dtmf receive payload to 101
  981. 2022-09-16 07:36:32.626815 83.80% [DEBUG] switch_core_media.c:9119 sofia/default/11222222222222 Set rtp dtmf delay to 40
  982. 2022-09-16 07:36:32.626815 83.80% [NOTICE] sofia.c:8683 Channel [sofia/default/11222222222222] has been answered
  983. 2022-09-16 07:36:32.626815 83.80% [DEBUG] switch_channel.c:3950 (sofia/default/11222222222222) Callstate Change DOWN -> ACTIVE
  984. 2022-09-16 07:36:32.626815 83.80% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/11222222222222] Peer UUID: e060658d-40a4-4f61-820b-478d3dbddece
  985. 2022-09-16 07:36:32.626815 83.80% [DEBUG] switch_channel.c:2178 (sofia/default/100000@142.132.184.134:5072) Callstate Change RING_WAIT -> ACTIVE
  986. 2022-09-16 07:36:32.626815 83.80% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/11222222222222) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  987. 2022-09-16 07:36:32.626815 83.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/11222222222222) Running State Change CS_EXCHANGE_MEDIA (Cur 4 Tot 71)
  988. 2022-09-16 07:36:32.626815 83.80% [DEBUG] switch_core_state_machine.c:650 (sofia/default/11222222222222) State EXCHANGE_MEDIA
  989. 2022-09-16 07:36:32.626815 83.80% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  990. 2022-09-16 07:36:32.646810 83.80% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  991. 2022-09-16 07:36:32.686803 83.80% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  992. 2022-09-16 07:36:32.726832 83.80% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [4519181496@astppqa604.astppbilling.org] from ip 103.240.35.46
  993. 2022-09-16 07:36:32.826815 83.80% [DEBUG] switch_ivr_bridge.c:655 sofia/default/11222222222222 Bridge execute app sched_hangup(+4930.4 normal_clearing)
  994. 2022-09-16 07:36:32.846805 84.07% [DEBUG] switch_ivr.c:632 sofia/default/11222222222222 Command Execute [depth=0] sched_hangup(+4930.4 normal_clearing)
  995. EXECUTE [depth=0] sofia/default/11222222222222 sched_hangup(+4930.4 normal_clearing)
  996. 2022-09-16 07:36:32.846805 84.07% [DEBUG] switch_scheduler.c:263 Added task 26 switch_ivr_schedule_hangup (e060658d-40a4-4f61-820b-478d3dbddece) to run at 1663318722
  997. 2022-09-16 07:36:33.066804 84.07% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  998. 2022-09-16 07:36:33.066804 84.07% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  999. 2022-09-16 07:36:33.946801 84.63% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [4519181496@astppqa604.astppbilling.org] from ip 103.240.35.46
  1000. 2022-09-16 07:36:34.386871 84.63% [WARNING] sofia_reg.c:3223 Can't find user [4519181496@astppqa604.astppbilling.org] from 103.240.35.46
  1001. You must define a domain called 'astppqa604.astppbilling.org' in your directory and add a user with the id="4519181496" attribute
  1002. and you must configure your device to use the proper domain in its authentication credentials.
  1003. 2022-09-16 07:36:34.386871 84.63% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [4519181496@astppqa604.astppbilling.org] from ip 103.240.35.46
  1004. 2022-09-16 07:36:34.866807 84.87% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [4519181496@astppqa604.astppbilling.org] from ip 103.240.35.46
  1005. 2022-09-16 07:36:35.526816 84.87% [WARNING] sofia_reg.c:3223 Can't find user [4519181496@astppqa604.astppbilling.org] from 103.240.35.46
  1006. You must define a domain called 'astppqa604.astppbilling.org' in your directory and add a user with the id="4519181496" attribute
  1007. and you must configure your device to use the proper domain in its authentication credentials.
  1008. 2022-09-16 07:36:35.546805 84.87% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [4519181496@astppqa604.astppbilling.org] from ip 103.240.35.46
  1009. 2022-09-16 07:36:36.006822 84.70% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [4519181496@astppqa604.astppbilling.org] from ip 103.240.35.46
  1010. 2022-09-16 07:36:36.606809 84.70% [WARNING] sofia_reg.c:3223 Can't find user [4519181496@astppqa604.astppbilling.org] from 103.240.35.46
  1011. You must define a domain called 'astppqa604.astppbilling.org' in your directory and add a user with the id="4519181496" attribute
  1012. and you must configure your device to use the proper domain in its authentication credentials.
  1013. 2022-09-16 07:36:36.746809 84.70% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [4519181496@astppqa604.astppbilling.org] from ip 103.240.35.46
  1014. 2022-09-16 07:36:37.986827 84.33% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [4727985745@astppqa601.astppbilling.org] from ip 103.240.35.46
  1015. 2022-09-16 07:36:38.146807 84.33% [WARNING] sofia_reg.c:3223 Can't find user [4727985745@astppqa601.astppbilling.org] from 103.240.35.46
  1016. You must define a domain called 'astppqa601.astppbilling.org' in your directory and add a user with the id="4727985745" attribute
  1017. and you must configure your device to use the proper domain in its authentication credentials.
  1018. 2022-09-16 07:36:42.326800 87.07% [NOTICE] switch_ivr.c:4403 Hangup sofia/default/11222222222222 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  1019. 2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_ivr_bridge.c:820 sofia/default/11222222222222 ending bridge by request from write function
  1020. 2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/100000@142.132.184.134]
  1021. 2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/11222222222222 skip receive message [UNBRIDGE] (channel is hungup already)
  1022. 2022-09-16 07:36:42.326800 87.07% [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/default/100000@142.132.184.134 [CS_EXECUTE] [NORMAL_CLEARING]
  1023. 2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_session.c:2983 sofia/default/100000@142.132.184.134 skip receive message [PHONE_EVENT] (channel is hungup already)
  1024. 2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_state_machine.c:647 (sofia/default/100000@142.132.184.134) State EXECUTE going to sleep
  1025. 2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100000@142.132.184.134) Running State Change CS_HANGUP (Cur 4 Tot 71)
  1026. 2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_ivr_bridge.c:826 sofia/default/11222222222222 ending bridge by request from read function
  1027. 2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_state_machine.c:844 (sofia/default/100000@142.132.184.134) Callstate Change ACTIVE -> HANGUP
  1028. 2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/11222222222222]
  1029. 2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_state_machine.c:650 (sofia/default/11222222222222) State EXCHANGE_MEDIA going to sleep
  1030. 2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/11222222222222) Running State Change CS_HANGUP (Cur 4 Tot 71)
  1031. 2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/100000@142.132.184.134) State HANGUP
  1032. 2022-09-16 07:36:42.326800 87.07% [DEBUG] mod_sofia.c:468 Channel sofia/default/100000@142.132.184.134 hanging up, cause: NORMAL_CLEARING
  1033. 2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_state_machine.c:844 (sofia/default/11222222222222) Callstate Change ACTIVE -> HANGUP
  1034. 2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/11222222222222) State HANGUP
  1035. 2022-09-16 07:36:42.326800 87.07% [DEBUG] mod_sofia.c:468 Channel sofia/default/11222222222222 hanging up, cause: NORMAL_CLEARING
  1036. 2022-09-16 07:36:42.326800 87.07% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/100000@142.132.184.134
  1037. 2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_state_machine.c:59 sofia/default/100000@142.132.184.134 Standard HANGUP, cause: NORMAL_CLEARING
  1038. 2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/100000@142.132.184.134) State HANGUP going to sleep
  1039. 2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_state_machine.c:616 (sofia/default/100000@142.132.184.134) State Change CS_HANGUP -> CS_REPORTING
  1040. 2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100000@142.132.184.134) Running State Change CS_REPORTING (Cur 4 Tot 71)
  1041. 2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/100000@142.132.184.134) State REPORTING
  1042. 2022-09-16 07:36:42.326800 87.07% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/11222222222222
  1043. 2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_state_machine.c:59 sofia/default/11222222222222 Standard HANGUP, cause: NORMAL_CLEARING
  1044. 2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/11222222222222) State HANGUP going to sleep
  1045. 2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_state_machine.c:616 (sofia/default/11222222222222) State Change CS_HANGUP -> CS_REPORTING
  1046. 2022-09-16 07:36:42.326800 87.07% [INFO] mod_json_cdr.c:271 Process [efa2b078-7666-473d-a6d5-50aab8d1b854.cdr.json]
  1047. 2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/11222222222222) Running State Change CS_REPORTING (Cur 4 Tot 71)
  1048. 2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/11222222222222) State REPORTING
  1049. 2022-09-16 07:36:42.326800 87.07% [INFO] mod_json_cdr.c:271 Process [12f016ba-f5cd-4590-a14d-f90a745aeec0.cdr.json]
  1050. 2022-09-16 07:36:42.326800 87.07% [NOTICE] sofia.c:1065 Hangup sofia/default/100000@142.132.184.134:5072 [CS_EXECUTE] [NORMAL_CLEARING]
  1051. 2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/100000@142.132.184.134:5072]
  1052. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_ivr_bridge.c:820 sofia/default/100000@142.132.184.134:5072 ending bridge by request from write function
  1053. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:168 sofia/default/11222222222222 Standard REPORTING, cause: NORMAL_CLEARING
  1054. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/11222222222222) State REPORTING going to sleep
  1055. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:607 (sofia/default/11222222222222) State Change CS_REPORTING -> CS_DESTROY
  1056. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_session.c:1753 Session 70 (sofia/default/11222222222222) Locked, Waiting on external entities
  1057. 2022-09-16 07:36:42.346802 87.07% [NOTICE] switch_core_session.c:1771 Session 70 (sofia/default/11222222222222) Ended
  1058. 2022-09-16 07:36:42.346802 87.07% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/11222222222222 [CS_DESTROY]
  1059. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/11222222222222]
  1060. 2022-09-16 07:36:42.346802 87.07% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/11222222222222 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  1061. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:735 (sofia/default/11222222222222) Running State Change CS_DESTROY (Cur 3 Tot 71)
  1062. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:650 (sofia/default/11222222222222) State EXCHANGE_MEDIA going to sleep
  1063. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/11222222222222) Running State Change CS_HANGUP (Cur 3 Tot 71)
  1064. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:844 (sofia/default/11222222222222) Callstate Change ACTIVE -> HANGUP
  1065. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/11222222222222) State DESTROY
  1066. 2022-09-16 07:36:42.346802 87.07% [DEBUG] mod_sofia.c:379 sofia/default/11222222222222 SOFIA DESTROY
  1067. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/11222222222222) State HANGUP
  1068. 2022-09-16 07:36:42.346802 87.07% [DEBUG] mod_sofia.c:462 sofia/default/11222222222222 Overriding SIP cause 480 with 200 from the other leg
  1069. 2022-09-16 07:36:42.346802 87.07% [DEBUG] mod_sofia.c:468 Channel sofia/default/11222222222222 hanging up, cause: NORMAL_CLEARING
  1070. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:175 sofia/default/11222222222222 Standard DESTROY
  1071. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/11222222222222) State DESTROY going to sleep
  1072. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/11222222222222 skip receive message [UNBRIDGE] (channel is hungup already)
  1073. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/100000@142.132.184.134:5072 skip receive message [UNBRIDGE] (channel is hungup already)
  1074. 2022-09-16 07:36:42.346802 87.07% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/11222222222222
  1075. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_session.c:2983 sofia/default/100000@142.132.184.134:5072 skip receive message [PHONE_EVENT] (channel is hungup already)
  1076. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:647 (sofia/default/100000@142.132.184.134:5072) State EXECUTE going to sleep
  1077. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100000@142.132.184.134:5072) Running State Change CS_HANGUP (Cur 3 Tot 71)
  1078. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:59 sofia/default/11222222222222 Standard HANGUP, cause: NORMAL_CLEARING
  1079. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/11222222222222) State HANGUP going to sleep
  1080. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:616 (sofia/default/11222222222222) State Change CS_HANGUP -> CS_REPORTING
  1081. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:844 (sofia/default/100000@142.132.184.134:5072) Callstate Change ACTIVE -> HANGUP
  1082. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/11222222222222) Running State Change CS_REPORTING (Cur 3 Tot 71)
  1083. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/100000@142.132.184.134:5072) State HANGUP
  1084. 2022-09-16 07:36:42.346802 87.07% [DEBUG] mod_sofia.c:468 Channel sofia/default/100000@142.132.184.134:5072 hanging up, cause: NORMAL_CLEARING
  1085. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/11222222222222) State REPORTING
  1086. 2022-09-16 07:36:42.346802 87.07% [INFO] mod_json_cdr.c:271 Process [e060658d-40a4-4f61-820b-478d3dbddece.cdr.json]
  1087. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:59 sofia/default/100000@142.132.184.134:5072 Standard HANGUP, cause: NORMAL_CLEARING
  1088. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/100000@142.132.184.134:5072) State HANGUP going to sleep
  1089. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:616 (sofia/default/100000@142.132.184.134:5072) State Change CS_HANGUP -> CS_REPORTING
  1090. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_scheduler.c:147 Deleting task 25 switch_ivr_schedule_hangup (12f016ba-f5cd-4590-a14d-f90a745aeec0)
  1091. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100000@142.132.184.134:5072) Running State Change CS_REPORTING (Cur 3 Tot 71)
  1092. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/100000@142.132.184.134:5072) State REPORTING
  1093. 2022-09-16 07:36:42.346802 87.07% [INFO] mod_json_cdr.c:271 Process [42e1cdf4-7053-43d0-8d69-12f27c000cde.cdr.json]
  1094. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:168 sofia/default/11222222222222 Standard REPORTING, cause: NORMAL_CLEARING
  1095. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/11222222222222) State REPORTING going to sleep
  1096. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:607 (sofia/default/11222222222222) State Change CS_REPORTING -> CS_DESTROY
  1097. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_session.c:1753 Session 71 (sofia/default/11222222222222) Locked, Waiting on external entities
  1098. 2022-09-16 07:36:42.346802 87.07% [NOTICE] switch_core_session.c:1771 Session 71 (sofia/default/11222222222222) Ended
  1099. 2022-09-16 07:36:42.346802 87.07% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/11222222222222 [CS_DESTROY]
  1100. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:735 (sofia/default/11222222222222) Running State Change CS_DESTROY (Cur 2 Tot 71)
  1101. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/11222222222222) State DESTROY
  1102. 2022-09-16 07:36:42.346802 87.07% [DEBUG] mod_sofia.c:379 sofia/default/11222222222222 SOFIA DESTROY
  1103. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:175 sofia/default/11222222222222 Standard DESTROY
  1104. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/11222222222222) State DESTROY going to sleep
  1105. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:168 sofia/default/100000@142.132.184.134 Standard REPORTING, cause: NORMAL_CLEARING
  1106. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/100000@142.132.184.134) State REPORTING going to sleep
  1107. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:607 (sofia/default/100000@142.132.184.134) State Change CS_REPORTING -> CS_DESTROY
  1108. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_session.c:1753 Session 69 (sofia/default/100000@142.132.184.134) Locked, Waiting on external entities
  1109. 2022-09-16 07:36:42.346802 87.07% [NOTICE] switch_core_session.c:1771 Session 69 (sofia/default/100000@142.132.184.134) Ended
  1110. 2022-09-16 07:36:42.346802 87.07% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/100000@142.132.184.134 [CS_DESTROY]
  1111. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:735 (sofia/default/100000@142.132.184.134) Running State Change CS_DESTROY (Cur 1 Tot 71)
  1112. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/100000@142.132.184.134) State DESTROY
  1113. 2022-09-16 07:36:42.346802 87.07% [DEBUG] mod_sofia.c:379 sofia/default/100000@142.132.184.134 SOFIA DESTROY
  1114. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:175 sofia/default/100000@142.132.184.134 Standard DESTROY
  1115. 2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/100000@142.132.184.134) State DESTROY going to sleep
  1116. 2022-09-16 07:36:42.366792 87.07% [DEBUG] switch_core_state_machine.c:168 sofia/default/100000@142.132.184.134:5072 Standard REPORTING, cause: NORMAL_CLEARING
  1117. 2022-09-16 07:36:42.366792 87.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/100000@142.132.184.134:5072) State REPORTING going to sleep
  1118. 2022-09-16 07:36:42.366792 87.07% [DEBUG] switch_core_state_machine.c:607 (sofia/default/100000@142.132.184.134:5072) State Change CS_REPORTING -> CS_DESTROY
  1119. 2022-09-16 07:36:42.366792 87.07% [DEBUG] switch_core_session.c:1753 Session 68 (sofia/default/100000@142.132.184.134:5072) Locked, Waiting on external entities
  1120. 2022-09-16 07:36:42.366792 87.07% [NOTICE] switch_core_session.c:1771 Session 68 (sofia/default/100000@142.132.184.134:5072) Ended
  1121. 2022-09-16 07:36:42.366792 87.07% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/100000@142.132.184.134:5072 [CS_DESTROY]
  1122. 2022-09-16 07:36:42.366792 87.07% [DEBUG] switch_core_state_machine.c:735 (sofia/default/100000@142.132.184.134:5072) Running State Change CS_DESTROY (Cur 0 Tot 71)
  1123. 2022-09-16 07:36:42.366792 87.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/100000@142.132.184.134:5072) State DESTROY
  1124. 2022-09-16 07:36:42.366792 87.07% [DEBUG] mod_sofia.c:379 sofia/default/100000@142.132.184.134:5072 SOFIA DESTROY
  1125. 2022-09-16 07:36:42.366792 87.07% [DEBUG] switch_core_state_machine.c:175 sofia/default/100000@142.132.184.134:5072 Standard DESTROY
  1126. 2022-09-16 07:36:42.366792 87.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/100000@142.132.184.134:5072) State DESTROY going to sleep
  1127. 2022-09-16 07:36:42.846800 87.83% [DEBUG] switch_scheduler.c:147 Deleting task 26 switch_ivr_schedule_hangup (e060658d-40a4-4f61-820b-478d3dbddece)
  1128. freeswitch@devangASTPP> /exit
  1129.  
  1130. root@devangASTPP:~#