From Prashant Kumar, 5 Months ago, written in FreeSWITCH.
- view diff
Embed
  1.  
  2. +OK log level  [7]
  3. 2023-11-10 03:48:55.354358 94.67% [NOTICE] switch_channel.c:1123 New Channel sofia/default/+9191000091@13.232.246.166 [e738b819-0d6d-4729-897f-20b4eca77958]
  4. 2023-11-10 03:48:55.354358 94.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+9191000091@13.232.246.166) Running State Change CS_NEW (Cur 1 Tot 12567)
  5. 2023-11-10 03:48:55.354358 94.67% [INFO] sofia.c:10462 sofia/default/+9191000091@13.232.246.166 receiving invite from 78.47.101.152:5073 version: 1.10.7 -release 64bit call-id: DLGCH_KkldDGZ6MmNiFgRfNmRhYXwTSF9icGN+f0IGVzB9MzUrEVRa
  6. 2023-11-10 03:48:55.354358 94.67% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 78.47.101.152:0.
  7. 2023-11-10 03:48:55.354358 94.67% [DEBUG] sofia.c:10585 IP 78.47.101.152 Approved by acl "default[]". Access Granted.
  8. 2023-11-10 03:48:55.354358 94.67% [DEBUG] sofia.c:7499 Channel sofia/default/+9191000091@13.232.246.166 entering state [received][100]
  9. 2023-11-10 03:48:55.354358 94.67% [DEBUG] sofia.c:7509 Remote SDP:
  10. v=0
  11. o=FreeSWITCH 1699557987 1699557988 IN IP4 78.47.101.152
  12. s=FreeSWITCH
  13. c=IN IP4 78.47.101.152
  14. t=0 0
  15. m=audio 34936 RTP/AVP 8 101
  16. a=rtpmap:8 PCMA/8000
  17. a=rtpmap:101 telephone-event/8000
  18. a=fmtp:101 0-15
  19. a=rtcp:34937
  20. a=ptime:20
  21.  
  22. 2023-11-10 03:48:55.354358 94.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  23. 2023-11-10 03:48:55.354358 94.67% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  24. 2023-11-10 03:48:55.354358 94.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  25. 2023-11-10 03:48:55.354358 94.67% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  26. 2023-11-10 03:48:55.354358 94.67% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/+9191000091@13.232.246.166 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  27. 2023-11-10 03:48:55.354358 94.67% [DEBUG] switch_core_codec.c:111 sofia/default/+9191000091@13.232.246.166 Original read codec set to PCMA:8
  28. 2023-11-10 03:48:55.354358 94.67% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  29. 2023-11-10 03:48:55.354358 94.67% [DEBUG] switch_core_media.c:5973 sofia/default/+9191000091@13.232.246.166 Set 2833 dtmf send payload to 101 recv payload to 101
  30. 2023-11-10 03:48:55.354358 94.67% [DEBUG] sofia.c:7933 (sofia/default/+9191000091@13.232.246.166) State Change CS_NEW -> CS_INIT
  31. 2023-11-10 03:48:55.354358 94.67% [DEBUG] switch_core_state_machine.c:600 (sofia/default/+9191000091@13.232.246.166) State NEW
  32. 2023-11-10 03:48:55.354358 94.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+9191000091@13.232.246.166) Running State Change CS_INIT (Cur 1 Tot 12567)
  33. 2023-11-10 03:48:55.354358 94.67% [DEBUG] switch_core_state_machine.c:624 (sofia/default/+9191000091@13.232.246.166) State INIT
  34. 2023-11-10 03:48:55.354358 94.67% [DEBUG] mod_sofia.c:97 sofia/default/+9191000091@13.232.246.166 SOFIA INIT
  35. 2023-11-10 03:48:55.354358 94.67% [DEBUG] switch_core_state_machine.c:40 sofia/default/+9191000091@13.232.246.166 Standard INIT
  36. 2023-11-10 03:48:55.354358 94.67% [DEBUG] switch_core_state_machine.c:48 (sofia/default/+9191000091@13.232.246.166) State Change CS_INIT -> CS_ROUTING
  37. 2023-11-10 03:48:55.354358 94.67% [DEBUG] switch_core_state_machine.c:624 (sofia/default/+9191000091@13.232.246.166) State INIT going to sleep
  38. 2023-11-10 03:48:55.354358 94.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+9191000091@13.232.246.166) Running State Change CS_ROUTING (Cur 1 Tot 12567)
  39. 2023-11-10 03:48:55.354358 94.67% [DEBUG] switch_channel.c:2380 (sofia/default/+9191000091@13.232.246.166) Callstate Change DOWN -> RINGING
  40. 2023-11-10 03:48:55.354358 94.67% [DEBUG] switch_core_state_machine.c:640 (sofia/default/+9191000091@13.232.246.166) State ROUTING
  41. 2023-11-10 03:48:55.354358 94.67% [DEBUG] mod_sofia.c:158 sofia/default/+9191000091@13.232.246.166 SOFIA ROUTING
  42. 2023-11-10 03:48:55.354358 94.67% [DEBUG] switch_core_state_machine.c:230 sofia/default/+9191000091@13.232.246.166 Standard ROUTING
  43. 2023-11-10 03:48:55.354358 94.67% [INFO] mod_dialplan_xml.c:639 Processing +9191000091 <+9191000091>->701077 in context default
  44. 2023-11-10 03:48:55.374326 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  45. 2023-11-10 03:48:55.394333 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  46. 2023-11-10 03:48:55.394333 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
  47. 2023-11-10 03:48:55.394333 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  48. 2023-11-10 03:48:55.414326 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  49. 2023-11-10 03:48:55.414326 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 701077
  50. 2023-11-10 03:48:55.414326 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '701077' limit 1
  51. 2023-11-10 03:48:55.414326 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '701077' AND status=0 limit 1
  52. 2023-11-10 03:48:55.414326 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '701077' and status=0 LIMIT 1
  53. 2023-11-10 03:48:55.414326 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+ClusterServer
  54. 2023-11-10 03:48:55.414326 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  55. 2023-11-10 03:48:55.414326 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '78.47.101.152' limit 1
  56. 2023-11-10 03:48:55.414326 94.67% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  57. 2023-11-10 03:48:55.414326 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : "+9191000091" / +9191000091
  58. 2023-11-10 03:48:55.414326 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number
  59. 2023-11-10 03:48:55.414326 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 701077 AND status=0 limit 1
  60. 2023-11-10 03:48:55.414326 94.67% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="701077" LIMIT 1
  61. 2023-11-10 03:48:55.414326 94.67% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="701077" LIMIT 1
  62. 2023-11-10 03:48:55.434325 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  63. 2023-11-10 03:48:55.434325 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  64. 2023-11-10 03:48:55.434325 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  65. 2023-11-10 03:48:55.434325 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 13.232.246.166
  66. 2023-11-10 03:48:55.434325 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9000100044]
  67. 2023-11-10 03:48:55.434325 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "9000100044" OR id = "9000100044") AND deleted = 0 limit 1
  68. 2023-11-10 03:48:55.434325 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =10
  69. 2023-11-10 03:48:55.454344 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="701077" AND (accountid = 0 OR status = 1) LIMIT 1
  70. 2023-11-10 03:48:55.454344 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  71. 2023-11-10 03:48:55.454344 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 10
  72. 2023-11-10 03:48:55.454344 94.67% [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 = '^701077.*' OR patterns = '^70107.*' OR patterns = '^7010.*' OR patterns = '^701.*' OR patterns = '^70.*' OR patterns = '^7.*' OR patterns ='--') AND accountid = 10 ORDER BY LENGTH(PKGPTR.patterns) DESC
  73. 2023-11-10 03:48:55.474341 94.67% [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 ="701077" AND A.accountid = '10' limit 1
  74. 2023-11-10 03:48:55.474341 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 701077
  75. 2023-11-10 03:48:55.474341 94.67% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="701077" LIMIT 1
  76. 2023-11-10 03:48:55.494341 94.67% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="701077" LIMIT 1
  77. 2023-11-10 03:48:55.494341 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  78. 2023-11-10 03:48:55.514371 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  79. 2023-11-10 03:48:55.514371 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  80. 2023-11-10 03:48:55.514371 94.67% [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 = '701077' OR number = '70107' OR number = '7010' OR number = '701' OR number = '70' OR number = '7' OR number ='--') OR (number = '701077*' OR number = '70107*' OR number = '7010*' OR number = '701*' OR number = '70*' OR number = '7*' OR number ='--') OR (number = '+9191000091' OR number = '+919100009' OR number = '+91910000' OR number = '+9191000' OR number = '+919100' OR number = '+91910' OR number = '+9191' OR number = '+919' OR number = '+91' OR number = '+9' OR number = '+' OR number ='--') OR (number = '+9191000091*' OR number = '+919100009*' OR number = '+91910000*' OR number = '+9191000*' OR number = '+919100*' OR number = '+91910*' OR number = '+9191*' OR number = '+919*' OR number = '+91*' OR number = '+9*' OR number = '+*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  81. 2023-11-10 03:48:55.534349 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  82. 2023-11-10 03:48:55.534349 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '701077' OR routing_prefix = '70107' OR routing_prefix = '7010' OR routing_prefix = '701' OR routing_prefix = '70' OR routing_prefix = '7' OR routing_prefix ='--') AND status = 0 and reseller_id = 9 limit 1
  83. 2023-11-10 03:48:55.554330 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  84. 2023-11-10 03:48:55.554330 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 10
  85. 2023-11-10 03:48:55.554330 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9000100044
  86. 2023-11-10 03:48:55.554330 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =10
  87. 2023-11-10 03:48:55.574359 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 47695.49
  88. 2023-11-10 03:48:55.574359 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  89. 2023-11-10 03:48:55.574359 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 3
  90. 2023-11-10 03:48:55.574359 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  91. 2023-11-10 03:48:55.574359 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  92. 2023-11-10 03:48:55.574359 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0
  93. 2023-11-10 03:48:55.574359 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  94. 2023-11-10 03:48:55.574359 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :0.....701077
  95. 2023-11-10 03:48:55.574359 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_RESELLER] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.connectcost,A.includedseconds,A.cost,C.reseller_cost as reseller_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,A.always as always,A.always_destination as always_destination,D.id as product_id FROM dids AS A,accounts AS B, reseller_products AS C, products AS D WHERE B.status=0 AND B.deleted=0 AND A.product_id=C.product_id AND A.parent_id=C.account_id AND B.id=A.accountid AND A.number ="701077" LIMIT 1
  96. 2023-11-10 03:48:55.594359 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  97. 2023-11-10 03:48:55.594359 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  98. 2023-11-10 03:48:55.594359 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3
  99. 2023-11-10 03:48:55.594359 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  100. 2023-11-10 03:48:55.594359 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  101. 2023-11-10 03:48:55.594359 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.22000
  102. 2023-11-10 03:48:55.594359 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 701077
  103. 2023-11-10 03:48:55.594359 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 159
  104. 2023-11-10 03:48:55.594359 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 10
  105. 2023-11-10 03:48:55.594359 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  106. 2023-11-10 03:48:55.594359 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =10
  107. 2023-11-10 03:48:55.614337 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your47695.49 balance Accountid 10 !!!
  108. 2023-11-10 03:48:55.614337 94.67% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  109. 2023-11-10 03:48:55.614337 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Monthly call credit limit : 4852.5327868852
  110. 2023-11-10 03:48:55.614337 94.67% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 9
  111. 2023-11-10 03:48:55.614337 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "9" OR number = "9") AND deleted = 0 limit 1
  112. 2023-11-10 03:48:55.634351 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =10
  113. 2023-11-10 03:48:55.654366 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
  114. 2023-11-10 03:48:55.654366 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 9
  115. 2023-11-10 03:48:55.654366 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9000100033
  116. 2023-11-10 03:48:55.654366 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =10
  117. 2023-11-10 03:48:55.674331 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 47695.49
  118. 2023-11-10 03:48:55.674331 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  119. 2023-11-10 03:48:55.674331 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 3
  120. 2023-11-10 03:48:55.674331 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0
  121. 2023-11-10 03:48:55.674331 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  122. 2023-11-10 03:48:55.674331 94.67% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="701077" LIMIT 1
  123. 2023-11-10 03:48:55.674331 94.67% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="701077" LIMIT 1
  124. 2023-11-10 03:48:55.694340 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  125. 2023-11-10 03:48:55.714329 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  126. 2023-11-10 03:48:55.734364 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  127. 2023-11-10 03:48:55.734364 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  128. 2023-11-10 03:48:55.734364 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3
  129. 2023-11-10 03:48:55.734364 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  130. 2023-11-10 03:48:55.734364 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  131. 2023-11-10 03:48:55.734364 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.22000
  132. 2023-11-10 03:48:55.734364 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 701077
  133. 2023-11-10 03:48:55.734364 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 159
  134. 2023-11-10 03:48:55.734364 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
  135. 2023-11-10 03:48:55.734364 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  136. 2023-11-10 03:48:55.734364 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =10
  137. 2023-11-10 03:48:55.754357 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your47695.49 balance Accountid 9 !!!
  138. 2023-11-10 03:48:55.754357 94.67% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  139. 2023-11-10 03:48:55.754357 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Monthly call credit limit : 4909.8032786885
  140. 2023-11-10 03:48:55.754357 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] check_routing_type for resellers origination rates  
  141. 2023-11-10 03:48:55.754357 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:3|CODE:^701077.*|DESTINATION:701077|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:1.22000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:159|ACCID:10||ID:3|CODE:^701077.*|DESTINATION:701077|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:1.22000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:159|ACCID:9
  142. 2023-11-10 03:48:55.754357 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  143. 2023-11-10 03:48:55.754357 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 1
  144. 2023-11-10 03:48:55.754357 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 4852.5327868852 minutes
  145. 2023-11-10 03:48:55.754357 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  146. 2023-11-10 03:48:55.754357 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  147. 2023-11-10 03:48:55.754357 94.67% [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 = 10 AND status=0 LIMIT 1
  148. 2023-11-10 03:48:55.754357 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "10" OR number = "10") AND deleted = 0 limit 1
  149. 2023-11-10 03:48:55.774361 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =10
  150. 2023-11-10 03:48:55.774361 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:10
  151. 2023-11-10 03:48:55.774361 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:10
  152. 2023-11-10 03:48:55.774361 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 10
  153. 2023-11-10 03:48:55.774361 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 10 limit 1
  154. 2023-11-10 03:48:55.794361 94.67% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : cluster.astppbilling.org
  155. 2023-11-10 03:48:55.794361 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 4852.5327868852
  156. 2023-11-10 03:48:55.794361 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'gw+ClusterServer' and status = 0 limit 1
  157. 2023-11-10 03:48:55.794361 94.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  158. 2023-11-10 03:48:55.814355 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  159. 2023-11-10 03:48:55.814355 94.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  160. 2023-11-10 03:48:55.814355 94.67% [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
  161. 2023-11-10 03:48:55.834355 94.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as redial] destination_number :701077
  162. 2023-11-10 03:48:55.834355 94.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as return] destination_number :701077
  163. 2023-11-10 03:48:55.834355 94.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 10 limit 1
  164. 2023-11-10 03:48:55.854334 94.20% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : cluster.astppbilling.org
  165. 2023-11-10 03:48:55.854334 94.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_10
  166. 2023-11-10 03:48:55.854334 94.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : 10
  167. 2023-11-10 03:48:55.854334 94.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : IVR
  168. 2023-11-10 03:48:55.854334 94.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_IVR_INFO] Query :SELECT * from pbx_ivr_specification WHERE id = 1 and status=0 LIMIT 1
  169. 2023-11-10 03:48:55.854334 94.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '' LIMIT 1
  170. 2023-11-10 03:48:55.874348 94.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  171. <document type="freeswitch/xml">
  172. <section name="dialplan" description="ASTPP Dialplan">
  173. <context name="default">
  174. <extension name="701077">
  175. <condition field="destination_number" expression="701077">
  176. <action application="set" data="effective_destination_number=701077"/>
  177. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  178. <action application="set" data="bridge_pre_execute_bleg_data=+291151.96721311 normal_clearing"/>
  179. <action application="set" data="notify_flag=0"/>
  180. <action application="set" data="notify_credit_limit=5.00000"/>
  181. <action application="set" data="type=0"/>
  182. <action application="set" data="callstart=2023-11-10 03:48:55"/>
  183. <action application="set" data="hangup_after_bridge=true"/>
  184. <action application="set" data="continue_on_fail=TRUE"/>
  185. <action application="set" data="account_id=10"/>
  186. <action application="set" data="parent_id=9"/>
  187. <action application="set" data="entity_id=0"/>
  188. <action application="set" data="call_processed=internal"/>
  189. <action application="set" data="call_direction=inbound"/>
  190. <action application="set" data="accountname=default"/>
  191. <action application="set" data="filename1=astpp.pbx.lua"/>
  192. <action application="set" data="origination_rates_did=ID:3|CODE:^701077.*|DESTINATION:701077|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:1.22000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:159|ACCID:10||ID:3|CODE:^701077.*|DESTINATION:701077|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:1.22000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:159|ACCID:9"/>
  193. <action application="set" data="origination_rates=0"/>
  194. <action application="set" data="original_caller_id_name="+9191000091""/>
  195. <action application="set" data="original_caller_id_number=+9191000091"/>
  196. <action application="hash" data="insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}"/>
  197. <action application="hash" data="insert/${domain_name}-call_return/${destination_number}/${caller_id_number}"/>
  198. <action application="set" data="effective_caller_id_name="+9191000091""/>
  199. <action application="set" data="effective_caller_id_number=+9191000091"/>
  200. <action application="set" data="receiver_accid=10"/>
  201. <action application="set" data="did_id=3"/>
  202. <action application="set" data="transfer_call_type=5"/>
  203. <action application="set" data="transfer_extensions=2622423679"/>
  204. <action application="set" data="busy_status=0"/>
  205. <action application="set" data="no_answer_status=1"/>
  206. <action application="set" data="always_status=1"/>
  207. <action application="set" data="transfer_status=1"/>
  208. <action application="set" data="variable_sip_to_host=${domain_name}"/>
  209. <action application="set" data="variable_sip_network_ip=78.47.101.152"/>
  210. <action application="set" data="variable_sip_network_port=5073"/>
  211. <action application="export" data="domain_name=cluster.astppbilling.org"/>
  212. <action application="export" data="sip_to_host=cluster.astppbilling.org"/>
  213. <action application="export" data="presence_data=x//9|||PK Reseller customer QA(9000100044)|||^701077.* // 701077 // 1.22000|||||||||DID|||13.232.246.166"/>
  214. <action application="export" data="call_type=10"/>
  215. <action application="set" data="did_calltype=10"/>
  216. <action application="set" data="did_extensions=1"/>
  217. <action application="set" data="daily_call_credit_limit=6000.00000"/>
  218. <action application="set" data="monthly_call_credit_limit=8000.00000"/>
  219. <action application="set" data="daily_call_used_limit=2.44000"/>
  220. <action application="set" data="monthly_call_used_limit=2079.91000"/>
  221. <action application="set" data="ringback="/>
  222. <action application="set" data="module_name=pbx"/>
  223. <action application="set" data="sip_h_P-call_type=custom_forward"/>
  224. <action application="set" data="sip_h_P-Accountcode=10"/>
  225. <action application="set" data="no_answer_number=10"/>
  226. <action application="export" data="no_answer_number=10"/>
  227. <action application="set" data="no_answer_did_number=701077" inline="true"/>
  228. <action application="set" data="no_answer_call_type=extension"/>
  229. <action application="set" data="no_answer_call_type_value=10"/>
  230. <action application="set" data="opensips_flag=0"/>
  231. <action application="set" data="originate_disposition=no_key_press"/>
  232. <action application="set" data="variable_sip_to_host=cluster.astppbilling.org"/>
  233. <action application="set" data="userinfo_id=10"/>
  234. <action application="set" data="variable_sip_to_host=cluster.astppbilling.org"/>
  235. <action application="set" data="original_did_number=701077"/>
  236.     <action application="answer"/>
  237. <action application="ivr" data="IVRPK9"/>
  238. <action application="lua" data="astpp/lib/pbx/astpp-failover_ivr_destination.lua"/>
  239. </condition>
  240. </extension>
  241. </context>
  242. </section>
  243. </document>
  244. Dialplan: sofia/default/+9191000091@13.232.246.166 parsing [default->701077] continue=false
  245. Dialplan: sofia/default/+9191000091@13.232.246.166 Regex (PASS) [701077] destination_number(701077) =~ /701077/ break=on-false
  246. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(effective_destination_number=701077)
  247. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  248. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(bridge_pre_execute_bleg_data=+291151.96721311 normal_clearing)
  249. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(notify_flag=0)
  250. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(notify_credit_limit=5.00000)
  251. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(type=0)
  252. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(callstart=2023-11-10 03:48:55)
  253. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(hangup_after_bridge=true)
  254. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(continue_on_fail=TRUE)
  255. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(account_id=10)
  256. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(parent_id=9)
  257. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(entity_id=0)
  258. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(call_processed=internal)
  259. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(call_direction=inbound)
  260. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(accountname=default)
  261. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(filename1=astpp.pbx.lua)
  262. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(origination_rates_did=ID:3|CODE:^701077.*|DESTINATION:701077|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:1.22000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:159|ACCID:10||ID:3|CODE:^701077.*|DESTINATION:701077|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:1.22000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:159|ACCID:9)
  263. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(origination_rates=0)
  264. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(original_caller_id_name=)
  265. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(original_caller_id_number=+9191000091)
  266. Dialplan: sofia/default/+9191000091@13.232.246.166 Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number})
  267. Dialplan: sofia/default/+9191000091@13.232.246.166 Action hash(insert/${domain_name}-call_return/${destination_number}/${caller_id_number})
  268. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(effective_caller_id_name=)
  269. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(effective_caller_id_number=+9191000091)
  270. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(receiver_accid=10)
  271. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(did_id=3)
  272. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(transfer_call_type=5)
  273. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(transfer_extensions=2622423679)
  274. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(busy_status=0)
  275. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(no_answer_status=1)
  276. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(always_status=1)
  277. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(transfer_status=1)
  278. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(variable_sip_to_host=${domain_name})
  279. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(variable_sip_network_ip=78.47.101.152)
  280. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(variable_sip_network_port=5073)
  281. Dialplan: sofia/default/+9191000091@13.232.246.166 Action export(domain_name=cluster.astppbilling.org)
  282. Dialplan: sofia/default/+9191000091@13.232.246.166 Action export(sip_to_host=cluster.astppbilling.org)
  283. Dialplan: sofia/default/+9191000091@13.232.246.166 Action export(presence_data=x//9|||PK Reseller customer QA(9000100044)|||^701077.* // 701077 // 1.22000|||||||||DID|||13.232.246.166)
  284. Dialplan: sofia/default/+9191000091@13.232.246.166 Action export(call_type=10)
  285. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(did_calltype=10)
  286. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(did_extensions=1)
  287. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(daily_call_credit_limit=6000.00000)
  288. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(monthly_call_credit_limit=8000.00000)
  289. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(daily_call_used_limit=2.44000)
  290. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(monthly_call_used_limit=2079.91000)
  291. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(ringback=)
  292. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(module_name=pbx)
  293. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(sip_h_P-call_type=custom_forward)
  294. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(sip_h_P-Accountcode=10)
  295. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(no_answer_number=10)
  296. Dialplan: sofia/default/+9191000091@13.232.246.166 Action export(no_answer_number=10)
  297. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(no_answer_did_number=701077) INLINE
  298. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(no_answer_did_number=701077)
  299. 2023-11-10 03:48:55.874348 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [no_answer_did_number]=[701077]
  300. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(no_answer_call_type=extension)
  301. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(no_answer_call_type_value=10)
  302. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(opensips_flag=0)
  303. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(originate_disposition=no_key_press)
  304. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(variable_sip_to_host=cluster.astppbilling.org)
  305. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(userinfo_id=10)
  306. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(variable_sip_to_host=cluster.astppbilling.org)
  307. Dialplan: sofia/default/+9191000091@13.232.246.166 Action set(original_did_number=701077)
  308. Dialplan: sofia/default/+9191000091@13.232.246.166 Action answer()
  309. Dialplan: sofia/default/+9191000091@13.232.246.166 Action ivr(IVRPK9)
  310. Dialplan: sofia/default/+9191000091@13.232.246.166 Action lua(astpp/lib/pbx/astpp-failover_ivr_destination.lua)
  311. 2023-11-10 03:48:55.874348 94.20% [DEBUG] switch_core_state_machine.c:281 (sofia/default/+9191000091@13.232.246.166) State Change CS_ROUTING -> CS_EXECUTE
  312. 2023-11-10 03:48:55.874348 94.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/+9191000091@13.232.246.166) State ROUTING going to sleep
  313. 2023-11-10 03:48:55.874348 94.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+9191000091@13.232.246.166) Running State Change CS_EXECUTE (Cur 1 Tot 12567)
  314. 2023-11-10 03:48:55.874348 94.20% [DEBUG] switch_core_state_machine.c:647 (sofia/default/+9191000091@13.232.246.166) State EXECUTE
  315. 2023-11-10 03:48:55.874348 94.20% [DEBUG] mod_sofia.c:213 sofia/default/+9191000091@13.232.246.166 SOFIA EXECUTE
  316. 2023-11-10 03:48:55.874348 94.20% [DEBUG] switch_core_state_machine.c:323 sofia/default/+9191000091@13.232.246.166 Standard EXECUTE
  317. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(effective_destination_number=701077)
  318. 2023-11-10 03:48:55.874348 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [effective_destination_number]=[701077]
  319. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(bridge_pre_execute_bleg_app=sched_hangup)
  320. 2023-11-10 03:48:55.874348 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [bridge_pre_execute_bleg_app]=[sched_hangup]
  321. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(bridge_pre_execute_bleg_data=+291151.96721311 normal_clearing)
  322. 2023-11-10 03:48:55.874348 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [bridge_pre_execute_bleg_data]=[+291151.96721311 normal_clearing]
  323. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(notify_flag=0)
  324. 2023-11-10 03:48:55.874348 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [notify_flag]=[0]
  325. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(notify_credit_limit=5.00000)
  326. 2023-11-10 03:48:55.874348 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [notify_credit_limit]=[5.00000]
  327. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(type=0)
  328. 2023-11-10 03:48:55.874348 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [type]=[0]
  329. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(callstart=2023-11-10 03:48:55)
  330. 2023-11-10 03:48:55.874348 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [callstart]=[2023-11-10 03:48:55]
  331. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(hangup_after_bridge=true)
  332. 2023-11-10 03:48:55.874348 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [hangup_after_bridge]=[true]
  333. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(continue_on_fail=TRUE)
  334. 2023-11-10 03:48:55.874348 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [continue_on_fail]=[TRUE]
  335. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(account_id=10)
  336. 2023-11-10 03:48:55.874348 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [account_id]=[10]
  337. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(parent_id=9)
  338. 2023-11-10 03:48:55.874348 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [parent_id]=[9]
  339. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(entity_id=0)
  340. 2023-11-10 03:48:55.874348 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [entity_id]=[0]
  341. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(call_processed=internal)
  342. 2023-11-10 03:48:55.874348 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [call_processed]=[internal]
  343. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(call_direction=inbound)
  344. 2023-11-10 03:48:55.874348 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [call_direction]=[inbound]
  345. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(accountname=default)
  346. 2023-11-10 03:48:55.874348 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [accountname]=[default]
  347. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(filename1=astpp.pbx.lua)
  348. 2023-11-10 03:48:55.874348 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [filename1]=[astpp.pbx.lua]
  349. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(origination_rates_did=ID:3|CODE:^701077.*|DESTINATION:701077|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:1.22000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:159|ACCID:10||ID:3|CODE:^701077.*|DESTINATION:701077|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:1.22000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:159|ACCID:9)
  350. 2023-11-10 03:48:55.874348 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [origination_rates_did]=[ID:3|CODE:^701077.*|DESTINATION:701077|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:1.22000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:159|ACCID:10||ID:3|CODE:^701077.*|DESTINATION:701077|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:1.22000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:159|ACCID:9]
  351. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(origination_rates=0)
  352. 2023-11-10 03:48:55.894326 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [origination_rates]=[0]
  353. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(original_caller_id_name=)
  354. 2023-11-10 03:48:55.894326 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [original_caller_id_name]=[UNDEF]
  355. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(original_caller_id_number=+9191000091)
  356. 2023-11-10 03:48:55.894326 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [original_caller_id_number]=[+9191000091]
  357. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 hash(insert/167.235.194.5-last_dial/+9191000091/701077)
  358. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 hash(insert/167.235.194.5-call_return/701077/+9191000091)
  359. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(effective_caller_id_name=)
  360. 2023-11-10 03:48:55.894326 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [effective_caller_id_name]=[UNDEF]
  361. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(effective_caller_id_number=+9191000091)
  362. 2023-11-10 03:48:55.894326 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [effective_caller_id_number]=[+9191000091]
  363. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(receiver_accid=10)
  364. 2023-11-10 03:48:55.894326 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [receiver_accid]=[10]
  365. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(did_id=3)
  366. 2023-11-10 03:48:55.894326 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [did_id]=[3]
  367. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(transfer_call_type=5)
  368. 2023-11-10 03:48:55.894326 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [transfer_call_type]=[5]
  369. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(transfer_extensions=2622423679)
  370. 2023-11-10 03:48:55.894326 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [transfer_extensions]=[2622423679]
  371. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(busy_status=0)
  372. 2023-11-10 03:48:55.894326 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [busy_status]=[0]
  373. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(no_answer_status=1)
  374. 2023-11-10 03:48:55.894326 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [no_answer_status]=[1]
  375. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(always_status=1)
  376. 2023-11-10 03:48:55.894326 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [always_status]=[1]
  377. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(transfer_status=1)
  378. 2023-11-10 03:48:55.894326 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [transfer_status]=[1]
  379. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(variable_sip_to_host=167.235.194.5)
  380. 2023-11-10 03:48:55.894326 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [variable_sip_to_host]=[167.235.194.5]
  381. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(variable_sip_network_ip=78.47.101.152)
  382. 2023-11-10 03:48:55.894326 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [variable_sip_network_ip]=[78.47.101.152]
  383. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(variable_sip_network_port=5073)
  384. 2023-11-10 03:48:55.894326 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [variable_sip_network_port]=[5073]
  385. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 export(domain_name=cluster.astppbilling.org)
  386. 2023-11-10 03:48:55.894326 94.20% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[cluster.astppbilling.org]
  387. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 export(sip_to_host=cluster.astppbilling.org)
  388. 2023-11-10 03:48:55.894326 94.20% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[cluster.astppbilling.org]
  389. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 export(presence_data=x//9|||PK Reseller customer QA(9000100044)|||^701077.* // 701077 // 1.22000|||||||||DID|||13.232.246.166)
  390. 2023-11-10 03:48:55.894326 94.20% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//9|||PK Reseller customer QA(9000100044)|||^701077.* // 701077 // 1.22000|||||||||DID|||13.232.246.166]
  391. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 export(call_type=10)
  392. 2023-11-10 03:48:55.894326 94.20% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[10]
  393. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(did_calltype=10)
  394. 2023-11-10 03:48:55.894326 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [did_calltype]=[10]
  395. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(did_extensions=1)
  396. 2023-11-10 03:48:55.894326 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [did_extensions]=[1]
  397. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(daily_call_credit_limit=6000.00000)
  398. 2023-11-10 03:48:55.894326 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [daily_call_credit_limit]=[6000.00000]
  399. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(monthly_call_credit_limit=8000.00000)
  400. 2023-11-10 03:48:55.894326 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [monthly_call_credit_limit]=[8000.00000]
  401. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(daily_call_used_limit=2.44000)
  402. 2023-11-10 03:48:55.894326 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [daily_call_used_limit]=[2.44000]
  403. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(monthly_call_used_limit=2079.91000)
  404. 2023-11-10 03:48:55.894326 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [monthly_call_used_limit]=[2079.91000]
  405. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(ringback=)
  406. 2023-11-10 03:48:55.894326 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [ringback]=[UNDEF]
  407. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(module_name=pbx)
  408. 2023-11-10 03:48:55.894326 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [module_name]=[pbx]
  409. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(sip_h_P-call_type=custom_forward)
  410. 2023-11-10 03:48:55.894326 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [sip_h_P-call_type]=[custom_forward]
  411. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(sip_h_P-Accountcode=10)
  412. 2023-11-10 03:48:55.894326 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [sip_h_P-Accountcode]=[10]
  413. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(no_answer_number=10)
  414. 2023-11-10 03:48:55.894326 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [no_answer_number]=[10]
  415. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 export(no_answer_number=10)
  416. 2023-11-10 03:48:55.894326 94.20% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [no_answer_number]=[10]
  417. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(no_answer_call_type=extension)
  418. 2023-11-10 03:48:55.894326 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [no_answer_call_type]=[extension]
  419. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(no_answer_call_type_value=10)
  420. 2023-11-10 03:48:55.894326 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [no_answer_call_type_value]=[10]
  421. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(opensips_flag=0)
  422. 2023-11-10 03:48:55.894326 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [opensips_flag]=[0]
  423. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(originate_disposition=no_key_press)
  424. 2023-11-10 03:48:55.894326 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [originate_disposition]=[no_key_press]
  425. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(variable_sip_to_host=cluster.astppbilling.org)
  426. 2023-11-10 03:48:55.894326 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [variable_sip_to_host]=[cluster.astppbilling.org]
  427. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(userinfo_id=10)
  428. 2023-11-10 03:48:55.894326 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [userinfo_id]=[10]
  429. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(variable_sip_to_host=cluster.astppbilling.org)
  430. 2023-11-10 03:48:55.894326 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [variable_sip_to_host]=[cluster.astppbilling.org]
  431. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 set(original_did_number=701077)
  432. 2023-11-10 03:48:55.894326 94.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/+9191000091@13.232.246.166 [original_did_number]=[701077]
  433. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 answer()
  434. 2023-11-10 03:48:55.894326 94.20% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/+9191000091@13.232.246.166] 167.235.194.5 port 22460 -> 78.47.101.152 port 34936 codec: 8 ms: 20
  435. 2023-11-10 03:48:55.894326 94.20% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  436. 2023-11-10 03:48:55.894326 94.20% [DEBUG] switch_core_media.c:8997 Activating RTCP PORT 34937
  437. 2023-11-10 03:48:55.894326 94.20% [DEBUG] switch_rtp.c:5017 RTCP send rate is: 1000 and packet rate is: 20000 Remote Port: 34937
  438. 2023-11-10 03:48:55.894326 94.20% [DEBUG] switch_rtp.c:2776 Setting RTCP remote addr to 78.47.101.152:34937 2
  439. 2023-11-10 03:48:55.894326 94.20% [DEBUG] switch_core_media.c:9089 sofia/default/+9191000091@13.232.246.166 Set 2833 dtmf send payload to 101
  440. 2023-11-10 03:48:55.894326 94.20% [DEBUG] switch_core_media.c:9096 sofia/default/+9191000091@13.232.246.166 Set 2833 dtmf receive payload to 101
  441. 2023-11-10 03:48:55.894326 94.20% [DEBUG] switch_core_media.c:9119 sofia/default/+9191000091@13.232.246.166 Set rtp dtmf delay to 40
  442. 2023-11-10 03:48:55.894326 94.20% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/+9191000091@13.232.246.166:
  443. v=0
  444. o=FreeSWITCH 1699565675 1699565676 IN IP4 167.235.194.5
  445. s=FreeSWITCH
  446. c=IN IP4 167.235.194.5
  447. t=0 0
  448. m=audio 22460 RTP/AVP 8 101
  449. a=rtpmap:8 PCMA/8000
  450. a=rtpmap:101 telephone-event/8000
  451. a=fmtp:101 0-15
  452. a=ptime:20
  453. a=sendrecv
  454. a=rtcp:22461 IN IP4 167.235.194.5
  455.  
  456. 2023-11-10 03:48:55.894326 94.20% [NOTICE] mod_dptools.c:1419 Channel [sofia/default/+9191000091@13.232.246.166] has been answered
  457. 2023-11-10 03:48:55.894326 94.20% [DEBUG] switch_channel.c:3950 (sofia/default/+9191000091@13.232.246.166) Callstate Change RINGING -> ACTIVE
  458. 2023-11-10 03:48:55.894326 94.20% [DEBUG] sofia.c:7499 Channel sofia/default/+9191000091@13.232.246.166 entering state [completed][200]
  459. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 ivr(IVRPK9)
  460. 2023-11-10 03:48:55.934314 94.20% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-exit'
  461. 2023-11-10 03:48:55.934314 94.20% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-sub'
  462. 2023-11-10 03:48:55.934314 94.20% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-exec-app'
  463. 2023-11-10 03:48:55.934314 94.20% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-play-sound'
  464. 2023-11-10 03:48:55.934314 94.20% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-back'
  465. 2023-11-10 03:48:55.934314 94.20% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-top'
  466. 2023-11-10 03:48:55.934314 94.20% [DEBUG] switch_ivr_menu.c:883 building menu 'IVRPK9'
  467. 2023-11-10 03:48:55.934314 94.20% [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '2'
  468. 2023-11-10 03:48:55.934314 94.20% [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '9000100044'
  469. 2023-11-10 03:48:55.934314 94.20% [DEBUG] switch_ivr_menu.c:486 Executing IVR menu IVRPK9
  470. 2023-11-10 03:48:55.934314 94.20% [DEBUG] switch_core_file.c:444 File /var/www/html/astpp/upload/pbx/Ensoniq-ZR-76-06-BreakBt-90_20231110091655.wav sample rate 44100 doesn't match requested rate 8000
  471. 2023-11-10 03:48:55.934314 94.20% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur.
  472. 2023-11-10 03:48:55.934314 94.20% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  473. 2023-11-10 03:48:56.414359 94.20% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  474. 2023-11-10 03:48:56.474351 94.20% [DEBUG] switch_rtp.c:1982 rtcp_stats_init: audio ssrc[575699055] base_seq[21913]
  475. 2023-11-10 03:48:58.594356 93.90% [DEBUG] switch_ivr_play_say.c:2001 done playing file /var/www/html/astpp/upload/pbx/Ensoniq-ZR-76-06-BreakBt-90_20231110091655.wav
  476. 2023-11-10 03:48:58.594356 93.90% [DEBUG] switch_ivr_menu.c:378 waiting for 20/20 digits t/o 2000
  477. 2023-11-10 03:49:00.074361 93.97% [DEBUG] switch_rtp.c:7331 Correct audio RTCP ip/port confirmed.
  478. 2023-11-10 03:49:03.174345 92.97% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 5:960
  479. 2023-11-10 03:49:03.174345 92.97% [INFO] switch_channel.c:527 RECV DTMF 5:960
  480. 2023-11-10 03:49:05.194376 92.77% [DEBUG] switch_ivr_menu.c:425 digits '5'
  481. 2023-11-10 03:49:05.194376 92.77% [DEBUG] switch_ivr_menu.c:658 IVR menu 'IVRPK9' caught invalid input '5'
  482. 2023-11-10 03:49:05.214340 92.77% [DEBUG] switch_core_file.c:444 File /var/www/html/astpp/upload/pbx/Ensoniq-ZR-76-06-BreakBt-90_20231110091655.wav sample rate 44100 doesn't match requested rate 8000
  483. 2023-11-10 03:49:05.214340 92.77% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur.
  484. 2023-11-10 03:49:05.214340 92.77% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  485. 2023-11-10 03:49:07.874368 93.47% [DEBUG] switch_ivr_play_say.c:2001 done playing file /var/www/html/astpp/upload/pbx/Ensoniq-ZR-76-06-BreakBt-90_20231110091655.wav
  486. 2023-11-10 03:49:07.874368 93.47% [DEBUG] switch_ivr_menu.c:378 waiting for 20/20 digits t/o 2000
  487. 2023-11-10 03:49:13.974388 93.30% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 4:960
  488. 2023-11-10 03:49:13.974388 93.30% [INFO] switch_channel.c:527 RECV DTMF 4:960
  489. 2023-11-10 03:49:15.994351 93.27% [DEBUG] switch_ivr_menu.c:425 digits '4'
  490. 2023-11-10 03:49:15.994351 93.27% [DEBUG] switch_ivr_menu.c:658 IVR menu 'IVRPK9' caught invalid input '4'
  491. 2023-11-10 03:49:15.994351 93.27% [DEBUG] switch_ivr_menu.c:508 Maximum failures
  492. 2023-11-10 03:49:15.994351 93.27% [DEBUG] switch_ivr_menu.c:676 exit-sound '(null)'
  493. EXECUTE [depth=0] sofia/default/+9191000091@13.232.246.166 lua(astpp/lib/pbx/astpp-failover_ivr_destination.lua)
  494. 2023-11-10 03:49:16.014328 93.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  495. 2023-11-10 03:49:16.014328 93.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
  496. 2023-11-10 03:49:16.054314 93.27% [WARNING] switch_cpp.cpp:1465 [ASTPP] This Is Last Dispositions no_key_press This Is No Answer Number : 10
  497. 2023-11-10 03:49:16.054314 93.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET multidomain] Query :SELECT  id,recording_id,username,SUBSTRING(dir_params, 1, 1000) AS dir_params FROM sip_devices WHERE id = 10 limit 1
  498. 2023-11-10 03:49:16.054314 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC12]
  499. 2023-11-10 03:49:16.054314 93.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [custom_domain] user_domain :cluster.astppbilling.org
  500. 2023-11-10 03:49:16.054314 93.27% [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="2622423679"  AND domains.domain="cluster.astppbilling.org" limit 1
  501. 2023-11-10 03:49:16.054314 93.27% [ERR] mod_lua.cpp:202 ...scripts/astpp/lib/pbx/astpp-failover_ivr_destination.lua:148: attempt to concatenate global 'variable_sip_to_port' (a nil value)
  502. stack traceback:
  503.         ...scripts/astpp/lib/pbx/astpp-failover_ivr_destination.lua:148: in main chunk
  504. 2023-11-10 03:49:16.054314 93.27% [DEBUG] switch_cpp.cpp:1209 sofia/default/+9191000091@13.232.246.166 destroy/unlink session from object
  505. 2023-11-10 03:49:16.054314 93.27% [NOTICE] switch_core_state_machine.c:382 sofia/default/+9191000091@13.232.246.166 has executed the last dialplan instruction, hanging up.
  506. 2023-11-10 03:49:16.054314 93.27% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/+9191000091@13.232.246.166 [CS_EXECUTE] [NORMAL_CLEARING]
  507. 2023-11-10 03:49:16.054314 93.27% [DEBUG] switch_core_state_machine.c:647 (sofia/default/+9191000091@13.232.246.166) State EXECUTE going to sleep
  508. 2023-11-10 03:49:16.054314 93.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+9191000091@13.232.246.166) Running State Change CS_HANGUP (Cur 1 Tot 12567)
  509. 2023-11-10 03:49:16.054314 93.27% [DEBUG] switch_core_state_machine.c:844 (sofia/default/+9191000091@13.232.246.166) Callstate Change ACTIVE -> HANGUP
  510. 2023-11-10 03:49:16.054314 93.27% [DEBUG] switch_core_state_machine.c:846 (sofia/default/+9191000091@13.232.246.166) State HANGUP
  511. 2023-11-10 03:49:16.054314 93.27% [DEBUG] mod_sofia.c:468 Channel sofia/default/+9191000091@13.232.246.166 hanging up, cause: NORMAL_CLEARING
  512. 2023-11-10 03:49:16.054314 93.27% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/+9191000091@13.232.246.166
  513. 2023-11-10 03:49:16.054314 93.27% [DEBUG] switch_core_state_machine.c:59 sofia/default/+9191000091@13.232.246.166 Standard HANGUP, cause: NORMAL_CLEARING
  514. 2023-11-10 03:49:16.054314 93.27% [DEBUG] switch_core_state_machine.c:846 (sofia/default/+9191000091@13.232.246.166) State HANGUP going to sleep
  515. 2023-11-10 03:49:16.054314 93.27% [DEBUG] switch_core_state_machine.c:616 (sofia/default/+9191000091@13.232.246.166) State Change CS_HANGUP -> CS_REPORTING
  516. 2023-11-10 03:49:16.054314 93.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+9191000091@13.232.246.166) Running State Change CS_REPORTING (Cur 1 Tot 12567)
  517. 2023-11-10 03:49:16.054314 93.27% [DEBUG] switch_core_state_machine.c:932 (sofia/default/+9191000091@13.232.246.166) State REPORTING
  518. 2023-11-10 03:49:16.054314 93.27% [INFO] mod_json_cdr.c:271 Process [e738b819-0d6d-4729-897f-20b4eca77958.cdr.json]
  519. 2023-11-10 03:49:16.414369 93.27% [DEBUG] switch_core_state_machine.c:168 sofia/default/+9191000091@13.232.246.166 Standard REPORTING, cause: NORMAL_CLEARING
  520. 2023-11-10 03:49:16.414369 93.27% [DEBUG] switch_core_state_machine.c:932 (sofia/default/+9191000091@13.232.246.166) State REPORTING going to sleep
  521. 2023-11-10 03:49:16.414369 93.27% [DEBUG] switch_core_state_machine.c:607 (sofia/default/+9191000091@13.232.246.166) State Change CS_REPORTING -> CS_DESTROY
  522. 2023-11-10 03:49:16.414369 93.27% [DEBUG] switch_core_session.c:1753 Session 12567 (sofia/default/+9191000091@13.232.246.166) Locked, Waiting on external entities
  523. 2023-11-10 03:49:16.414369 93.27% [NOTICE] switch_core_session.c:1771 Session 12567 (sofia/default/+9191000091@13.232.246.166) Ended
  524. 2023-11-10 03:49:16.414369 93.27% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/+9191000091@13.232.246.166 [CS_DESTROY]
  525. 2023-11-10 03:49:16.414369 93.27% [DEBUG] switch_core_state_machine.c:735 (sofia/default/+9191000091@13.232.246.166) Running State Change CS_DESTROY (Cur 0 Tot 12567)
  526. 2023-11-10 03:49:16.414369 93.27% [DEBUG] switch_core_state_machine.c:745 (sofia/default/+9191000091@13.232.246.166) State DESTROY
  527. 2023-11-10 03:49:16.414369 93.27% [DEBUG] mod_sofia.c:379 sofia/default/+9191000091@13.232.246.166 SOFIA DESTROY
  528. 2023-11-10 03:49:16.414369 93.27% [DEBUG] switch_core_state_machine.c:175 sofia/default/+9191000091@13.232.246.166 Standard DESTROY
  529. 2023-11-10 03:49:16.414369 93.27% [DEBUG] switch_core_state_machine.c:745 (sofia/default/+9191000091@13.232.246.166) State DESTROY going to sleep
  530. freeswitch@FS1ClusterQA>
  531. freeswitch@FS1ClusterQA>
  532. freeswitch@FS1ClusterQA> /exit