From Prashant Kumar, 1 Year ago, written in FreeSWITCH.
- view diff
Embed
  1. Type /help <enter> to see a list of commands
  2.  
  3.  
  4.  
  5.  
  6. [This app Best viewed at 160x60 or more..]
  7. +OK log level  [7]
  8. 2023-06-21 05:29:42.970667 82.53% [NOTICE] switch_channel.c:1123 New Channel sofia/default/8807163539@alpha6.astppbilling.org:5076 [430f45cb-1d4a-4bfa-989e-a02ca4187498]
  9. 2023-06-21 05:29:42.970667 82.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8807163539@alpha6.astppbilling.org:5076) Running State Change CS_NEW (Cur 1 Tot 75)
  10. 2023-06-21 05:29:42.970667 82.53% [INFO] sofia.c:10453 sofia/default/8807163539@alpha6.astppbilling.org:5076 receiving invite from 49.34.209.208:37783 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: QUcQcY9xoNf6jbW6UuHJ5g..
  11. 2023-06-21 05:29:42.970667 82.53% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 49.34.209.208:0.
  12. 2023-06-21 05:29:42.970667 82.53% [WARNING] sofia_reg.c:1846 SIP auth challenge (INVITE) on sofia profile 'default' for [1095995646446@alpha6.astppbilling.org] from ip 49.34.209.208
  13. 2023-06-21 05:29:42.970667 82.53% [DEBUG] switch_core_state_machine.c:600 (sofia/default/8807163539@alpha6.astppbilling.org:5076) State NEW
  14. 2023-06-21 05:29:42.970667 82.53% [DEBUG] sofia.c:2419 detaching session 430f45cb-1d4a-4bfa-989e-a02ca4187498
  15. 2023-06-21 05:29:43.370682 82.53% [DEBUG] sofia.c:2532 Re-attaching to session 430f45cb-1d4a-4bfa-989e-a02ca4187498
  16. 2023-06-21 05:29:43.370682 82.53% [INFO] sofia.c:10453 sofia/default/8807163539@alpha6.astppbilling.org:5076 receiving invite from 49.34.209.208:37783 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: QUcQcY9xoNf6jbW6UuHJ5g..
  17. 2023-06-21 05:29:43.370682 82.53% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 49.34.209.208:0.
  18. 2023-06-21 05:29:43.390673 83.20% [DEBUG] sofia.c:11668 Setting NAT mode based on via received
  19. 2023-06-21 05:29:43.390673 83.20% [DEBUG] sofia.c:7487 Channel sofia/default/8807163539@alpha6.astppbilling.org:5076 entering state [received][100]
  20. 2023-06-21 05:29:43.390673 83.20% [DEBUG] sofia.c:7497 Remote SDP:
  21. v=0
  22. o=Zoiper 0 330008954 IN IP4 49.34.209.208
  23. s=Zoiper
  24. c=IN IP4 49.34.209.208
  25. t=0 0
  26. m=audio 40884 RTP/AVP 106 9 98 101 0 8 3
  27. a=rtpmap:106 opus/48000/2
  28. a=fmtp:106 sprop-maxcapturerate=16000; minptime=20; useinbandfec=1
  29. a=rtpmap:98 telephone-event/48000
  30. a=fmtp:98 0-16
  31. a=rtpmap:101 telephone-event/8000
  32. a=fmtp:101 0-16
  33. a=rtcp-mux
  34.  
  35. 2023-06-21 05:29:43.390673 83.20% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [opus:106:48000:20:0:2]/[PCMU:0:8000:20:64000:1]
  36. 2023-06-21 05:29:43.390673 83.20% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [opus:106:48000:20:0:2]/[PCMA:8:8000:20:64000:1]
  37. 2023-06-21 05:29:43.390673 83.20% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [opus:106:48000:20:0:2]/[G729:18:8000:20:8000:1]
  38. 2023-06-21 05:29:43.390673 83.20% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  39. 2023-06-21 05:29:43.390673 83.20% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  40. 2023-06-21 05:29:43.390673 83.20% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  41. 2023-06-21 05:29:43.390673 83.20% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 98@48000
  42. 2023-06-21 05:29:43.390673 83.20% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  43. 2023-06-21 05:29:43.390673 83.20% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  44. 2023-06-21 05:29:43.390673 83.20% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  45. 2023-06-21 05:29:43.390673 83.20% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  46. 2023-06-21 05:29:43.390673 83.20% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  47. 2023-06-21 05:29:43.390673 83.20% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  48. 2023-06-21 05:29:43.390673 83.20% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  49. 2023-06-21 05:29:43.390673 83.20% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  50. 2023-06-21 05:29:43.390673 83.20% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  51. 2023-06-21 05:29:43.390673 83.20% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  52. 2023-06-21 05:29:43.390673 83.20% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G729:18:8000:20:8000:1]
  53. 2023-06-21 05:29:43.390673 83.20% [DEBUG] switch_core_media.c:3750 Set Codec sofia/default/8807163539@alpha6.astppbilling.org:5076 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  54. 2023-06-21 05:29:43.390673 83.20% [DEBUG] switch_core_codec.c:111 sofia/default/8807163539@alpha6.astppbilling.org:5076 Original read codec set to PCMU:0
  55. 2023-06-21 05:29:43.390673 83.20% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000
  56. 2023-06-21 05:29:43.390673 83.20% [DEBUG] switch_core_media.c:5850 sofia/default/8807163539@alpha6.astppbilling.org:5076 Set 2833 dtmf send payload to 101 recv payload to 101
  57. 2023-06-21 05:29:43.390673 83.20% [DEBUG] sofia.c:7921 (sofia/default/8807163539@alpha6.astppbilling.org:5076) State Change CS_NEW -> CS_INIT
  58. 2023-06-21 05:29:43.390673 83.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8807163539@alpha6.astppbilling.org:5076) Running State Change CS_INIT (Cur 1 Tot 75)
  59. 2023-06-21 05:29:43.390673 83.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8807163539@alpha6.astppbilling.org:5076) State INIT
  60. 2023-06-21 05:29:43.390673 83.20% [DEBUG] mod_sofia.c:97 sofia/default/8807163539@alpha6.astppbilling.org:5076 SOFIA INIT
  61. 2023-06-21 05:29:43.390673 83.20% [DEBUG] switch_core_state_machine.c:40 sofia/default/8807163539@alpha6.astppbilling.org:5076 Standard INIT
  62. 2023-06-21 05:29:43.390673 83.20% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8807163539@alpha6.astppbilling.org:5076) State Change CS_INIT -> CS_ROUTING
  63. 2023-06-21 05:29:43.390673 83.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8807163539@alpha6.astppbilling.org:5076) State INIT going to sleep
  64. 2023-06-21 05:29:43.390673 83.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8807163539@alpha6.astppbilling.org:5076) Running State Change CS_ROUTING (Cur 1 Tot 75)
  65. 2023-06-21 05:29:43.390673 83.20% [DEBUG] switch_channel.c:2380 (sofia/default/8807163539@alpha6.astppbilling.org:5076) Callstate Change DOWN -> RINGING
  66. 2023-06-21 05:29:43.390673 83.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8807163539@alpha6.astppbilling.org:5076) State ROUTING
  67. 2023-06-21 05:29:43.390673 83.20% [DEBUG] mod_sofia.c:158 sofia/default/8807163539@alpha6.astppbilling.org:5076 SOFIA ROUTING
  68. 2023-06-21 05:29:43.390673 83.20% [DEBUG] switch_core_state_machine.c:230 sofia/default/8807163539@alpha6.astppbilling.org:5076 Standard ROUTING
  69. 2023-06-21 05:29:43.390673 83.20% [INFO] mod_dialplan_xml.c:639 Processing 8807163539 <8807163539>->1095995646446 in context default
  70. 2023-06-21 05:29:43.410669 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  71. 2023-06-21 05:29:43.410669 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  72. 2023-06-21 05:29:43.410669 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  73. 2023-06-21 05:29:43.410669 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  74. 2023-06-21 05:29:43.410669 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  75. 2023-06-21 05:29:43.410669 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1095995646446
  76. 2023-06-21 05:29:43.410669 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '1095995646446' limit 1
  77. 2023-06-21 05:29:43.410669 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  78. 2023-06-21 05:29:43.410669 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '1095995646446' and status=0 LIMIT 1
  79. 2023-06-21 05:29:43.410669 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER8807163539
  80. 2023-06-21 05:29:43.410669 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  81. 2023-06-21 05:29:43.410669 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'alpha6.astppbilling.org' limit 1
  82. 2023-06-21 05:29:43.410669 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '7' and username = '1095995646446' limit 1
  83. 2023-06-21 05:29:43.410669 83.20% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  84. 2023-06-21 05:29:43.410669 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 8807163539 / 8807163539
  85. 2023-06-21 05:29:43.410669 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 5646446
  86. 2023-06-21 05:29:43.410669 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 109599 AND status=0 limit 1
  87. 2023-06-21 05:29:43.410669 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  88. 2023-06-21 05:29:43.410669 83.20% [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="1095995646446"  AND domains.domain="alpha6.astppbilling.org" limit 1
  89. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  90. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 8871343676]
  91. 2023-06-21 05:29:43.430667 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =1095995646446
  92. 2023-06-21 05:29:43.430667 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "8871343676" AND deleted = 0 limit 1
  93. 2023-06-21 05:29:43.430667 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^1095995646446.*' OR blocked_patterns = '^109599564644.*' OR blocked_patterns = '^10959956464.*' OR blocked_patterns = '^1095995646.*' OR blocked_patterns = '^109599564.*' OR blocked_patterns = '^10959956.*' OR blocked_patterns = '^1095995.*' OR blocked_patterns = '^109599.*' OR blocked_patterns = '^10959.*' OR blocked_patterns = '^1095.*' OR blocked_patterns = '^109.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 7 limit 1
  94. 2023-06-21 05:29:43.430667 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  95. 2023-06-21 05:29:43.430667 83.20% [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 = '^1095995646446.*' OR patterns = '^109599564644.*' OR patterns = '^10959956464.*' OR patterns = '^1095995646.*' OR patterns = '^109599564.*' OR patterns = '^10959956.*' OR patterns = '^1095995.*' OR patterns = '^109599.*' OR patterns = '^10959.*' OR patterns = '^1095.*' OR patterns = '^109.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC
  96. 2023-06-21 05:29:43.430667 83.20% [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 ="1095995646446" AND A.accountid = '7' limit 1
  97. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 1095995646446
  98. 2023-06-21 05:29:43.430667 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  99. 2023-06-21 05:29:43.430667 83.20% [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="1095995646446"  AND domains.domain="alpha6.astppbilling.org" limit 1
  100. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  101. 2023-06-21 05:29:43.430667 83.20% [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 = '1095995646446' OR number = '109599564644' OR number = '10959956464' OR number = '1095995646' OR number = '109599564' OR number = '10959956' OR number = '1095995' OR number = '109599' OR number = '10959' OR number = '1095' OR number = '109' OR number = '10' OR number = '1' OR number ='--') OR (number = '1095995646446*' OR number = '109599564644*' OR number = '10959956464*' OR number = '1095995646*' OR number = '109599564*' OR number = '10959956*' OR number = '1095995*' OR number = '109599*' OR number = '10959*' OR number = '1095*' OR number = '109*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '8807163539' OR number = '880716353' OR number = '88071635' OR number = '8807163' OR number = '880716' OR number = '88071' OR number = '8807' OR number = '880' OR number = '88' OR number = '8' OR number ='--') OR (number = '8807163539*' OR number = '880716353*' OR number = '88071635*' OR number = '8807163*' OR number = '880716*' OR number = '88071*' OR number = '8807*' OR number = '880*' OR number = '88*' OR number = '8*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  102. 2023-06-21 05:29:43.430667 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  103. 2023-06-21 05:29:43.430667 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '1095995646446' OR routing_prefix = '109599564644' OR routing_prefix = '10959956464' OR routing_prefix = '1095995646' OR routing_prefix = '109599564' OR routing_prefix = '10959956' OR routing_prefix = '1095995' OR routing_prefix = '109599' OR routing_prefix = '10959' OR routing_prefix = '1095' OR routing_prefix = '109' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  104. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  105. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 7
  106. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 8871343676
  107. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 79405.65
  108. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  109. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 4
  110. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  111. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  112. 2023-06-21 05:29:43.430667 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  113. 2023-06-21 05:29:43.430667 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::4
  114. 2023-06-21 05:29:43.430667 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  115. 2023-06-21 05:29:43.430667 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  116. 2023-06-21 05:29:43.430667 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::4
  117. 2023-06-21 05:29:43.430667 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^1095995646446.*' OR pattern = '^109599564644.*' OR pattern = '^10959956464.*' OR pattern = '^1095995646.*' OR pattern = '^109599564.*' OR pattern = '^10959956.*' OR pattern = '^1095995.*' OR pattern = '^109599.*' OR pattern = '^10959.*' OR pattern = '^1095.*' OR pattern = '^109.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^8807163539.*' OR caller_id_pattern = '^880716353.*' OR caller_id_pattern = '^88071635.*' OR caller_id_pattern = '^8807163.*' OR caller_id_pattern = '^880716.*' OR caller_id_pattern = '^88071.*' OR caller_id_pattern = '^8807.*' OR caller_id_pattern = '^880.*' OR caller_id_pattern = '^88.*' OR caller_id_pattern = '^8.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 4 OR accountid=7)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  118. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  119. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  120. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1806714
  121. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  122. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  123. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000
  124. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : QA-pK
  125. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 33
  126. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 7
  127. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  128. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  129. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  130. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Shadow_billing_rates]SHADOWBILLING:0|ID:1806714|CODE:^1.*|DESTINATION:QA-pK|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:33|ACCID:7!!!
  131. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your79405.65 balance Accountid 7 !!!
  132. 2023-06-21 05:29:43.430667 83.20% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 500 mins!
  133. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 500 minutes
  134. 2023-06-21 05:29:43.430667 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  135. 2023-06-21 05:29:43.430667 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=4 ORDER by id asc
  136. 2023-06-21 05:29:43.430667 83.20% [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 = '^1095995646446.*' OR pattern = '^109599564644.*' OR pattern = '^10959956464.*' OR pattern = '^1095995646.*' OR pattern = '^109599564.*' OR pattern = '^10959956.*' OR pattern = '^1095995.*' OR pattern = '^109599.*' OR pattern = '^10959.*' OR pattern = '^1095.*' OR pattern = '^109.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (4) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  137. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  138. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3
  139. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.*
  140. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : USA-DC
  141. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  142. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  143. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.*
  144. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  145. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  146. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
  147. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : CommunitySixServer
  148. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  149. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  150. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 13
  151. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  152. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  153. 2023-06-21 05:29:43.430667 83.20% [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 = 7 AND status=0 LIMIT 1
  154. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 500
  155. 2023-06-21 05:29:43.430667 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  156. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  157. 2023-06-21 05:29:43.430667 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
  158. 2023-06-21 05:29:43.430667 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  159. 2023-06-21 05:29:43.430667 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::4
  160. 2023-06-21 05:29:43.430667 83.20% [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 = 13) AND status=0 limit 1
  161. 2023-06-21 05:29:43.430667 83.20% [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 = 4) AND status=0 limit 1
  162. 2023-06-21 05:29:43.430667 83.20% [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 ="1095995646446" LIMIT 1
  163. 2023-06-21 05:29:43.430667 83.20% [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 ="1095995646446" LIMIT 1
  164. 2023-06-21 05:29:43.430667 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  165. 2023-06-21 05:29:43.430667 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  166. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  167. <document type="freeswitch/xml">
  168. <section name="dialplan" description="ASTPP Dialplan">
  169. <context name="default">
  170. <extension name="1095995646446">
  171. <condition field="destination_number" expression="1095995646446">
  172. <action application="set" data="effective_destination_number=1095995646446"/>
  173. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  174. <action application="set" data="bridge_pre_execute_bleg_data=+30000 normal_clearing"/>
  175. <action application="set" data="type=0"/>
  176. <action application="set" data="callstart=2023-06-21 05:29:43"/>
  177. <action application="set" data="hangup_after_bridge=true"/>
  178. <action application="set" data="continue_on_fail=TRUE"/>
  179. <action application="set" data="account_id=7"/>
  180. <action application="set" data="parent_id=0"/>
  181. <action application="set" data="entity_id=0"/>
  182. <action application="set" data="call_processed=internal"/>
  183. <action application="set" data="call_direction=outbound"/>
  184. <action application="set" data="accountname=default"/>
  185. <action application="set" data="filename1=astpp.pbx.lua"/>
  186. <action application="sleep" data="500"/>
  187. <action application="playback" data="/usr/local/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav"/>
  188. <action application="say" data="en NUMBER PRONOUNCED 500"/>
  189. <action application="playback" data="/usr/local/freeswitch/sounds/en/us/callie/astpp-minute.wav"/>
  190. <action application="set" data="ringback=%(2000,4000,440.0,480.0)"/>
  191. <action application="set" data="origination_rates=SHADOWBILLING:0|ID:1806714|CODE:^1.*|DESTINATION:QA-pK|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:33|ACCID:7"/>
  192. <action application="set" data="original_caller_id_name=8807163539"/>
  193. <action application="set" data="original_caller_id_number=8807163539"/>
  194.  
  195. <action application="set" data="effective_caller_id_name=8807163539"/>
  196. <action application="set" data="effective_caller_id_number=8807163539"/>
  197. <action application="set" data="calltype=STANDARD"/>
  198. <action application="set" data="termination_rates=ID:3|CODE:^1.*|DESTINATION:USA-DC|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.29000|INC:60|INITIALBLOCK:60|TRUNK:4|PROVIDER:13"/>
  199. <action application="set" data="trunk_id=4"/>
  200. <action application="set" data="provider_id=13"/>
  201. <action application="set" data="rate_flag=0"/>
  202. <action application="set" data="daily_call_credit_limit=0.00000"/>
  203. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  204. <action application="set" data="daily_call_used_limit=0.00000"/>
  205. <action application="set" data="monthly_call_used_limit=0.00000"/>
  206. <action application="set" data="quality_trunk_seq=4"/>
  207. <action application="set" data="force_trunk_flag=0"/>
  208. <action application="export" data="presence_data=trunk_id=4"/>
  209. <action application="set" data="intcall=0"/>
  210. <action application="export" data="presence_id=1095995646446"/>
  211. <action application="export" data="presence_data=x|||PK Postpaid Customer(8871343676)|||^1.* // QA-pK // 0.60000 |||PK-Outboud-Call-Trunk // ^1.* // USA-DC // 0.29000 // trunk_id=4|||STD|||49.34.209.208"/>
  212. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/CommunitySixServer/1095995646446"/>
  213. </condition>
  214. </extension>
  215. </context>
  216. </section>
  217. </document>
  218. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 parsing [default->1095995646446] continue=false
  219. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Regex (PASS) [1095995646446] destination_number(1095995646446) =~ /1095995646446/ break=on-false
  220. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action set(effective_destination_number=1095995646446)
  221. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  222. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action set(bridge_pre_execute_bleg_data=+30000 normal_clearing)
  223. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action set(type=0)
  224. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action set(callstart=2023-06-21 05:29:43)
  225. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action set(hangup_after_bridge=true)
  226. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action set(continue_on_fail=TRUE)
  227. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action set(account_id=7)
  228. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action set(parent_id=0)
  229. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action set(entity_id=0)
  230. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action set(call_processed=internal)
  231. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action set(call_direction=outbound)
  232. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action set(accountname=default)
  233. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action set(filename1=astpp.pbx.lua)
  234. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action sleep(500)
  235. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav)
  236. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action say(en NUMBER PRONOUNCED 500)
  237. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-minute.wav)
  238. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action set(ringback=%(2000,4000,440.0,480.0))
  239. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action set(origination_rates=SHADOWBILLING:0|ID:1806714|CODE:^1.*|DESTINATION:QA-pK|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:33|ACCID:7)
  240. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action set(original_caller_id_name=8807163539)
  241. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action set(original_caller_id_number=8807163539)
  242. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action set(effective_caller_id_name=8807163539)
  243. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action set(effective_caller_id_number=8807163539)
  244. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action set(calltype=STANDARD)
  245. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action set(termination_rates=ID:3|CODE:^1.*|DESTINATION:USA-DC|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.29000|INC:60|INITIALBLOCK:60|TRUNK:4|PROVIDER:13)
  246. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action set(trunk_id=4)
  247. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action set(provider_id=13)
  248. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action set(rate_flag=0)
  249. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action set(daily_call_credit_limit=0.00000)
  250. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action set(monthly_call_credit_limit=0.00000)
  251. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action set(daily_call_used_limit=0.00000)
  252. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action set(monthly_call_used_limit=0.00000)
  253. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action set(quality_trunk_seq=4)
  254. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action set(force_trunk_flag=0)
  255. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action export(presence_data=trunk_id=4)
  256. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action set(intcall=0)
  257. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action export(presence_id=1095995646446)
  258. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action export(presence_data=x|||PK Postpaid Customer(8871343676)|||^1.* // QA-pK // 0.60000 |||PK-Outboud-Call-Trunk // ^1.* // USA-DC // 0.29000 // trunk_id=4|||STD|||49.34.209.208)
  259. Dialplan: sofia/default/8807163539@alpha6.astppbilling.org:5076 Action bridge({sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/CommunitySixServer/1095995646446)
  260. 2023-06-21 05:29:43.430667 83.20% [DEBUG] switch_core_state_machine.c:281 (sofia/default/8807163539@alpha6.astppbilling.org:5076) State Change CS_ROUTING -> CS_EXECUTE
  261. 2023-06-21 05:29:43.430667 83.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8807163539@alpha6.astppbilling.org:5076) State ROUTING going to sleep
  262. 2023-06-21 05:29:43.430667 83.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8807163539@alpha6.astppbilling.org:5076) Running State Change CS_EXECUTE (Cur 1 Tot 75)
  263. 2023-06-21 05:29:43.430667 83.20% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8807163539@alpha6.astppbilling.org:5076) State EXECUTE
  264. 2023-06-21 05:29:43.430667 83.20% [DEBUG] mod_sofia.c:213 sofia/default/8807163539@alpha6.astppbilling.org:5076 SOFIA EXECUTE
  265. 2023-06-21 05:29:43.430667 83.20% [DEBUG] switch_core_state_machine.c:323 sofia/default/8807163539@alpha6.astppbilling.org:5076 Standard EXECUTE
  266. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 set(effective_destination_number=1095995646446)
  267. 2023-06-21 05:29:43.430667 83.20% [DEBUG] mod_dptools.c:1673 SET sofia/default/8807163539@alpha6.astppbilling.org:5076 [effective_destination_number]=[1095995646446]
  268. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 set(bridge_pre_execute_bleg_app=sched_hangup)
  269. 2023-06-21 05:29:43.430667 83.20% [DEBUG] mod_dptools.c:1673 SET sofia/default/8807163539@alpha6.astppbilling.org:5076 [bridge_pre_execute_bleg_app]=[sched_hangup]
  270. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 set(bridge_pre_execute_bleg_data=+30000 normal_clearing)
  271. 2023-06-21 05:29:43.430667 83.20% [DEBUG] mod_dptools.c:1673 SET sofia/default/8807163539@alpha6.astppbilling.org:5076 [bridge_pre_execute_bleg_data]=[+30000 normal_clearing]
  272. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 set(type=0)
  273. 2023-06-21 05:29:43.430667 83.20% [DEBUG] mod_dptools.c:1673 SET sofia/default/8807163539@alpha6.astppbilling.org:5076 [type]=[0]
  274. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 set(callstart=2023-06-21 05:29:43)
  275. 2023-06-21 05:29:43.430667 83.20% [DEBUG] mod_dptools.c:1673 SET sofia/default/8807163539@alpha6.astppbilling.org:5076 [callstart]=[2023-06-21 05:29:43]
  276. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 set(hangup_after_bridge=true)
  277. 2023-06-21 05:29:43.430667 83.20% [DEBUG] mod_dptools.c:1673 SET sofia/default/8807163539@alpha6.astppbilling.org:5076 [hangup_after_bridge]=[true]
  278. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 set(continue_on_fail=TRUE)
  279. 2023-06-21 05:29:43.430667 83.20% [DEBUG] mod_dptools.c:1673 SET sofia/default/8807163539@alpha6.astppbilling.org:5076 [continue_on_fail]=[TRUE]
  280. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 set(account_id=7)
  281. 2023-06-21 05:29:43.430667 83.20% [DEBUG] mod_dptools.c:1673 SET sofia/default/8807163539@alpha6.astppbilling.org:5076 [account_id]=[7]
  282. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 set(parent_id=0)
  283. 2023-06-21 05:29:43.430667 83.20% [DEBUG] mod_dptools.c:1673 SET sofia/default/8807163539@alpha6.astppbilling.org:5076 [parent_id]=[0]
  284. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 set(entity_id=0)
  285. 2023-06-21 05:29:43.430667 83.20% [DEBUG] mod_dptools.c:1673 SET sofia/default/8807163539@alpha6.astppbilling.org:5076 [entity_id]=[0]
  286. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 set(call_processed=internal)
  287. 2023-06-21 05:29:43.430667 83.20% [DEBUG] mod_dptools.c:1673 SET sofia/default/8807163539@alpha6.astppbilling.org:5076 [call_processed]=[internal]
  288. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 set(call_direction=outbound)
  289. 2023-06-21 05:29:43.430667 83.20% [DEBUG] mod_dptools.c:1673 SET sofia/default/8807163539@alpha6.astppbilling.org:5076 [call_direction]=[outbound]
  290. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 set(accountname=default)
  291. 2023-06-21 05:29:43.430667 83.20% [DEBUG] mod_dptools.c:1673 SET sofia/default/8807163539@alpha6.astppbilling.org:5076 [accountname]=[default]
  292. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 set(filename1=astpp.pbx.lua)
  293. 2023-06-21 05:29:43.430667 83.20% [DEBUG] mod_dptools.c:1673 SET sofia/default/8807163539@alpha6.astppbilling.org:5076 [filename1]=[astpp.pbx.lua]
  294. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 sleep(500)
  295. 2023-06-21 05:29:43.950699 83.20% [DEBUG] switch_core_session.c:2785 Application playback Requires media! pre_answering channel sofia/default/8807163539@alpha6.astppbilling.org:5076
  296. 2023-06-21 05:29:43.950699 83.20% [INFO] switch_core_session.c:2787 Sending early media
  297. 2023-06-21 05:29:43.950699 83.20% [DEBUG] switch_core_media.c:8651 AUDIO RTP [sofia/default/8807163539@alpha6.astppbilling.org:5076] 95.217.238.195 port 23344 -> 49.34.209.208 port 40884 codec: 0 ms: 20
  298. 2023-06-21 05:29:43.950699 83.20% [DEBUG] switch_rtp.c:4377 Starting timer [soft] 160 bytes per 20ms
  299. 2023-06-21 05:29:43.950699 83.20% [DEBUG] switch_core_media.c:8871 Activating RTCP PORT 40884
  300. 2023-06-21 05:29:43.950699 83.20% [DEBUG] switch_rtp.c:4708 RTCP send rate is: 1000 and packet rate is: 20000 Remote Port: 40884
  301. 2023-06-21 05:29:43.950699 83.20% [DEBUG] switch_core_media.c:8963 sofia/default/8807163539@alpha6.astppbilling.org:5076 Set 2833 dtmf send payload to 101
  302. 2023-06-21 05:29:43.950699 83.20% [DEBUG] switch_core_media.c:8970 sofia/default/8807163539@alpha6.astppbilling.org:5076 Set 2833 dtmf receive payload to 101
  303. 2023-06-21 05:29:43.950699 83.20% [DEBUG] switch_core_media.c:8993 sofia/default/8807163539@alpha6.astppbilling.org:5076 Set rtp dtmf delay to 40
  304. 2023-06-21 05:29:43.950699 83.20% [DEBUG] mod_sofia.c:2609 Ring SDP:
  305. v=0
  306. o=FreeSWITCH 1687302039 1687302040 IN IP4 95.217.238.195
  307. s=FreeSWITCH
  308. c=IN IP4 95.217.238.195
  309. t=0 0
  310. m=audio 23344 RTP/AVP 0 101
  311. a=rtpmap:0 PCMU/8000
  312. a=rtpmap:101 telephone-event/8000
  313. a=fmtp:101 0-15
  314. a=ptime:20
  315. a=sendrecv
  316. a=rtcp-mux
  317. a=rtcp:23344 IN IP4 95.217.238.195
  318.  
  319. 2023-06-21 05:29:43.950699 83.20% [NOTICE] mod_sofia.c:2612 Pre-Answer sofia/default/8807163539@alpha6.astppbilling.org:5076!
  320. 2023-06-21 05:29:43.950699 83.20% [DEBUG] switch_channel.c:3566 (sofia/default/8807163539@alpha6.astppbilling.org:5076) Callstate Change RINGING -> EARLY
  321. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav)
  322. 2023-06-21 05:29:43.950699 83.20% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav sample rate 16000 doesn't match requested rate 8000
  323. 2023-06-21 05:29:43.950699 83.20% [DEBUG] switch_ivr_play_say.c:1566 Codec Activated L16@8000hz 1 channels 20ms
  324. 2023-06-21 05:29:43.950699 83.20% [DEBUG] sofia.c:7487 Channel sofia/default/8807163539@alpha6.astppbilling.org:5076 entering state [early][183]
  325. 2023-06-21 05:29:44.590715 83.63% [DEBUG] switch_rtp.c:7511 Correct audio ip/port confirmed.
  326. 2023-06-21 05:29:44.710712 83.63% [DEBUG] switch_rtp.c:1775 rtcp_stats_init: audio ssrc[3814908339] base_seq[51292]
  327. 2023-06-21 05:29:45.150693 83.63% [DEBUG] switch_ivr_play_say.c:2015 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav
  328. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 say(en NUMBER PRONOUNCED 500)
  329. 2023-06-21 05:29:45.150693 83.63% [DEBUG] switch_ivr_play_say.c:1566 Codec Activated L16@8000hz 1 channels 20ms
  330. 2023-06-21 05:29:46.390691 84.53% [DEBUG] switch_ivr_play_say.c:2015 done playing file file_string://digits/5.wav!digits/hundred.wav
  331. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-minute.wav)
  332. 2023-06-21 05:29:46.390691 84.53% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-minute.wav sample rate 16000 doesn't match requested rate 8000
  333. 2023-06-21 05:29:46.390691 84.53% [DEBUG] switch_ivr_play_say.c:1566 Codec Activated L16@8000hz 1 channels 20ms
  334. 2023-06-21 05:29:46.870710 84.53% [DEBUG] switch_ivr_play_say.c:2015 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-minute.wav
  335. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 set(ringback=%(2000,4000,440.0,480.0))
  336. 2023-06-21 05:29:46.870710 84.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/8807163539@alpha6.astppbilling.org:5076 [ringback]=[%(2000,4000,440.0,480.0)]
  337. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 set(origination_rates=SHADOWBILLING:0|ID:1806714|CODE:^1.*|DESTINATION:QA-pK|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:33|ACCID:7)
  338. 2023-06-21 05:29:46.870710 84.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/8807163539@alpha6.astppbilling.org:5076 [origination_rates]=[SHADOWBILLING:0|ID:1806714|CODE:^1.*|DESTINATION:QA-pK|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:33|ACCID:7]
  339. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 set(original_caller_id_name=8807163539)
  340. 2023-06-21 05:29:46.870710 84.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/8807163539@alpha6.astppbilling.org:5076 [original_caller_id_name]=[8807163539]
  341. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 set(original_caller_id_number=8807163539)
  342. 2023-06-21 05:29:46.870710 84.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/8807163539@alpha6.astppbilling.org:5076 [original_caller_id_number]=[8807163539]
  343. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 set(effective_caller_id_name=8807163539)
  344. 2023-06-21 05:29:46.870710 84.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/8807163539@alpha6.astppbilling.org:5076 [effective_caller_id_name]=[8807163539]
  345. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 set(effective_caller_id_number=8807163539)
  346. 2023-06-21 05:29:46.870710 84.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/8807163539@alpha6.astppbilling.org:5076 [effective_caller_id_number]=[8807163539]
  347. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 set(calltype=STANDARD)
  348. 2023-06-21 05:29:46.870710 84.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/8807163539@alpha6.astppbilling.org:5076 [calltype]=[STANDARD]
  349. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 set(termination_rates=ID:3|CODE:^1.*|DESTINATION:USA-DC|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.29000|INC:60|INITIALBLOCK:60|TRUNK:4|PROVIDER:13)
  350. 2023-06-21 05:29:46.870710 84.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/8807163539@alpha6.astppbilling.org:5076 [termination_rates]=[ID:3|CODE:^1.*|DESTINATION:USA-DC|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.29000|INC:60|INITIALBLOCK:60|TRUNK:4|PROVIDER:13]
  351. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 set(trunk_id=4)
  352. 2023-06-21 05:29:46.870710 84.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/8807163539@alpha6.astppbilling.org:5076 [trunk_id]=[4]
  353. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 set(provider_id=13)
  354. 2023-06-21 05:29:46.870710 84.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/8807163539@alpha6.astppbilling.org:5076 [provider_id]=[13]
  355. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 set(rate_flag=0)
  356. 2023-06-21 05:29:46.870710 84.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/8807163539@alpha6.astppbilling.org:5076 [rate_flag]=[0]
  357. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 set(daily_call_credit_limit=0.00000)
  358. 2023-06-21 05:29:46.870710 84.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/8807163539@alpha6.astppbilling.org:5076 [daily_call_credit_limit]=[0.00000]
  359. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 set(monthly_call_credit_limit=0.00000)
  360. 2023-06-21 05:29:46.870710 84.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/8807163539@alpha6.astppbilling.org:5076 [monthly_call_credit_limit]=[0.00000]
  361. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 set(daily_call_used_limit=0.00000)
  362. 2023-06-21 05:29:46.870710 84.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/8807163539@alpha6.astppbilling.org:5076 [daily_call_used_limit]=[0.00000]
  363. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 set(monthly_call_used_limit=0.00000)
  364. 2023-06-21 05:29:46.870710 84.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/8807163539@alpha6.astppbilling.org:5076 [monthly_call_used_limit]=[0.00000]
  365. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 set(quality_trunk_seq=4)
  366. 2023-06-21 05:29:46.870710 84.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/8807163539@alpha6.astppbilling.org:5076 [quality_trunk_seq]=[4]
  367. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 set(force_trunk_flag=0)
  368. 2023-06-21 05:29:46.870710 84.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/8807163539@alpha6.astppbilling.org:5076 [force_trunk_flag]=[0]
  369. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 export(presence_data=trunk_id=4)
  370. 2023-06-21 05:29:46.870710 84.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=4]
  371. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 set(intcall=0)
  372. 2023-06-21 05:29:46.870710 84.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/8807163539@alpha6.astppbilling.org:5076 [intcall]=[0]
  373. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 export(presence_id=1095995646446)
  374. 2023-06-21 05:29:46.870710 84.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[1095995646446]
  375. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 export(presence_data=x|||PK Postpaid Customer(8871343676)|||^1.* // QA-pK // 0.60000 |||PK-Outboud-Call-Trunk // ^1.* // USA-DC // 0.29000 // trunk_id=4|||STD|||49.34.209.208)
  376. 2023-06-21 05:29:46.870710 84.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||PK Postpaid Customer(8871343676)|||^1.* // QA-pK // 0.60000 |||PK-Outboud-Call-Trunk // ^1.* // USA-DC // 0.29000 // trunk_id=4|||STD|||49.34.209.208]
  377. EXECUTE [depth=0] sofia/default/8807163539@alpha6.astppbilling.org:5076 bridge({sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/CommunitySixServer/1095995646446)
  378. 2023-06-21 05:29:46.870710 84.53% [DEBUG] switch_channel.c:1269 sofia/default/8807163539@alpha6.astppbilling.org:5076 EXPORTING[export_vars] [presence_data]=[x|||PK Postpaid Customer(8871343676)|||^1.* // QA-pK // 0.60000 |||PK-Outboud-Call-Trunk // ^1.* // USA-DC // 0.29000 // trunk_id=4|||STD|||49.34.209.208] to event
  379. 2023-06-21 05:29:46.870710 84.53% [DEBUG] switch_channel.c:1269 sofia/default/8807163539@alpha6.astppbilling.org:5076 EXPORTING[export_vars] [presence_id]=[1095995646446] to event
  380. 2023-06-21 05:29:46.870710 84.53% [DEBUG] switch_channel.c:1269 sofia/default/8807163539@alpha6.astppbilling.org:5076 EXPORTING[export_vars] [presence_data]=[x|||PK Postpaid Customer(8871343676)|||^1.* // QA-pK // 0.60000 |||PK-Outboud-Call-Trunk // ^1.* // USA-DC // 0.29000 // trunk_id=4|||STD|||49.34.209.208] to event
  381. 2023-06-21 05:29:46.870710 84.53% [DEBUG] switch_ivr_originate.c:2291 Parsing global variables
  382. 2023-06-21 05:29:46.870710 84.53% [DEBUG] switch_ivr_originate.c:2853 Parsing session specific variables
  383. 2023-06-21 05:29:46.870710 84.53% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1095995646446 [29082d18-f263-4ea7-87bd-d21a939f1ba6]
  384. 2023-06-21 05:29:46.870710 84.53% [DEBUG] mod_sofia.c:5117 (sofia/default/1095995646446) State Change CS_NEW -> CS_INIT
  385. 2023-06-21 05:29:46.870710 84.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1095995646446) Running State Change CS_INIT (Cur 2 Tot 76)
  386. 2023-06-21 05:29:46.870710 84.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1095995646446) State INIT
  387. 2023-06-21 05:29:46.870710 84.53% [DEBUG] mod_sofia.c:97 sofia/default/1095995646446 SOFIA INIT
  388. 2023-06-21 05:29:46.870710 84.53% [INFO] sofia_glue.c:1654 sofia/default/1095995646446 sending invite call-id: (null)
  389. 2023-06-21 05:29:46.870710 84.53% [DEBUG] sofia_glue.c:1657 sofia/default/1095995646446 sending invite version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit
  390. Local SDP:
  391. v=0
  392. o=FreeSWITCH 1687293758 1687293759 IN IP4 95.217.238.195
  393. s=FreeSWITCH
  394. c=IN IP4 95.217.238.195
  395. t=0 0
  396. m=audio 31628 RTP/AVP 8 18 101
  397. a=rtpmap:8 PCMA/8000
  398. a=rtpmap:18 G729/8000
  399. a=rtpmap:101 telephone-event/8000
  400. a=fmtp:101 0-15
  401. a=ptime:20
  402. a=sendrecv
  403.  
  404. 2023-06-21 05:29:46.870710 84.53% [DEBUG] switch_core_state_machine.c:40 sofia/default/1095995646446 Standard INIT
  405. 2023-06-21 05:29:46.870710 84.53% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1095995646446) State Change CS_INIT -> CS_ROUTING
  406. 2023-06-21 05:29:46.870710 84.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1095995646446) State INIT going to sleep
  407. 2023-06-21 05:29:46.870710 84.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1095995646446) Running State Change CS_ROUTING (Cur 2 Tot 76)
  408. 2023-06-21 05:29:46.890668 84.53% [DEBUG] sofia.c:7487 Channel sofia/default/1095995646446 entering state [calling][0]
  409. 2023-06-21 05:29:46.890668 84.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1095995646446) State ROUTING
  410. 2023-06-21 05:29:46.890668 84.53% [DEBUG] mod_sofia.c:158 sofia/default/1095995646446 SOFIA ROUTING
  411. 2023-06-21 05:29:46.890668 84.53% [DEBUG] switch_ivr_originate.c:67 (sofia/default/1095995646446) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  412. 2023-06-21 05:29:46.890668 84.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1095995646446) State ROUTING going to sleep
  413. 2023-06-21 05:29:46.890668 84.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1095995646446) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 76)
  414. 2023-06-21 05:29:46.890668 84.53% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1095995646446) State CONSUME_MEDIA
  415. 2023-06-21 05:29:46.890668 84.53% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1095995646446) State CONSUME_MEDIA going to sleep
  416. 2023-06-21 05:29:47.450872 84.30% [DEBUG] sofia.c:7487 Channel sofia/default/1095995646446 entering state [completing][200]
  417. 2023-06-21 05:29:47.450872 84.30% [DEBUG] sofia.c:7497 Remote SDP:
  418. v=0
  419. o=FreeSWITCH 1687293785 1687293786 IN IP4 13.232.246.166
  420. s=FreeSWITCH
  421. c=IN IP4 13.232.246.166
  422. t=0 0
  423. m=audio 31602 RTP/AVP 8 101
  424. a=rtpmap:8 PCMA/8000
  425. a=rtpmap:101 telephone-event/8000
  426. a=fmtp:101 0-15
  427. a=ptime:20
  428.  
  429. 2023-06-21 05:29:47.450872 84.30% [DEBUG] sofia.c:7487 Channel sofia/default/1095995646446 entering state [ready][200]
  430. 2023-06-21 05:29:47.450872 84.30% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  431. 2023-06-21 05:29:47.450872 84.30% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  432. 2023-06-21 05:29:47.450872 84.30% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  433. 2023-06-21 05:29:47.450872 84.30% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000
  434. 2023-06-21 05:29:47.450872 84.30% [DEBUG] switch_core_media.c:3750 Set Codec sofia/default/1095995646446 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  435. 2023-06-21 05:29:47.450872 84.30% [DEBUG] switch_core_codec.c:111 sofia/default/1095995646446 Original read codec set to PCMA:8
  436. 2023-06-21 05:29:47.450872 84.30% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000
  437. 2023-06-21 05:29:47.450872 84.30% [DEBUG] switch_core_media.c:5850 sofia/default/1095995646446 Set 2833 dtmf send payload to 101 recv payload to 101
  438. 2023-06-21 05:29:47.450872 84.30% [DEBUG] switch_core_media.c:8651 AUDIO RTP [sofia/default/1095995646446] 95.217.238.195 port 31628 -> 13.232.246.166 port 31602 codec: 8 ms: 20
  439. 2023-06-21 05:29:47.450872 84.30% [DEBUG] switch_rtp.c:4377 Starting timer [soft] 160 bytes per 20ms
  440. 2023-06-21 05:29:47.450872 84.30% [DEBUG] switch_core_media.c:8963 sofia/default/1095995646446 Set 2833 dtmf send payload to 101
  441. 2023-06-21 05:29:47.450872 84.30% [DEBUG] switch_core_media.c:8970 sofia/default/1095995646446 Set 2833 dtmf receive payload to 101
  442. 2023-06-21 05:29:47.450872 84.30% [DEBUG] switch_core_media.c:8993 sofia/default/1095995646446 Set rtp dtmf delay to 40
  443. 2023-06-21 05:29:47.450872 84.30% [NOTICE] sofia.c:8674 Channel [sofia/default/1095995646446] has been answered
  444. 2023-06-21 05:29:47.450872 84.30% [DEBUG] switch_channel.c:3893 (sofia/default/1095995646446) Callstate Change DOWN -> ACTIVE
  445. 2023-06-21 05:29:47.470680 84.30% [DEBUG] switch_core_media.c:8633 Audio params are unchanged for sofia/default/8807163539@alpha6.astppbilling.org:5076.
  446. 2023-06-21 05:29:47.470680 84.30% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/8807163539@alpha6.astppbilling.org:5076:
  447. v=0
  448. o=FreeSWITCH 1687302039 1687302041 IN IP4 95.217.238.195
  449. s=FreeSWITCH
  450. c=IN IP4 95.217.238.195
  451. t=0 0
  452. m=audio 23344 RTP/AVP 0 101
  453. a=rtpmap:0 PCMU/8000
  454. a=rtpmap:101 telephone-event/8000
  455. a=fmtp:101 0-15
  456. a=ptime:20
  457. a=sendrecv
  458. a=rtcp-mux
  459. a=rtcp:23344 IN IP4 95.217.238.195
  460.  
  461. 2023-06-21 05:29:47.470680 84.30% [NOTICE] switch_ivr_originate.c:3844 Channel [sofia/default/8807163539@alpha6.astppbilling.org:5076] has been answered
  462. 2023-06-21 05:29:47.470680 84.30% [DEBUG] switch_channel.c:3893 (sofia/default/8807163539@alpha6.astppbilling.org:5076) Callstate Change EARLY -> ACTIVE
  463. 2023-06-21 05:29:47.470680 84.30% [DEBUG] sofia.c:7487 Channel sofia/default/8807163539@alpha6.astppbilling.org:5076 entering state [completed][200]
  464. 2023-06-21 05:29:47.470680 84.30% [DEBUG] switch_ivr_originate.c:3902 Originate Resulted in Success: [sofia/default/1095995646446] Peer UUID: 29082d18-f263-4ea7-87bd-d21a939f1ba6
  465. 2023-06-21 05:29:47.470680 84.30% [DEBUG] switch_ivr_bridge.c:1791 (sofia/default/1095995646446) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  466. 2023-06-21 05:29:47.470680 84.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1095995646446) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 76)
  467. 2023-06-21 05:29:47.470680 84.30% [DEBUG] switch_core_state_machine.c:650 (sofia/default/1095995646446) State EXCHANGE_MEDIA
  468. 2023-06-21 05:29:47.470680 84.30% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  469. 2023-06-21 05:29:47.510683 84.30% [DEBUG] switch_rtp.c:7511 Correct audio ip/port confirmed.
  470. 2023-06-21 05:29:47.650695 84.30% [DEBUG] switch_ivr_bridge.c:654 sofia/default/1095995646446 Bridge execute app sched_hangup(+30000 normal_clearing)
  471. 2023-06-21 05:29:47.670685 84.30% [DEBUG] sofia.c:7487 Channel sofia/default/8807163539@alpha6.astppbilling.org:5076 entering state [ready][200]
  472. 2023-06-21 05:29:47.670685 84.30% [DEBUG] switch_ivr.c:632 sofia/default/1095995646446 Command Execute [depth=0] sched_hangup(+30000 normal_clearing)
  473. EXECUTE [depth=0] sofia/default/1095995646446 sched_hangup(+30000 normal_clearing)
  474. 2023-06-21 05:29:47.670685 84.30% [DEBUG] switch_scheduler.c:263 Added task 32 switch_ivr_schedule_hangup (29082d18-f263-4ea7-87bd-d21a939f1ba6) to run at 1687355387
  475. 2023-06-21 05:29:47.950701 84.30% [DEBUG] switch_rtp.c:7511 Correct audio ip/port confirmed.
  476. 2023-06-21 05:30:08.410687 86.77% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9900120420@13.232.246.166 [7665fef1-7106-4e1f-bfc2-21ca90383880]
  477. 2023-06-21 05:30:08.410687 86.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_NEW (Cur 3 Tot 77)
  478. 2023-06-21 05:30:08.410687 86.77% [INFO] sofia.c:10453 sofia/default/9900120420@13.232.246.166 receiving invite from 13.232.246.166:5077 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: 86b8d053-8a97-123c-65b2-02c9c4cfda14
  479. 2023-06-21 05:30:08.410687 86.77% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 13.232.246.166:0.
  480. 2023-06-21 05:30:08.410687 86.77% [DEBUG] sofia.c:10576 IP 13.232.246.166 Approved by acl "default[]". Access Granted.
  481. 2023-06-21 05:30:08.410687 86.77% [DEBUG] sofia.c:7487 Channel sofia/default/9900120420@13.232.246.166 entering state [received][100]
  482. 2023-06-21 05:30:08.410687 86.77% [DEBUG] sofia.c:7497 Remote SDP:
  483. v=0
  484. o=FreeSWITCH 1687295512 1687295513 IN IP4 13.232.246.166
  485. s=FreeSWITCH
  486. c=IN IP4 13.232.246.166
  487. t=0 0
  488. m=audio 29896 RTP/AVP 0 101
  489. a=rtpmap:0 PCMU/8000
  490. a=rtpmap:101 telephone-event/8000
  491. a=fmtp:101 0-15
  492. a=ptime:20
  493.  
  494. 2023-06-21 05:30:08.410687 86.77% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  495. 2023-06-21 05:30:08.410687 86.77% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  496. 2023-06-21 05:30:08.410687 86.77% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  497. 2023-06-21 05:30:08.410687 86.77% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  498. 2023-06-21 05:30:08.410687 86.77% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000
  499. 2023-06-21 05:30:08.410687 86.77% [DEBUG] switch_core_media.c:3750 Set Codec sofia/default/9900120420@13.232.246.166 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  500. 2023-06-21 05:30:08.410687 86.77% [DEBUG] switch_core_codec.c:111 sofia/default/9900120420@13.232.246.166 Original read codec set to PCMU:0
  501. 2023-06-21 05:30:08.410687 86.77% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000
  502. 2023-06-21 05:30:08.410687 86.77% [DEBUG] switch_core_media.c:5850 sofia/default/9900120420@13.232.246.166 Set 2833 dtmf send payload to 101 recv payload to 101
  503. 2023-06-21 05:30:08.410687 86.77% [DEBUG] sofia.c:7921 (sofia/default/9900120420@13.232.246.166) State Change CS_NEW -> CS_INIT
  504. 2023-06-21 05:30:08.410687 86.77% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9900120420@13.232.246.166) State NEW
  505. 2023-06-21 05:30:08.410687 86.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_INIT (Cur 3 Tot 77)
  506. 2023-06-21 05:30:08.410687 86.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9900120420@13.232.246.166) State INIT
  507. 2023-06-21 05:30:08.410687 86.77% [DEBUG] mod_sofia.c:97 sofia/default/9900120420@13.232.246.166 SOFIA INIT
  508. 2023-06-21 05:30:08.410687 86.77% [DEBUG] switch_core_state_machine.c:40 sofia/default/9900120420@13.232.246.166 Standard INIT
  509. 2023-06-21 05:30:08.410687 86.77% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9900120420@13.232.246.166) State Change CS_INIT -> CS_ROUTING
  510. 2023-06-21 05:30:08.410687 86.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9900120420@13.232.246.166) State INIT going to sleep
  511. 2023-06-21 05:30:08.410687 86.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_ROUTING (Cur 3 Tot 77)
  512. 2023-06-21 05:30:08.410687 86.77% [DEBUG] switch_channel.c:2380 (sofia/default/9900120420@13.232.246.166) Callstate Change DOWN -> RINGING
  513. 2023-06-21 05:30:08.410687 86.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9900120420@13.232.246.166) State ROUTING
  514. 2023-06-21 05:30:08.410687 86.77% [DEBUG] mod_sofia.c:158 sofia/default/9900120420@13.232.246.166 SOFIA ROUTING
  515. 2023-06-21 05:30:08.410687 86.77% [DEBUG] switch_core_state_machine.c:230 sofia/default/9900120420@13.232.246.166 Standard ROUTING
  516. 2023-06-21 05:30:08.410687 86.77% [INFO] mod_dialplan_xml.c:639 Processing CallerPKCommunitySix <9900120420>->10050 in context default
  517. 2023-06-21 05:30:08.430691 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  518. 2023-06-21 05:30:08.430691 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  519. 2023-06-21 05:30:08.430691 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  520. 2023-06-21 05:30:08.430691 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  521. 2023-06-21 05:30:08.450681 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  522. 2023-06-21 05:30:08.450681 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 10050
  523. 2023-06-21 05:30:08.450681 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '10050' limit 1
  524. 2023-06-21 05:30:08.450681 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  525. 2023-06-21 05:30:08.450681 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '10050' and status=0 LIMIT 1
  526. 2023-06-21 05:30:08.450681 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+alpha
  527. 2023-06-21 05:30:08.450681 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  528. 2023-06-21 05:30:08.450681 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '95.217.238.195' limit 1
  529. 2023-06-21 05:30:08.450681 86.77% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  530. 2023-06-21 05:30:08.450681 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : CallerPKCommunitySix / 9900120420
  531. 2023-06-21 05:30:08.450681 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number
  532. 2023-06-21 05:30:08.450681 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 10050 AND status=0 limit 1
  533. 2023-06-21 05:30:08.450681 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  534. 2023-06-21 05:30:08.450681 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  535. 2023-06-21 05:30:08.450681 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  536. 2023-06-21 05:30:08.450681 86.77% [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 ="10050" LIMIT 1
  537. 2023-06-21 05:30:08.450681 86.77% [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 ="10050" LIMIT 1
  538. 2023-06-21 05:30:08.450681 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  539. 2023-06-21 05:30:08.450681 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  540. 2023-06-21 05:30:08.450681 86.77% [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("13.232.246.166") 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 "10050"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  541. 2023-06-21 05:30:08.450681 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 8871343676]
  542. 2023-06-21 05:30:08.450681 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =10050
  543. 2023-06-21 05:30:08.450681 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "8871343676" AND deleted = 0 limit 1
  544. 2023-06-21 05:30:08.450681 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
  545. 2023-06-21 05:30:08.450681 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  546. 2023-06-21 05:30:08.450681 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
  547. 2023-06-21 05:30:08.450681 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  548. 2023-06-21 05:30:08.450681 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 7
  549. 2023-06-21 05:30:08.450681 86.77% [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 = '^10050.*' OR patterns = '^1005.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC
  550. 2023-06-21 05:30:08.450681 86.77% [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 ="10050" AND A.accountid = '7' limit 1
  551. 2023-06-21 05:30:08.450681 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 10050
  552. 2023-06-21 05:30:08.450681 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  553. 2023-06-21 05:30:08.450681 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  554. 2023-06-21 05:30:08.450681 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  555. 2023-06-21 05:30:08.450681 86.77% [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 ="10050" LIMIT 1
  556. 2023-06-21 05:30:08.450681 86.77% [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 ="10050" LIMIT 1
  557. 2023-06-21 05:30:08.450681 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  558. 2023-06-21 05:30:08.450681 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  559. 2023-06-21 05:30:08.450681 86.77% [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 = '10050' OR number = '1005' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '10050*' OR number = '1005*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '9900120420' OR number = '990012042' OR number = '99001204' OR number = '9900120' OR number = '990012' OR number = '99001' OR number = '9900' OR number = '990' OR number = '99' OR number = '9' OR number ='--') OR (number = '9900120420*' OR number = '990012042*' OR number = '99001204*' OR number = '9900120*' OR number = '990012*' OR number = '99001*' OR number = '9900*' OR number = '990*' OR number = '99*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  560. 2023-06-21 05:30:08.450681 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  561. 2023-06-21 05:30:08.450681 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '10050' OR routing_prefix = '1005' OR routing_prefix = '100' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  562. 2023-06-21 05:30:08.470688 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  563. 2023-06-21 05:30:08.470688 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 7
  564. 2023-06-21 05:30:08.470688 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 8871343676
  565. 2023-06-21 05:30:08.470688 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
  566. 2023-06-21 05:30:08.470688 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 79405.65
  567. 2023-06-21 05:30:08.470688 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  568. 2023-06-21 05:30:08.470688 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 4
  569. 2023-06-21 05:30:08.470688 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  570. 2023-06-21 05:30:08.470688 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  571. 2023-06-21 05:30:08.470688 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  572. 2023-06-21 05:30:08.470688 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::4
  573. 2023-06-21 05:30:08.470688 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  574. 2023-06-21 05:30:08.470688 86.77% [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 ="10050" LIMIT 1
  575. 2023-06-21 05:30:08.470688 86.77% [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 ="10050" LIMIT 1
  576. 2023-06-21 05:30:08.470688 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  577. 2023-06-21 05:30:08.470688 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  578. 2023-06-21 05:30:08.470688 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  579. 2023-06-21 05:30:08.470688 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 13
  580. 2023-06-21 05:30:08.470688 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  581. 2023-06-21 05:30:08.470688 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  582. 2023-06-21 05:30:08.470688 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.20000
  583. 2023-06-21 05:30:08.470688 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 10050
  584. 2023-06-21 05:30:08.470688 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  585. 2023-06-21 05:30:08.470688 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 7
  586. 2023-06-21 05:30:08.470688 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  587. 2023-06-21 05:30:08.470688 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
  588. 2023-06-21 05:30:08.470688 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your79405.65 balance Accountid 7 !!!
  589. 2023-06-21 05:30:08.470688 86.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 500 mins!
  590. 2023-06-21 05:30:08.470688 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 500 minutes
  591. 2023-06-21 05:30:08.470688 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  592. 2023-06-21 05:30:08.470688 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  593. 2023-06-21 05:30:08.470688 86.77% [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 = 7 AND status=0 LIMIT 1
  594. 2023-06-21 05:30:08.470688 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1
  595. 2023-06-21 05:30:08.470688 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
  596. 2023-06-21 05:30:08.470688 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:7
  597. 2023-06-21 05:30:08.470688 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:7
  598. 2023-06-21 05:30:08.470688 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 7
  599. 2023-06-21 05:30:08.470688 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  600. 2023-06-21 05:30:08.470688 86.77% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : alpha6.astppbilling.org
  601. 2023-06-21 05:30:08.470688 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 500
  602. 2023-06-21 05:30:08.470688 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  603. 2023-06-21 05:30:08.470688 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  604. 2023-06-21 05:30:08.470688 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  605. 2023-06-21 05:30:08.470688 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing  WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "3" AND accounts.status = 0
  606. 2023-06-21 05:30:08.490674 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  607. 2023-06-21 05:30:08.490674 86.77% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : alpha6.astppbilling.org
  608. 2023-06-21 05:30:08.490674 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_7
  609. 2023-06-21 05:30:08.490674 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : 7
  610. 2023-06-21 05:30:08.490674 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : Ring Group
  611. 2023-06-21 05:30:08.490674 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : Query - SELECT call_screening from accounts WHERE id = '7' LIMIT 1
  612. 2023-06-21 05:30:08.490674 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : Screening Option - 1
  613. 2023-06-21 05:30:08.490674 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : is_intro_recorded - false
  614. 2023-06-21 05:30:08.490674 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : introduction_recording_name -
  615. 2023-06-21 05:30:08.490674 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET RING GROUP INFO] Query :SELECT id as ringgroup_id,name as ringgroup_name,strategy as ringgroup_strategy,destinations as ringgroup_destinations,description as ringgroup_description,announcementid as ringgroup_announcementid,call_record as ringgroup_call_record,skip_busy as ringgroup_skip_busy,ringbackid as ringgroup_ringbackid,calleridname as ringgroup_calleridname,greetingid as ringgroup_greetingid,calleridnumber as ringgroup_calleridnumber,no_answer as ringgroup_no_answer,no_answer_call_type as no_answer_call_type,voicemail_set,no_answer_call_type_value, greetingid as ringgroup_greetingid, music_on_hold_type,music_on_hold from pbx_ringgroup WHERE id = 3 and status = 0 LIMIT 1
  616. 2023-06-21 05:30:08.490674 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX]  Conference greetingid::1
  617. 2023-06-21 05:30:08.490674 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '1' LIMIT 1
  618. 2023-06-21 05:30:08.490674 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== music_file_name=File name==================ASTPPWelcomeRingGroup_200623102014.wav
  619. 2023-06-21 05:30:08.490674 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT name FROM pbx_music_on_hold WHERE id = 1 ORDER BY RAND() LIMIT 1
  620. 2023-06-21 05:30:08.490674 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] music on hold name :- OnHoldGlobal
  621. 2023-06-21 05:30:08.490674 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  622. 2023-06-21 05:30:08.490674 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== announcement===================5
  623. 2023-06-21 05:30:08.490674 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '5' LIMIT 1
  624. 2023-06-21 05:30:08.490674 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== 1 announcement=File name==================CantinaBand60_200623114125.wav
  625. 2023-06-21 05:30:08.490674 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Final Count : 0===
  626. 2023-06-21 05:30:08.490674 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC1]
  627. 2023-06-21 05:30:08.490674 86.77% [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="8807163539"  AND domains.domain="alpha6.astppbilling.org" limit 1
  628. 2023-06-21 05:30:08.490674 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_extensions_forwarding] Query :select sip_devices.id,sip_device_routing.call_forwarding_flag,sip_device_routing.call_forwarding_destination from sip_devices JOIN sip_device_routing ON sip_devices.id = sip_device_routing.sip_device_id where sip_devices.username = "8807163539"
  629. 2023-06-21 05:30:08.490674 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC3]
  630. 2023-06-21 05:30:08.490674 86.77% [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="8807163539"  AND domains.domain="alpha6.astppbilling.org" limit 1
  631. 2023-06-21 05:30:08.490674 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Final Count : 0===
  632. 2023-06-21 05:30:08.490674 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC1]
  633. 2023-06-21 05:30:08.490674 86.77% [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="8871343676"  AND domains.domain="alpha6.astppbilling.org" limit 1
  634. 2023-06-21 05:30:08.490674 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_extensions_forwarding] Query :select sip_devices.id,sip_device_routing.call_forwarding_flag,sip_device_routing.call_forwarding_destination from sip_devices JOIN sip_device_routing ON sip_devices.id = sip_device_routing.sip_device_id where sip_devices.username = "8871343676"
  635. 2023-06-21 05:30:08.490674 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC3]
  636. 2023-06-21 05:30:08.490674 86.77% [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="8871343676"  AND domains.domain="alpha6.astppbilling.org" limit 1
  637. 2023-06-21 05:30:08.490674 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Final Count : 0===
  638. 2023-06-21 05:30:08.490674 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC1]
  639. 2023-06-21 05:30:08.490674 86.77% [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="8827185844"  AND domains.domain="alpha6.astppbilling.org" limit 1
  640. 2023-06-21 05:30:08.490674 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_extensions_forwarding] Query :select sip_devices.id,sip_device_routing.call_forwarding_flag,sip_device_routing.call_forwarding_destination from sip_devices JOIN sip_device_routing ON sip_devices.id = sip_device_routing.sip_device_id where sip_devices.username = "8827185844"
  641. 2023-06-21 05:30:08.490674 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC3]
  642. 2023-06-21 05:30:08.490674 86.77% [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="8827185844"  AND domains.domain="alpha6.astppbilling.org" limit 1
  643. 2023-06-21 05:30:08.490674 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] RingGroup Recording Flag : 1
  644. 2023-06-21 05:30:08.490674 86.77% [INFO] switch_cpp.cpp:1465 [ASTPP] RingGroup Dlr Str : [sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=0,confirm=false,announcement=CantinaBand60_200623114125.wav,dialed_user=8807163539,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=0,leg_delay_start=0]user/8807163539@alpha6.astppbilling.org,[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=0,confirm=false,announcement=CantinaBand60_200623114125.wav,dialed_user=8871343676,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=0,leg_delay_start=0]user/8871343676@alpha6.astppbilling.org,[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=0,confirm=false,announcement=CantinaBand60_200623114125.wav,dialed_user=8827185844,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=0,leg_delay_start=0]user/8827185844@alpha6.astppbilling.org,
  645. 2023-06-21 05:30:08.490674 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '${fr-ring}' LIMIT 1
  646. 2023-06-21 05:30:08.490674 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  647. 2023-06-21 05:30:08.490674 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  648. 2023-06-21 05:30:08.490674 86.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  649. <document type="freeswitch/xml">
  650. <section name="dialplan" description="ASTPP Dialplan">
  651. <context name="default">
  652. <extension name="10050">
  653. <condition field="destination_number" expression="10050">
  654. <action application="set" data="effective_destination_number=10050"/>
  655. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  656. <action application="set" data="bridge_pre_execute_bleg_data=+30000 normal_clearing"/>
  657. <action application="set" data="type=0"/>
  658. <action application="set" data="callstart=2023-06-21 05:30:08"/>
  659. <action application="set" data="hangup_after_bridge=true"/>
  660. <action application="set" data="continue_on_fail=TRUE"/>
  661. <action application="set" data="account_id=7"/>
  662. <action application="set" data="parent_id=0"/>
  663. <action application="set" data="entity_id=0"/>
  664. <action application="set" data="call_processed=internal"/>
  665. <action application="set" data="call_direction=inbound"/>
  666. <action application="set" data="accountname=CommunityVsix"/>
  667. <action application="set" data="filename1=astpp.pbx.lua"/>
  668. <action application="sleep" data="500"/>
  669. <action application="playback" data="/usr/local/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav"/>
  670. <action application="say" data="en NUMBER PRONOUNCED 500"/>
  671. <action application="playback" data="/usr/local/freeswitch/sounds/en/us/callie/astpp-minute.wav"/>
  672. <action application="set" data="ringback=%(2000,4000,440.0,480.0)"/>
  673. <action application="set" data="origination_rates_did=ID:13|CODE:^10050.*|DESTINATION:10050|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:1.20000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7"/>
  674. <action application="set" data="origination_rates=0"/>
  675. <action application="set" data="original_caller_id_name=CallerPKCommunitySix"/>
  676. <action application="set" data="original_caller_id_number=9900120420"/>
  677. <action application="set" data="effective_caller_id_name=CallerPKCommunitySix"/>
  678. <action application="set" data="effective_caller_id_number=9900120420"/>
  679. <action application="set" data="receiver_accid=7"/>
  680. <action application="set" data="did_id=13"/>
  681. <action application="set" data="transfer_call_type=4"/>
  682. <action application="set" data="transfer_extensions=91000070000"/>
  683. <action application="set" data="busy_status=0"/>
  684. <action application="set" data="no_answer_status=1"/>
  685. <action application="set" data="always_status=1"/>
  686. <action application="set" data="transfer_status=0"/>
  687. <action application="set" data="variable_sip_to_host=${domain_name}"/>
  688. <action application="set" data="variable_sip_network_ip=13.232.246.166"/>
  689. <action application="set" data="variable_sip_network_port=5077"/>
  690. <action application="export" data="domain_name=alpha6.astppbilling.org"/>
  691. <action application="export" data="sip_to_host=alpha6.astppbilling.org"/>
  692. <action application="export" data="presence_data=x|||PK Postpaid Customer(8871343676)|||^10050.* // 10050 // 1.20000|||||||||DID|||13.232.246.166"/>
  693. <action application="export" data="call_type=7"/>
  694. <action application="set" data="did_calltype=7"/>
  695. <action application="set" data="did_extensions=3"/>
  696. <action application="set" data="daily_call_credit_limit=0.00000"/>
  697. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  698. <action application="set" data="daily_call_used_limit=0.00000"/>
  699. <action application="set" data="monthly_call_used_limit=0.00000"/>
  700. <action application="playback" data="/var/www/html/astpp//upload/pbx/ASTPPWelcomeRingGroup_200623102014.wav"/>
  701. <action application="bridge_export" data="hold_music=local_stream://OnHoldGlobal"/>
  702. <action application="set" data="group_confirm_key=exec"/>
  703. <action application="set" data="group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua"/>
  704. <action application="set" data="effective_caller_id_name=RINGGROUPCID#CallerPKCommunitySix"/>
  705. <action application="set" data="effective_caller_id_number=777799#9900120420"/>
  706. <action application="set" data="ringback=${fr-ring}"/>
  707. <action application="set" data="module_name=pbx"/>
  708. <action application="db" data="insert/pickup_any_group_${callgroup}/3/${uuid}"/>
  709. <action application="set" data="dialed_extension=transfer_call"/>
  710. <action application="export" data="dialed_extension=transfer_call"/>
  711. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  712. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  713. <action application="export" data="ring_group_transfer=true"/>
  714. <action application="set" data="fail_on_single_reject=CALL_REJECTED"/>
  715. <action application="bridge" data="{sip_h_P-call_type='custom_forward'}[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=0,confirm=false,announcement=CantinaBand60_200623114125.wav,dialed_user=8807163539,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=0,leg_delay_start=0]user/8807163539@alpha6.astppbilling.org,[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=0,confirm=false,announcement=CantinaBand60_200623114125.wav,dialed_user=8871343676,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=0,leg_delay_start=0]user/8871343676@alpha6.astppbilling.org,[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=0,confirm=false,announcement=CantinaBand60_200623114125.wav,dialed_user=8827185844,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=0,leg_delay_start=0]user/8827185844@alpha6.astppbilling.org,"/>
  716. <action application="set" data="original_did_number=10050"/>
  717. </condition>
  718. </extension>
  719. </context>
  720. </section>
  721. </document>
  722. Dialplan: sofia/default/9900120420@13.232.246.166 parsing [default->10050] continue=false
  723. Dialplan: sofia/default/9900120420@13.232.246.166 Regex (PASS) [10050] destination_number(10050) =~ /10050/ break=on-false
  724. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(effective_destination_number=10050)
  725. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  726. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(bridge_pre_execute_bleg_data=+30000 normal_clearing)
  727. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(type=0)
  728. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(callstart=2023-06-21 05:30:08)
  729. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(hangup_after_bridge=true)
  730. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(continue_on_fail=TRUE)
  731. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(account_id=7)
  732. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(parent_id=0)
  733. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(entity_id=0)
  734. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(call_processed=internal)
  735. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(call_direction=inbound)
  736. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(accountname=CommunityVsix)
  737. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(filename1=astpp.pbx.lua)
  738. Dialplan: sofia/default/9900120420@13.232.246.166 Action sleep(500)
  739. Dialplan: sofia/default/9900120420@13.232.246.166 Action playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav)
  740. Dialplan: sofia/default/9900120420@13.232.246.166 Action say(en NUMBER PRONOUNCED 500)
  741. Dialplan: sofia/default/9900120420@13.232.246.166 Action playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-minute.wav)
  742. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(ringback=%(2000,4000,440.0,480.0))
  743. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(origination_rates_did=ID:13|CODE:^10050.*|DESTINATION:10050|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:1.20000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7)
  744. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(origination_rates=0)
  745. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(original_caller_id_name=CallerPKCommunitySix)
  746. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(original_caller_id_number=9900120420)
  747. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(effective_caller_id_name=CallerPKCommunitySix)
  748. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(effective_caller_id_number=9900120420)
  749. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(receiver_accid=7)
  750. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(did_id=13)
  751. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(transfer_call_type=4)
  752. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(transfer_extensions=91000070000)
  753. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(busy_status=0)
  754. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(no_answer_status=1)
  755. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(always_status=1)
  756. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(transfer_status=0)
  757. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(variable_sip_to_host=${domain_name})
  758. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(variable_sip_network_ip=13.232.246.166)
  759. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(variable_sip_network_port=5077)
  760. Dialplan: sofia/default/9900120420@13.232.246.166 Action export(domain_name=alpha6.astppbilling.org)
  761. Dialplan: sofia/default/9900120420@13.232.246.166 Action export(sip_to_host=alpha6.astppbilling.org)
  762. Dialplan: sofia/default/9900120420@13.232.246.166 Action export(presence_data=x|||PK Postpaid Customer(8871343676)|||^10050.* // 10050 // 1.20000|||||||||DID|||13.232.246.166)
  763. Dialplan: sofia/default/9900120420@13.232.246.166 Action export(call_type=7)
  764. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(did_calltype=7)
  765. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(did_extensions=3)
  766. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(daily_call_credit_limit=0.00000)
  767. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(monthly_call_credit_limit=0.00000)
  768. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(daily_call_used_limit=0.00000)
  769. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(monthly_call_used_limit=0.00000)
  770. Dialplan: sofia/default/9900120420@13.232.246.166 Action playback(/var/www/html/astpp//upload/pbx/ASTPPWelcomeRingGroup_200623102014.wav)
  771. Dialplan: sofia/default/9900120420@13.232.246.166 Action bridge_export(hold_music=local_stream://OnHoldGlobal)
  772. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(group_confirm_key=exec)
  773. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  774. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(effective_caller_id_name=RINGGROUPCID#CallerPKCommunitySix)
  775. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(effective_caller_id_number=777799#9900120420)
  776. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(ringback=${fr-ring})
  777. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(module_name=pbx)
  778. Dialplan: sofia/default/9900120420@13.232.246.166 Action db(insert/pickup_any_group_${callgroup}/3/${uuid})
  779. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(dialed_extension=transfer_call)
  780. Dialplan: sofia/default/9900120420@13.232.246.166 Action export(dialed_extension=transfer_call)
  781. Dialplan: sofia/default/9900120420@13.232.246.166 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  782. Dialplan: sofia/default/9900120420@13.232.246.166 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  783. Dialplan: sofia/default/9900120420@13.232.246.166 Action export(ring_group_transfer=true)
  784. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(fail_on_single_reject=CALL_REJECTED)
  785. Dialplan: sofia/default/9900120420@13.232.246.166 Action bridge({sip_h_P-call_type='custom_forward'}[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=0,confirm=false,announcement=CantinaBand60_200623114125.wav,dialed_user=8807163539,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=0,leg_delay_start=0]user/8807163539@alpha6.astppbilling.org,[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=0,confirm=false,announcement=CantinaBand60_200623114125.wav,dialed_user=8871343676,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=0,leg_delay_start=0]user/8871343676@alpha6.astppbilling.org,[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=0,confirm=false,announcement=CantinaBand60_200623114125.wav,dialed_user=8827185844,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=0,leg_delay_start=0]user/8827185844@alpha6.astppbilling.org,)
  786. Dialplan: sofia/default/9900120420@13.232.246.166 Action set(original_did_number=10050)
  787. 2023-06-21 05:30:08.510669 86.77% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9900120420@13.232.246.166) State Change CS_ROUTING -> CS_EXECUTE
  788. 2023-06-21 05:30:08.510669 86.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9900120420@13.232.246.166) State ROUTING going to sleep
  789. 2023-06-21 05:30:08.510669 86.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_EXECUTE (Cur 3 Tot 77)
  790. 2023-06-21 05:30:08.510669 86.77% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9900120420@13.232.246.166) State EXECUTE
  791. 2023-06-21 05:30:08.510669 86.77% [DEBUG] mod_sofia.c:213 sofia/default/9900120420@13.232.246.166 SOFIA EXECUTE
  792. 2023-06-21 05:30:08.510669 86.77% [DEBUG] switch_core_state_machine.c:323 sofia/default/9900120420@13.232.246.166 Standard EXECUTE
  793. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(effective_destination_number=10050)
  794. 2023-06-21 05:30:08.510669 86.77% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [effective_destination_number]=[10050]
  795. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(bridge_pre_execute_bleg_app=sched_hangup)
  796. 2023-06-21 05:30:08.510669 86.77% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [bridge_pre_execute_bleg_app]=[sched_hangup]
  797. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(bridge_pre_execute_bleg_data=+30000 normal_clearing)
  798. 2023-06-21 05:30:08.510669 86.77% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [bridge_pre_execute_bleg_data]=[+30000 normal_clearing]
  799. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(type=0)
  800. 2023-06-21 05:30:08.510669 86.77% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [type]=[0]
  801. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(callstart=2023-06-21 05:30:08)
  802. 2023-06-21 05:30:08.510669 86.77% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [callstart]=[2023-06-21 05:30:08]
  803. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(hangup_after_bridge=true)
  804. 2023-06-21 05:30:08.510669 86.77% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [hangup_after_bridge]=[true]
  805. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(continue_on_fail=TRUE)
  806. 2023-06-21 05:30:08.510669 86.77% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [continue_on_fail]=[TRUE]
  807. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(account_id=7)
  808. 2023-06-21 05:30:08.510669 86.77% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [account_id]=[7]
  809. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(parent_id=0)
  810. 2023-06-21 05:30:08.510669 86.77% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [parent_id]=[0]
  811. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(entity_id=0)
  812. 2023-06-21 05:30:08.510669 86.77% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [entity_id]=[0]
  813. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(call_processed=internal)
  814. 2023-06-21 05:30:08.510669 86.77% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [call_processed]=[internal]
  815. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(call_direction=inbound)
  816. 2023-06-21 05:30:08.510669 86.77% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [call_direction]=[inbound]
  817. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(accountname=CommunityVsix)
  818. 2023-06-21 05:30:08.510669 86.77% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [accountname]=[CommunityVsix]
  819. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(filename1=astpp.pbx.lua)
  820. 2023-06-21 05:30:08.510669 86.77% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [filename1]=[astpp.pbx.lua]
  821. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 sleep(500)
  822. 2023-06-21 05:30:09.010664 86.77% [DEBUG] switch_core_session.c:2785 Application playback Requires media! pre_answering channel sofia/default/9900120420@13.232.246.166
  823. 2023-06-21 05:30:09.010664 86.77% [INFO] switch_core_session.c:2787 Sending early media
  824. 2023-06-21 05:30:09.010664 86.77% [DEBUG] switch_core_media.c:8651 AUDIO RTP [sofia/default/9900120420@13.232.246.166] 95.217.238.195 port 24806 -> 13.232.246.166 port 29896 codec: 0 ms: 20
  825. 2023-06-21 05:30:09.010664 86.77% [DEBUG] switch_rtp.c:4377 Starting timer [soft] 160 bytes per 20ms
  826. 2023-06-21 05:30:09.010664 86.77% [DEBUG] switch_core_media.c:8963 sofia/default/9900120420@13.232.246.166 Set 2833 dtmf send payload to 101
  827. 2023-06-21 05:30:09.010664 86.77% [DEBUG] switch_core_media.c:8970 sofia/default/9900120420@13.232.246.166 Set 2833 dtmf receive payload to 101
  828. 2023-06-21 05:30:09.010664 86.77% [DEBUG] switch_core_media.c:8993 sofia/default/9900120420@13.232.246.166 Set rtp dtmf delay to 40
  829. 2023-06-21 05:30:09.010664 86.77% [DEBUG] mod_sofia.c:2609 Ring SDP:
  830. v=0
  831. o=FreeSWITCH 1687300603 1687300604 IN IP4 95.217.238.195
  832. s=FreeSWITCH
  833. c=IN IP4 95.217.238.195
  834. t=0 0
  835. m=audio 24806 RTP/AVP 0 101
  836. a=rtpmap:0 PCMU/8000
  837. a=rtpmap:101 telephone-event/8000
  838. a=fmtp:101 0-15
  839. a=ptime:20
  840. a=sendrecv
  841.  
  842. 2023-06-21 05:30:09.010664 86.77% [NOTICE] mod_sofia.c:2612 Pre-Answer sofia/default/9900120420@13.232.246.166!
  843. 2023-06-21 05:30:09.010664 86.77% [DEBUG] switch_channel.c:3566 (sofia/default/9900120420@13.232.246.166) Callstate Change RINGING -> EARLY
  844. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav)
  845. 2023-06-21 05:30:09.010664 86.77% [DEBUG] sofia.c:7487 Channel sofia/default/9900120420@13.232.246.166 entering state [early][183]
  846. 2023-06-21 05:30:09.010664 86.77% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav sample rate 16000 doesn't match requested rate 8000
  847. 2023-06-21 05:30:09.010664 86.77% [DEBUG] switch_ivr_play_say.c:1566 Codec Activated L16@8000hz 1 channels 20ms
  848. 2023-06-21 05:30:09.370685 86.77% [DEBUG] switch_rtp.c:7511 Correct audio ip/port confirmed.
  849. 2023-06-21 05:30:10.210665 86.50% [DEBUG] switch_ivr_play_say.c:2015 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav
  850. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 say(en NUMBER PRONOUNCED 500)
  851. 2023-06-21 05:30:10.210665 86.50% [DEBUG] switch_ivr_play_say.c:1566 Codec Activated L16@8000hz 1 channels 20ms
  852. 2023-06-21 05:30:11.450706 85.63% [DEBUG] switch_ivr_play_say.c:2015 done playing file file_string://digits/5.wav!digits/hundred.wav
  853. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-minute.wav)
  854. 2023-06-21 05:30:11.450706 85.63% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-minute.wav sample rate 16000 doesn't match requested rate 8000
  855. 2023-06-21 05:30:11.450706 85.63% [DEBUG] switch_ivr_play_say.c:1566 Codec Activated L16@8000hz 1 channels 20ms
  856. 2023-06-21 05:30:11.930687 85.63% [DEBUG] switch_ivr_play_say.c:2015 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-minute.wav
  857. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(ringback=%(2000,4000,440.0,480.0))
  858. 2023-06-21 05:30:11.930687 85.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [ringback]=[%(2000,4000,440.0,480.0)]
  859. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(origination_rates_did=ID:13|CODE:^10050.*|DESTINATION:10050|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:1.20000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7)
  860. 2023-06-21 05:30:11.930687 85.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [origination_rates_did]=[ID:13|CODE:^10050.*|DESTINATION:10050|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:1.20000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7]
  861. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(origination_rates=0)
  862. 2023-06-21 05:30:11.930687 85.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [origination_rates]=[0]
  863. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(original_caller_id_name=CallerPKCommunitySix)
  864. 2023-06-21 05:30:11.930687 85.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [original_caller_id_name]=[CallerPKCommunitySix]
  865. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(original_caller_id_number=9900120420)
  866. 2023-06-21 05:30:11.930687 85.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [original_caller_id_number]=[9900120420]
  867. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(effective_caller_id_name=CallerPKCommunitySix)
  868. 2023-06-21 05:30:11.930687 85.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [effective_caller_id_name]=[CallerPKCommunitySix]
  869. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(effective_caller_id_number=9900120420)
  870. 2023-06-21 05:30:11.930687 85.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [effective_caller_id_number]=[9900120420]
  871. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(receiver_accid=7)
  872. 2023-06-21 05:30:11.930687 85.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [receiver_accid]=[7]
  873. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(did_id=13)
  874. 2023-06-21 05:30:11.930687 85.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [did_id]=[13]
  875. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(transfer_call_type=4)
  876. 2023-06-21 05:30:11.930687 85.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [transfer_call_type]=[4]
  877. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(transfer_extensions=91000070000)
  878. 2023-06-21 05:30:11.930687 85.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [transfer_extensions]=[91000070000]
  879. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(busy_status=0)
  880. 2023-06-21 05:30:11.930687 85.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [busy_status]=[0]
  881. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(no_answer_status=1)
  882. 2023-06-21 05:30:11.930687 85.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [no_answer_status]=[1]
  883. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(always_status=1)
  884. 2023-06-21 05:30:11.930687 85.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [always_status]=[1]
  885. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(transfer_status=0)
  886. 2023-06-21 05:30:11.930687 85.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [transfer_status]=[0]
  887. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(variable_sip_to_host=95.217.238.195)
  888. 2023-06-21 05:30:11.930687 85.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [variable_sip_to_host]=[95.217.238.195]
  889. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(variable_sip_network_ip=13.232.246.166)
  890. 2023-06-21 05:30:11.930687 85.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [variable_sip_network_ip]=[13.232.246.166]
  891. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(variable_sip_network_port=5077)
  892. 2023-06-21 05:30:11.930687 85.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [variable_sip_network_port]=[5077]
  893. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 export(domain_name=alpha6.astppbilling.org)
  894. 2023-06-21 05:30:11.930687 85.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[alpha6.astppbilling.org]
  895. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 export(sip_to_host=alpha6.astppbilling.org)
  896. 2023-06-21 05:30:11.930687 85.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[alpha6.astppbilling.org]
  897. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 export(presence_data=x|||PK Postpaid Customer(8871343676)|||^10050.* // 10050 // 1.20000|||||||||DID|||13.232.246.166)
  898. 2023-06-21 05:30:11.930687 85.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||PK Postpaid Customer(8871343676)|||^10050.* // 10050 // 1.20000|||||||||DID|||13.232.246.166]
  899. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 export(call_type=7)
  900. 2023-06-21 05:30:11.930687 85.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[7]
  901. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(did_calltype=7)
  902. 2023-06-21 05:30:11.950683 85.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [did_calltype]=[7]
  903. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(did_extensions=3)
  904. 2023-06-21 05:30:11.950683 85.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [did_extensions]=[3]
  905. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(daily_call_credit_limit=0.00000)
  906. 2023-06-21 05:30:11.950683 85.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [daily_call_credit_limit]=[0.00000]
  907. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(monthly_call_credit_limit=0.00000)
  908. 2023-06-21 05:30:11.950683 85.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [monthly_call_credit_limit]=[0.00000]
  909. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(daily_call_used_limit=0.00000)
  910. 2023-06-21 05:30:11.950683 85.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [daily_call_used_limit]=[0.00000]
  911. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(monthly_call_used_limit=0.00000)
  912. 2023-06-21 05:30:11.950683 85.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [monthly_call_used_limit]=[0.00000]
  913. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 playback(/var/www/html/astpp//upload/pbx/ASTPPWelcomeRingGroup_200623102014.wav)
  914. 2023-06-21 05:30:11.950683 85.63% [DEBUG] switch_core_file.c:444 File /var/www/html/astpp//upload/pbx/ASTPPWelcomeRingGroup_200623102014.wav sample rate 16000 doesn't match requested rate 8000
  915. 2023-06-21 05:30:11.950683 85.63% [DEBUG] switch_ivr_play_say.c:1566 Codec Activated L16@8000hz 1 channels 20ms
  916. 2023-06-21 05:30:21.230903 83.47% [DEBUG] switch_ivr_play_say.c:2015 done playing file /var/www/html/astpp//upload/pbx/ASTPPWelcomeRingGroup_200623102014.wav
  917. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 bridge_export(hold_music=local_stream://OnHoldGlobal)
  918. 2023-06-21 05:30:21.230903 83.47% [DEBUG] switch_channel.c:1315 EXPORT (bridge_export_vars) [hold_music]=[local_stream://OnHoldGlobal]
  919. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(group_confirm_key=exec)
  920. 2023-06-21 05:30:21.230903 83.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [group_confirm_key]=[exec]
  921. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  922. 2023-06-21 05:30:21.230903 83.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [group_confirm_file]=[lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua]
  923. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(effective_caller_id_name=RINGGROUPCID#CallerPKCommunitySix)
  924. span style="color: goldenrod; font-weight: bold;"> 2023-06-21 05:30:21.230903 83.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [effective_caller_id_name]=[RINGGROUPCID#CallerPKCommunitySix]
  925. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(effective_caller_id_number=777799#9900120420)
  926. span style="color: goldenrod; font-weight: bold;"> 2023-06-21 05:30:21.230903 83.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [effective_caller_id_number]=[777799#9900120420]
  927. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(ringback=%(1500,3500,440))
  928. 2023-06-21 05:30:21.230903 83.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [ringback]=[%(1500,3500,440)]
  929. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(module_name=pbx)
  930. 2023-06-21 05:30:21.230903 83.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [module_name]=[pbx]
  931. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 db(insert/pickup_any_group_/3/7665fef1-7106-4e1f-bfc2-21ca90383880)
  932. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(dialed_extension=transfer_call)
  933. 2023-06-21 05:30:21.230903 83.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [dialed_extension]=[transfer_call]
  934. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 export(dialed_extension=transfer_call)
  935. 2023-06-21 05:30:21.230903 83.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  936. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  937. 2023-06-21 05:30:21.230903 83.47% [INFO] switch_ivr_async.c:4780 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  938. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  939. 2023-06-21 05:30:21.230903 83.47% [INFO] switch_ivr_async.c:4780 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  940. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 export(ring_group_transfer=true)
  941. 2023-06-21 05:30:21.230903 83.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [ring_group_transfer]=[true]
  942. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(fail_on_single_reject=CALL_REJECTED)
  943. 2023-06-21 05:30:21.230903 83.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [fail_on_single_reject]=[CALL_REJECTED]
  944. EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 bridge({sip_h_P-call_type='custom_forward'}[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=0,confirm=false,announcement=CantinaBand60_200623114125.wav,dialed_user=8807163539,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=0,leg_delay_start=0]user/8807163539@alpha6.astppbilling.org,[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=0,confirm=false,announcement=CantinaBand60_200623114125.wav,dialed_user=8871343676,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=0,leg_delay_start=0]user/8871343676@alpha6.astppbilling.org,[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=0,confirm=false,announcement=CantinaBand60_200623114125.wav,dialed_user=8827185844,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=0,leg_delay_start=0]user/8827185844@alpha6.astppbilling.org,)
  945. 2023-06-21 05:30:21.230903 83.47% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [domain_name]=[alpha6.astppbilling.org] to event
  946. 2023-06-21 05:30:21.230903 83.47% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [sip_to_host]=[alpha6.astppbilling.org] to event
  947. 2023-06-21 05:30:21.230903 83.47% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [presence_data]=[x|||PK Postpaid Customer(8871343676)|||^10050.* // 10050 // 1.20000|||||||||DID|||13.232.246.166] to event
  948. 2023-06-21 05:30:21.230903 83.47% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [call_type]=[7] to event
  949. 2023-06-21 05:30:21.230903 83.47% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  950. 2023-06-21 05:30:21.230903 83.47% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
  951. 2023-06-21 05:30:21.230903 83.47% [DEBUG] switch_ivr_originate.c:2291 Parsing global variables
  952. 2023-06-21 05:30:21.230903 83.47% [DEBUG] switch_ivr_originate.c:2853 Parsing session specific variables
  953. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [domain_name]=[alpha6.astppbilling.org] to event
  954. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [sip_to_host]=[alpha6.astppbilling.org] to event
  955. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [presence_data]=[x|||PK Postpaid Customer(8871343676)|||^10050.* // 10050 // 1.20000|||||||||DID|||13.232.246.166] to event
  956. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [call_type]=[7] to event
  957. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  958. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
  959. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_ivr_originate.c:2291 Parsing global variables
  960. 2023-06-21 05:30:21.250671 83.47% [NOTICE] switch_channel.c:1123 New Channel sofia/default/8807163539@49.34.209.208:37783 [8128b37b-1d9e-461f-97b5-446119bc0462]
  961. 2023-06-21 05:30:21.250671 83.47% [DEBUG] mod_sofia.c:5117 (sofia/default/8807163539@49.34.209.208:37783) State Change CS_NEW -> CS_INIT
  962. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_ivr_originate.c:2853 Parsing session specific variables
  963. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8807163539@49.34.209.208:37783) Running State Change CS_INIT (Cur 4 Tot 78)
  964. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8807163539@49.34.209.208:37783) State INIT
  965. 2023-06-21 05:30:21.250671 83.47% [DEBUG] mod_sofia.c:97 sofia/default/8807163539@49.34.209.208:37783 SOFIA INIT
  966. 2023-06-21 05:30:21.250671 83.47% [DEBUG] sofia_glue.c:1623 sip:8807163539@49.34.209.208:37783;transport=TCP;rinstance=9a1ecfce9a62e27c Setting proxy route to sofia/default/8807163539@49.34.209.208:37783
  967. 2023-06-21 05:30:21.250671 83.47% [INFO] sofia_glue.c:1654 sofia/default/8807163539@49.34.209.208:37783 sending invite call-id: (null)
  968. 2023-06-21 05:30:21.250671 83.47% [DEBUG] sofia_glue.c:1657 sofia/default/8807163539@49.34.209.208:37783 sending invite version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit
  969. Local SDP:
  970. v=0
  971. o=FreeSWITCH 1687295299 1687295300 IN IP4 95.217.238.195
  972. s=FreeSWITCH
  973. c=IN IP4 95.217.238.195
  974. t=0 0
  975. m=audio 30122 RTP/AVP 0 101
  976. a=rtpmap:0 PCMU/8000
  977. a=rtpmap:101 telephone-event/8000
  978. a=fmtp:101 0-15
  979. a=ptime:20
  980. a=sendrecv
  981.  
  982. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_core_state_machine.c:40 sofia/default/8807163539@49.34.209.208:37783 Standard INIT
  983. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8807163539@49.34.209.208:37783) State Change CS_INIT -> CS_ROUTING
  984. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8807163539@49.34.209.208:37783) State INIT going to sleep
  985. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8807163539@49.34.209.208:37783) Running State Change CS_ROUTING (Cur 4 Tot 78)
  986. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8807163539@49.34.209.208:37783) State ROUTING
  987. 2023-06-21 05:30:21.250671 83.47% [DEBUG] mod_sofia.c:158 sofia/default/8807163539@49.34.209.208:37783 SOFIA ROUTING
  988. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_ivr_originate.c:67 (sofia/default/8807163539@49.34.209.208:37783) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  989. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8807163539@49.34.209.208:37783) State ROUTING going to sleep
  990. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8807163539@49.34.209.208:37783) Running State Change CS_CONSUME_MEDIA (Cur 4 Tot 78)
  991. 2023-06-21 05:30:21.250671 83.47% [DEBUG] sofia.c:7487 Channel sofia/default/8807163539@49.34.209.208:37783 entering state [calling][0]
  992. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_core_state_machine.c:659 (sofia/default/8807163539@49.34.209.208:37783) State CONSUME_MEDIA
  993. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_core_state_machine.c:659 (sofia/default/8807163539@49.34.209.208:37783) State CONSUME_MEDIA going to sleep
  994. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [domain_name]=[alpha6.astppbilling.org] to event
  995. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [sip_to_host]=[alpha6.astppbilling.org] to event
  996. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [presence_data]=[x|||PK Postpaid Customer(8871343676)|||^10050.* // 10050 // 1.20000|||||||||DID|||13.232.246.166] to event
  997. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [call_type]=[7] to event
  998. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  999. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
  1000. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_ivr_originate.c:2291 Parsing global variables
  1001. 2023-06-21 05:30:21.250671 83.47% [NOTICE] switch_channel.c:1123 New Channel sofia/default/8871343676@103.240.35.46:60309 [bac156ba-178e-4323-8861-c4ca16a154fc]
  1002. 2023-06-21 05:30:21.250671 83.47% [DEBUG] mod_sofia.c:5117 (sofia/default/8871343676@103.240.35.46:60309) State Change CS_NEW -> CS_INIT
  1003. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_ivr_originate.c:2853 Parsing session specific variables
  1004. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@103.240.35.46:60309) Running State Change CS_INIT (Cur 5 Tot 79)
  1005. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8871343676@103.240.35.46:60309) State INIT
  1006. 2023-06-21 05:30:21.250671 83.47% [DEBUG] mod_sofia.c:97 sofia/default/8871343676@103.240.35.46:60309 SOFIA INIT
  1007. 2023-06-21 05:30:21.250671 83.47% [DEBUG] sofia_glue.c:1623 sip:8871343676@103.240.35.46:41278;rinstance=d337c518d868bcfb;transport=TCP Setting proxy route to sofia/default/8871343676@103.240.35.46:60309
  1008. 2023-06-21 05:30:21.250671 83.47% [INFO] sofia_glue.c:1654 sofia/default/8871343676@103.240.35.46:60309 sending invite call-id: (null)
  1009. 2023-06-21 05:30:21.250671 83.47% [DEBUG] sofia_glue.c:1657 sofia/default/8871343676@103.240.35.46:60309 sending invite version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit
  1010. Local SDP:
  1011. v=0
  1012. o=FreeSWITCH 1687308349 1687308350 IN IP4 95.217.238.195
  1013. s=FreeSWITCH
  1014. c=IN IP4 95.217.238.195
  1015. t=0 0
  1016. m=audio 17072 RTP/AVP 0 101
  1017. a=rtpmap:0 PCMU/8000
  1018. a=rtpmap:101 telephone-event/8000
  1019. a=fmtp:101 0-15
  1020. a=ptime:20
  1021. a=sendrecv
  1022.  
  1023. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_core_state_machine.c:40 sofia/default/8871343676@103.240.35.46:60309 Standard INIT
  1024. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8871343676@103.240.35.46:60309) State Change CS_INIT -> CS_ROUTING
  1025. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8871343676@103.240.35.46:60309) State INIT going to sleep
  1026. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@103.240.35.46:60309) Running State Change CS_ROUTING (Cur 5 Tot 79)
  1027. 2023-06-21 05:30:21.250671 83.47% [DEBUG] sofia.c:7487 Channel sofia/default/8871343676@103.240.35.46:60309 entering state [calling][0]
  1028. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8871343676@103.240.35.46:60309) State ROUTING
  1029. 2023-06-21 05:30:21.250671 83.47% [DEBUG] mod_sofia.c:158 sofia/default/8871343676@103.240.35.46:60309 SOFIA ROUTING
  1030. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_ivr_originate.c:67 (sofia/default/8871343676@103.240.35.46:60309) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  1031. 2023-06-21 05:30:21.250671 83.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8871343676@103.240.35.46:60309) State ROUTING going to sleep
  1032. 2023-06-21 05:30:21.270663 83.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@103.240.35.46:60309) Running State Change CS_CONSUME_MEDIA (Cur 5 Tot 79)
  1033. 2023-06-21 05:30:21.270663 83.47% [DEBUG] switch_core_state_machine.c:659 (sofia/default/8871343676@103.240.35.46:60309) State CONSUME_MEDIA
  1034. 2023-06-21 05:30:21.270663 83.47% [DEBUG] switch_core_state_machine.c:659 (sofia/default/8871343676@103.240.35.46:60309) State CONSUME_MEDIA going to sleep
  1035. 2023-06-21 05:30:21.270663 83.47% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [domain_name]=[alpha6.astppbilling.org] to event
  1036. 2023-06-21 05:30:21.270663 83.47% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [sip_to_host]=[alpha6.astppbilling.org] to event
  1037. 2023-06-21 05:30:21.270663 83.47% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [presence_data]=[x|||PK Postpaid Customer(8871343676)|||^10050.* // 10050 // 1.20000|||||||||DID|||13.232.246.166] to event
  1038. 2023-06-21 05:30:21.270663 83.47% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [call_type]=[7] to event
  1039. 2023-06-21 05:30:21.270663 83.47% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  1040. 2023-06-21 05:30:21.270663 83.47% [DEBUG] switch_channel.c:1269 sofia/default/9900120420@13.232.246.166 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
  1041. 2023-06-21 05:30:21.270663 83.47% [DEBUG] switch_ivr_originate.c:2291 Parsing global variables
  1042. 2023-06-21 05:30:21.270663 83.47% [NOTICE] switch_channel.c:1123 New Channel sofia/default/8827185844@192.168.1.51 [99e0d42f-93ba-467e-ad7e-22955850494b]
  1043. 2023-06-21 05:30:21.270663 83.47% [DEBUG] mod_sofia.c:5117 (sofia/default/8827185844@192.168.1.51) State Change CS_NEW -> CS_INIT
  1044. 2023-06-21 05:30:21.270663 83.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8827185844@192.168.1.51) Running State Change CS_INIT (Cur 6 Tot 80)
  1045. 2023-06-21 05:30:21.270663 83.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8827185844@192.168.1.51) State INIT
  1046. 2023-06-21 05:30:21.270663 83.47% [DEBUG] mod_sofia.c:97 sofia/default/8827185844@192.168.1.51 SOFIA INIT
  1047. 2023-06-21 05:30:21.270663 83.47% [DEBUG] sofia_glue.c:1623 sip:8827185844@103.240.35.46:5060 Setting proxy route to sofia/default/8827185844@192.168.1.51
  1048. 2023-06-21 05:30:21.270663 83.47% [INFO] sofia_glue.c:1654 sofia/default/8827185844@192.168.1.51 sending invite call-id: (null)
  1049. 2023-06-21 05:30:21.270663 83.47% [DEBUG] sofia_glue.c:1657 sofia/default/8827185844@192.168.1.51 sending invite version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit
  1050. Local SDP:
  1051. v=0
  1052. o=FreeSWITCH 1687303643 1687303644 IN IP4 95.217.238.195
  1053. s=FreeSWITCH
  1054. c=IN IP4 95.217.238.195
  1055. t=0 0
  1056. m=audio 21778 RTP/AVP 0 101
  1057. a=rtpmap:0 PCMU/8000
  1058. a=rtpmap:101 telephone-event/8000
  1059. a=fmtp:101 0-15
  1060. a=ptime:20
  1061. a=sendrecv
  1062.  
  1063. 2023-06-21 05:30:21.270663 83.47% [DEBUG] switch_core_state_machine.c:40 sofia/default/8827185844@192.168.1.51 Standard INIT
  1064. 2023-06-21 05:30:21.270663 83.47% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8827185844@192.168.1.51) State Change CS_INIT -> CS_ROUTING
  1065. 2023-06-21 05:30:21.270663 83.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8827185844@192.168.1.51) State INIT going to sleep
  1066. 2023-06-21 05:30:21.270663 83.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8827185844@192.168.1.51) Running State Change CS_ROUTING (Cur 6 Tot 80)
  1067. 2023-06-21 05:30:21.270663 83.47% [DEBUG] sofia.c:7487 Channel sofia/default/8827185844@192.168.1.51 entering state [calling][0]
  1068. 2023-06-21 05:30:21.270663 83.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8827185844@192.168.1.51) State ROUTING
  1069. 2023-06-21 05:30:21.270663 83.47% [DEBUG] mod_sofia.c:158 sofia/default/8827185844@192.168.1.51 SOFIA ROUTING
  1070. 2023-06-21 05:30:21.270663 83.47% [DEBUG] switch_ivr_originate.c:67 (sofia/default/8827185844@192.168.1.51) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  1071. 2023-06-21 05:30:21.270663 83.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8827185844@192.168.1.51) State ROUTING going to sleep
  1072. 2023-06-21 05:30:21.270663 83.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8827185844@192.168.1.51) Running State Change CS_CONSUME_MEDIA (Cur 6 Tot 80)
  1073. 2023-06-21 05:30:21.270663 83.47% [DEBUG] switch_core_state_machine.c:659 (sofia/default/8827185844@192.168.1.51) State CONSUME_MEDIA
  1074. 2023-06-21 05:30:21.270663 83.47% [DEBUG] switch_core_state_machine.c:659 (sofia/default/8827185844@192.168.1.51) State CONSUME_MEDIA going to sleep
  1075. 2023-06-21 05:30:21.930692 82.87% [DEBUG] sofia.c:7487 Channel sofia/default/8807163539@49.34.209.208:37783 entering state [proceeding][180]
  1076. 2023-06-21 05:30:21.930692 82.87% [NOTICE] sofia.c:7598 Ring-Ready sofia/default/8807163539@49.34.209.208:37783!
  1077. 2023-06-21 05:30:21.930692 82.87% [DEBUG] switch_channel.c:3494 (sofia/default/8807163539@49.34.209.208:37783) Callstate Change DOWN -> RINGING
  1078. 2023-06-21 05:30:21.970699 82.87% [DEBUG] switch_ivr_originate.c:1353 Raw Codec Activation Success L16@8000hz 1 channel 20ms
  1079. 2023-06-21 05:30:21.970699 82.87% [DEBUG] switch_core_codec.c:223 sofia/default/9900120420@13.232.246.166 Push codec L16:100
  1080. 2023-06-21 05:30:21.970699 82.87% [DEBUG] switch_ivr_originate.c:1427 Play Ringback Tone [%(1500,3500,440)]
  1081. 2023-06-21 05:30:22.450666 82.77% [DEBUG] sofia.c:7487 Channel sofia/default/8871343676@103.240.35.46:60309 entering state [proceeding][180]
  1082. 2023-06-21 05:30:22.450666 82.77% [NOTICE] sofia.c:7598 Ring-Ready sofia/default/8871343676@103.240.35.46:60309!
  1083. 2023-06-21 05:30:22.450666 82.77% [DEBUG] switch_channel.c:3494 (sofia/default/8871343676@103.240.35.46:60309) Callstate Change DOWN -> RINGING
  1084. 2023-06-21 05:30:53.270861 93.20% [DEBUG] sofia.c:7487 Channel sofia/default/8827185844@192.168.1.51 entering state [terminated][408]
  1085. 2023-06-21 05:30:53.270861 93.20% [NOTICE] sofia.c:8729 Hangup sofia/default/8827185844@192.168.1.51 [CS_CONSUME_MEDIA] [RECOVERY_ON_TIMER_EXPIRE]
  1086. 2023-06-21 05:30:53.270861 93.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8827185844@192.168.1.51) Running State Change CS_HANGUP (Cur 6 Tot 80)
  1087. 2023-06-21 05:30:53.270861 93.20% [DEBUG] switch_core_state_machine.c:844 (sofia/default/8827185844@192.168.1.51) Callstate Change DOWN -> HANGUP
  1088. 2023-06-21 05:30:53.270861 93.20% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8827185844@192.168.1.51) State HANGUP
  1089. 2023-06-21 05:30:53.270861 93.20% [DEBUG] mod_sofia.c:468 Channel sofia/default/8827185844@192.168.1.51 hanging up, cause: RECOVERY_ON_TIMER_EXPIRE
  1090. 2023-06-21 05:30:53.270861 93.20% [DEBUG] switch_core_state_machine.c:59 sofia/default/8827185844@192.168.1.51 Standard HANGUP, cause: RECOVERY_ON_TIMER_EXPIRE
  1091. 2023-06-21 05:30:53.270861 93.20% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8827185844@192.168.1.51) State HANGUP going to sleep
  1092. 2023-06-21 05:30:53.270861 93.20% [DEBUG] switch_core_state_machine.c:616 (sofia/default/8827185844@192.168.1.51) State Change CS_HANGUP -> CS_REPORTING
  1093. 2023-06-21 05:30:53.270861 93.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8827185844@192.168.1.51) Running State Change CS_REPORTING (Cur 6 Tot 80)
  1094. 2023-06-21 05:30:53.270861 93.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8827185844@192.168.1.51) State REPORTING
  1095. 2023-06-21 05:30:53.270861 93.20% [INFO] mod_json_cdr.c:272 Process [99e0d42f-93ba-467e-ad7e-22955850494b.cdr.json]
  1096. 2023-06-21 05:30:53.311399 93.20% [DEBUG] switch_core_state_machine.c:168 sofia/default/8827185844@192.168.1.51 Standard REPORTING, cause: RECOVERY_ON_TIMER_EXPIRE
  1097. 2023-06-21 05:30:53.311399 93.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8827185844@192.168.1.51) State REPORTING going to sleep
  1098. 2023-06-21 05:30:53.311399 93.20% [DEBUG] switch_core_state_machine.c:607 (sofia/default/8827185844@192.168.1.51) State Change CS_REPORTING -> CS_DESTROY
  1099. 2023-06-21 05:30:53.311399 93.20% [DEBUG] switch_core_session.c:1743 Session 80 (sofia/default/8827185844@192.168.1.51) Locked, Waiting on external entities
  1100. freeswitch@AlphaQaAlpesh>
  1101. freeswitch@AlphaQaAlpesh>
  1102. freeswitch@AlphaQaAlpesh>
  1103. freeswitch@AlphaQaAlpesh> /exit