From Prashant Kumar, 1 Year ago, written in FreeSWITCH.
- view diff
Embed
  1. +OK log level  [7]
  2. freeswitch@BetaQA>
  3. freeswitch@BetaQA>
  4. 2022-12-09 11:53:05.457240 91.73% [NOTICE] sofia_reg.c:459 Registering 813646
  5. 2022-12-09 11:53:05.457240 91.73% [ERR] sofia_reg.c:2677 813646 Failed Registration with status Service Unavailable [503]. failure #159
  6. 2022-12-09 11:53:06.457222 91.07% [WARNING] sofia_reg.c:516 813646 Failed Registration [503], setting retry to 30 seconds.
  7. 2022-12-09 11:53:08.537229 89.77% [NOTICE] switch_channel.c:1123 New Channel sofia/default/990010@astppqa606.astppbilling.org:5076 [6ecccff0-bbbe-4589-b800-0cb831b5bff2]
  8. 2022-12-09 11:53:08.537229 89.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990010@astppqa606.astppbilling.org:5076) Running State Change CS_NEW (Cur 1 Tot 127)
  9. 2022-12-09 11:53:08.537229 89.77% [INFO] sofia.c:10462 sofia/default/990010@astppqa606.astppbilling.org:5076 receiving invite from 103.240.35.46:55990 version: 1.10.7 -release 64bit call-id: NDgwZTBjOWEwMGM5NDM1NWRhOTZlNTdmZDc1ZTdkMmU.
  10. 2022-12-09 11:53:08.537229 89.77% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  11. 2022-12-09 11:53:08.537229 89.77% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [9100010@astppqa606.astppbilling.org] from ip 103.240.35.46
  12. 2022-12-09 11:53:08.537229 89.77% [DEBUG] switch_core_state_machine.c:600 (sofia/default/990010@astppqa606.astppbilling.org:5076) State NEW
  13. 2022-12-09 11:53:08.537229 89.77% [DEBUG] sofia.c:2419 detaching session 6ecccff0-bbbe-4589-b800-0cb831b5bff2
  14. 2022-12-09 11:53:08.577236 89.77% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9691097653@astppqa607.astppbilling.org:5076 [f9117455-3c04-4bd9-9eb2-3013424bec7c]
  15. 2022-12-09 11:53:08.577236 89.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) Running State Change CS_NEW (Cur 2 Tot 128)
  16. 2022-12-09 11:53:08.577236 89.77% [INFO] sofia.c:10462 sofia/default/9691097653@astppqa607.astppbilling.org:5076 receiving invite from 103.240.35.46:58612 version: 1.10.7 -release 64bit call-id: ZjgzN2VlMWM3Yjg0MGYxMzZlZTliZGVkMTEwM2M5ZmM.
  17. 2022-12-09 11:53:08.577236 89.77% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  18. 2022-12-09 11:53:08.577236 89.77% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [66987564@astppqa607.astppbilling.org] from ip 103.240.35.46
  19. 2022-12-09 11:53:08.577236 89.77% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) State NEW
  20. 2022-12-09 11:53:08.577236 89.77% [DEBUG] sofia.c:2419 detaching session f9117455-3c04-4bd9-9eb2-3013424bec7c
  21. 2022-12-09 11:53:08.857243 89.77% [DEBUG] sofia.c:2532 Re-attaching to session 6ecccff0-bbbe-4589-b800-0cb831b5bff2
  22. 2022-12-09 11:53:08.857243 89.77% [INFO] sofia.c:10462 sofia/default/990010@astppqa606.astppbilling.org:5076 receiving invite from 103.240.35.46:55990 version: 1.10.7 -release 64bit call-id: NDgwZTBjOWEwMGM5NDM1NWRhOTZlNTdmZDc1ZTdkMmU.
  23. 2022-12-09 11:53:08.857243 89.77% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  24. 2022-12-09 11:53:08.877277 89.77% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  25. 2022-12-09 11:53:08.877277 89.77% [DEBUG] sofia.c:7499 Channel sofia/default/990010@astppqa606.astppbilling.org:5076 entering state [received][100]
  26. 2022-12-09 11:53:08.877277 89.77% [DEBUG] sofia.c:7509 Remote SDP:
  27. v=0
  28. o=Z 0 0 IN IP4 103.240.35.46
  29. s=Z
  30. c=IN IP4 103.240.35.46
  31. t=0 0
  32. m=audio 8000 RTP/AVP 3 110 8 0 98 101
  33. a=rtpmap:110 speex/8000
  34. a=rtpmap:98 iLBC/8000
  35. a=fmtp:98 mode=20
  36. a=rtpmap:101 telephone-event/8000
  37. a=fmtp:101 0-15
  38.  
  39. 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  40. 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  41. 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  42. 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  43. 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  44. 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  45. 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  46. 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  47. 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  48. 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  49. 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  50. 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  51. 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  52. 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/990010@astppqa606.astppbilling.org:5076 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  53. 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_codec.c:111 sofia/default/990010@astppqa606.astppbilling.org:5076 Original read codec set to PCMA:8
  54. 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  55. 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_media.c:5973 sofia/default/990010@astppqa606.astppbilling.org:5076 Set 2833 dtmf send payload to 101 recv payload to 101
  56. 2022-12-09 11:53:08.877277 89.77% [DEBUG] sofia.c:7933 (sofia/default/990010@astppqa606.astppbilling.org:5076) State Change CS_NEW -> CS_INIT
  57. 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990010@astppqa606.astppbilling.org:5076) Running State Change CS_INIT (Cur 2 Tot 128)
  58. 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/990010@astppqa606.astppbilling.org:5076) State INIT
  59. 2022-12-09 11:53:08.877277 89.77% [DEBUG] mod_sofia.c:97 sofia/default/990010@astppqa606.astppbilling.org:5076 SOFIA INIT
  60. 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_state_machine.c:40 sofia/default/990010@astppqa606.astppbilling.org:5076 Standard INIT
  61. 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_state_machine.c:48 (sofia/default/990010@astppqa606.astppbilling.org:5076) State Change CS_INIT -> CS_ROUTING
  62. 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/990010@astppqa606.astppbilling.org:5076) State INIT going to sleep
  63. 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990010@astppqa606.astppbilling.org:5076) Running State Change CS_ROUTING (Cur 2 Tot 128)
  64. 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_channel.c:2380 (sofia/default/990010@astppqa606.astppbilling.org:5076) Callstate Change DOWN -> RINGING
  65. 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/990010@astppqa606.astppbilling.org:5076) State ROUTING
  66. 2022-12-09 11:53:08.877277 89.77% [DEBUG] mod_sofia.c:158 sofia/default/990010@astppqa606.astppbilling.org:5076 SOFIA ROUTING
  67. 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_state_machine.c:230 sofia/default/990010@astppqa606.astppbilling.org:5076 Standard ROUTING
  68. 2022-12-09 11:53:08.877277 89.77% [INFO] mod_dialplan_xml.c:639 Processing 990010 <990010>->9100010 in context default
  69. 2022-12-09 11:53:08.877277 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  70. 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  71. 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  72. 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  73. 2022-12-09 11:53:08.877277 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  74. 2022-12-09 11:53:08.877277 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 9100010
  75. 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '9100010' limit 1
  76. 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  77. 2022-12-09 11:53:08.877277 89.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 = '9100010' and status=0 LIMIT 1
  78. 2022-12-09 11:53:08.897222 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER990010
  79. 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  80. 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '9100010' limit 1
  81. 2022-12-09 11:53:08.897222 89.77% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  82. 2022-12-09 11:53:08.897222 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 990010 / 990010
  83. 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 0
  84. 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 910001 AND status=0 limit 1
  85. 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  86. 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  87. 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  88. 2022-12-09 11:53:08.897222 89.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 ="9100010" LIMIT 1
  89. 2022-12-09 11:53:08.897222 89.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 ="9100010" LIMIT 1
  90. 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  91. 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="16" and did_id ="142" and number ="990010" and status = '0' LIMIT 1
  92. 2022-12-09 11:53:08.897222 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  93. 2022-12-09 11:53:08.897222 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 990010]
  94. 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =9100010
  95. 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "990010" AND deleted = 0 limit 1
  96. 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =16
  97. 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  98. 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
  99. 2022-12-09 11:53:08.897222 89.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 19
  100. 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 19 AND status=0 limit 1
  101. 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  102. 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 16
  103. 2022-12-09 11:53:08.897222 89.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 = '^9100010.*' OR patterns = '^910001.*' OR patterns = '^91000.*' OR patterns = '^9100.*' OR patterns = '^910.*' OR patterns = '^91.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 16 ORDER BY LENGTH(PKGPTR.patterns) DESC
  104. 2022-12-09 11:53:08.897222 89.77% [DEBUG] sofia.c:2532 Re-attaching to session f9117455-3c04-4bd9-9eb2-3013424bec7c
  105. 2022-12-09 11:53:08.897222 89.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 ="9100010" AND A.accountid = '16' limit 1
  106. 2022-12-09 11:53:08.897222 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 9100010
  107. 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  108. 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  109. 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  110. 2022-12-09 11:53:08.897222 89.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 ="9100010" LIMIT 1
  111. 2022-12-09 11:53:08.897222 89.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 ="9100010" LIMIT 1
  112. 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  113. 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="16" and did_id ="142" and number ="990010" and status = '0' LIMIT 1
  114. 2022-12-09 11:53:08.897222 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  115. 2022-12-09 11:53:08.897222 89.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 = '9100010' OR number = '910001' OR number = '91000' OR number = '9100' OR number = '910' OR number = '91' OR number = '9' OR number ='--') OR (number = '9100010*' OR number = '910001*' OR number = '91000*' OR number = '9100*' OR number = '910*' OR number = '91*' OR number = '9*' OR number ='--') OR (number = '990010' OR number = '99001' OR number = '9900' OR number = '990' OR number = '99' OR number = '9' OR number ='--') OR (number = '990010*' 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
  116. 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  117. 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '9100010' OR routing_prefix = '910001' OR routing_prefix = '91000' OR routing_prefix = '9100' OR routing_prefix = '910' OR routing_prefix = '91' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  118. 2022-12-09 11:53:08.897222 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  119. 2022-12-09 11:53:08.897222 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 16
  120. 2022-12-09 11:53:08.897222 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 990010
  121. 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =16
  122. 2022-12-09 11:53:08.897222 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 0.556
  123. 2022-12-09 11:53:08.897222 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  124. 2022-12-09 11:53:08.897222 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 6
  125. 2022-12-09 11:53:08.897222 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  126. 2022-12-09 11:53:08.897222 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  127. 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  128. 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::6
  129. 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  130. 2022-12-09 11:53:08.897222 89.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 ="9100010" LIMIT 1
  131. 2022-12-09 11:53:08.897222 89.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 ="9100010" LIMIT 1
  132. 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  133. 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="16" and did_id ="142" and number ="990010" and status = '0' LIMIT 1
  134. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  135. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  136. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.00000
  137. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:6
  138. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '6' and status=0
  139. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.00000
  140. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  141. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 142
  142. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  143. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  144. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  145. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 9100010
  146. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  147. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 16
  148. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  149. 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =16
  150. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your0.556 balance Accountid 16 !!!
  151. 2022-12-09 11:53:08.917221 89.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 1000
  152. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 1000 minutes
  153. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  154. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  155. 2022-12-09 11:53:08.917221 89.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 = 16 AND status=0 LIMIT 1
  156. 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "16" AND deleted = 0 limit 1
  157. 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =16
  158. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:16
  159. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:16
  160. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 16
  161. 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 16 limit 1
  162. 2022-12-09 11:53:08.917221 89.77% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : astppqa606.astppbilling.org
  163. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 1000
  164. 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  165. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  166. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  167. 2022-12-09 11:53:08.917221 89.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 = "1" AND accounts.status = 0
  168. 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 16 limit 1
  169. 2022-12-09 11:53:08.917221 89.77% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : astppqa606.astppbilling.org
  170. 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 16  and status = 0 limit 1
  171. 2022-12-09 11:53:08.917221 89.77% [INFO] sofia.c:10462 sofia/default/9691097653@astppqa607.astppbilling.org:5076 receiving invite from 103.240.35.46:58612 version: 1.10.7 -release 64bit call-id: ZjgzN2VlMWM3Yjg0MGYxMzZlZTliZGVkMTEwM2M5ZmM.
  172. 2022-12-09 11:53:08.917221 89.77% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  173. 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_7
  174. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : 7
  175. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : Ring Group
  176. 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : Query - SELECT call_screening from accounts WHERE id = '16' LIMIT 1
  177. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : Screening Option - 1
  178. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : is_intro_recorded - false
  179. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : introduction_recording_name -
  180. 2022-12-09 11:53:08.917221 89.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 = 1 and status = 0 LIMIT 1
  181. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX]  Conference greetingid::0
  182. 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '0' LIMIT 1
  183. 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT name FROM pbx_music_on_hold WHERE id = 2 ORDER BY RAND() LIMIT 1
  184. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] music on hold name :- QAAA
  185. 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 16 limit 1
  186. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== announcement===================0
  187. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Final Count : 0===
  188. 2022-12-09 11:53:08.917221 89.77% [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="24949"  AND domains.domain="astppqa606.astppbilling.org" limit 1
  189. 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 410 limit 1
  190. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC1]
  191. 2022-12-09 11:53:08.917221 89.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="24949"  AND domains.domain="astppqa606.astppbilling.org" limit 1
  192. 2022-12-09 11:53:08.917221 89.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 = "24949"
  193. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC3]
  194. 2022-12-09 11:53:08.917221 89.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="24949"  AND domains.domain="astppqa606.astppbilling.org" limit 1
  195. 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] RingGroup Recording Flag : 1
  196. 2022-12-09 11:53:08.917221 89.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,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=no_file,dialed_user=24949,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=0]user/24949@astppqa606.astppbilling.org|
  197. 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '' LIMIT 1
  198. 2022-12-09 11:53:08.917221 89.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
  199. 2022-12-09 11:53:08.917221 89.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
  200. 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  201. <document type="freeswitch/xml">
  202. <section name="dialplan" description="ASTPP Dialplan">
  203. <context name="default">
  204. <extension name="9100010">
  205. <condition field="destination_number" expression="9100010">
  206. <action application="set" data="effective_destination_number=9100010"/>
  207. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  208. <action application="set" data="bridge_pre_execute_bleg_data=+60000 normal_clearing"/>
  209. <action application="set" data="type=0"/>
  210. <action application="set" data="callstart=2022-12-09 11:53:08"/>
  211. <action application="set" data="hangup_after_bridge=true"/>
  212. <action application="set" data="continue_on_fail=TRUE"/>
  213. <action application="set" data="account_id=16"/>
  214. <action application="set" data="parent_id=0"/>
  215. <action application="set" data="entity_id=0"/>
  216. <action application="set" data="call_processed=internal"/>
  217. <action application="set" data="call_direction=inbound"/>
  218. <action application="set" data="accountname=default"/>
  219. <action application="export" data="t38_passthru=true"/>
  220. <action application="set" data="fax_enable_t38=true"/>
  221. <action application="set" data="fax_enable_t38_request=true"/>
  222. <action application="set" data="filename1=astpp.pbx.lua"/>
  223. <action application="set" data="origination_rates_did=ID:142|CODE:^9100010.*|DESTINATION:9100010|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:16"/>
  224. <action application="set" data="origination_rates=0"/>
  225. <action application="set" data="original_caller_id_name=990010"/>
  226. <action application="set" data="original_caller_id_number=990010"/>
  227. <action application="limit" data="db 990010 user_990010 12 "/>
  228. <action application="set" data="effective_caller_id_name=990010"/>
  229. <action application="set" data="effective_caller_id_number=990010"/>
  230. <action application="set" data="receiver_accid=16"/>
  231. <action application="set" data="did_id=142"/>
  232. <action application="set" data="transfer_call_type=4"/>
  233. <action application="set" data="transfer_extensions="/>
  234. <action application="set" data="busy_status=1"/>
  235. <action application="set" data="no_answer_status=1"/>
  236. <action application="set" data="always_status=1"/>
  237. <action application="set" data="transfer_status=1"/>
  238. <action application="set" data="variable_sip_to_host=${domain_name}"/>
  239. <action application="set" data="variable_sip_network_ip=103.240.35.46"/>
  240. <action application="set" data="variable_sip_network_port=55990"/>
  241. <action application="export" data="domain_name=astppqa606.astppbilling.org"/>
  242. <action application="export" data="sip_to_host=astppqa606.astppbilling.org"/>
  243. <action application="export" data="presence_data=x|||ADMIN CUST PK(990010)|||||||||DID|||103.240.35.46"/>
  244. <action application="export" data="call_type=7"/>
  245. <action application="set" data="did_calltype=7"/>
  246. <action application="set" data="did_extensions=1"/>
  247. <action application="bridge_export" data="hold_music=local_stream://QAAA"/>
  248. <action application="set" data="group_confirm_key=exec"/>
  249. <action application="set" data="group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua"/>
  250. <action application="set" data="ringback="/>
  251. <action application="set" data="module_name=pbx"/>
  252. <action application="db" data="insert/pickup_any_group_${callgroup}/24949/${uuid}"/>
  253. <action application="set" data="dialed_extension=transfer_call"/>
  254. <action application="export" data="dialed_extension=transfer_call"/>
  255. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  256. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  257. <action application="export" data="ring_group_transfer=true"/>
  258. <action application="set" data="fail_on_single_reject=CALL_REJECTED"/>
  259. <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,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=no_file,dialed_user=24949,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=0]user/24949@astppqa606.astppbilling.org|"/>
  260. <action application="set" data="original_did_number=9100010"/>
  261. </condition>
  262. </extension>
  263. </context>
  264. </section>
  265. </document>
  266. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 parsing [default->9100010] continue=false
  267. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Regex (PASS) [9100010] destination_number(9100010) =~ /9100010/ break=on-false
  268. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(effective_destination_number=9100010)
  269. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  270. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(bridge_pre_execute_bleg_data=+60000 normal_clearing)
  271. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(type=0)
  272. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(callstart=2022-12-09 11:53:08)
  273. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(hangup_after_bridge=true)
  274. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(continue_on_fail=TRUE)
  275. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(account_id=16)
  276. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(parent_id=0)
  277. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(entity_id=0)
  278. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(call_processed=internal)
  279. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(call_direction=inbound)
  280. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(accountname=default)
  281. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action export(t38_passthru=true)
  282. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(fax_enable_t38=true)
  283. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(fax_enable_t38_request=true)
  284. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(filename1=astpp.pbx.lua)
  285. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(origination_rates_did=ID:142|CODE:^9100010.*|DESTINATION:9100010|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:16)
  286. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(origination_rates=0)
  287. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(original_caller_id_name=990010)
  288. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(original_caller_id_number=990010)
  289. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action limit(db 990010 user_990010 12 )
  290. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(effective_caller_id_name=990010)
  291. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(effective_caller_id_number=990010)
  292. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(receiver_accid=16)
  293. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(did_id=142)
  294. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(transfer_call_type=4)
  295. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(transfer_extensions=)
  296. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(busy_status=1)
  297. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(no_answer_status=1)
  298. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(always_status=1)
  299. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(transfer_status=1)
  300. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(variable_sip_to_host=${domain_name})
  301. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(variable_sip_network_ip=103.240.35.46)
  302. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(variable_sip_network_port=55990)
  303. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action export(domain_name=astppqa606.astppbilling.org)
  304. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action export(sip_to_host=astppqa606.astppbilling.org)
  305. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action export(presence_data=x|||ADMIN CUST PK(990010)|||||||||DID|||103.240.35.46)
  306. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action export(call_type=7)
  307. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(did_calltype=7)
  308. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(did_extensions=1)
  309. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action bridge_export(hold_music=local_stream://QAAA)
  310. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(group_confirm_key=exec)
  311. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  312. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(ringback=)
  313. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(module_name=pbx)
  314. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action db(insert/pickup_any_group_${callgroup}/24949/${uuid})
  315. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(dialed_extension=transfer_call)
  316. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action export(dialed_extension=transfer_call)
  317. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  318. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  319. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action export(ring_group_transfer=true)
  320. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(fail_on_single_reject=CALL_REJECTED)
  321. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action bridge({sip_h_P-call_type='custom_forward'}[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=0,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=no_file,dialed_user=24949,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=0]user/24949@astppqa606.astppbilling.org|)
  322. Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(original_did_number=9100010)
  323. 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_core_state_machine.c:281 (sofia/default/990010@astppqa606.astppbilling.org:5076) State Change CS_ROUTING -> CS_EXECUTE
  324. 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/990010@astppqa606.astppbilling.org:5076) State ROUTING going to sleep
  325. 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990010@astppqa606.astppbilling.org:5076) Running State Change CS_EXECUTE (Cur 2 Tot 128)
  326. 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_core_state_machine.c:647 (sofia/default/990010@astppqa606.astppbilling.org:5076) State EXECUTE
  327. 2022-12-09 11:53:08.917221 89.77% [DEBUG] mod_sofia.c:213 sofia/default/990010@astppqa606.astppbilling.org:5076 SOFIA EXECUTE
  328. 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_core_state_machine.c:323 sofia/default/990010@astppqa606.astppbilling.org:5076 Standard EXECUTE
  329. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(effective_destination_number=9100010)
  330. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [effective_destination_number]=[9100010]
  331. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(bridge_pre_execute_bleg_app=sched_hangup)
  332. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [bridge_pre_execute_bleg_app]=[sched_hangup]
  333. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(bridge_pre_execute_bleg_data=+60000 normal_clearing)
  334. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [bridge_pre_execute_bleg_data]=[+60000 normal_clearing]
  335. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(type=0)
  336. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [type]=[0]
  337. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(callstart=2022-12-09 11:53:08)
  338. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [callstart]=[2022-12-09 11:53:08]
  339. 2022-12-09 11:53:08.937222 89.77% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  340. 2022-12-09 11:53:08.937222 89.77% [DEBUG] sofia.c:7499 Channel sofia/default/9691097653@astppqa607.astppbilling.org:5076 entering state [received][100]
  341. 2022-12-09 11:53:08.937222 89.77% [DEBUG] sofia.c:7509 Remote SDP:
  342. v=0
  343. o=Z 0 0 IN IP4 103.240.35.46
  344. s=Z
  345. c=IN IP4 103.240.35.46
  346. t=0 0
  347. m=audio 1206 RTP/AVP 3 110 8 0 98 101
  348. a=rtpmap:110 speex/8000
  349. a=rtpmap:98 iLBC/8000
  350. a=fmtp:98 mode=20
  351. a=rtpmap:101 telephone-event/8000
  352. a=fmtp:101 0-15
  353.  
  354. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(hangup_after_bridge=true)
  355. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [hangup_after_bridge]=[true]
  356. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  357. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  358. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  359. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  360. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  361. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  362. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  363. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(continue_on_fail=TRUE)
  364. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  365. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  366. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  367. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  368. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  369. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  370. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/9691097653@astppqa607.astppbilling.org:5076 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  371. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_codec.c:111 sofia/default/9691097653@astppqa607.astppbilling.org:5076 Original read codec set to PCMA:8
  372. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [continue_on_fail]=[TRUE]
  373. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  374. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_media.c:5973 sofia/default/9691097653@astppqa607.astppbilling.org:5076 Set 2833 dtmf send payload to 101 recv payload to 101
  375. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(account_id=16)
  376. 2022-12-09 11:53:08.937222 89.77% [DEBUG] sofia.c:7933 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) State Change CS_NEW -> CS_INIT
  377. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) Running State Change CS_INIT (Cur 2 Tot 128)
  378. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) State INIT
  379. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_sofia.c:97 sofia/default/9691097653@astppqa607.astppbilling.org:5076 SOFIA INIT
  380. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_state_machine.c:40 sofia/default/9691097653@astppqa607.astppbilling.org:5076 Standard INIT
  381. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) State Change CS_INIT -> CS_ROUTING
  382. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) State INIT going to sleep
  383. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [account_id]=[16]
  384. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) Running State Change CS_ROUTING (Cur 2 Tot 128)
  385. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_channel.c:2380 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) Callstate Change DOWN -> RINGING
  386. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(parent_id=0)
  387. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) State ROUTING
  388. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_sofia.c:158 sofia/default/9691097653@astppqa607.astppbilling.org:5076 SOFIA ROUTING
  389. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_state_machine.c:230 sofia/default/9691097653@astppqa607.astppbilling.org:5076 Standard ROUTING
  390. 2022-12-09 11:53:08.937222 89.77% [INFO] mod_dialplan_xml.c:639 Processing 9691097653 <9691097653>->66987564 in context default
  391. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [parent_id]=[0]
  392. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(entity_id=0)
  393. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [entity_id]=[0]
  394. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(call_processed=internal)
  395. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [call_processed]=[internal]
  396. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(call_direction=inbound)
  397. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [call_direction]=[inbound]
  398. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(accountname=default)
  399. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [accountname]=[default]
  400. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 export(t38_passthru=true)
  401. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
  402. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(fax_enable_t38=true)
  403. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [fax_enable_t38]=[true]
  404. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(fax_enable_t38_request=true)
  405. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [fax_enable_t38_request]=[true]
  406. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(filename1=astpp.pbx.lua)
  407. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [filename1]=[astpp.pbx.lua]
  408. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(origination_rates_did=ID:142|CODE:^9100010.*|DESTINATION:9100010|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:16)
  409. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [origination_rates_did]=[ID:142|CODE:^9100010.*|DESTINATION:9100010|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:16]
  410. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(origination_rates=0)
  411. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [origination_rates]=[0]
  412. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(original_caller_id_name=990010)
  413. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [original_caller_id_name]=[990010]
  414. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(original_caller_id_number=990010)
  415. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [original_caller_id_number]=[990010]
  416. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 limit(db 990010 user_990010 12 )
  417. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_limit.c:124 incr called: 990010_user_990010 max:12, interval:0
  418. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_db.c:194 Usage for 990010_user_990010 is now 1/12
  419. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(effective_caller_id_name=990010)
  420. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [effective_caller_id_name]=[990010]
  421. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(effective_caller_id_number=990010)
  422. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [effective_caller_id_number]=[990010]
  423. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(receiver_accid=16)
  424. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [receiver_accid]=[16]
  425. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(did_id=142)
  426. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [did_id]=[142]
  427. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(transfer_call_type=4)
  428. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [transfer_call_type]=[4]
  429. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(transfer_extensions=)
  430. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [transfer_extensions]=[UNDEF]
  431. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(busy_status=1)
  432. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [busy_status]=[1]
  433. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(no_answer_status=1)
  434. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [no_answer_status]=[1]
  435. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(always_status=1)
  436. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [always_status]=[1]
  437. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(transfer_status=1)
  438. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [transfer_status]=[1]
  439. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(variable_sip_to_host=astppqa606.astppbilling.org)
  440. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [variable_sip_to_host]=[astppqa606.astppbilling.org]
  441. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(variable_sip_network_ip=103.240.35.46)
  442. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [variable_sip_network_ip]=[103.240.35.46]
  443. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(variable_sip_network_port=55990)
  444. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [variable_sip_network_port]=[55990]
  445. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 export(domain_name=astppqa606.astppbilling.org)
  446. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[astppqa606.astppbilling.org]
  447. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 export(sip_to_host=astppqa606.astppbilling.org)
  448. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[astppqa606.astppbilling.org]
  449. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 export(presence_data=x|||ADMIN CUST PK(990010)|||||||||DID|||103.240.35.46)
  450. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||ADMIN CUST PK(990010)|||||||||DID|||103.240.35.46]
  451. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 export(call_type=7)
  452. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[7]
  453. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(did_calltype=7)
  454. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [did_calltype]=[7]
  455. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(did_extensions=1)
  456. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [did_extensions]=[1]
  457. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 bridge_export(hold_music=local_stream://QAAA)
  458. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_channel.c:1315 EXPORT (bridge_export_vars) [hold_music]=[local_stream://QAAA]
  459. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(group_confirm_key=exec)
  460. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [group_confirm_key]=[exec]
  461. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  462. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [group_confirm_file]=[lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua]
  463. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(ringback=)
  464. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [ringback]=[UNDEF]
  465. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(module_name=pbx)
  466. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [module_name]=[pbx]
  467. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 db(insert/pickup_any_group_/24949/6ecccff0-bbbe-4589-b800-0cb831b5bff2)
  468. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(dialed_extension=transfer_call)
  469. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [dialed_extension]=[transfer_call]
  470. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 export(dialed_extension=transfer_call)
  471. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  472. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  473. 2022-12-09 11:53:08.937222 89.77% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  474. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  475. 2022-12-09 11:53:08.937222 89.77% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  476. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 export(ring_group_transfer=true)
  477. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [ring_group_transfer]=[true]
  478. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(fail_on_single_reject=CALL_REJECTED)
  479. 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [fail_on_single_reject]=[CALL_REJECTED]
  480. EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 bridge({sip_h_P-call_type='custom_forward'}[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=0,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=no_file,dialed_user=24949,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=0]user/24949@astppqa606.astppbilling.org|)
  481. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_channel.c:1269 sofia/default/990010@astppqa606.astppbilling.org:5076 EXPORTING[export_vars] [t38_passthru]=[true] to event
  482. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_channel.c:1269 sofia/default/990010@astppqa606.astppbilling.org:5076 EXPORTING[export_vars] [domain_name]=[astppqa606.astppbilling.org] to event
  483. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_channel.c:1269 sofia/default/990010@astppqa606.astppbilling.org:5076 EXPORTING[export_vars] [sip_to_host]=[astppqa606.astppbilling.org] to event
  484. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_channel.c:1269 sofia/default/990010@astppqa606.astppbilling.org:5076 EXPORTING[export_vars] [presence_data]=[x|||ADMIN CUST PK(990010)|||||||||DID|||103.240.35.46] to event
  485. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_channel.c:1269 sofia/default/990010@astppqa606.astppbilling.org:5076 EXPORTING[export_vars] [call_type]=[7] to event
  486. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_channel.c:1269 sofia/default/990010@astppqa606.astppbilling.org:5076 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  487. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_channel.c:1269 sofia/default/990010@astppqa606.astppbilling.org:5076 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
  488. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  489. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  490. 2022-12-09 11:53:08.937222 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  491. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  492. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  493. 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  494. 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  495. 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 66987564
  496. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '66987564' limit 1
  497. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_channel.c:1269 sofia/default/990010@astppqa606.astppbilling.org:5076 EXPORTING[export_vars] [t38_passthru]=[true] to event
  498. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_channel.c:1269 sofia/default/990010@astppqa606.astppbilling.org:5076 EXPORTING[export_vars] [domain_name]=[astppqa606.astppbilling.org] to event
  499. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_channel.c:1269 sofia/default/990010@astppqa606.astppbilling.org:5076 EXPORTING[export_vars] [sip_to_host]=[astppqa606.astppbilling.org] to event
  500. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_channel.c:1269 sofia/default/990010@astppqa606.astppbilling.org:5076 EXPORTING[export_vars] [presence_data]=[x|||ADMIN CUST PK(990010)|||||||||DID|||103.240.35.46] to event
  501. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_channel.c:1269 sofia/default/990010@astppqa606.astppbilling.org:5076 EXPORTING[export_vars] [call_type]=[7] to event
  502. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_channel.c:1269 sofia/default/990010@astppqa606.astppbilling.org:5076 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  503. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_channel.c:1269 sofia/default/990010@astppqa606.astppbilling.org:5076 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
  504. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  505. 2022-12-09 11:53:08.957217 89.77% [NOTICE] switch_channel.c:1123 New Channel sofia/default/24949@103.240.35.46:34053 [09d2e251-6ee4-4282-b367-1697d58aec88]
  506. 2022-12-09 11:53:08.957217 89.77% [DEBUG] mod_sofia.c:5121 (sofia/default/24949@103.240.35.46:34053) State Change CS_NEW -> CS_INIT
  507. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/24949@103.240.35.46:34053) Running State Change CS_INIT (Cur 3 Tot 129)
  508. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/24949@103.240.35.46:34053) State INIT
  509. 2022-12-09 11:53:08.957217 89.77% [DEBUG] mod_sofia.c:97 sofia/default/24949@103.240.35.46:34053 SOFIA INIT
  510. 2022-12-09 11:53:08.957217 89.77% [DEBUG] sofia_glue.c:1620 sip:24949@103.240.35.46:55990;rinstance=49a59298cbb114f2;transport=TCP Setting proxy route to sofia/default/24949@103.240.35.46:34053
  511. 2022-12-09 11:53:08.957217 89.77% [INFO] sofia_glue.c:1651 sofia/default/24949@103.240.35.46:34053 sending invite call-id: (null)
  512. 2022-12-09 11:53:08.957217 89.77% [DEBUG] sofia_glue.c:1654 sofia/default/24949@103.240.35.46:34053 sending invite version: 1.10.7 -release 64bit
  513. Local SDP:
  514. v=0
  515. o=FreeSWITCH 1670567372 1670567373 IN IP4 142.132.184.134
  516. s=FreeSWITCH
  517. c=IN IP4 142.132.184.134
  518. t=0 0
  519. m=audio 19416 RTP/AVP 8 101
  520. a=rtpmap:8 PCMA/8000
  521. a=rtpmap:101 telephone-event/8000
  522. a=fmtp:101 0-15
  523. a=ptime:20
  524. a=sendrecv
  525.  
  526. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_core_state_machine.c:40 sofia/default/24949@103.240.35.46:34053 Standard INIT
  527. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_core_state_machine.c:48 (sofia/default/24949@103.240.35.46:34053) State Change CS_INIT -> CS_ROUTING
  528. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/24949@103.240.35.46:34053) State INIT going to sleep
  529. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/24949@103.240.35.46:34053) Running State Change CS_ROUTING (Cur 3 Tot 129)
  530. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/24949@103.240.35.46:34053) State ROUTING
  531. 2022-12-09 11:53:08.957217 89.77% [DEBUG] mod_sofia.c:158 sofia/default/24949@103.240.35.46:34053 SOFIA ROUTING
  532. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_ivr_originate.c:67 (sofia/default/24949@103.240.35.46:34053) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  533. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/24949@103.240.35.46:34053) State ROUTING going to sleep
  534. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/24949@103.240.35.46:34053) Running State Change CS_CONSUME_MEDIA (Cur 3 Tot 129)
  535. 2022-12-09 11:53:08.957217 89.77% [DEBUG] sofia.c:7499 Channel sofia/default/24949@103.240.35.46:34053 entering state [calling][0]
  536. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_core_state_machine.c:659 (sofia/default/24949@103.240.35.46:34053) State CONSUME_MEDIA
  537. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_core_state_machine.c:659 (sofia/default/24949@103.240.35.46:34053) State CONSUME_MEDIA going to sleep
  538. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  539. 2022-12-09 11:53:08.957217 89.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 = '66987564' and status=0 LIMIT 1
  540. 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER9691097653
  541. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  542. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '66987564' limit 1
  543. 2022-12-09 11:53:08.957217 89.77% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  544. 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 9691097653 / 9691097653
  545. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 64
  546. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 669875 AND status=0 limit 1
  547. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  548. 2022-12-09 11:53:08.957217 89.77% [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="66987564"  AND domains.domain="astppqa607.astppbilling.org" limit 1
  549. 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  550. 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9691097653]
  551. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =66987564
  552. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9691097653" AND deleted = 0 limit 1
  553. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^66987564.*' OR blocked_patterns = '^6698756.*' OR blocked_patterns = '^669875.*' OR blocked_patterns = '^66987.*' OR blocked_patterns = '^6698.*' OR blocked_patterns = '^669.*' OR blocked_patterns = '^66.*' OR blocked_patterns = '^6.*' OR blocked_patterns ='--') AND accountid = 903 limit 1
  554. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  555. 2022-12-09 11:53:08.957217 89.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 = '^66987564.*' OR patterns = '^6698756.*' OR patterns = '^669875.*' OR patterns = '^66987.*' OR patterns = '^6698.*' OR patterns = '^669.*' OR patterns = '^66.*' OR patterns = '^6.*' OR patterns ='--') AND accountid = 903 ORDER BY LENGTH(PKGPTR.patterns) DESC
  556. 2022-12-09 11:53:08.957217 89.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 ="66987564" AND A.accountid = '903' limit 1
  557. 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 66987564
  558. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  559. 2022-12-09 11:53:08.957217 89.77% [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="66987564"  AND domains.domain="astppqa607.astppbilling.org" limit 1
  560. 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  561. 2022-12-09 11:53:08.957217 89.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 = '66987564' OR number = '6698756' OR number = '669875' OR number = '66987' OR number = '6698' OR number = '669' OR number = '66' OR number = '6' OR number ='--') OR (number = '66987564*' OR number = '6698756*' OR number = '669875*' OR number = '66987*' OR number = '6698*' OR number = '669*' OR number = '66*' OR number = '6*' OR number ='--') OR (number = '9691097653' OR number = '969109765' OR number = '96910976' OR number = '9691097' OR number = '969109' OR number = '96910' OR number = '9691' OR number = '969' OR number = '96' OR number = '9' OR number ='--') OR (number = '9691097653*' OR number = '969109765*' OR number = '96910976*' OR number = '9691097*' OR number = '969109*' OR number = '96910*' OR number = '9691*' OR number = '969*' OR number = '96*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  562. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  563. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '66987564' OR routing_prefix = '6698756' OR routing_prefix = '669875' OR routing_prefix = '66987' OR routing_prefix = '6698' OR routing_prefix = '669' OR routing_prefix = '66' OR routing_prefix = '6' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  564. 2022-12-09 11:53:08.957217 89.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] Get Destination Number (66987564)!!!!
  565. 2022-12-09 11:53:08.957217 89.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] After Append Ported Number : (66987564)!!!!
  566. 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  567. 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 903
  568. 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9691097653
  569. 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 85.9833
  570. 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  571. 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  572. 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  573. 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  574. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  575. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
  576. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  577. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  578. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
  579. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^66987564.*' OR pattern = '^6698756.*' OR pattern = '^669875.*' OR pattern = '^66987.*' OR pattern = '^6698.*' OR pattern = '^669.*' OR pattern = '^66.*' OR pattern = '^6.*' OR pattern ='--') AND (caller_id_pattern = '^9691097653.*' OR caller_id_pattern = '^969109765.*' OR caller_id_pattern = '^96910976.*' OR caller_id_pattern = '^9691097.*' OR caller_id_pattern = '^969109.*' OR caller_id_pattern = '^96910.*' OR caller_id_pattern = '^9691.*' OR caller_id_pattern = '^969.*' OR caller_id_pattern = '^96.*' OR caller_id_pattern = '^9.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=903)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  580. 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  581. 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  582. 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:1.00000
  583. 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
  584. 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '1' and status=0
  585. 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:1.00000
  586. 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  587. 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 5
  588. 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  589. 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  590. 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.00000
  591. 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : india
  592. 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  593. 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 903
  594. 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  595. 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  596. 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  597. 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Shadow_billing_rates]SHADOWBILLING:|ID:5|CODE:^66.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:1|RATEGROUP:1|MARKUP:0|CI:0|ACCID:903!!!
  598. 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your85.9833 balance Accountid 903 !!!
  599. 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 85.9833 minutes
  600. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  601. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=1 ORDER by id asc
  602. 2022-12-09 11:53:08.957217 89.77% [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 = '^66987564.*' OR pattern = '^6698756.*' OR pattern = '^669875.*' OR pattern = '^66987.*' OR pattern = '^6698.*' OR pattern = '^669.*' OR pattern = '^66.*' OR pattern = '^6.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (1) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  603. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP]  Post Cdrs : 0
  604. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 903
  605. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  606. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  607. <document type="freeswitch/xml">
  608. <section name="dialplan" description="ASTPP Dialplan">
  609. <context name="default">
  610. <extension name="66987564">
  611. <condition field="destination_number" expression="66987564">
  612. <action application="log" data="WARNING Accountcode 9691097653 doesn't have sufficiant fund!!"/>
  613. <action application="set" data="original_caller_id_name=9691097653"/>
  614. <action application="set" data="original_caller_id_number=9691097653"/>
  615. <action application="set" data="error_cdr=1"/>
  616. <action application="set" data="callstart=2022-12-09 11:53:08"/>
  617. <action application="set" data="account_id=903"/>
  618. <action application="set" data="parent_id=0"/>
  619. <action application="set" data="call_direction=outbound"/>
  620. <action application="set" data="sip_ignore_remote_cause=true"/>
  621. <action application="set" data="call_processed=internal"/>
  622. <action application="set" data="effective_destination_number=66987564"/>
  623. <action application="set" data="last_bridge_hangup_cause=NO_SUFFICIENT_FUND"/>
  624. <action application="hangup" data="NO_SUFFICIENT_FUND"/>
  625. </condition>
  626. </extension>
  627. </context>
  628. </section>
  629. </document>
  630. Dialplan: sofia/default/9691097653@astppqa607.astppbilling.org:5076 parsing [default->66987564] continue=false
  631. Dialplan: sofia/default/9691097653@astppqa607.astppbilling.org:5076 Regex (PASS) [66987564] destination_number(66987564) =~ /66987564/ break=on-false
  632. Dialplan: sofia/default/9691097653@astppqa607.astppbilling.org:5076 Action log(WARNING Accountcode 9691097653 doesn't have sufficiant fund!!)
  633. Dialplan: sofia/default/9691097653@astppqa607.astppbilling.org:5076 Action set(original_caller_id_name=9691097653)
  634. Dialplan: sofia/default/9691097653@astppqa607.astppbilling.org:5076 Action set(original_caller_id_number=9691097653)
  635. Dialplan: sofia/default/9691097653@astppqa607.astppbilling.org:5076 Action set(error_cdr=1)
  636. Dialplan: sofia/default/9691097653@astppqa607.astppbilling.org:5076 Action set(callstart=2022-12-09 11:53:08)
  637. Dialplan: sofia/default/9691097653@astppqa607.astppbilling.org:5076 Action set(account_id=903)
  638. Dialplan: sofia/default/9691097653@astppqa607.astppbilling.org:5076 Action set(parent_id=0)
  639. Dialplan: sofia/default/9691097653@astppqa607.astppbilling.org:5076 Action set(call_direction=outbound)
  640. Dialplan: sofia/default/9691097653@astppqa607.astppbilling.org:5076 Action set(sip_ignore_remote_cause=true)
  641. Dialplan: sofia/default/9691097653@astppqa607.astppbilling.org:5076 Action set(call_processed=internal)
  642. Dialplan: sofia/default/9691097653@astppqa607.astppbilling.org:5076 Action set(effective_destination_number=66987564)
  643. Dialplan: sofia/default/9691097653@astppqa607.astppbilling.org:5076 Action set(last_bridge_hangup_cause=NO_SUFFICIENT_FUND)
  644. Dialplan: sofia/default/9691097653@astppqa607.astppbilling.org:5076 Action hangup(NO_SUFFICIENT_FUND)
  645. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) State Change CS_ROUTING -> CS_EXECUTE
  646. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) State ROUTING going to sleep
  647. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) Running State Change CS_EXECUTE (Cur 3 Tot 129)
  648. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) State EXECUTE
  649. 2022-12-09 11:53:08.957217 89.77% [DEBUG] mod_sofia.c:213 sofia/default/9691097653@astppqa607.astppbilling.org:5076 SOFIA EXECUTE
  650. 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_core_state_machine.c:323 sofia/default/9691097653@astppqa607.astppbilling.org:5076 Standard EXECUTE
  651. EXECUTE [depth=0] sofia/default/9691097653@astppqa607.astppbilling.org:5076 log(WARNING Accountcode 9691097653 doesn't have sufficiant fund!!)
  652. 2022-12-09 11:53:08.957217 89.77% [WARNING] mod_dptools.c:1879 Accountcode 9691097653 doesn't have sufficiant fund!!
  653. EXECUTE [depth=0] sofia/default/9691097653@astppqa607.astppbilling.org:5076 set(original_caller_id_name=9691097653)
  654. 2022-12-09 11:53:08.957217 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9691097653@astppqa607.astppbilling.org:5076 [original_caller_id_name]=[9691097653]
  655. EXECUTE [depth=0] sofia/default/9691097653@astppqa607.astppbilling.org:5076 set(original_caller_id_number=9691097653)
  656. 2022-12-09 11:53:08.957217 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9691097653@astppqa607.astppbilling.org:5076 [original_caller_id_number]=[9691097653]
  657. EXECUTE [depth=0] sofia/default/9691097653@astppqa607.astppbilling.org:5076 set(error_cdr=1)
  658. 2022-12-09 11:53:08.957217 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9691097653@astppqa607.astppbilling.org:5076 [error_cdr]=[1]
  659. EXECUTE [depth=0] sofia/default/9691097653@astppqa607.astppbilling.org:5076 set(callstart=2022-12-09 11:53:08)
  660. 2022-12-09 11:53:08.957217 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9691097653@astppqa607.astppbilling.org:5076 [callstart]=[2022-12-09 11:53:08]
  661. EXECUTE [depth=0] sofia/default/9691097653@astppqa607.astppbilling.org:5076 set(account_id=903)
  662. 2022-12-09 11:53:08.957217 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9691097653@astppqa607.astppbilling.org:5076 [account_id]=[903]
  663. EXECUTE [depth=0] sofia/default/9691097653@astppqa607.astppbilling.org:5076 set(parent_id=0)
  664. 2022-12-09 11:53:08.977217 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9691097653@astppqa607.astppbilling.org:5076 [parent_id]=[0]
  665. EXECUTE [depth=0] sofia/default/9691097653@astppqa607.astppbilling.org:5076 set(call_direction=outbound)
  666. 2022-12-09 11:53:08.977217 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9691097653@astppqa607.astppbilling.org:5076 [call_direction]=[outbound]
  667. EXECUTE [depth=0] sofia/default/9691097653@astppqa607.astppbilling.org:5076 set(sip_ignore_remote_cause=true)
  668. 2022-12-09 11:53:08.977217 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9691097653@astppqa607.astppbilling.org:5076 [sip_ignore_remote_cause]=[true]
  669. EXECUTE [depth=0] sofia/default/9691097653@astppqa607.astppbilling.org:5076 set(call_processed=internal)
  670. 2022-12-09 11:53:08.977217 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9691097653@astppqa607.astppbilling.org:5076 [call_processed]=[internal]
  671. EXECUTE [depth=0] sofia/default/9691097653@astppqa607.astppbilling.org:5076 set(effective_destination_number=66987564)
  672. 2022-12-09 11:53:08.977217 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9691097653@astppqa607.astppbilling.org:5076 [effective_destination_number]=[66987564]
  673. EXECUTE [depth=0] sofia/default/9691097653@astppqa607.astppbilling.org:5076 set(last_bridge_hangup_cause=NO_SUFFICIENT_FUND)
  674. 2022-12-09 11:53:08.977217 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9691097653@astppqa607.astppbilling.org:5076 [last_bridge_hangup_cause]=[NO_SUFFICIENT_FUND]
  675. EXECUTE [depth=0] sofia/default/9691097653@astppqa607.astppbilling.org:5076 hangup(NO_SUFFICIENT_FUND)
  676. 2022-12-09 11:53:08.977217 89.77% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/9691097653@astppqa607.astppbilling.org:5076 [CS_EXECUTE] [NORMAL_CLEARING]
  677. 2022-12-09 11:53:08.977217 89.77% [DEBUG] switch_core_session.c:2983 sofia/default/9691097653@astppqa607.astppbilling.org:5076 skip receive message [PHONE_EVENT] (channel is hungup already)
  678. 2022-12-09 11:53:08.977217 89.77% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) State EXECUTE going to sleep
  679. 2022-12-09 11:53:08.977217 89.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) Running State Change CS_HANGUP (Cur 3 Tot 129)
  680. 2022-12-09 11:53:08.977217 89.77% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) Callstate Change RINGING -> HANGUP
  681. 2022-12-09 11:53:08.977217 89.77% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) State HANGUP
  682. 2022-12-09 11:53:08.977217 89.77% [DEBUG] mod_sofia.c:468 Channel sofia/default/9691097653@astppqa607.astppbilling.org:5076 hanging up, cause: NORMAL_CLEARING
  683. 2022-12-09 11:53:08.977217 89.77% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 480
  684. 2022-12-09 11:53:08.977217 89.77% [DEBUG] switch_core_state_machine.c:59 sofia/default/9691097653@astppqa607.astppbilling.org:5076 Standard HANGUP, cause: NORMAL_CLEARING
  685. 2022-12-09 11:53:08.977217 89.77% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) State HANGUP going to sleep
  686. 2022-12-09 11:53:08.977217 89.77% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) State Change CS_HANGUP -> CS_REPORTING
  687. 2022-12-09 11:53:08.977217 89.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) Running State Change CS_REPORTING (Cur 3 Tot 129)
  688. 2022-12-09 11:53:08.977217 89.77% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) State REPORTING
  689. 2022-12-09 11:53:08.977217 89.77% [INFO] mod_json_cdr.c:271 Process [f9117455-3c04-4bd9-9eb2-3013424bec7c.cdr.json]
  690. 2022-12-09 11:53:08.977217 89.77% [DEBUG] switch_core_state_machine.c:168 sofia/default/9691097653@astppqa607.astppbilling.org:5076 Standard REPORTING, cause: NORMAL_CLEARING
  691. 2022-12-09 11:53:08.977217 89.77% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) State REPORTING going to sleep
  692. 2022-12-09 11:53:08.977217 89.77% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) State Change CS_REPORTING -> CS_DESTROY
  693. 2022-12-09 11:53:08.977217 89.77% [DEBUG] switch_core_session.c:1753 Session 128 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) Locked, Waiting on external entities
  694. 2022-12-09 11:53:08.977217 89.77% [NOTICE] switch_core_session.c:1771 Session 128 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) Ended
  695. 2022-12-09 11:53:08.977217 89.77% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9691097653@astppqa607.astppbilling.org:5076 [CS_DESTROY]
  696. 2022-12-09 11:53:08.977217 89.77% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) Running State Change CS_DESTROY (Cur 2 Tot 129)
  697. 2022-12-09 11:53:08.977217 89.77% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) State DESTROY
  698. 2022-12-09 11:53:08.977217 89.77% [DEBUG] mod_sofia.c:379 sofia/default/9691097653@astppqa607.astppbilling.org:5076 SOFIA DESTROY
  699. 2022-12-09 11:53:08.977217 89.77% [DEBUG] switch_core_state_machine.c:175 sofia/default/9691097653@astppqa607.astppbilling.org:5076 Standard DESTROY
  700. 2022-12-09 11:53:08.977217 89.77% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) State DESTROY going to sleep
  701. 2022-12-09 11:53:09.397234 89.80% [DEBUG] sofia.c:7499 Channel sofia/default/24949@103.240.35.46:34053 entering state [proceeding][180]
  702. 2022-12-09 11:53:09.397234 89.80% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/24949@103.240.35.46:34053!
  703. 2022-12-09 11:53:09.397234 89.80% [DEBUG] switch_channel.c:3494 (sofia/default/24949@103.240.35.46:34053) Callstate Change DOWN -> RINGING
  704. 2022-12-09 11:53:09.397234 89.80% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/990010@astppqa606.astppbilling.org:5076!
  705. 2022-12-09 11:53:09.397234 89.80% [DEBUG] sofia.c:7499 Channel sofia/default/990010@astppqa606.astppbilling.org:5076 entering state [early][180]
  706. 2022-12-09 11:53:09.397234 89.80% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/990010@astppqa606.astppbilling.org:5076!
  707. 2022-12-09 11:53:13.977259 89.30% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur.
  708. 2022-12-09 11:53:15.657254 89.27% [DEBUG] sofia.c:7499 Channel sofia/default/24949@103.240.35.46:34053 entering state [completing][200]
  709. 2022-12-09 11:53:15.657254 89.27% [DEBUG] sofia.c:7509 Remote SDP:
  710. v=0
  711. o=Z 0 3 IN IP4 103.240.35.46
  712. s=Z
  713. c=IN IP4 103.240.35.46
  714. t=0 0
  715. m=audio 8002 RTP/AVP 8 3 110 0 98 101
  716. a=rtpmap:110 speex/8000
  717. a=rtpmap:98 iLBC/8000
  718. a=fmtp:98 mode=20
  719. a=rtpmap:101 telephone-event/8000
  720. a=fmtp:101 0-15
  721.  
  722. 2022-12-09 11:53:15.657254 89.27% [DEBUG] sofia.c:7499 Channel sofia/default/24949@103.240.35.46:34053 entering state [ready][200]
  723. 2022-12-09 11:53:15.657254 89.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  724. 2022-12-09 11:53:15.657254 89.27% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  725. 2022-12-09 11:53:15.657254 89.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  726. 2022-12-09 11:53:15.657254 89.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  727. 2022-12-09 11:53:15.657254 89.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  728. 2022-12-09 11:53:15.657254 89.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  729. 2022-12-09 11:53:15.657254 89.27% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  730. 2022-12-09 11:53:15.657254 89.27% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/24949@103.240.35.46:34053 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  731. 2022-12-09 11:53:15.657254 89.27% [DEBUG] switch_core_codec.c:111 sofia/default/24949@103.240.35.46:34053 Original read codec set to PCMA:8
  732. 2022-12-09 11:53:15.657254 89.27% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  733. 2022-12-09 11:53:15.657254 89.27% [DEBUG] switch_core_media.c:5973 sofia/default/24949@103.240.35.46:34053 Set 2833 dtmf send payload to 101 recv payload to 101
  734. 2022-12-09 11:53:15.657254 89.27% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/24949@103.240.35.46:34053] 142.132.184.134 port 19416 -> 103.240.35.46 port 8002 codec: 8 ms: 20
  735. 2022-12-09 11:53:15.657254 89.27% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  736. 2022-12-09 11:53:15.657254 89.27% [DEBUG] switch_core_media.c:9089 sofia/default/24949@103.240.35.46:34053 Set 2833 dtmf send payload to 101
  737. 2022-12-09 11:53:15.657254 89.27% [DEBUG] switch_core_media.c:9096 sofia/default/24949@103.240.35.46:34053 Set 2833 dtmf receive payload to 101
  738. 2022-12-09 11:53:15.657254 89.27% [DEBUG] switch_core_media.c:9119 sofia/default/24949@103.240.35.46:34053 Set rtp dtmf delay to 40
  739. 2022-12-09 11:53:15.657254 89.27% [NOTICE] sofia.c:8683 Channel [sofia/default/24949@103.240.35.46:34053] has been answered
  740. 2022-12-09 11:53:15.657254 89.27% [DEBUG] switch_channel.c:3950 (sofia/default/24949@103.240.35.46:34053) Callstate Change RINGING -> ACTIVE
  741. EXECUTE [depth=0] sofia/default/24949@103.240.35.46:34053 lua(/usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  742. 2022-12-09 11:53:15.677221 89.27% [NOTICE] switch_cpp.cpp:1465 [Astpp_Call-Ring Group]  Ring group confirm flag :true
  743. 2022-12-09 11:53:15.677221 89.27% [NOTICE] switch_cpp.cpp:1465 [Astpp_Call-Ring Group] Ring group confirm :: true
  744. 2022-12-09 11:53:15.677221 89.27% [NOTICE] switch_cpp.cpp:1465 [Astpp_Call-Ring Group] Ring group prompt :: astpp-prompt.wav ::
  745. 2022-12-09 11:53:15.677221 89.27% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-prompt.wav sample rate 22050 doesn't match requested rate 8000
  746. 2022-12-09 11:53:15.677221 89.27% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  747. 2022-12-09 11:53:15.717242 89.27% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  748. 2022-12-09 11:53:21.537262 88.27% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-prompt.wav
  749. 2022-12-09 11:53:22.157255 88.27% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-prompt.wav sample rate 22050 doesn't match requested rate 8000
  750. 2022-12-09 11:53:22.157255 88.27% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  751. 2022-12-09 11:53:28.037235 87.83% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-prompt.wav
  752. 2022-12-09 11:53:28.657238 87.80% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-prompt.wav sample rate 22050 doesn't match requested rate 8000
  753. 2022-12-09 11:53:28.657238 87.80% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  754. 2022-12-09 11:53:33.937276 89.47% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 1:960
  755. 2022-12-09 11:53:33.937276 89.47% [INFO] switch_channel.c:527 RECV DTMF 1:960
  756. 2022-12-09 11:53:33.937276 89.47% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-prompt.wav
  757. 2022-12-09 11:53:34.557249 90.23% [NOTICE] switch_cpp.cpp:1465 [Astpp_Call-Ring Group]  Ring group confirm get digit :1
  758. 2022-12-09 11:53:34.557249 90.23% [DEBUG] switch_cpp.cpp:1209 sofia/default/24949@103.240.35.46:34053 destroy/unlink session from object
  759. 2022-12-09 11:53:34.577231 90.23% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/990010@astppqa606.astppbilling.org:5076] 142.132.184.134 port 23370 -> 103.240.35.46 port 8000 codec: 8 ms: 20
  760. 2022-12-09 11:53:34.577231 90.23% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  761. 2022-12-09 11:53:34.577231 90.23% [DEBUG] switch_core_media.c:9089 sofia/default/990010@astppqa606.astppbilling.org:5076 Set 2833 dtmf send payload to 101
  762. 2022-12-09 11:53:34.577231 90.23% [DEBUG] switch_core_media.c:9096 sofia/default/990010@astppqa606.astppbilling.org:5076 Set 2833 dtmf receive payload to 101
  763. 2022-12-09 11:53:34.577231 90.23% [DEBUG] switch_core_media.c:9119 sofia/default/990010@astppqa606.astppbilling.org:5076 Set rtp dtmf delay to 40
  764. 2022-12-09 11:53:34.577231 90.23% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/990010@astppqa606.astppbilling.org:5076:
  765. v=0
  766. o=FreeSWITCH 1670563444 1670563445 IN IP4 142.132.184.134
  767. s=FreeSWITCH
  768. c=IN IP4 142.132.184.134
  769. t=0 0
  770. m=audio 23370 RTP/AVP 8 101
  771. a=rtpmap:8 PCMA/8000
  772. a=rtpmap:101 telephone-event/8000
  773. a=fmtp:101 0-15
  774. a=ptime:20
  775. a=sendrecv
  776.  
  777. 2022-12-09 11:53:34.577231 90.23% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/990010@astppqa606.astppbilling.org:5076] has been answered
  778. 2022-12-09 11:53:34.577231 90.23% [DEBUG] switch_channel.c:3950 (sofia/default/990010@astppqa606.astppbilling.org:5076) Callstate Change RINGING -> ACTIVE
  779. 2022-12-09 11:53:34.577231 90.23% [DEBUG] sofia.c:7499 Channel sofia/default/990010@astppqa606.astppbilling.org:5076 entering state [completed][200]
  780. 2022-12-09 11:53:34.577231 90.23% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/24949@103.240.35.46:34053] Peer UUID: 09d2e251-6ee4-4282-b367-1697d58aec88
  781. 2022-12-09 11:53:34.577231 90.23% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/24949@103.240.35.46:34053] Peer UUID: 09d2e251-6ee4-4282-b367-1697d58aec88
  782. 2022-12-09 11:53:34.577231 90.23% [DEBUG] switch_channel.c:1276 sofia/default/990010@astppqa606.astppbilling.org:5076 EXPORTING[bridge_export_vars] [hold_music]=[local_stream://QAAA] to sofia/default/24949@103.240.35.46:34053
  783. 2022-12-09 11:53:34.577231 90.23% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/24949@103.240.35.46:34053) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  784. 2022-12-09 11:53:34.577231 90.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/24949@103.240.35.46:34053) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 129)
  785. 2022-12-09 11:53:34.577231 90.23% [DEBUG] switch_core_state_machine.c:650 (sofia/default/24949@103.240.35.46:34053) State EXCHANGE_MEDIA
  786. 2022-12-09 11:53:34.577231 90.23% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  787. 2022-12-09 11:53:34.737239 90.23% [DEBUG] sofia.c:7499 Channel sofia/default/990010@astppqa606.astppbilling.org:5076 entering state [ready][200]
  788. 2022-12-09 11:53:34.757240 90.23% [DEBUG] switch_ivr_bridge.c:655 sofia/default/24949@103.240.35.46:34053 Bridge execute app sched_hangup(+60000 normal_clearing)
  789. 2022-12-09 11:53:34.777268 90.23% [DEBUG] switch_ivr.c:632 sofia/default/24949@103.240.35.46:34053 Command Execute [depth=0] sched_hangup(+60000 normal_clearing)
  790. EXECUTE [depth=0] sofia/default/24949@103.240.35.46:34053 sched_hangup(+60000 normal_clearing)
  791. 2022-12-09 11:53:34.777268 90.23% [DEBUG] switch_scheduler.c:263 Added task 42 switch_ivr_schedule_hangup (09d2e251-6ee4-4282-b367-1697d58aec88) to run at 1670646814
  792. 2022-12-09 11:53:34.917274 90.23% [DEBUG] sofia.c:7499 Channel sofia/default/990010@astppqa606.astppbilling.org:5076 entering state [received][100]
  793. 2022-12-09 11:53:34.917274 90.23% [DEBUG] sofia.c:7509 Remote SDP:
  794. v=0
  795. o=Z 0 1 IN IP4 103.240.35.46
  796. s=Z
  797. c=IN IP4 0.0.0.0
  798. t=0 0
  799. m=audio 8000 RTP/AVP 3 110 8 0 98 101
  800. a=rtpmap:110 speex/8000
  801. a=rtpmap:98 iLBC/8000
  802. a=fmtp:98 mode=20
  803. a=rtpmap:101 telephone-event/8000
  804. a=fmtp:101 0-15
  805. a=inactive
  806.  
  807. 2022-12-09 11:53:34.917274 90.23% [WARNING] switch_core_media.c:5041 RFC2543 from March 1999 called; They want their 0.0.0.0 hold method back.....
  808. 2022-12-09 11:53:34.917274 90.23% [DEBUG] switch_channel.c:1975 (sofia/default/990010@astppqa606.astppbilling.org:5076) Callstate Change ACTIVE -> HELD
  809. 2022-12-09 11:53:35.077245 90.23% [DEBUG] switch_ivr.c:632 sofia/default/24949@103.240.35.46:34053 Command Execute [depth=0] playback(local_stream://QAAA)
  810. EXECUTE [depth=0] sofia/default/24949@103.240.35.46:34053 playback(local_stream://QAAA)
  811. 2022-12-09 11:53:35.077245 90.23% [DEBUG] mod_local_stream.c:911 Opening Stream [QAAA] 16000hz
  812. 2022-12-09 11:53:35.077245 90.23% [DEBUG] switch_core_file.c:444 File QAAA sample rate 16000 doesn't match requested rate 8000
  813. 2022-12-09 11:53:35.077245 90.23% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  814. 2022-12-09 11:53:35.177266 90.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  815. 2022-12-09 11:53:35.177266 90.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  816. 2022-12-09 11:53:35.177266 90.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  817. 2022-12-09 11:53:35.177266 90.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  818. 2022-12-09 11:53:35.177266 90.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  819. 2022-12-09 11:53:35.177266 90.97% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  820. 2022-12-09 11:53:35.177266 90.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  821. 2022-12-09 11:53:35.177266 90.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  822. 2022-12-09 11:53:35.177266 90.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  823. 2022-12-09 11:53:35.177266 90.97% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  824. 2022-12-09 11:53:35.177266 90.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  825. 2022-12-09 11:53:35.177266 90.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  826. 2022-12-09 11:53:35.177266 90.97% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  827. 2022-12-09 11:53:35.177266 90.97% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  828. 2022-12-09 11:53:35.177266 90.97% [DEBUG] switch_core_media.c:5973 sofia/default/990010@astppqa606.astppbilling.org:5076 Set 2833 dtmf send payload to 101 recv payload to 101
  829. 2022-12-09 11:53:35.177266 90.97% [DEBUG] switch_core_media.c:8765 Audio params changed for sofia/default/990010@astppqa606.astppbilling.org:5076 from 103.240.35.46:8000 to 0.0.0.0:8000
  830. 2022-12-09 11:53:35.177266 90.97% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/990010@astppqa606.astppbilling.org:5076] 142.132.184.134 port 23370 -> 0.0.0.0 port 8000 codec: 8 ms: 20
  831. 2022-12-09 11:53:35.177266 90.97% [DEBUG] switch_core_media.c:8806 AUDIO RTP CHANGING DEST TO: [0.0.0.0:8000]
  832. 2022-12-09 11:53:35.177266 90.97% [DEBUG] sofia.c:8454 Processing updated SDP
  833. 2022-12-09 11:53:35.197255 90.97% [DEBUG] sofia.c:7499 Channel sofia/default/990010@astppqa606.astppbilling.org:5076 entering state [completed][200]
  834. 2022-12-09 11:53:35.317234 90.97% [DEBUG] sofia.c:7499 Channel sofia/default/990010@astppqa606.astppbilling.org:5076 entering state [ready][200]
  835. 2022-12-09 11:53:37.497236 92.53% [NOTICE] sofia_reg.c:459 Registering 813646
  836. 2022-12-09 11:53:37.497236 92.53% [ERR] sofia_reg.c:2677 813646 Failed Registration with status Service Unavailable [503]. failure #160
  837. 2022-12-09 11:53:38.517234 92.63% [WARNING] sofia_reg.c:516 813646 Failed Registration [503], setting retry to 30 seconds.
  838. 2022-12-09 11:53:49.537250 93.60% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur.
  839. 2022-12-09 11:54:06.677236 90.73% [NOTICE] sofia.c:1065 Hangup sofia/default/24949@103.240.35.46:34053 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  840. 2022-12-09 11:54:06.677236 90.73% [DEBUG] switch_ivr_play_say.c:2001 done playing file local_stream://QAAA
  841. 2022-12-09 11:54:06.677236 90.73% [DEBUG] switch_core_session.c:2983 sofia/default/24949@103.240.35.46:34053 skip receive message [PHONE_EVENT] (channel is hungup already)
  842. 2022-12-09 11:54:06.677236 90.73% [DEBUG] switch_ivr_bridge.c:568 sofia/default/24949@103.240.35.46:34053 skip receive message [BRIDGE] (channel is hungup already)
  843. 2022-12-09 11:54:06.677236 90.73% [DEBUG] switch_ivr.c:679 sofia/default/24949@103.240.35.46:34053 skip receive message [VIDEO_SYNC] (channel is hungup already)
  844. 2022-12-09 11:54:06.677236 90.73% [DEBUG] switch_ivr_bridge.c:826 sofia/default/24949@103.240.35.46:34053 ending bridge by request from read function
  845. 2022-12-09 11:54:06.677236 90.73% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/24949@103.240.35.46:34053]
  846. 2022-12-09 11:54:06.677236 90.73% [DEBUG] switch_core_state_machine.c:650 (sofia/default/24949@103.240.35.46:34053) State EXCHANGE_MEDIA going to sleep
  847. 2022-12-09 11:54:06.677236 90.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/24949@103.240.35.46:34053) Running State Change CS_HANGUP (Cur 2 Tot 129)
  848. 2022-12-09 11:54:06.677236 90.73% [DEBUG] switch_core_state_machine.c:844 (sofia/default/24949@103.240.35.46:34053) Callstate Change ACTIVE -> HANGUP
  849. 2022-12-09 11:54:06.677236 90.73% [DEBUG] switch_core_state_machine.c:846 (sofia/default/24949@103.240.35.46:34053) State HANGUP
  850. 2022-12-09 11:54:06.677236 90.73% [DEBUG] mod_sofia.c:468 Channel sofia/default/24949@103.240.35.46:34053 hanging up, cause: NORMAL_CLEARING
  851. 2022-12-09 11:54:06.677236 90.73% [DEBUG] switch_core_state_machine.c:59 sofia/default/24949@103.240.35.46:34053 Standard HANGUP, cause: NORMAL_CLEARING
  852. 2022-12-09 11:54:06.677236 90.73% [DEBUG] switch_core_state_machine.c:846 (sofia/default/24949@103.240.35.46:34053) State HANGUP going to sleep
  853. 2022-12-09 11:54:06.677236 90.73% [DEBUG] switch_core_state_machine.c:616 (sofia/default/24949@103.240.35.46:34053) State Change CS_HANGUP -> CS_REPORTING
  854. 2022-12-09 11:54:06.677236 90.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/24949@103.240.35.46:34053) Running State Change CS_REPORTING (Cur 2 Tot 129)
  855. 2022-12-09 11:54:06.677236 90.73% [DEBUG] switch_core_state_machine.c:932 (sofia/default/24949@103.240.35.46:34053) State REPORTING
  856. 2022-12-09 11:54:06.677236 90.73% [INFO] mod_json_cdr.c:271 Process [09d2e251-6ee4-4282-b367-1697d58aec88.cdr.json]
  857. 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/990010@astppqa606.astppbilling.org:5076]
  858. 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_channel.c:2160 (sofia/default/990010@astppqa606.astppbilling.org:5076) Callstate Change HELD -> UNHELD
  859. 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/24949@103.240.35.46:34053 skip receive message [UNBRIDGE] (channel is hungup already)
  860. 2022-12-09 11:54:06.697224 90.73% [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/default/990010@astppqa606.astppbilling.org:5076 [CS_EXECUTE] [NORMAL_CLEARING]
  861. 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_core_session.c:2983 sofia/default/990010@astppqa606.astppbilling.org:5076 skip receive message [PHONE_EVENT] (channel is hungup already)
  862. 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_core_state_machine.c:647 (sofia/default/990010@astppqa606.astppbilling.org:5076) State EXECUTE going to sleep
  863. 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990010@astppqa606.astppbilling.org:5076) Running State Change CS_HANGUP (Cur 2 Tot 129)
  864. 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_core_state_machine.c:844 (sofia/default/990010@astppqa606.astppbilling.org:5076) Callstate Change UNHELD -> HANGUP
  865. 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_core_state_machine.c:846 (sofia/default/990010@astppqa606.astppbilling.org:5076) State HANGUP
  866. 2022-12-09 11:54:06.697224 90.73% [DEBUG] mod_sofia.c:462 sofia/default/990010@astppqa606.astppbilling.org:5076 Overriding SIP cause 480 with 200 from the other leg
  867. 2022-12-09 11:54:06.697224 90.73% [DEBUG] mod_sofia.c:468 Channel sofia/default/990010@astppqa606.astppbilling.org:5076 hanging up, cause: NORMAL_CLEARING
  868. 2022-12-09 11:54:06.697224 90.73% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/990010@astppqa606.astppbilling.org:5076
  869. 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_core_state_machine.c:59 sofia/default/990010@astppqa606.astppbilling.org:5076 Standard HANGUP, cause: NORMAL_CLEARING
  870. 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_core_state_machine.c:846 (sofia/default/990010@astppqa606.astppbilling.org:5076) State HANGUP going to sleep
  871. 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_core_state_machine.c:616 (sofia/default/990010@astppqa606.astppbilling.org:5076) State Change CS_HANGUP -> CS_REPORTING
  872. 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990010@astppqa606.astppbilling.org:5076) Running State Change CS_REPORTING (Cur 2 Tot 129)
  873. 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_core_state_machine.c:932 (sofia/default/990010@astppqa606.astppbilling.org:5076) State REPORTING
  874. 2022-12-09 11:54:06.697224 90.73% [INFO] mod_json_cdr.c:271 Process [6ecccff0-bbbe-4589-b800-0cb831b5bff2.cdr.json]
  875. 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_core_state_machine.c:168 sofia/default/24949@103.240.35.46:34053 Standard REPORTING, cause: NORMAL_CLEARING
  876. 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_core_state_machine.c:932 (sofia/default/24949@103.240.35.46:34053) State REPORTING going to sleep
  877. 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_core_state_machine.c:607 (sofia/default/24949@103.240.35.46:34053) State Change CS_REPORTING -> CS_DESTROY
  878. 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_core_session.c:1753 Session 129 (sofia/default/24949@103.240.35.46:34053) Locked, Waiting on external entities
  879. 2022-12-09 11:54:06.697224 90.73% [NOTICE] switch_core_session.c:1771 Session 129 (sofia/default/24949@103.240.35.46:34053) Ended
  880. 2022-12-09 11:54:06.697224 90.73% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/24949@103.240.35.46:34053 [CS_DESTROY]
  881. 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_core_state_machine.c:735 (sofia/default/24949@103.240.35.46:34053) Running State Change CS_DESTROY (Cur 1 Tot 129)
  882. 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_core_state_machine.c:745 (sofia/default/24949@103.240.35.46:34053) State DESTROY
  883. 2022-12-09 11:54:06.697224 90.73% [DEBUG] mod_sofia.c:379 sofia/default/24949@103.240.35.46:34053 SOFIA DESTROY
  884. 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_core_state_machine.c:175 sofia/default/24949@103.240.35.46:34053 Standard DESTROY
  885. 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_core_state_machine.c:745 (sofia/default/24949@103.240.35.46:34053) State DESTROY going to sleep
  886. 2022-12-09 11:54:06.737248 90.73% [DEBUG] switch_core_state_machine.c:168 sofia/default/990010@astppqa606.astppbilling.org:5076 Standard REPORTING, cause: NORMAL_CLEARING
  887. 2022-12-09 11:54:06.737248 90.73% [DEBUG] switch_core_state_machine.c:932 (sofia/default/990010@astppqa606.astppbilling.org:5076) State REPORTING going to sleep
  888. 2022-12-09 11:54:06.737248 90.73% [DEBUG] switch_core_state_machine.c:607 (sofia/default/990010@astppqa606.astppbilling.org:5076) State Change CS_REPORTING -> CS_DESTROY
  889. 2022-12-09 11:54:06.737248 90.73% [DEBUG] switch_core_session.c:1753 Session 127 (sofia/default/990010@astppqa606.astppbilling.org:5076) Locked, Waiting on external entities
  890. 2022-12-09 11:54:06.737248 90.73% [NOTICE] switch_core_session.c:1771 Session 127 (sofia/default/990010@astppqa606.astppbilling.org:5076) Ended
  891. 2022-12-09 11:54:06.737248 90.73% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/990010@astppqa606.astppbilling.org:5076 [CS_DESTROY]
  892. 2022-12-09 11:54:06.737248 90.73% [DEBUG] switch_core_state_machine.c:735 (sofia/default/990010@astppqa606.astppbilling.org:5076) Running State Change CS_DESTROY (Cur 0 Tot 129)
  893. 2022-12-09 11:54:06.737248 90.73% [DEBUG] switch_core_state_machine.c:745 (sofia/default/990010@astppqa606.astppbilling.org:5076) State DESTROY
  894. 2022-12-09 11:54:06.737248 90.73% [DEBUG] mod_sofia.c:379 sofia/default/990010@astppqa606.astppbilling.org:5076 SOFIA DESTROY
  895. 2022-12-09 11:54:06.737248 90.73% [DEBUG] switch_core_state_machine.c:175 sofia/default/990010@astppqa606.astppbilling.org:5076 Standard DESTROY
  896. 2022-12-09 11:54:06.737248 90.73% [DEBUG] switch_core_state_machine.c:745 (sofia/default/990010@astppqa606.astppbilling.org:5076) State DESTROY going to sleep
  897. 2022-12-09 11:54:06.777231 90.73% [DEBUG] switch_scheduler.c:147 Deleting task 42 switch_ivr_schedule_hangup (09d2e251-6ee4-4282-b367-1697d58aec88)
  898. freeswitch@BetaQA>
  899. freeswitch@BetaQA>
  900. freeswitch@BetaQA>
  901. freeswitch@BetaQA>