From Prashant kumar, 1 Year ago, written in FreeSWITCH.
- view diff
Embed
  1. freeswitch@devangASTPP>
  2. freeswitch@devangASTPP>
  3. 2022-05-23 08:02:35.961791 98.70% [NOTICE] switch_channel.c:1123 New Channel sofia/default/777777901@3.7.66.233 [dacf83e3-39a0-4006-b573-73676048daf6]
  4. 2022-05-23 08:02:35.961791 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/777777901@3.7.66.233) Running State Change CS_NEW (Cur 1 Tot 47)
  5. 2022-05-23 08:02:35.961791 98.70% [INFO] sofia.c:10462 sofia/default/777777901@3.7.66.233 receiving invite from 3.7.66.233:5074 version: 1.10.7 -release 64bit call-id: 8c56a393-5511-123b-649d-0aeef639a6e0
  6. 2022-05-23 08:02:35.961791 98.70% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 3.7.66.233:0.
  7. 2022-05-23 08:02:35.961791 98.70% [DEBUG] sofia.c:10585 IP 3.7.66.233 Approved by acl "default[]". Access Granted.
  8. 2022-05-23 08:02:35.961791 98.70% [DEBUG] sofia.c:7499 Channel sofia/default/777777901@3.7.66.233 entering state [received][100]
  9. 2022-05-23 08:02:35.961791 98.70% [DEBUG] sofia.c:7509 Remote SDP:
  10. v=0
  11. o=FreeSWITCH 1653267837 1653267838 IN IP4 3.7.66.233
  12. s=FreeSWITCH
  13. c=IN IP4 3.7.66.233
  14. t=0 0
  15. m=audio 25118 RTP/AVP 8 18 101
  16. a=rtpmap:8 PCMA/8000
  17. a=rtpmap:18 G729/8000
  18. a=rtpmap:101 telephone-event/8000
  19. a=fmtp:101 0-15
  20. a=ptime:20
  21.  
  22. 2022-05-23 08:02:35.961791 98.70% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  23. 2022-05-23 08:02:35.961791 98.70% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  24. 2022-05-23 08:02:35.961791 98.70% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  25. 2022-05-23 08:02:35.961791 98.70% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  26. 2022-05-23 08:02:35.961791 98.70% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  27. 2022-05-23 08:02:35.961791 98.70% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  28. 2022-05-23 08:02:35.961791 98.70% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/777777901@3.7.66.233 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  29. 2022-05-23 08:02:35.961791 98.70% [DEBUG] switch_core_codec.c:111 sofia/default/777777901@3.7.66.233 Original read codec set to PCMA:8
  30. 2022-05-23 08:02:35.961791 98.70% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  31. 2022-05-23 08:02:35.961791 98.70% [DEBUG] switch_core_media.c:5973 sofia/default/777777901@3.7.66.233 Set 2833 dtmf send payload to 101 recv payload to 101
  32. 2022-05-23 08:02:35.961791 98.70% [DEBUG] sofia.c:7933 (sofia/default/777777901@3.7.66.233) State Change CS_NEW -> CS_INIT
  33. 2022-05-23 08:02:35.961791 98.70% [DEBUG] switch_core_state_machine.c:600 (sofia/default/777777901@3.7.66.233) State NEW
  34. 2022-05-23 08:02:35.961791 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/777777901@3.7.66.233) Running State Change CS_INIT (Cur 1 Tot 47)
  35. 2022-05-23 08:02:35.961791 98.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/777777901@3.7.66.233) State INIT
  36. 2022-05-23 08:02:35.961791 98.70% [DEBUG] mod_sofia.c:97 sofia/default/777777901@3.7.66.233 SOFIA INIT
  37. 2022-05-23 08:02:35.961791 98.70% [DEBUG] switch_core_state_machine.c:40 sofia/default/777777901@3.7.66.233 Standard INIT
  38. 2022-05-23 08:02:35.961791 98.70% [DEBUG] switch_core_state_machine.c:48 (sofia/default/777777901@3.7.66.233) State Change CS_INIT -> CS_ROUTING
  39. 2022-05-23 08:02:35.961791 98.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/777777901@3.7.66.233) State INIT going to sleep
  40. 2022-05-23 08:02:35.961791 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/777777901@3.7.66.233) Running State Change CS_ROUTING (Cur 1 Tot 47)
  41. 2022-05-23 08:02:35.961791 98.70% [DEBUG] switch_channel.c:2380 (sofia/default/777777901@3.7.66.233) Callstate Change DOWN -> RINGING
  42. 2022-05-23 08:02:35.961791 98.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/777777901@3.7.66.233) State ROUTING
  43. 2022-05-23 08:02:35.961791 98.70% [DEBUG] mod_sofia.c:158 sofia/default/777777901@3.7.66.233 SOFIA ROUTING
  44. 2022-05-23 08:02:35.961791 98.70% [DEBUG] switch_core_state_machine.c:230 sofia/default/777777901@3.7.66.233 Standard ROUTING
  45. 2022-05-23 08:02:35.961791 98.70% [INFO] mod_dialplan_xml.c:639 Processing versionSixAWS <777777901>->100400 in context default
  46. 2022-05-23 08:02:35.961791 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  47. 2022-05-23 08:02:35.961791 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  48. 2022-05-23 08:02:35.961791 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  49. 2022-05-23 08:02:35.961791 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  50. 2022-05-23 08:02:35.961791 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  51. 2022-05-23 08:02:35.961791 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 100400
  52. 2022-05-23 08:02:35.961791 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '100400' limit 1
  53. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  54. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '100400' and status=0 LIMIT 1
  55. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERUSERNAME
  56. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  57. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '142.132.184.134' limit 1
  58. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : versionSixAWS / 777777901
  59. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  60. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  61. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  62. 2022-05-23 08:02:35.981770 98.70% [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 ="100400" LIMIT 1
  63. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  64. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="8" and did_id ="1" and number ="777777901" and status = '0' LIMIT 1
  65. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  66. 2022-05-23 08:02:35.981770 98.70% [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("3.7.66.233") 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 "100400"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  67. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3673942894]
  68. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1
  69. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =8
  70. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  71. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
  72. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  73. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 8
  74. 2022-05-23 08:02:35.981770 98.70% [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 = '^100400.*' OR patterns = '^10040.*' OR patterns = '^1004.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 8 ORDER BY LENGTH(PKGPTR.patterns) DESC
  75. 2022-05-23 08:02:35.981770 98.70% [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 ="100400" AND A.accountid = '3' limit 1
  76. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 100400
  77. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  78. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  79. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  80. 2022-05-23 08:02:35.981770 98.70% [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 ="100400" LIMIT 1
  81. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  82. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="8" and did_id ="1" and number ="777777901" and status = '0' LIMIT 1
  83. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  84. 2022-05-23 08:02:35.981770 98.70% [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 = '100400' OR number = '10040' OR number = '1004' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '100400*' OR number = '10040*' OR number = '1004*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '777777901' OR number = '77777790' OR number = '7777779' OR number = '777777' OR number = '77777' OR number = '7777' OR number = '777' OR number = '77' OR number = '7' OR number ='--') OR (number = '777777901*' OR number = '77777790*' OR number = '7777779*' OR number = '777777*' OR number = '77777*' OR number = '7777*' OR number = '777*' OR number = '77*' OR number = '7*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  85. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  86. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '100400' OR routing_prefix = '10040' OR routing_prefix = '1004' OR routing_prefix = '100' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  87. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  88. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 3
  89. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3673942894
  90. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =8
  91. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 1936.57
  92. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  93. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  94. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  95. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  96. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  97. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
  98. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  99. 2022-05-23 08:02:35.981770 98.70% [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 ="100400" LIMIT 1
  100. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  101. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="8" and did_id ="1" and number ="777777901" and status = '0' LIMIT 1
  102. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  103. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  104. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.00000
  105. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
  106. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '1' and status=0
  107. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.00000
  108. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  109. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  110. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  111. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  112. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  113. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 100400
  114. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  115. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 3
  116. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  117. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =8
  118. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your1936.57 balance Accountid 3 !!!
  119. 2022-05-23 08:02:35.981770 98.70% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  120. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  121. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  122. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  123. 2022-05-23 08:02:35.981770 98.70% [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
  124. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "8" AND deleted = 0 limit 1
  125. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:3
  126. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:3
  127. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 3
  128. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 8 limit 1
  129. 2022-05-23 08:02:35.981770 98.70% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : astppqa606.astppbilling.org
  130. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  131. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  132. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  133. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  134. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing  WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "1" AND accounts.status = 0
  135. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 8 limit 1
  136. 2022-05-23 08:02:35.981770 98.70% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : astppqa606.astppbilling.org
  137. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 8  and status = 0 limit 1
  138. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_9
  139. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : 9
  140. 2022-05-23 08:02:35.981770 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : Queue
  141. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_Queue_INFO] Query :SELECT * from pbx_queue WHERE id = 1 and status=0 LIMIT 1
  142. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '${au-ring}' LIMIT 1
  143. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT name FROM pbx_music_on_hold WHERE id = 0 ORDER BY RAND() LIMIT 1
  144. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  145. <document type="freeswitch/xml">
  146. <section name="dialplan" description="ASTPP Dialplan">
  147. <context name="default">
  148. <extension name="100400">
  149. <condition field="destination_number" expression="100400">
  150. <action application="set" data="effective_destination_number=100400"/>
  151. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  152. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  153. <action application="set" data="notify_flag=0"/>
  154. <action application="set" data="notify_credit_limit=0.00000"/>
  155. <action application="set" data="type=3"/>
  156. <action application="set" data="callstart=2022-05-23 08:02:35"/>
  157. <action application="set" data="hangup_after_bridge=true"/>
  158. <action application="set" data="continue_on_fail=TRUE"/>
  159. <action application="set" data="account_id=3"/>
  160. <action application="set" data="parent_id=0"/>
  161. <action application="set" data="entity_id=3"/>
  162. <action application="set" data="call_processed=internal"/>
  163. <action application="set" data="call_direction=inbound"/>
  164. <action application="set" data="accountname=Version_Six"/>
  165. <action application="set" data="origination_rates_did=ID:1|CODE:^100400.*|DESTINATION:100400|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:9|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:8"/>
  166. <action application="set" data="origination_rates=0"/>
  167. <action application="set" data="original_caller_id_name=versionSixAWS"/>
  168. <action application="set" data="original_caller_id_number=777777901"/>
  169. <action application="export" data="is_recording=1"/>
  170. <action application="export" data="media_bug_answer_req=true"/>
  171. <action application="export" data="RECORD_STEREO=true"/>
  172. <action application="export" data="record_sample_rate=8000"/>
  173. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  174. <action application="set" data="effective_caller_id_name=versionSixAWS"/>
  175. <action application="set" data="effective_caller_id_number=777777901"/>
  176. <action application="set" data="receiver_accid=8"/>
  177. <action application="export" data="domain_name=astppqa606.astppbilling.org"/>
  178. <action application="export" data="sip_to_host=astppqa606.astppbilling.org"/>
  179. <action application="export" data="presence_data=x|||Admin's cust(9148867339)|||||||||DID|||3.7.66.233"/>
  180. <action application="export" data="call_type=9"/>
  181. <action application="set" data="did_calltype=9"/>
  182. <action application="set" data="did_extensions=1"/>
  183. <action application="export" data="is_recording=1"/>
  184. <action application="export" data="media_bug_answer_req=true"/>
  185. <action application="export" data="RECORD_STEREO=true"/>
  186. <action application="export" data="record_sample_rate=8000"/>
  187. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  188. <action application="set" data="fifo_music=${au-ring}"/>
  189.     <action application="set" data="fifo_music=$${hold_music}"/>
  190. <action application="set" data="module_name=pbx"/>
  191.     <action application="answer"/>
  192.     <action application="fifo" data="myqueue_1 in"/>
  193. </condition>
  194. </extension>
  195. </context>
  196. </section>
  197. </document>
  198. Dialplan: sofia/default/777777901@3.7.66.233 parsing [default->100400] continue=false
  199. Dialplan: sofia/default/777777901@3.7.66.233 Regex (PASS) [100400] destination_number(100400) =~ /100400/ break=on-false
  200. Dialplan: sofia/default/777777901@3.7.66.233 Action set(effective_destination_number=100400)
  201. Dialplan: sofia/default/777777901@3.7.66.233 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  202. Dialplan: sofia/default/777777901@3.7.66.233 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  203. Dialplan: sofia/default/777777901@3.7.66.233 Action set(notify_flag=0)
  204. Dialplan: sofia/default/777777901@3.7.66.233 Action set(notify_credit_limit=0.00000)
  205. Dialplan: sofia/default/777777901@3.7.66.233 Action set(type=3)
  206. Dialplan: sofia/default/777777901@3.7.66.233 Action set(callstart=2022-05-23 08:02:35)
  207. Dialplan: sofia/default/777777901@3.7.66.233 Action set(hangup_after_bridge=true)
  208. Dialplan: sofia/default/777777901@3.7.66.233 Action set(continue_on_fail=TRUE)
  209. Dialplan: sofia/default/777777901@3.7.66.233 Action set(account_id=3)
  210. Dialplan: sofia/default/777777901@3.7.66.233 Action set(parent_id=0)
  211. Dialplan: sofia/default/777777901@3.7.66.233 Action set(entity_id=3)
  212. Dialplan: sofia/default/777777901@3.7.66.233 Action set(call_processed=internal)
  213. Dialplan: sofia/default/777777901@3.7.66.233 Action set(call_direction=inbound)
  214. Dialplan: sofia/default/777777901@3.7.66.233 Action set(accountname=Version_Six)
  215. Dialplan: sofia/default/777777901@3.7.66.233 Action set(origination_rates_did=ID:1|CODE:^100400.*|DESTINATION:100400|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:9|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:8)
  216. Dialplan: sofia/default/777777901@3.7.66.233 Action set(origination_rates=0)
  217. Dialplan: sofia/default/777777901@3.7.66.233 Action set(original_caller_id_name=versionSixAWS)
  218. Dialplan: sofia/default/777777901@3.7.66.233 Action set(original_caller_id_number=777777901)
  219. Dialplan: sofia/default/777777901@3.7.66.233 Action export(is_recording=1)
  220. Dialplan: sofia/default/777777901@3.7.66.233 Action export(media_bug_answer_req=true)
  221. Dialplan: sofia/default/777777901@3.7.66.233 Action export(RECORD_STEREO=true)
  222. Dialplan: sofia/default/777777901@3.7.66.233 Action export(record_sample_rate=8000)
  223. Dialplan: sofia/default/777777901@3.7.66.233 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  224. Dialplan: sofia/default/777777901@3.7.66.233 Action set(effective_caller_id_name=versionSixAWS)
  225. Dialplan: sofia/default/777777901@3.7.66.233 Action set(effective_caller_id_number=777777901)
  226. Dialplan: sofia/default/777777901@3.7.66.233 Action set(receiver_accid=8)
  227. Dialplan: sofia/default/777777901@3.7.66.233 Action export(domain_name=astppqa606.astppbilling.org)
  228. Dialplan: sofia/default/777777901@3.7.66.233 Action export(sip_to_host=astppqa606.astppbilling.org)
  229. Dialplan: sofia/default/777777901@3.7.66.233 Action export(presence_data=x|||Admin's cust(9148867339)|||||||||DID|||3.7.66.233)
  230. Dialplan: sofia/default/777777901@3.7.66.233 Action export(call_type=9)
  231. Dialplan: sofia/default/777777901@3.7.66.233 Action set(did_calltype=9)
  232. Dialplan: sofia/default/777777901@3.7.66.233 Action set(did_extensions=1)
  233. Dialplan: sofia/default/777777901@3.7.66.233 Action export(is_recording=1)
  234. Dialplan: sofia/default/777777901@3.7.66.233 Action export(media_bug_answer_req=true)
  235. Dialplan: sofia/default/777777901@3.7.66.233 Action export(RECORD_STEREO=true)
  236. Dialplan: sofia/default/777777901@3.7.66.233 Action export(record_sample_rate=8000)
  237. Dialplan: sofia/default/777777901@3.7.66.233 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  238. Dialplan: sofia/default/777777901@3.7.66.233 Action set(fifo_music=${au-ring})
  239. Dialplan: sofia/default/777777901@3.7.66.233 Action set(fifo_music=$${hold_music})
  240. Dialplan: sofia/default/777777901@3.7.66.233 Action set(module_name=pbx)
  241. Dialplan: sofia/default/777777901@3.7.66.233 Action answer()
  242. Dialplan: sofia/default/777777901@3.7.66.233 Action fifo(myqueue_1 in)
  243. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_core_state_machine.c:281 (sofia/default/777777901@3.7.66.233) State Change CS_ROUTING -> CS_EXECUTE
  244. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/777777901@3.7.66.233) State ROUTING going to sleep
  245. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/777777901@3.7.66.233) Running State Change CS_EXECUTE (Cur 1 Tot 47)
  246. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_core_state_machine.c:647 (sofia/default/777777901@3.7.66.233) State EXECUTE
  247. 2022-05-23 08:02:35.981770 98.70% [DEBUG] mod_sofia.c:213 sofia/default/777777901@3.7.66.233 SOFIA EXECUTE
  248. 2022-05-23 08:02:35.981770 98.70% [DEBUG] switch_core_state_machine.c:323 sofia/default/777777901@3.7.66.233 Standard EXECUTE
  249. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 set(effective_destination_number=100400)
  250. 2022-05-23 08:02:35.981770 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/777777901@3.7.66.233 [effective_destination_number]=[100400]
  251. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 set(bridge_pre_execute_bleg_app=sched_hangup)
  252. 2022-05-23 08:02:35.981770 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/777777901@3.7.66.233 [bridge_pre_execute_bleg_app]=[sched_hangup]
  253. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  254. 2022-05-23 08:02:35.981770 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/777777901@3.7.66.233 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  255. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 set(notify_flag=0)
  256. 2022-05-23 08:02:35.981770 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/777777901@3.7.66.233 [notify_flag]=[0]
  257. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 set(notify_credit_limit=0.00000)
  258. 2022-05-23 08:02:35.981770 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/777777901@3.7.66.233 [notify_credit_limit]=[0.00000]
  259. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 set(type=3)
  260. 2022-05-23 08:02:35.981770 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/777777901@3.7.66.233 [type]=[3]
  261. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 set(callstart=2022-05-23 08:02:35)
  262. 2022-05-23 08:02:35.981770 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/777777901@3.7.66.233 [callstart]=[2022-05-23 08:02:35]
  263. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 set(hangup_after_bridge=true)
  264. 2022-05-23 08:02:35.981770 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/777777901@3.7.66.233 [hangup_after_bridge]=[true]
  265. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 set(continue_on_fail=TRUE)
  266. 2022-05-23 08:02:35.981770 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/777777901@3.7.66.233 [continue_on_fail]=[TRUE]
  267. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 set(account_id=3)
  268. 2022-05-23 08:02:35.981770 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/777777901@3.7.66.233 [account_id]=[3]
  269. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 set(parent_id=0)
  270. 2022-05-23 08:02:35.981770 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/777777901@3.7.66.233 [parent_id]=[0]
  271. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 set(entity_id=3)
  272. 2022-05-23 08:02:35.981770 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/777777901@3.7.66.233 [entity_id]=[3]
  273. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 set(call_processed=internal)
  274. 2022-05-23 08:02:35.981770 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/777777901@3.7.66.233 [call_processed]=[internal]
  275. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 set(call_direction=inbound)
  276. 2022-05-23 08:02:36.001774 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/777777901@3.7.66.233 [call_direction]=[inbound]
  277. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 set(accountname=Version_Six)
  278. 2022-05-23 08:02:36.001774 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/777777901@3.7.66.233 [accountname]=[Version_Six]
  279. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 set(origination_rates_did=ID:1|CODE:^100400.*|DESTINATION:100400|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:9|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:8)
  280. 2022-05-23 08:02:36.001774 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/777777901@3.7.66.233 [origination_rates_did]=[ID:1|CODE:^100400.*|DESTINATION:100400|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:9|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:8]
  281. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 set(origination_rates=0)
  282. 2022-05-23 08:02:36.001774 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/777777901@3.7.66.233 [origination_rates]=[0]
  283. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 set(original_caller_id_name=versionSixAWS)
  284. 2022-05-23 08:02:36.001774 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/777777901@3.7.66.233 [original_caller_id_name]=[versionSixAWS]
  285. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 set(original_caller_id_number=777777901)
  286. 2022-05-23 08:02:36.001774 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/777777901@3.7.66.233 [original_caller_id_number]=[777777901]
  287. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 export(is_recording=1)
  288. 2022-05-23 08:02:36.001774 98.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  289. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 export(media_bug_answer_req=true)
  290. 2022-05-23 08:02:36.001774 98.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  291. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 export(RECORD_STEREO=true)
  292. 2022-05-23 08:02:36.001774 98.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [RECORD_STEREO]=[true]
  293. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 export(record_sample_rate=8000)
  294. 2022-05-23 08:02:36.001774 98.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  295. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/dacf83e3-39a0-4006-b573-73676048daf6.wav)
  296. 2022-05-23 08:02:36.001774 98.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/dacf83e3-39a0-4006-b573-73676048daf6.wav]
  297. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 set(effective_caller_id_name=versionSixAWS)
  298. 2022-05-23 08:02:36.001774 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/777777901@3.7.66.233 [effective_caller_id_name]=[versionSixAWS]
  299. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 set(effective_caller_id_number=777777901)
  300. 2022-05-23 08:02:36.001774 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/777777901@3.7.66.233 [effective_caller_id_number]=[777777901]
  301. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 set(receiver_accid=8)
  302. 2022-05-23 08:02:36.001774 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/777777901@3.7.66.233 [receiver_accid]=[8]
  303. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 export(domain_name=astppqa606.astppbilling.org)
  304. 2022-05-23 08:02:36.001774 98.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[astppqa606.astppbilling.org]
  305. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 export(sip_to_host=astppqa606.astppbilling.org)
  306. 2022-05-23 08:02:36.001774 98.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[astppqa606.astppbilling.org]
  307. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 export(presence_data=x|||Admin's cust(9148867339)|||||||||DID|||3.7.66.233)
  308. 2022-05-23 08:02:36.001774 98.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Admin's cust(9148867339)|||||||||DID|||3.7.66.233]
  309. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 export(call_type=9)
  310. 2022-05-23 08:02:36.001774 98.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[9]
  311. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 set(did_calltype=9)
  312. 2022-05-23 08:02:36.001774 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/777777901@3.7.66.233 [did_calltype]=[9]
  313. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 set(did_extensions=1)
  314. 2022-05-23 08:02:36.001774 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/777777901@3.7.66.233 [did_extensions]=[1]
  315. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 export(is_recording=1)
  316. 2022-05-23 08:02:36.001774 98.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  317. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 export(media_bug_answer_req=true)
  318. 2022-05-23 08:02:36.001774 98.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  319. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 export(RECORD_STEREO=true)
  320. 2022-05-23 08:02:36.001774 98.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [RECORD_STEREO]=[true]
  321. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 export(record_sample_rate=8000)
  322. 2022-05-23 08:02:36.001774 98.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  323. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/dacf83e3-39a0-4006-b573-73676048daf6.wav)
  324. 2022-05-23 08:02:36.001774 98.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/dacf83e3-39a0-4006-b573-73676048daf6.wav]
  325. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 set(fifo_music=%(400,200,383,417);%(400,2000,383,417))
  326. 2022-05-23 08:02:36.001774 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/777777901@3.7.66.233 [fifo_music]=[%(400,200,383,417);%(400,2000,383,417)]
  327. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 set(fifo_music=local_stream://moh)
  328. 2022-05-23 08:02:36.001774 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/777777901@3.7.66.233 [fifo_music]=[local_stream://moh]
  329. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 set(module_name=pbx)
  330. 2022-05-23 08:02:36.001774 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/777777901@3.7.66.233 [module_name]=[pbx]
  331. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 answer()
  332. 2022-05-23 08:02:36.001774 98.70% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/777777901@3.7.66.233] 142.132.184.134 port 24288 -> 3.7.66.233 port 25118 codec: 8 ms: 20
  333. 2022-05-23 08:02:36.001774 98.70% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  334. 2022-05-23 08:02:36.001774 98.70% [DEBUG] switch_core_media.c:9089 sofia/default/777777901@3.7.66.233 Set 2833 dtmf send payload to 101
  335. 2022-05-23 08:02:36.001774 98.70% [DEBUG] switch_core_media.c:9096 sofia/default/777777901@3.7.66.233 Set 2833 dtmf receive payload to 101
  336. 2022-05-23 08:02:36.001774 98.70% [DEBUG] switch_core_media.c:9119 sofia/default/777777901@3.7.66.233 Set rtp dtmf delay to 40
  337. 2022-05-23 08:02:36.001774 98.70% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/777777901@3.7.66.233:
  338. v=0
  339. o=FreeSWITCH 1653268668 1653268669 IN IP4 142.132.184.134
  340. s=FreeSWITCH
  341. c=IN IP4 142.132.184.134
  342. t=0 0
  343. m=audio 24288 RTP/AVP 8 101
  344. a=rtpmap:8 PCMA/8000
  345. a=rtpmap:101 telephone-event/8000
  346. a=fmtp:101 0-15
  347. a=ptime:20
  348. a=sendrecv
  349.  
  350. 2022-05-23 08:02:36.001774 98.70% [NOTICE] mod_dptools.c:1419 Channel [sofia/default/777777901@3.7.66.233] has been answered
  351. 2022-05-23 08:02:36.001774 98.70% [DEBUG] sofia.c:7499 Channel sofia/default/777777901@3.7.66.233 entering state [completed][200]
  352. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 record_session(/usr/local/freeswitch/recordings/dacf83e3-39a0-4006-b573-73676048daf6.wav)
  353. 2022-05-23 08:02:36.001774 98.70% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  354. 2022-05-23 08:02:36.001774 98.70% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/777777901@3.7.66.233
  355. 2022-05-23 08:02:36.001774 98.70% [DEBUG] switch_channel.c:3950 (sofia/default/777777901@3.7.66.233) Callstate Change RINGING -> ACTIVE
  356. EXECUTE [depth=0] sofia/default/777777901@3.7.66.233 fifo(myqueue_1 in)
  357. 2022-05-23 08:02:36.001774 98.70% [WARNING] mod_local_stream.c:874 Unknown source moh, trying 'default'
  358. 2022-05-23 08:02:36.001774 98.70% [ERR] mod_local_stream.c:882 Unknown source default
  359. 2022-05-23 08:02:36.001774 98.70% [NOTICE] switch_core_state_machine.c:382 sofia/default/777777901@3.7.66.233 has executed the last dialplan instruction, hanging up.
  360. 2022-05-23 08:02:36.001774 98.70% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/777777901@3.7.66.233 [CS_EXECUTE] [NORMAL_CLEARING]
  361. 2022-05-23 08:02:36.001774 98.70% [DEBUG] switch_core_state_machine.c:647 (sofia/default/777777901@3.7.66.233) State EXECUTE going to sleep
  362. 2022-05-23 08:02:36.001774 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/777777901@3.7.66.233) Running State Change CS_HANGUP (Cur 1 Tot 47)
  363. 2022-05-23 08:02:36.001774 98.70% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/dacf83e3-39a0-4006-b573-73676048daf6.wav
  364. 2022-05-23 08:02:36.001774 98.70% [DEBUG] switch_ivr_async.c:1664 Discarding empty file /usr/local/freeswitch/recordings/dacf83e3-39a0-4006-b573-73676048daf6.wav
  365. 2022-05-23 08:02:36.021770 98.70% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/777777901@3.7.66.233
  366. 2022-05-23 08:02:36.021770 98.70% [DEBUG] switch_core_state_machine.c:844 (sofia/default/777777901@3.7.66.233) Callstate Change ACTIVE -> HANGUP
  367. 2022-05-23 08:02:36.021770 98.70% [DEBUG] switch_core_state_machine.c:846 (sofia/default/777777901@3.7.66.233) State HANGUP
  368. 2022-05-23 08:02:36.021770 98.70% [DEBUG] mod_sofia.c:468 Channel sofia/default/777777901@3.7.66.233 hanging up, cause: NORMAL_CLEARING
  369. 2022-05-23 08:02:36.021770 98.70% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/777777901@3.7.66.233
  370. 2022-05-23 08:02:36.021770 98.70% [DEBUG] switch_core_state_machine.c:59 sofia/default/777777901@3.7.66.233 Standard HANGUP, cause: NORMAL_CLEARING
  371. 2022-05-23 08:02:36.021770 98.70% [DEBUG] switch_core_state_machine.c:846 (sofia/default/777777901@3.7.66.233) State HANGUP going to sleep
  372. 2022-05-23 08:02:36.021770 98.70% [DEBUG] switch_core_state_machine.c:616 (sofia/default/777777901@3.7.66.233) State Change CS_HANGUP -> CS_REPORTING
  373. 2022-05-23 08:02:36.021770 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/777777901@3.7.66.233) Running State Change CS_REPORTING (Cur 1 Tot 47)
  374. 2022-05-23 08:02:36.021770 98.70% [DEBUG] switch_core_state_machine.c:932 (sofia/default/777777901@3.7.66.233) State REPORTING
  375. 2022-05-23 08:02:36.021770 98.70% [INFO] mod_json_cdr.c:271 Process [dacf83e3-39a0-4006-b573-73676048daf6.cdr.json]
  376. 2022-05-23 08:02:36.021770 98.70% [DEBUG] switch_core_state_machine.c:168 sofia/default/777777901@3.7.66.233 Standard REPORTING, cause: NORMAL_CLEARING
  377. 2022-05-23 08:02:36.021770 98.70% [DEBUG] switch_core_state_machine.c:932 (sofia/default/777777901@3.7.66.233) State REPORTING going to sleep
  378. 2022-05-23 08:02:36.021770 98.70% [DEBUG] switch_core_state_machine.c:607 (sofia/default/777777901@3.7.66.233) State Change CS_REPORTING -> CS_DESTROY
  379. 2022-05-23 08:02:36.021770 98.70% [DEBUG] switch_core_session.c:1753 Session 47 (sofia/default/777777901@3.7.66.233) Locked, Waiting on external entities
  380. 2022-05-23 08:02:36.021770 98.70% [NOTICE] switch_core_session.c:1771 Session 47 (sofia/default/777777901@3.7.66.233) Ended
  381. 2022-05-23 08:02:36.021770 98.70% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/777777901@3.7.66.233 [CS_DESTROY]
  382. 2022-05-23 08:02:36.021770 98.70% [DEBUG] switch_core_state_machine.c:735 (sofia/default/777777901@3.7.66.233) Running State Change CS_DESTROY (Cur 0 Tot 47)
  383. 2022-05-23 08:02:36.021770 98.70% [DEBUG] switch_core_state_machine.c:745 (sofia/default/777777901@3.7.66.233) State DESTROY
  384. 2022-05-23 08:02:36.021770 98.70% [DEBUG] mod_sofia.c:379 sofia/default/777777901@3.7.66.233 SOFIA DESTROY
  385. 2022-05-23 08:02:36.021770 98.70% [DEBUG] switch_core_state_machine.c:175 sofia/default/777777901@3.7.66.233 Standard DESTROY
  386. 2022-05-23 08:02:36.021770 98.70% [DEBUG] switch_core_state_machine.c:745 (sofia/default/777777901@3.7.66.233) State DESTROY going to sleep
  387. 2022-05-23 08:03:59.421783 99.43% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [4055@astppqa605.astppbilling.org] from ip 117.247.91.162
  388. 2022-05-23 08:03:59.641783 99.43% [WARNING] sofia_reg.c:3223 Can't find user [4055@astppqa605.astppbilling.org] from 117.247.91.162
  389. You must define a domain called 'astppqa605.astppbilling.org' in your directory and add a user with the id="4055" attribute
  390. and you must configure your device to use the proper domain in its authentication credentials.
  391. 2022-05-23 08:03:59.641783 99.43% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [4055@astppqa605.astppbilling.org] from ip 117.247.91.162
  392. freeswitch@devangASTPP>