From Prashant Kumar, 1 Year ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: cornflowerblue; font-weight: bold;"> 2023-07-07 14:58:19.949590 91.63% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9084093666@13.232.246.166 [02e6d915-414d-4e7d-bb13-2eac3d2637e2]
  2. 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9084093666@13.232.246.166) Running State Change CS_NEW (Cur 1 Tot 333)
  3. 2023-07-07 14:58:19.949590 91.63% [INFO] sofia.c:10462 sofia/default/9084093666@13.232.246.166 receiving invite from 13.232.246.166:5077 version: 1.10.7 -release 64bit call-id: 8d8486de-9779-123c-da90-02c9c4cfda14
  4. 2023-07-07 14:58:19.949590 91.63% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 13.232.246.166:0.
  5. 2023-07-07 14:58:19.949590 91.63% [DEBUG] sofia.c:10585 IP 13.232.246.166 Approved by acl "default[]". Access Granted.
  6. 2023-07-07 14:58:19.949590 91.63% [DEBUG] sofia.c:7499 Channel sofia/default/9084093666@13.232.246.166 entering state [received][100]
  7. 2023-07-07 14:58:19.949590 91.63% [DEBUG] sofia.c:7509 Remote SDP:
  8. v=0
  9. o=FreeSWITCH 1688712375 1688712376 IN IP4 13.232.246.166
  10. s=FreeSWITCH
  11. c=IN IP4 13.232.246.166
  12. t=0 0
  13. m=audio 29524 RTP/AVP 8 18 101
  14. a=rtpmap:8 PCMA/8000
  15. a=rtpmap:18 G729/8000
  16. a=rtpmap:101 telephone-event/8000
  17. a=fmtp:101 0-15
  18. a=ptime:20
  19.  
  20. 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  21. 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  22. 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  23. 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  24. 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  25. 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  26. 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/9084093666@13.232.246.166 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  27. 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_codec.c:111 sofia/default/9084093666@13.232.246.166 Original read codec set to PCMA:8
  28. 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  29. 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_media.c:5973 sofia/default/9084093666@13.232.246.166 Set 2833 dtmf send payload to 101 recv payload to 101
  30. 2023-07-07 14:58:19.949590 91.63% [DEBUG] sofia.c:7933 (sofia/default/9084093666@13.232.246.166) State Change CS_NEW -> CS_INIT
  31. 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9084093666@13.232.246.166) State NEW
  32. 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9084093666@13.232.246.166) Running State Change CS_INIT (Cur 1 Tot 333)
  33. 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9084093666@13.232.246.166) State INIT
  34. 2023-07-07 14:58:19.949590 91.63% [DEBUG] mod_sofia.c:97 sofia/default/9084093666@13.232.246.166 SOFIA INIT
  35. 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_state_machine.c:40 sofia/default/9084093666@13.232.246.166 Standard INIT
  36. 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9084093666@13.232.246.166) State Change CS_INIT -> CS_ROUTING
  37. 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9084093666@13.232.246.166) State INIT going to sleep
  38. 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9084093666@13.232.246.166) Running State Change CS_ROUTING (Cur 1 Tot 333)
  39. 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_channel.c:2380 (sofia/default/9084093666@13.232.246.166) Callstate Change DOWN -> RINGING
  40. 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9084093666@13.232.246.166) State ROUTING
  41. 2023-07-07 14:58:19.949590 91.63% [DEBUG] mod_sofia.c:158 sofia/default/9084093666@13.232.246.166 SOFIA ROUTING
  42. 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_state_machine.c:230 sofia/default/9084093666@13.232.246.166 Standard ROUTING
  43. 2023-07-07 14:58:19.949590 91.63% [INFO] mod_dialplan_xml.c:639 Processing 9084093666 <9084093666>->100099 in context default
  44. 2023-07-07 14:58:19.969590 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  45. 2023-07-07 14:58:19.969590 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  46. 2023-07-07 14:58:19.969590 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  47. 2023-07-07 14:58:19.969590 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  48. 2023-07-07 14:58:19.969590 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  49. 2023-07-07 14:58:19.969590 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 100099
  50. 2023-07-07 14:58:19.969590 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '100099' limit 1
  51. 2023-07-07 14:58:19.969590 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  52. 2023-07-07 14:58:19.969590 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '100099' and status=0 LIMIT 1
  53. 2023-07-07 14:58:19.969590 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+AutomationBeta
  54. 2023-07-07 14:58:19.969590 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  55. 2023-07-07 14:58:19.969590 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '13.127.204.47' limit 1
  56. 2023-07-07 14:58:19.969590 91.63% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  57. 2023-07-07 14:58:19.969590 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 9084093666 / 9084093666
  58. 2023-07-07 14:58:19.969590 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number
  59. 2023-07-07 14:58:19.969590 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 100099 AND status=0 limit 1
  60. 2023-07-07 14:58:19.969590 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  61. 2023-07-07 14:58:19.969590 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  62. 2023-07-07 14:58:19.969590 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  63. 2023-07-07 14:58:19.969590 91.63% [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 ="100099" LIMIT 1
  64. 2023-07-07 14:58:19.969590 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  65. 2023-07-07 14:58:19.969590 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  66. 2023-07-07 14:58:19.969590 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("13.232.246.166") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "100099"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  67. 2023-07-07 14:58:19.969590 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3673942894]
  68. 2023-07-07 14:58:19.969590 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "3673942894" OR id = "3673942894") AND deleted = 0 limit 1
  69. 2023-07-07 14:58:19.969590 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2
  70. 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  71. 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
  72. 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  73. 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 2
  74. 2023-07-07 14:58:19.989589 91.63% [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 = '^100099.*' OR patterns = '^10009.*' OR patterns = '^1000.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 2 ORDER BY LENGTH(PKGPTR.patterns) DESC
  75. 2023-07-07 14:58:19.989589 91.63% [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 ="100099" AND A.accountid = '3' limit 1
  76. 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 100099
  77. 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  78. 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  79. 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  80. 2023-07-07 14:58:19.989589 91.63% [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 ="100099" LIMIT 1
  81. 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  82. 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  83. 2023-07-07 14:58:19.989589 91.63% [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 = '100099' OR number = '10009' OR number = '1000' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '100099*' OR number = '10009*' OR number = '1000*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '9084093666' OR number = '908409366' OR number = '90840936' OR number = '9084093' OR number = '908409' OR number = '90840' OR number = '9084' OR number = '908' OR number = '90' OR number = '9' OR number ='--') OR (number = '9084093666*' OR number = '908409366*' OR number = '90840936*' OR number = '9084093*' OR number = '908409*' OR number = '90840*' OR number = '9084*' OR number = '908*' OR number = '90*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  84. 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  85. 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '100099' OR routing_prefix = '10009' OR routing_prefix = '1000' OR routing_prefix = '100' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  86. 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  87. 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 3
  88. 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3673942894
  89. 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2
  90. 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 49913.0966
  91. 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  92. 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 69
  93. 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  94. 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  95. 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  96. 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::69
  97. 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  98. 2023-07-07 14:58:19.989589 91.63% [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 ="100099" LIMIT 1
  99. 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  100. 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  101. 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  102. 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 395
  103. 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  104. 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  105. 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  106. 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 100099
  107. 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  108. 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 3
  109. 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  110. 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2
  111. 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your49913.0966 balance Accountid 3 !!!
  112. 2023-07-07 14:58:19.989589 91.63% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  113. 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  114. 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  115. 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  116. 2023-07-07 14:58:19.989589 91.63% [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 = 3 AND status=0 LIMIT 1
  117. 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "2" OR number = "2") AND deleted = 0 limit 1
  118. 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2
  119. 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:3
  120. 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:3
  121. 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 3
  122. 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 2 limit 1
  123. 2023-07-07 14:58:20.009593 91.63% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : automation1betav601.astppbilling.org
  124. 2023-07-07 14:58:20.009593 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  125. 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  126. 2023-07-07 14:58:20.009593 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  127. 2023-07-07 14:58:20.009593 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  128. 2023-07-07 14:58:20.009593 91.63% [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 = "10000000070500" AND accounts.status = 0
  129. 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as redial] destination_number :100099
  130. 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as return] destination_number :100099
  131. 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 2 limit 1
  132. 2023-07-07 14:58:20.009593 91.63% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : automation1betav601.astppbilling.org
  133. 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_4
  134. 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  135. <document type="freeswitch/xml">
  136. <section name="dialplan" description="ASTPP Dialplan">
  137. <context name="default">
  138. <extension name="100099">
  139. <condition field="destination_number" expression="100099">
  140. <action application="set" data="effective_destination_number=100099"/>
  141. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  142. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  143. <action application="set" data="notify_flag=0"/>
  144. <action application="set" data="notify_credit_limit=0.00000"/>
  145. <action application="set" data="type=3"/>
  146. <action application="set" data="callstart=2023-07-07 14:58:20"/>
  147. <action application="set" data="hangup_after_bridge=true"/>
  148. <action application="set" data="continue_on_fail=TRUE"/>
  149. <action application="set" data="account_id=3"/>
  150. <action application="set" data="parent_id=0"/>
  151. <action application="set" data="entity_id=3"/>
  152. <action application="set" data="call_processed=internal"/>
  153. <action application="set" data="call_direction=inbound"/>
  154. <action application="set" data="accountname=COmmunityVsix"/>
  155. <action application="set" data="filename1=astpp.pbx.lua"/>
  156. <action application="export" data="pstn_flag=1"/>
  157. <action application="set" data="origination_rates_did=ID:395|CODE:^100099.*|DESTINATION:100099|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:2"/>
  158. <action application="set" data="origination_rates=0"/>
  159. <action application="set" data="original_caller_id_name=9084093666"/>
  160. <action application="set" data="original_caller_id_number=9084093666"/>
  161. <action application="export" data="is_recording=1"/>
  162. <action application="export" data="media_bug_answer_req=true"/>
  163. <action application="export" data="RECORD_STEREO=true"/>
  164. <action application="export" data="record_sample_rate=8000"/>
  165. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  166. <action application="hash" data="insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}"/>
  167. <action application="hash" data="insert/${domain_name}-call_return/${destination_number}/${caller_id_number}"/>
  168. <action application="set" data="effective_caller_id_name=9084093666"/>
  169. <action application="set" data="effective_caller_id_number=9084093666"/>
  170. <action application="set" data="receiver_accid=2"/>
  171. <action application="export" data="domain_name=automation1betav601.astppbilling.org"/>
  172. <action application="export" data="sip_to_host=automation1betav601.astppbilling.org"/>
  173. <action application="export" data="presence_data=x|||default(3673942894)|||^100099.* // 100099 // 0.00000|||||||||DID|||13.232.246.166"/>
  174. <action application="export" data="call_type=4"/>
  175. <action application="set" data="calltype=STANDARD"/>
  176. <action application="set" data="accountcode=4727985745"/>
  177. <action application="set" data="caller_did_account_id=3"/>
  178. <action application="set" data="did_number=100099"/>
  179. <action application="set" data="did_init_inc=0"/>
  180. <action application="set" data="did_inc=0"/>
  181. <action application="set" data="did_cost=0.00000"/>
  182. <action application="set" data="did_connectcost=0.00000"/>
  183. <action application="set" data="origination_rates_did=0"/>
  184. <action application="set" data="did_id=395"/>
  185. <action application="transfer" data="10000000070500 XML default"/>
  186. </condition>
  187. </extension>
  188. </context>
  189. </section>
  190. </document>
  191. Dialplan: sofia/default/9084093666@13.232.246.166 parsing [default->100099] continue=false
  192. Dialplan: sofia/default/9084093666@13.232.246.166 Regex (PASS) [100099] destination_number(100099) =~ /100099/ break=on-false
  193. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(effective_destination_number=100099)
  194. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  195. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  196. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(notify_flag=0)
  197. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(notify_credit_limit=0.00000)
  198. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(type=3)
  199. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(callstart=2023-07-07 14:58:20)
  200. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(hangup_after_bridge=true)
  201. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(continue_on_fail=TRUE)
  202. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(account_id=3)
  203. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(parent_id=0)
  204. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(entity_id=3)
  205. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(call_processed=internal)
  206. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(call_direction=inbound)
  207. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(accountname=COmmunityVsix)
  208. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(filename1=astpp.pbx.lua)
  209. Dialplan: sofia/default/9084093666@13.232.246.166 Action export(pstn_flag=1)
  210. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(origination_rates_did=ID:395|CODE:^100099.*|DESTINATION:100099|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:2)
  211. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(origination_rates=0)
  212. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(original_caller_id_name=9084093666)
  213. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(original_caller_id_number=9084093666)
  214. Dialplan: sofia/default/9084093666@13.232.246.166 Action export(is_recording=1)
  215. Dialplan: sofia/default/9084093666@13.232.246.166 Action export(media_bug_answer_req=true)
  216. Dialplan: sofia/default/9084093666@13.232.246.166 Action export(RECORD_STEREO=true)
  217. Dialplan: sofia/default/9084093666@13.232.246.166 Action export(record_sample_rate=8000)
  218. Dialplan: sofia/default/9084093666@13.232.246.166 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  219. Dialplan: sofia/default/9084093666@13.232.246.166 Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number})
  220. Dialplan: sofia/default/9084093666@13.232.246.166 Action hash(insert/${domain_name}-call_return/${destination_number}/${caller_id_number})
  221. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(effective_caller_id_name=9084093666)
  222. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(effective_caller_id_number=9084093666)
  223. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(receiver_accid=2)
  224. Dialplan: sofia/default/9084093666@13.232.246.166 Action export(domain_name=automation1betav601.astppbilling.org)
  225. Dialplan: sofia/default/9084093666@13.232.246.166 Action export(sip_to_host=automation1betav601.astppbilling.org)
  226. Dialplan: sofia/default/9084093666@13.232.246.166 Action export(presence_data=x|||default(3673942894)|||^100099.* // 100099 // 0.00000|||||||||DID|||13.232.246.166)
  227. Dialplan: sofia/default/9084093666@13.232.246.166 Action export(call_type=4)
  228. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(calltype=STANDARD)
  229. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(accountcode=4727985745)
  230. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(caller_did_account_id=3)
  231. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(did_number=100099)
  232. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(did_init_inc=0)
  233. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(did_inc=0)
  234. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(did_cost=0.00000)
  235. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(did_connectcost=0.00000)
  236. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(origination_rates_did=0)
  237. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(did_id=395)
  238. Dialplan: sofia/default/9084093666@13.232.246.166 Action transfer(10000000070500 XML default)
  239. 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9084093666@13.232.246.166) State Change CS_ROUTING -> CS_EXECUTE
  240. 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9084093666@13.232.246.166) State ROUTING going to sleep
  241. 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9084093666@13.232.246.166) Running State Change CS_EXECUTE (Cur 1 Tot 333)
  242. 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9084093666@13.232.246.166) State EXECUTE
  243. 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_sofia.c:213 sofia/default/9084093666@13.232.246.166 SOFIA EXECUTE
  244. 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_core_state_machine.c:323 sofia/default/9084093666@13.232.246.166 Standard EXECUTE
  245. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(effective_destination_number=100099)
  246. 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [effective_destination_number]=[100099]
  247. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(bridge_pre_execute_bleg_app=sched_hangup)
  248. 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [bridge_pre_execute_bleg_app]=[sched_hangup]
  249. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  250. 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  251. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(notify_flag=0)
  252. 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [notify_flag]=[0]
  253. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(notify_credit_limit=0.00000)
  254. 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [notify_credit_limit]=[0.00000]
  255. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(type=3)
  256. 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [type]=[3]
  257. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(callstart=2023-07-07 14:58:20)
  258. 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [callstart]=[2023-07-07 14:58:20]
  259. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(hangup_after_bridge=true)
  260. 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [hangup_after_bridge]=[true]
  261. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(continue_on_fail=TRUE)
  262. 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [continue_on_fail]=[TRUE]
  263. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(account_id=3)
  264. 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [account_id]=[3]
  265. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(parent_id=0)
  266. 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [parent_id]=[0]
  267. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(entity_id=3)
  268. 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [entity_id]=[3]
  269. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(call_processed=internal)
  270. 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [call_processed]=[internal]
  271. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(call_direction=inbound)
  272. 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [call_direction]=[inbound]
  273. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(accountname=COmmunityVsix)
  274. 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [accountname]=[COmmunityVsix]
  275. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(filename1=astpp.pbx.lua)
  276. 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [filename1]=[astpp.pbx.lua]
  277. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(pstn_flag=1)
  278. 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [pstn_flag]=[1]
  279. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(origination_rates_did=ID:395|CODE:^100099.*|DESTINATION:100099|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:2)
  280. 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [origination_rates_did]=[ID:395|CODE:^100099.*|DESTINATION:100099|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:2]
  281. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(origination_rates=0)
  282. 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [origination_rates]=[0]
  283. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(original_caller_id_name=9084093666)
  284. 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [original_caller_id_name]=[9084093666]
  285. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(original_caller_id_number=9084093666)
  286. 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [original_caller_id_number]=[9084093666]
  287. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(is_recording=1)
  288. 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  289. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(media_bug_answer_req=true)
  290. 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  291. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(RECORD_STEREO=true)
  292. 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [RECORD_STEREO]=[true]
  293. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(record_sample_rate=8000)
  294. 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  295. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/02e6d915-414d-4e7d-bb13-2eac3d2637e2.wav)
  296. 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/02e6d915-414d-4e7d-bb13-2eac3d2637e2.wav]
  297. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 hash(insert/172.31.38.162-last_dial/9084093666/100099)
  298. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 hash(insert/172.31.38.162-call_return/100099/9084093666)
  299. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(effective_caller_id_name=9084093666)
  300. 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [effective_caller_id_name]=[9084093666]
  301. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(effective_caller_id_number=9084093666)
  302. 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [effective_caller_id_number]=[9084093666]
  303. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(receiver_accid=2)
  304. 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [receiver_accid]=[2]
  305. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(domain_name=automation1betav601.astppbilling.org)
  306. 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[automation1betav601.astppbilling.org]
  307. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(sip_to_host=automation1betav601.astppbilling.org)
  308. 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[automation1betav601.astppbilling.org]
  309. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(presence_data=x|||default(3673942894)|||^100099.* // 100099 // 0.00000|||||||||DID|||13.232.246.166)
  310. 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^100099.* // 100099 // 0.00000|||||||||DID|||13.232.246.166]
  311. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(call_type=4)
  312. 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[4]
  313. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(calltype=STANDARD)
  314. 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [calltype]=[STANDARD]
  315. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(accountcode=4727985745)
  316. 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [accountcode]=[4727985745]
  317. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(caller_did_account_id=3)
  318. 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [caller_did_account_id]=[3]
  319. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(did_number=100099)
  320. 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [did_number]=[100099]
  321. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(did_init_inc=0)
  322. 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [did_init_inc]=[0]
  323. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(did_inc=0)
  324. 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [did_inc]=[0]
  325. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(did_cost=0.00000)
  326. 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [did_cost]=[0.00000]
  327. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(did_connectcost=0.00000)
  328. 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [did_connectcost]=[0.00000]
  329. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(origination_rates_did=0)
  330. 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [origination_rates_did]=[0]
  331. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(did_id=395)
  332. 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [did_id]=[395]
  333. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 transfer(10000000070500 XML default)
  334. 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_ivr.c:2289 (sofia/default/9084093666@13.232.246.166) State Change CS_EXECUTE -> CS_ROUTING
  335. 2023-07-07 14:58:20.009593 91.63% [NOTICE] switch_ivr.c:2296 Transfer sofia/default/9084093666@13.232.246.166 to XML[10000000070500@default]
  336. 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9084093666@13.232.246.166) State EXECUTE going to sleep
  337. 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9084093666@13.232.246.166) Running State Change CS_ROUTING (Cur 1 Tot 333)
  338. 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9084093666@13.232.246.166) State ROUTING
  339. 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
  340. 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_sofia.c:158 sofia/default/9084093666@13.232.246.166 SOFIA ROUTING
  341. 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_core_state_machine.c:230 sofia/default/9084093666@13.232.246.166 Standard ROUTING
  342. 2023-07-07 14:58:20.009593 91.63% [INFO] mod_dialplan_xml.c:639 Processing 9084093666 <9084093666>->10000000070500 in context default
  343. 2023-07-07 14:58:20.029592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  344. 2023-07-07 14:58:20.029592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  345. 2023-07-07 14:58:20.029592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  346. 2023-07-07 14:58:20.029592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  347. 2023-07-07 14:58:20.029592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  348. 2023-07-07 14:58:20.029592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 10000000070500
  349. 2023-07-07 14:58:20.029592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '10000000070500' limit 1
  350. 2023-07-07 14:58:20.029592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  351. 2023-07-07 14:58:20.029592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '10000000070500' and status=0 LIMIT 1
  352. 2023-07-07 14:58:20.029592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+AutomationBeta
  353. 2023-07-07 14:58:20.029592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  354. 2023-07-07 14:58:20.029592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'automation1betav601.astppbilling.org' limit 1
  355. 2023-07-07 14:58:20.029592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '2' and username = '10000000070500' limit 1
  356. 2023-07-07 14:58:20.029592 91.63% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  357. 2023-07-07 14:58:20.029592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 9084093666 / 9084093666
  358. 2023-07-07 14:58:20.029592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 00070500
  359. 2023-07-07 14:58:20.029592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 100000 AND status=0 limit 1
  360. 2023-07-07 14:58:20.029592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  361. 2023-07-07 14:58:20.029592 91.63% [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="10000000070500"  AND domains.domain="automation1betav601.astppbilling.org" limit 1
  362. 2023-07-07 14:58:20.029592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  363. 2023-07-07 14:58:20.029592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 4727985745]
  364. 2023-07-07 14:58:20.029592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "4727985745" OR id = "4727985745") AND deleted = 0 limit 1
  365. 2023-07-07 14:58:20.029592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^10000000070500.*' OR blocked_patterns = '^1000000007050.*' OR blocked_patterns = '^100000000705.*' OR blocked_patterns = '^10000000070.*' OR blocked_patterns = '^1000000007.*' OR blocked_patterns = '^100000000.*' OR blocked_patterns = '^10000000.*' OR blocked_patterns = '^1000000.*' OR blocked_patterns = '^100000.*' OR blocked_patterns = '^10000.*' OR blocked_patterns = '^1000.*' OR blocked_patterns = '^100.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 2 limit 1
  366. 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  367. 2023-07-07 14:58:20.049592 91.63% [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 = '^10000000070500.*' OR patterns = '^1000000007050.*' OR patterns = '^100000000705.*' OR patterns = '^10000000070.*' OR patterns = '^1000000007.*' OR patterns = '^100000000.*' OR patterns = '^10000000.*' OR patterns = '^1000000.*' OR patterns = '^100000.*' OR patterns = '^10000.*' OR patterns = '^1000.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 2 ORDER BY LENGTH(PKGPTR.patterns) DESC
  368. 2023-07-07 14:58:20.049592 91.63% [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 ="10000000070500" AND A.accountid = '2' limit 1
  369. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 10000000070500
  370. 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  371. 2023-07-07 14:58:20.049592 91.63% [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="10000000070500"  AND domains.domain="automation1betav601.astppbilling.org" limit 1
  372. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  373. 2023-07-07 14:58:20.049592 91.63% [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 = '10000000070500' OR number = '1000000007050' OR number = '100000000705' OR number = '10000000070' OR number = '1000000007' OR number = '100000000' OR number = '10000000' OR number = '1000000' OR number = '100000' OR number = '10000' OR number = '1000' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '10000000070500*' OR number = '1000000007050*' OR number = '100000000705*' OR number = '10000000070*' OR number = '1000000007*' OR number = '100000000*' OR number = '10000000*' OR number = '1000000*' OR number = '100000*' OR number = '10000*' OR number = '1000*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '9084093666' OR number = '908409366' OR number = '90840936' OR number = '9084093' OR number = '908409' OR number = '90840' OR number = '9084' OR number = '908' OR number = '90' OR number = '9' OR number ='--') OR (number = '9084093666*' OR number = '908409366*' OR number = '90840936*' OR number = '9084093*' OR number = '908409*' OR number = '90840*' OR number = '9084*' OR number = '908*' OR number = '90*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  374. 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  375. 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '10000000070500' OR routing_prefix = '1000000007050' OR routing_prefix = '100000000705' OR routing_prefix = '10000000070' OR routing_prefix = '1000000007' OR routing_prefix = '100000000' OR routing_prefix = '10000000' OR routing_prefix = '1000000' OR routing_prefix = '100000' OR routing_prefix = '10000' OR routing_prefix = '1000' OR routing_prefix = '100' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  376. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  377. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 2
  378. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 4727985745
  379. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 49913.0966
  380. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  381. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 69
  382. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  383. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  384. 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  385. 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::69
  386. 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  387. 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  388. 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::69
  389. 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^10000000070500.*' OR pattern = '^1000000007050.*' OR pattern = '^100000000705.*' OR pattern = '^10000000070.*' OR pattern = '^1000000007.*' OR pattern = '^100000000.*' OR pattern = '^10000000.*' OR pattern = '^1000000.*' OR pattern = '^100000.*' OR pattern = '^10000.*' OR pattern = '^1000.*' OR pattern = '^100.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^9084093666.*' OR caller_id_pattern = '^908409366.*' OR caller_id_pattern = '^90840936.*' OR caller_id_pattern = '^9084093.*' OR caller_id_pattern = '^908409.*' OR caller_id_pattern = '^90840.*' OR caller_id_pattern = '^9084.*' OR caller_id_pattern = '^908.*' OR caller_id_pattern = '^90.*' OR caller_id_pattern = '^9.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 69 OR accountid=2)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  390. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  391. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  392. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 100
  393. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.10000
  394. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  395. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 2.50000
  396. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : USA
  397. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 203
  398. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 2
  399. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  400. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  401. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  402. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your49913.0966 balance Accountid 2 !!!
  403. 2023-07-07 14:58:20.049592 91.63% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 1000 mins!
  404. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 1000 minutes
  405. 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  406. 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=69 ORDER by id asc
  407. 2023-07-07 14:58:20.049592 91.63% [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 = '^10000000070500.*' OR pattern = '^1000000007050.*' OR pattern = '^100000000705.*' OR pattern = '^10000000070.*' OR pattern = '^1000000007.*' OR pattern = '^100000000.*' OR pattern = '^10000000.*' OR pattern = '^1000000.*' OR pattern = '^100000.*' OR pattern = '^10000.*' OR pattern = '^1000.*' OR pattern = '^100.*' OR pattern = '^10.*' OR pattern = '^1.*' 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
  408. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  409. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  410. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.*
  411. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : USA
  412. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  413. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  414. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.*
  415. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  416. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  417. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1
  418. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider
  419. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  420. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  421. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  422. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  423. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  424. 2023-07-07 14:58:20.049592 91.63% [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 = 2 AND status=0 LIMIT 1
  425. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 1000
  426. 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  427. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  428. 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
  429. 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as redial] destination_number :10000000070500
  430. 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as return] destination_number :10000000070500
  431. 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  432. 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::69
  433. 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 3) AND status=0 limit 1
  434. 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 1) AND status=0 limit 1
  435. 2023-07-07 14:58:20.049592 91.63% [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 ="100099" LIMIT 1
  436. 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  437. 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DIDQUERY] Query :SELECT * FROM dids WHERE id ="395" and status = 0 limit 1
  438. 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  439. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  440. <document type="freeswitch/xml">
  441. <section name="dialplan" description="ASTPP Dialplan">
  442. <context name="default">
  443. <extension name="10000000070500">
  444. <condition field="destination_number" expression="10000000070500">
  445. <action application="set" data="effective_destination_number=10000000070500"/>
  446. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  447. <action application="set" data="bridge_pre_execute_bleg_data=+60000 normal_clearing"/>
  448. <action application="set" data="type=0"/>
  449. <action application="set" data="callstart=2023-07-07 14:58:20"/>
  450. <action application="set" data="hangup_after_bridge=true"/>
  451. <action application="set" data="continue_on_fail=TRUE"/>
  452. <action application="set" data="account_id=2"/>
  453. <action application="set" data="parent_id=0"/>
  454. <action application="set" data="entity_id=0"/>
  455. <action application="set" data="call_processed=internal"/>
  456. <action application="set" data="call_direction=outbound"/>
  457. <action application="set" data="accountname=default"/>
  458. <action application="set" data="filename1=astpp.pbx.lua"/>
  459. <action application="export" data="pstn_flag=1"/>
  460. <action application="sleep" data="1000"/>
  461. <action application="playback" data="/usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav"/>
  462. <action application="set" data="ringback=%(2000,4000,440.0,480.0)"/>
  463. <action application="say" data="en CURRENCY PRONOUNCED 49913.0966"/>
  464. <action application="set" data="origination_rates=ID:100|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.10000|INCLUDEDSECONDS:0|CT:|COST:2.50000|INC:60|INITIALBLOCK:60|RATEGROUP:69|MARKUP:0|CI:203|ACCID:2"/>
  465. <action application="set" data="original_caller_id_name=9084093666"/>
  466. <action application="set" data="original_caller_id_number=9084093666"/>
  467. <action application="limit" data="db 4727985745 user_4727985745 500 "/>
  468.  
  469. <action application="export" data="is_recording=1"/>
  470. <action application="export" data="media_bug_answer_req=true"/>
  471. <action application="export" data="RECORD_STEREO=true"/>
  472. <action application="export" data="record_sample_rate=8000"/>
  473. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  474. <action application="hash" data="insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}"/>
  475. <action application="hash" data="insert/${domain_name}-call_return/${destination_number}/${caller_id_number}"/>
  476. <action application="set" data="effective_caller_id_name=9084093666"/>
  477. <action application="set" data="effective_caller_id_number=9084093666"/>
  478. <action application="set" data="calltype=STANDARD"/>
  479. <action application="set" data="termination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3"/>
  480. <action application="set" data="trunk_id=1"/>
  481. <action application="set" data="provider_id=3"/>
  482. <action application="set" data="rate_flag=0"/>
  483. <action application="set" data="daily_call_credit_limit=0.00000"/>
  484. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  485. <action application="set" data="daily_call_used_limit=0.00000"/>
  486. <action application="set" data="monthly_call_used_limit=0.00000"/>
  487. <action application="set" data="quality_trunk_seq=1"/>
  488. <action application="set" data="force_trunk_flag=0"/>
  489. <action application="export" data="presence_data=trunk_id=1"/>
  490. <action application="set" data="intcall=0"/>
  491. <action application="export" data="presence_id=10000000070500"/>
  492. <action application="export" data="presence_data=x|||default(4727985745)|||^1.* // USA // 2.50000 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||13.232.246.166"/>
  493. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/10000000070500"/>
  494. <action application="set" data="did_id=395"/>
  495. <action application="set" data="destination_number=10000000070500"/>
  496. <action application="set" data="leg_timeout=0"/>
  497. <action application="set" data="call_type_vm_flag=1"/>
  498. <action application="set" data="is_local_extension=0"/>
  499. <action application="lua" data="did_call_forwarding.lua"/>
  500. </condition>
  501. </extension>
  502. </context>
  503. </section>
  504. </document>
  505. Dialplan: sofia/default/9084093666@13.232.246.166 parsing [default->10000000070500] continue=false
  506. Dialplan: sofia/default/9084093666@13.232.246.166 Regex (PASS) [10000000070500] destination_number(10000000070500) =~ /10000000070500/ break=on-false
  507. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(effective_destination_number=10000000070500)
  508. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  509. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(bridge_pre_execute_bleg_data=+60000 normal_clearing)
  510. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(type=0)
  511. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(callstart=2023-07-07 14:58:20)
  512. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(hangup_after_bridge=true)
  513. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(continue_on_fail=TRUE)
  514. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(account_id=2)
  515. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(parent_id=0)
  516. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(entity_id=0)
  517. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(call_processed=internal)
  518. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(call_direction=outbound)
  519. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(accountname=default)
  520. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(filename1=astpp.pbx.lua)
  521. Dialplan: sofia/default/9084093666@13.232.246.166 Action export(pstn_flag=1)
  522. Dialplan: sofia/default/9084093666@13.232.246.166 Action sleep(1000)
  523. Dialplan: sofia/default/9084093666@13.232.246.166 Action playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav)
  524. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(ringback=%(2000,4000,440.0,480.0))
  525. Dialplan: sofia/default/9084093666@13.232.246.166 Action say(en CURRENCY PRONOUNCED 49913.0966)
  526. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(origination_rates=ID:100|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.10000|INCLUDEDSECONDS:0|CT:|COST:2.50000|INC:60|INITIALBLOCK:60|RATEGROUP:69|MARKUP:0|CI:203|ACCID:2)
  527. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(original_caller_id_name=9084093666)
  528. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(original_caller_id_number=9084093666)
  529. Dialplan: sofia/default/9084093666@13.232.246.166 Action limit(db 4727985745 user_4727985745 500 )
  530. Dialplan: sofia/default/9084093666@13.232.246.166 Action export(is_recording=1)
  531. Dialplan: sofia/default/9084093666@13.232.246.166 Action export(media_bug_answer_req=true)
  532. Dialplan: sofia/default/9084093666@13.232.246.166 Action export(RECORD_STEREO=true)
  533. Dialplan: sofia/default/9084093666@13.232.246.166 Action export(record_sample_rate=8000)
  534. Dialplan: sofia/default/9084093666@13.232.246.166 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  535. Dialplan: sofia/default/9084093666@13.232.246.166 Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number})
  536. Dialplan: sofia/default/9084093666@13.232.246.166 Action hash(insert/${domain_name}-call_return/${destination_number}/${caller_id_number})
  537. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(effective_caller_id_name=9084093666)
  538. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(effective_caller_id_number=9084093666)
  539. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(calltype=STANDARD)
  540. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(termination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3)
  541. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(trunk_id=1)
  542. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(provider_id=3)
  543. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(rate_flag=0)
  544. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(daily_call_credit_limit=0.00000)
  545. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(monthly_call_credit_limit=0.00000)
  546. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(daily_call_used_limit=0.00000)
  547. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(monthly_call_used_limit=0.00000)
  548. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(quality_trunk_seq=1)
  549. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(force_trunk_flag=0)
  550. Dialplan: sofia/default/9084093666@13.232.246.166 Action export(presence_data=trunk_id=1)
  551. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(intcall=0)
  552. Dialplan: sofia/default/9084093666@13.232.246.166 Action export(presence_id=10000000070500)
  553. Dialplan: sofia/default/9084093666@13.232.246.166 Action export(presence_data=x|||default(4727985745)|||^1.* // USA // 2.50000 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||13.232.246.166)
  554. Dialplan: sofia/default/9084093666@13.232.246.166 Action bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/10000000070500)
  555. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(did_id=395)
  556. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(destination_number=10000000070500)
  557. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(leg_timeout=0)
  558. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(call_type_vm_flag=1)
  559. Dialplan: sofia/default/9084093666@13.232.246.166 Action set(is_local_extension=0)
  560. Dialplan: sofia/default/9084093666@13.232.246.166 Action lua(did_call_forwarding.lua)
  561. 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9084093666@13.232.246.166) State Change CS_ROUTING -> CS_EXECUTE
  562. 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9084093666@13.232.246.166) State ROUTING going to sleep
  563. 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9084093666@13.232.246.166) Running State Change CS_EXECUTE (Cur 1 Tot 333)
  564. 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9084093666@13.232.246.166) State EXECUTE
  565. 2023-07-07 14:58:20.049592 91.63% [DEBUG] mod_sofia.c:213 sofia/default/9084093666@13.232.246.166 SOFIA EXECUTE
  566. 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_core_state_machine.c:323 sofia/default/9084093666@13.232.246.166 Standard EXECUTE
  567. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(effective_destination_number=10000000070500)
  568. 2023-07-07 14:58:20.049592 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [effective_destination_number]=[10000000070500]
  569. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(bridge_pre_execute_bleg_app=sched_hangup)
  570. 2023-07-07 14:58:20.049592 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [bridge_pre_execute_bleg_app]=[sched_hangup]
  571. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(bridge_pre_execute_bleg_data=+60000 normal_clearing)
  572. 2023-07-07 14:58:20.049592 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [bridge_pre_execute_bleg_data]=[+60000 normal_clearing]
  573. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(type=0)
  574. 2023-07-07 14:58:20.049592 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [type]=[0]
  575. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(callstart=2023-07-07 14:58:20)
  576. 2023-07-07 14:58:20.049592 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [callstart]=[2023-07-07 14:58:20]
  577. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(hangup_after_bridge=true)
  578. 2023-07-07 14:58:20.049592 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [hangup_after_bridge]=[true]
  579. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(continue_on_fail=TRUE)
  580. 2023-07-07 14:58:20.049592 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [continue_on_fail]=[TRUE]
  581. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(account_id=2)
  582. 2023-07-07 14:58:20.069587 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [account_id]=[2]
  583. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(parent_id=0)
  584. 2023-07-07 14:58:20.069587 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [parent_id]=[0]
  585. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(entity_id=0)
  586. 2023-07-07 14:58:20.069587 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [entity_id]=[0]
  587. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(call_processed=internal)
  588. 2023-07-07 14:58:20.069587 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [call_processed]=[internal]
  589. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(call_direction=outbound)
  590. 2023-07-07 14:58:20.069587 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [call_direction]=[outbound]
  591. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(accountname=default)
  592. 2023-07-07 14:58:20.069587 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [accountname]=[default]
  593. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(filename1=astpp.pbx.lua)
  594. 2023-07-07 14:58:20.069587 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [filename1]=[astpp.pbx.lua]
  595. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(pstn_flag=1)
  596. 2023-07-07 14:58:20.069587 91.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [pstn_flag]=[1]
  597. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 sleep(1000)
  598. 2023-07-07 14:58:21.069627 91.23% [DEBUG] switch_core_session.c:2795 Application playback Requires media! pre_answering channel sofia/default/9084093666@13.232.246.166
  599. 2023-07-07 14:58:21.069627 91.23% [INFO] switch_core_session.c:2797 Sending early media
  600. 2023-07-07 14:58:21.069627 91.23% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/9084093666@13.232.246.166] 172.31.38.162 port 21496 -> 13.232.246.166 port 29524 codec: 8 ms: 20
  601. 2023-07-07 14:58:21.069627 91.23% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  602. 2023-07-07 14:58:21.069627 91.23% [DEBUG] switch_core_media.c:9089 sofia/default/9084093666@13.232.246.166 Set 2833 dtmf send payload to 101
  603. 2023-07-07 14:58:21.069627 91.23% [DEBUG] switch_core_media.c:9096 sofia/default/9084093666@13.232.246.166 Set 2833 dtmf receive payload to 101
  604. 2023-07-07 14:58:21.069627 91.23% [DEBUG] switch_core_media.c:9119 sofia/default/9084093666@13.232.246.166 Set rtp dtmf delay to 40
  605. 2023-07-07 14:58:21.069627 91.23% [DEBUG] mod_sofia.c:2610 Ring SDP:
  606. v=0
  607. o=FreeSWITCH 1688720405 1688720406 IN IP4 13.127.204.47
  608. s=FreeSWITCH
  609. c=IN IP4 13.127.204.47
  610. t=0 0
  611. m=audio 21496 RTP/AVP 8 101
  612. a=rtpmap:8 PCMA/8000
  613. a=rtpmap:101 telephone-event/8000
  614. a=fmtp:101 0-15
  615. a=ptime:20
  616. a=sendrecv
  617.  
  618. 2023-07-07 14:58:21.069627 91.23% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/9084093666@13.232.246.166!
  619. 2023-07-07 14:58:21.069627 91.23% [DEBUG] switch_channel.c:3622 (sofia/default/9084093666@13.232.246.166) Callstate Change RINGING -> EARLY
  620. 2023-07-07 14:58:21.069627 91.23% [DEBUG] sofia.c:7499 Channel sofia/default/9084093666@13.232.246.166 entering state [early][183]
  621. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav)
  622. 2023-07-07 14:58:21.069627 91.23% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav sample rate 16000 doesn't match requested rate 8000
  623. 2023-07-07 14:58:21.069627 91.23% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  624. 2023-07-07 14:58:21.269590 91.23% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  625. 2023-07-07 14:58:22.389606 91.23% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav
  626. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(ringback=%(2000,4000,440.0,480.0))
  627. 2023-07-07 14:58:22.389606 91.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [ringback]=[%(2000,4000,440.0,480.0)]
  628. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 say(en CURRENCY PRONOUNCED 49913.0966)
  629. 2023-07-07 14:58:22.389606 91.23% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  630. 2023-07-07 14:58:23.149612 91.17% [NOTICE] switch_channel.c:1123 New Channel sofia/default/580088@13.127.204.47 [a2c5fc70-5733-4fce-b31c-0802b2984bc7]
  631. 2023-07-07 14:58:23.149612 91.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/580088@13.127.204.47) Running State Change CS_NEW (Cur 2 Tot 334)
  632. 2023-07-07 14:58:23.149612 91.17% [INFO] sofia.c:10462 sofia/default/580088@13.127.204.47 receiving invite from 45.155.91.135:60549 version: 1.10.7 -release 64bit call-id: 296802914-1621470994-424215661
  633. 2023-07-07 14:58:23.149612 91.17% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 45.155.91.135:0.
  634. 2023-07-07 14:58:23.149612 91.17% [DEBUG] sofia.c:2419 detaching session a2c5fc70-5733-4fce-b31c-0802b2984bc7
  635. 2023-07-07 14:58:23.149612 91.17% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [46423112877@13.127.204.47] from ip 45.155.91.135
  636. 2023-07-07 14:58:23.149612 91.17% [DEBUG] switch_core_state_machine.c:600 (sofia/default/580088@13.127.204.47) State NEW
  637. 2023-07-07 14:58:23.289590 91.17% [DEBUG] sofia.c:2532 Re-attaching to session a2c5fc70-5733-4fce-b31c-0802b2984bc7
  638. 2023-07-07 14:58:23.289590 91.17% [INFO] sofia.c:10462 sofia/default/580088@13.127.204.47 receiving invite from 45.155.91.135:60549 version: 1.10.7 -release 64bit call-id: 296802914-1621470994-424215661
  639. 2023-07-07 14:58:23.289590 91.17% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 45.155.91.135:0.
  640. 2023-07-07 14:58:23.309648 91.17% [WARNING] sofia_reg.c:3223 Can't find user [580088@13.127.204.47] from 45.155.91.135
  641. You must define a domain called '13.127.204.47' in your directory and add a user with the id="580088" attribute
  642. and you must configure your device to use the proper domain in its authentication credentials.
  643. 2023-07-07 14:58:23.309648 91.17% [NOTICE] sofia.c:2417 Hangup sofia/default/580088@13.127.204.47 [CS_NEW] [CALL_REJECTED]
  644. 2023-07-07 14:58:23.309648 91.17% [WARNING] sofia_reg.c:1806 SIP auth failure (INVITE) on sofia profile 'default' for [46423112877@13.127.204.47] from ip 45.155.91.135
  645. 2023-07-07 14:58:23.309648 91.17% [DEBUG] sofia.c:1527 Channel is already hungup.
  646. 2023-07-07 14:58:23.309648 91.17% [DEBUG] sofia.c:1527 Channel is already hungup.
  647. 2023-07-07 14:58:23.309648 91.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/580088@13.127.204.47) Running State Change CS_HANGUP (Cur 2 Tot 334)
  648. 2023-07-07 14:58:23.309648 91.17% [DEBUG] switch_core_state_machine.c:844 (sofia/default/580088@13.127.204.47) Callstate Change DOWN -> HANGUP
  649. 2023-07-07 14:58:23.309648 91.17% [DEBUG] switch_core_state_machine.c:846 (sofia/default/580088@13.127.204.47) State HANGUP
  650. 2023-07-07 14:58:23.309648 91.17% [DEBUG] mod_sofia.c:468 Channel sofia/default/580088@13.127.204.47 hanging up, cause: CALL_REJECTED
  651. 2023-07-07 14:58:23.309648 91.17% [DEBUG] switch_core_state_machine.c:59 sofia/default/580088@13.127.204.47 Standard HANGUP, cause: CALL_REJECTED
  652. 2023-07-07 14:58:23.309648 91.17% [DEBUG] switch_core_state_machine.c:846 (sofia/default/580088@13.127.204.47) State HANGUP going to sleep
  653. 2023-07-07 14:58:23.309648 91.17% [DEBUG] switch_core_state_machine.c:616 (sofia/default/580088@13.127.204.47) State Change CS_HANGUP -> CS_REPORTING
  654. 2023-07-07 14:58:23.309648 91.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/580088@13.127.204.47) Running State Change CS_REPORTING (Cur 2 Tot 334)
  655. 2023-07-07 14:58:23.309648 91.17% [DEBUG] switch_core_state_machine.c:932 (sofia/default/580088@13.127.204.47) State REPORTING
  656. 2023-07-07 14:58:23.309648 91.17% [DEBUG] switch_core_state_machine.c:168 sofia/default/580088@13.127.204.47 Standard REPORTING, cause: CALL_REJECTED
  657. 2023-07-07 14:58:23.309648 91.17% [DEBUG] switch_core_state_machine.c:932 (sofia/default/580088@13.127.204.47) State REPORTING going to sleep
  658. 2023-07-07 14:58:23.309648 91.17% [DEBUG] switch_core_state_machine.c:607 (sofia/default/580088@13.127.204.47) State Change CS_REPORTING -> CS_DESTROY
  659. 2023-07-07 14:58:23.309648 91.17% [DEBUG] switch_core_session.c:1753 Session 334 (sofia/default/580088@13.127.204.47) Locked, Waiting on external entities
  660. 2023-07-07 14:58:23.309648 91.17% [NOTICE] switch_core_session.c:1771 Session 334 (sofia/default/580088@13.127.204.47) Ended
  661. 2023-07-07 14:58:23.309648 91.17% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/580088@13.127.204.47 [CS_DESTROY]
  662. 2023-07-07 14:58:23.309648 91.17% [DEBUG] switch_core_state_machine.c:735 (sofia/default/580088@13.127.204.47) Running State Change CS_DESTROY (Cur 1 Tot 334)
  663. 2023-07-07 14:58:23.309648 91.17% [DEBUG] switch_core_state_machine.c:745 (sofia/default/580088@13.127.204.47) State DESTROY
  664. 2023-07-07 14:58:23.309648 91.17% [DEBUG] mod_sofia.c:379 sofia/default/580088@13.127.204.47 SOFIA DESTROY
  665. 2023-07-07 14:58:23.309648 91.17% [DEBUG] switch_core_state_machine.c:175 sofia/default/580088@13.127.204.47 Standard DESTROY
  666. 2023-07-07 14:58:23.309648 91.17% [DEBUG] switch_core_state_machine.c:745 (sofia/default/580088@13.127.204.47) State DESTROY going to sleep
  667. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://digits/40.wav!digits/9.wav!digits/thousand.wav!digits/9.wav!digits/hundred.wav!digits/13.wav!currency/dollars.wav!currency/and.wav!digits/9.wav!currency/cents.wav
  668. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(origination_rates=ID:100|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.10000|INCLUDEDSECONDS:0|CT:|COST:2.50000|INC:60|INITIALBLOCK:60|RATEGROUP:69|MARKUP:0|CI:203|ACCID:2)
  669. 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [origination_rates]=[ID:100|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.10000|INCLUDEDSECONDS:0|CT:|COST:2.50000|INC:60|INITIALBLOCK:60|RATEGROUP:69|MARKUP:0|CI:203|ACCID:2]
  670. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(original_caller_id_name=9084093666)
  671. 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [original_caller_id_name]=[9084093666]
  672. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(original_caller_id_number=9084093666)
  673. 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [original_caller_id_number]=[9084093666]
  674. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 limit(db 4727985745 user_4727985745 500 )
  675. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_limit.c:124 incr called: 4727985745_user_4727985745 max:500, interval:0
  676. 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_db.c:194 Usage for 4727985745_user_4727985745 is now 1/500
  677. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(is_recording=1)
  678. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  679. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(media_bug_answer_req=true)
  680. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  681. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(RECORD_STEREO=true)
  682. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [RECORD_STEREO]=[true]
  683. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(record_sample_rate=8000)
  684. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  685. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/02e6d915-414d-4e7d-bb13-2eac3d2637e2.wav)
  686. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/02e6d915-414d-4e7d-bb13-2eac3d2637e2.wav]
  687. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 hash(insert/automation1betav601.astppbilling.org-last_dial/9084093666/10000000070500)
  688. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 hash(insert/automation1betav601.astppbilling.org-call_return/10000000070500/9084093666)
  689. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(effective_caller_id_name=9084093666)
  690. 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [effective_caller_id_name]=[9084093666]
  691. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(effective_caller_id_number=9084093666)
  692. 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [effective_caller_id_number]=[9084093666]
  693. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(calltype=STANDARD)
  694. 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [calltype]=[STANDARD]
  695. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(termination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3)
  696. 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [termination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3]
  697. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(trunk_id=1)
  698. 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [trunk_id]=[1]
  699. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(provider_id=3)
  700. 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [provider_id]=[3]
  701. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(rate_flag=0)
  702. 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [rate_flag]=[0]
  703. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(daily_call_credit_limit=0.00000)
  704. 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [daily_call_credit_limit]=[0.00000]
  705. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(monthly_call_credit_limit=0.00000)
  706. 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [monthly_call_credit_limit]=[0.00000]
  707. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(daily_call_used_limit=0.00000)
  708. 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [daily_call_used_limit]=[0.00000]
  709. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(monthly_call_used_limit=0.00000)
  710. 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [monthly_call_used_limit]=[0.00000]
  711. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(quality_trunk_seq=1)
  712. 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [quality_trunk_seq]=[1]
  713. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(force_trunk_flag=0)
  714. 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [force_trunk_flag]=[0]
  715. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(presence_data=trunk_id=1)
  716. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=1]
  717. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(intcall=0)
  718. 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [intcall]=[0]
  719. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(presence_id=10000000070500)
  720. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[10000000070500]
  721. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(presence_data=x|||default(4727985745)|||^1.* // USA // 2.50000 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||13.232.246.166)
  722. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||default(4727985745)|||^1.* // USA // 2.50000 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||13.232.246.166]
  723. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/10000000070500)
  724. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [pstn_flag]=[1] to event
  725. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [is_recording]=[1] to event
  726. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  727. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  728. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  729. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/02e6d915-414d-4e7d-bb13-2eac3d2637e2.wav] to event
  730. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [domain_name]=[automation1betav601.astppbilling.org] to event
  731. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [sip_to_host]=[automation1betav601.astppbilling.org] to event
  732. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [presence_data]=[x|||default(4727985745)|||^1.* // USA // 2.50000 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||13.232.246.166] to event
  733. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [call_type]=[4] to event
  734. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [pstn_flag]=[1] to event
  735. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [is_recording]=[1] to event
  736. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  737. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  738. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  739. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/02e6d915-414d-4e7d-bb13-2eac3d2637e2.wav] to event
  740. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [presence_data]=[x|||default(4727985745)|||^1.* // USA // 2.50000 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||13.232.246.166] to event
  741. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [presence_id]=[10000000070500] to event
  742. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [presence_data]=[x|||default(4727985745)|||^1.* // USA // 2.50000 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||13.232.246.166] to event
  743. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  744. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  745. 2023-07-07 14:58:27.229605 91.43% [NOTICE] switch_channel.c:1123 New Channel sofia/default/10000000070500 [de28768b-416d-4516-937d-fbaae15155fa]
  746. 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_sofia.c:5121 (sofia/default/10000000070500) State Change CS_NEW -> CS_INIT
  747. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_ivr_originate.c:3151 sofia/default/10000000070500 Setting leg timeout to 30
  748. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10000000070500) Running State Change CS_INIT (Cur 2 Tot 335)
  749. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_core_state_machine.c:624 (sofia/default/10000000070500) State INIT
  750. 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_sofia.c:97 sofia/default/10000000070500 SOFIA INIT
  751. 2023-07-07 14:58:27.229605 91.43% [INFO] sofia_glue.c:1651 sofia/default/10000000070500 sending invite call-id: (null)
  752. 2023-07-07 14:58:27.229605 91.43% [DEBUG] sofia_glue.c:1654 sofia/default/10000000070500 sending invite version: 1.10.7 -release 64bit
  753. Local SDP:
  754. v=0
  755. o=FreeSWITCH 1688711491 1688711492 IN IP4 13.127.204.47
  756. s=FreeSWITCH
  757. c=IN IP4 13.127.204.47
  758. t=0 0
  759. m=audio 30416 RTP/AVP 8 18 101
  760. a=rtpmap:8 PCMA/8000
  761. a=rtpmap:18 G729/8000
  762. a=rtpmap:101 telephone-event/8000
  763. a=fmtp:101 0-15
  764. a=ptime:20
  765. a=sendrecv
  766.  
  767. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_core_state_machine.c:40 sofia/default/10000000070500 Standard INIT
  768. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_core_state_machine.c:48 (sofia/default/10000000070500) State Change CS_INIT -> CS_ROUTING
  769. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_core_state_machine.c:624 (sofia/default/10000000070500) State INIT going to sleep
  770. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10000000070500) Running State Change CS_ROUTING (Cur 2 Tot 335)
  771. 2023-07-07 14:58:27.229605 91.43% [DEBUG] sofia.c:7499 Channel sofia/default/10000000070500 entering state [calling][0]
  772. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_core_state_machine.c:640 (sofia/default/10000000070500) State ROUTING
  773. 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_sofia.c:158 sofia/default/10000000070500 SOFIA ROUTING
  774. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_ivr_originate.c:67 (sofia/default/10000000070500) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  775. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_core_state_machine.c:640 (sofia/default/10000000070500) State ROUTING going to sleep
  776. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10000000070500) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 335)
  777. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_core_state_machine.c:659 (sofia/default/10000000070500) State CONSUME_MEDIA
  778. 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_core_state_machine.c:659 (sofia/default/10000000070500) State CONSUME_MEDIA going to sleep
  779. 2023-07-07 14:58:27.429596 91.43% [DEBUG] sofia.c:7499 Channel sofia/default/10000000070500 entering state [completing][200]
  780. 2023-07-07 14:58:27.429596 91.43% [DEBUG] sofia.c:7509 Remote SDP:
  781. v=0
  782. o=root 757572018 757572018 IN IP4 159.203.131.36
  783. s=Asterisk PBX 16.4.0
  784. c=IN IP4 159.203.131.36
  785. t=0 0
  786. m=audio 14328 RTP/AVP 8 101
  787. a=rtpmap:8 PCMA/8000
  788. a=rtpmap:101 telephone-event/8000
  789. a=fmtp:101 0-16
  790. a=maxptime:150
  791.  
  792. 2023-07-07 14:58:27.429596 91.43% [DEBUG] sofia.c:7499 Channel sofia/default/10000000070500 entering state [ready][200]
  793. 2023-07-07 14:58:27.429596 91.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  794. 2023-07-07 14:58:27.429596 91.43% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  795. 2023-07-07 14:58:27.429596 91.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1]
  796. 2023-07-07 14:58:27.429596 91.43% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  797. 2023-07-07 14:58:27.429596 91.43% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/10000000070500 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  798. 2023-07-07 14:58:27.429596 91.43% [DEBUG] switch_core_codec.c:111 sofia/default/10000000070500 Original read codec set to PCMA:8
  799. 2023-07-07 14:58:27.429596 91.43% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  800. 2023-07-07 14:58:27.429596 91.43% [DEBUG] switch_core_media.c:5973 sofia/default/10000000070500 Set 2833 dtmf send payload to 101 recv payload to 101
  801. 2023-07-07 14:58:27.429596 91.43% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/10000000070500] 172.31.38.162 port 30416 -> 159.203.131.36 port 14328 codec: 8 ms: 20
  802. 2023-07-07 14:58:27.429596 91.43% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  803. 2023-07-07 14:58:27.429596 91.43% [DEBUG] switch_core_media.c:9089 sofia/default/10000000070500 Set 2833 dtmf send payload to 101
  804. 2023-07-07 14:58:27.429596 91.43% [DEBUG] switch_core_media.c:9096 sofia/default/10000000070500 Set 2833 dtmf receive payload to 101
  805. 2023-07-07 14:58:27.429596 91.43% [DEBUG] switch_core_media.c:9119 sofia/default/10000000070500 Set rtp dtmf delay to 40
  806. 2023-07-07 14:58:27.429596 91.43% [NOTICE] sofia.c:8683 Channel [sofia/default/10000000070500] has been answered
  807. EXECUTE [depth=1] sofia/default/10000000070500 record_session(/usr/local/freeswitch/recordings/02e6d915-414d-4e7d-bb13-2eac3d2637e2.wav)
  808. 2023-07-07 14:58:27.449599 91.43% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/9084093666@13.232.246.166.
  809. 2023-07-07 14:58:27.449599 91.43% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/9084093666@13.232.246.166:
  810. v=0
  811. o=FreeSWITCH 1688720405 1688720407 IN IP4 13.127.204.47
  812. s=FreeSWITCH
  813. c=IN IP4 13.127.204.47
  814. t=0 0
  815. m=audio 21496 RTP/AVP 8 101
  816. a=rtpmap:8 PCMA/8000
  817. a=rtpmap:101 telephone-event/8000
  818. a=fmtp:101 0-15
  819. a=ptime:20
  820. a=sendrecv
  821.  
  822. 2023-07-07 14:58:27.449599 91.43% [DEBUG] sofia.c:7499 Channel sofia/default/9084093666@13.232.246.166 entering state [completed][200]
  823. 2023-07-07 14:58:27.449599 91.43% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/9084093666@13.232.246.166] has been answered
  824. EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 record_session(/usr/local/freeswitch/recordings/02e6d915-414d-4e7d-bb13-2eac3d2637e2.wav)
  825. 2023-07-07 14:58:27.449599 91.43% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  826. 2023-07-07 14:58:27.449599 91.43% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/10000000070500
  827. 2023-07-07 14:58:27.449599 91.43% [DEBUG] switch_channel.c:3950 (sofia/default/10000000070500) Callstate Change DOWN -> ACTIVE
  828. 2023-07-07 14:58:27.449599 91.43% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  829. 2023-07-07 14:58:27.449599 91.43% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/9084093666@13.232.246.166
  830. 2023-07-07 14:58:27.449599 91.43% [DEBUG] sofia.c:7499 Channel sofia/default/9084093666@13.232.246.166 entering state [ready][200]
  831. 2023-07-07 14:58:27.449599 91.43% [DEBUG] switch_channel.c:3950 (sofia/default/9084093666@13.232.246.166) Callstate Change EARLY -> ACTIVE
  832. 2023-07-07 14:58:27.449599 91.43% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/10000000070500] Peer UUID: de28768b-416d-4516-937d-fbaae15155fa
  833. 2023-07-07 14:58:27.449599 91.43% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/10000000070500) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  834. 2023-07-07 14:58:27.449599 91.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10000000070500) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 335)
  835. 2023-07-07 14:58:27.449599 91.43% [DEBUG] switch_core_state_machine.c:650 (sofia/default/10000000070500) State EXCHANGE_MEDIA
  836. 2023-07-07 14:58:27.449599 91.43% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  837. 2023-07-07 14:58:27.449599 91.43% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  838. 2023-07-07 14:58:27.469591 91.43% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  839. 2023-07-07 14:58:27.509592 91.27% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  840. 2023-07-07 14:58:27.509592 91.27% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  841. 2023-07-07 14:58:27.629591 91.27% [DEBUG] switch_ivr_bridge.c:655 sofia/default/10000000070500 Bridge execute app sched_hangup(+60000 normal_clearing)
  842. 2023-07-07 14:58:27.649678 91.27% [DEBUG] switch_ivr.c:632 sofia/default/10000000070500 Command Execute [depth=0] sched_hangup(+60000 normal_clearing)
  843. EXECUTE [depth=0] sofia/default/10000000070500 sched_hangup(+60000 normal_clearing)
  844. 2023-07-07 14:58:27.649678 91.27% [DEBUG] switch_scheduler.c:263 Added task 12 switch_ivr_schedule_hangup (de28768b-416d-4516-937d-fbaae15155fa) to run at 1688801907
  845. 2023-07-07 14:58:27.729594 91.27% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  846. 2023-07-07 14:58:27.729594 91.27% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  847. 2023-07-07 14:58:30.969625 91.07% [NOTICE] sofia.c:1065 Hangup sofia/default/9084093666@13.232.246.166 [CS_EXECUTE] [NORMAL_CLEARING]
  848. 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/9084093666@13.232.246.166]
  849. 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_ivr_bridge.c:820 sofia/default/9084093666@13.232.246.166 ending bridge by request from write function
  850. 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/10000000070500]
  851. 2023-07-07 14:58:30.969625 91.07% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/10000000070500 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  852. 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_core_state_machine.c:650 (sofia/default/10000000070500) State EXCHANGE_MEDIA going to sleep
  853. 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10000000070500) Running State Change CS_HANGUP (Cur 2 Tot 335)
  854. 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/02e6d915-414d-4e7d-bb13-2eac3d2637e2.wav
  855. 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  856. 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/10000000070500
  857. 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_core_state_machine.c:844 (sofia/default/10000000070500) Callstate Change ACTIVE -> HANGUP
  858. 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/10000000070500) State HANGUP
  859. 2023-07-07 14:58:30.969625 91.07% [DEBUG] mod_sofia.c:462 sofia/default/10000000070500 Overriding SIP cause 480 with 200 from the other leg
  860. 2023-07-07 14:58:30.969625 91.07% [DEBUG] mod_sofia.c:468 Channel sofia/default/10000000070500 hanging up, cause: NORMAL_CLEARING
  861. 2023-07-07 14:58:30.969625 91.07% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/10000000070500
  862. 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_core_state_machine.c:59 sofia/default/10000000070500 Standard HANGUP, cause: NORMAL_CLEARING
  863. 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/10000000070500) State HANGUP going to sleep
  864. 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_core_state_machine.c:616 (sofia/default/10000000070500) State Change CS_HANGUP -> CS_REPORTING
  865. 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10000000070500) Running State Change CS_REPORTING (Cur 2 Tot 335)
  866. 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/10000000070500) State REPORTING
  867. 2023-07-07 14:58:30.969625 91.07% [INFO] mod_json_cdr.c:271 Process [de28768b-416d-4516-937d-fbaae15155fa.cdr.json]
  868. 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/10000000070500 skip receive message [UNBRIDGE] (channel is hungup already)
  869. 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/9084093666@13.232.246.166 skip receive message [UNBRIDGE] (channel is hungup already)
  870. 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_core_session.c:2983 sofia/default/9084093666@13.232.246.166 skip receive message [PHONE_EVENT] (channel is hungup already)
  871. 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9084093666@13.232.246.166) State EXECUTE going to sleep
  872. 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9084093666@13.232.246.166) Running State Change CS_HANGUP (Cur 2 Tot 335)
  873. 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/02e6d915-414d-4e7d-bb13-2eac3d2637e2.wav
  874. 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  875. 2023-07-07 14:58:30.989591 91.07% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/9084093666@13.232.246.166
  876. 2023-07-07 14:58:30.989591 91.07% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9084093666@13.232.246.166) Callstate Change ACTIVE -> HANGUP
  877. 2023-07-07 14:58:30.989591 91.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9084093666@13.232.246.166) State HANGUP
  878. 2023-07-07 14:58:30.989591 91.07% [DEBUG] mod_sofia.c:468 Channel sofia/default/9084093666@13.232.246.166 hanging up, cause: NORMAL_CLEARING
  879. 2023-07-07 14:58:30.989591 91.07% [DEBUG] switch_core_state_machine.c:59 sofia/default/9084093666@13.232.246.166 Standard HANGUP, cause: NORMAL_CLEARING
  880. 2023-07-07 14:58:30.989591 91.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9084093666@13.232.246.166) State HANGUP going to sleep
  881. 2023-07-07 14:58:30.989591 91.07% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9084093666@13.232.246.166) State Change CS_HANGUP -> CS_REPORTING
  882. 2023-07-07 14:58:30.989591 91.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9084093666@13.232.246.166) Running State Change CS_REPORTING (Cur 2 Tot 335)
  883. 2023-07-07 14:58:30.989591 91.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9084093666@13.232.246.166) State REPORTING
  884. 2023-07-07 14:58:30.989591 91.07% [INFO] mod_json_cdr.c:271 Process [02e6d915-414d-4e7d-bb13-2eac3d2637e2.cdr.json]
  885. 2023-07-07 14:58:31.009595 91.07% [DEBUG] switch_core_state_machine.c:168 sofia/default/10000000070500 Standard REPORTING, cause: NORMAL_CLEARING
  886. 2023-07-07 14:58:31.009595 91.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/10000000070500) State REPORTING going to sleep
  887. 2023-07-07 14:58:31.009595 91.07% [DEBUG] switch_core_state_machine.c:607 (sofia/default/10000000070500) State Change CS_REPORTING -> CS_DESTROY
  888. 2023-07-07 14:58:31.009595 91.07% [DEBUG] switch_core_session.c:1753 Session 335 (sofia/default/10000000070500) Locked, Waiting on external entities
  889. 2023-07-07 14:58:31.009595 91.07% [NOTICE] switch_core_session.c:1771 Session 335 (sofia/default/10000000070500) Ended
  890. 2023-07-07 14:58:31.009595 91.07% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/10000000070500 [CS_DESTROY]
  891. 2023-07-07 14:58:31.009595 91.07% [DEBUG] switch_core_state_machine.c:735 (sofia/default/10000000070500) Running State Change CS_DESTROY (Cur 1 Tot 335)
  892. 2023-07-07 14:58:31.009595 91.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/10000000070500) State DESTROY
  893. 2023-07-07 14:58:31.009595 91.07% [DEBUG] mod_sofia.c:379 sofia/default/10000000070500 SOFIA DESTROY
  894. 2023-07-07 14:58:31.009595 91.07% [DEBUG] switch_core_state_machine.c:175 sofia/default/10000000070500 Standard DESTROY
  895. 2023-07-07 14:58:31.009595 91.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/10000000070500) State DESTROY going to sleep
  896. 2023-07-07 14:58:31.029591 91.07% [DEBUG] switch_core_state_machine.c:168 sofia/default/9084093666@13.232.246.166 Standard REPORTING, cause: NORMAL_CLEARING
  897. 2023-07-07 14:58:31.029591 91.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9084093666@13.232.246.166) State REPORTING going to sleep
  898. 2023-07-07 14:58:31.029591 91.07% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9084093666@13.232.246.166) State Change CS_REPORTING -> CS_DESTROY
  899. 2023-07-07 14:58:31.029591 91.07% [DEBUG] switch_core_session.c:1753 Session 333 (sofia/default/9084093666@13.232.246.166) Locked, Waiting on external entities
  900. 2023-07-07 14:58:31.029591 91.07% [NOTICE] switch_core_session.c:1771 Session 333 (sofia/default/9084093666@13.232.246.166) Ended
  901. 2023-07-07 14:58:31.029591 91.07% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9084093666@13.232.246.166 [CS_DESTROY]
  902. 2023-07-07 14:58:31.029591 91.07% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9084093666@13.232.246.166) Running State Change CS_DESTROY (Cur 0 Tot 335)
  903. 2023-07-07 14:58:31.029591 91.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9084093666@13.232.246.166) State DESTROY
  904. 2023-07-07 14:58:31.029591 91.07% [DEBUG] mod_sofia.c:379 sofia/default/9084093666@13.232.246.166 SOFIA DESTROY
  905. 2023-07-07 14:58:31.029591 91.07% [DEBUG] switch_core_state_machine.c:175 sofia/default/9084093666@13.232.246.166 Standard DESTROY
  906. 2023-07-07 14:58:31.029591 91.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9084093666@13.232.246.166) State DESTROY going to sleep
  907. 2023-07-07 14:58:31.149615 91.07% [DEBUG] switch_scheduler.c:147 Deleting task 12 switch_ivr_schedule_hangup (de28768b-416d-4516-937d-fbaae15155fa)
  908. freeswitch@ip-172-31-38-162> /exit
  909.  
  910. root@ip-172-31-38-162:/home/admin#