From Prashant Kumar, 10 Months ago, written in FreeSWITCH.
- view diff
Embed
  1. Type /help <enter> to see a list of commands
  2.  
  3.  
  4.  
  5. +OK log level  [7]
  6. freeswitch@ip-172-31-0-164>
  7. freeswitch@ip-172-31-0-164>
  8. freeswitch@ip-172-31-0-164>
  9. 2024-02-08 05:45:54.842439 96.23% [NOTICE] switch_channel.c:1142 New Channel sofia/default/1007799@3.110.187.230 [9007c1a6-14f3-4b68-bf60-ec81d27e945c]
  10. 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1007799@3.110.187.230) Running State Change CS_NEW (Cur 1 Tot 675)
  11. 2024-02-08 05:45:54.842439 96.23% [INFO] sofia.c:10459 sofia/default/1007799@3.110.187.230 receiving invite from 3.110.187.230:5077 version: 1.10.10-release  64bit call-id: 2ab85b63-40e8-123d-67ad-021eb38071a8
  12. 2024-02-08 05:45:54.842439 96.23% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 3.110.187.230:0.
  13. 2024-02-08 05:45:54.842439 96.23% [DEBUG] sofia.c:10582 IP 3.110.187.230 Approved by acl "default[]". Access Granted.
  14. 2024-02-08 05:45:54.842439 96.23% [DEBUG] sofia.c:7493 Channel sofia/default/1007799@3.110.187.230 entering state [received][100]
  15. 2024-02-08 05:45:54.842439 96.23% [DEBUG] sofia.c:7503 Remote SDP:
  16. v=0
  17. o=FreeSWITCH 1707341172 1707341173 IN IP4 3.110.187.230
  18. s=FreeSWITCH
  19. c=IN IP4 3.110.187.230
  20. t=0 0
  21. m=audio 29982 RTP/AVP 8 18 101
  22. a=rtpmap:8 PCMA/8000
  23. a=rtpmap:18 G729/8000
  24. a=rtpmap:101 telephone-event/8000
  25. a=fmtp:101 0-15
  26. a=ptime:20
  27.  
  28. 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  29. 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  30. 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  31. 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  32. 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  33. 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  34. 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/1007799@3.110.187.230 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  35. 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_codec.c:111 sofia/default/1007799@3.110.187.230 Original read codec set to PCMA:8
  36. 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  37. 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_media.c:5856 sofia/default/1007799@3.110.187.230 Set 2833 dtmf send payload to 101 recv payload to 101
  38. 2024-02-08 05:45:54.842439 96.23% [DEBUG] sofia.c:7927 (sofia/default/1007799@3.110.187.230) State Change CS_NEW -> CS_INIT
  39. 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_state_machine.c:600 (sofia/default/1007799@3.110.187.230) State NEW
  40. 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1007799@3.110.187.230) Running State Change CS_INIT (Cur 1 Tot 675)
  41. 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1007799@3.110.187.230) State INIT
  42. 2024-02-08 05:45:54.842439 96.23% [DEBUG] mod_sofia.c:97 sofia/default/1007799@3.110.187.230 SOFIA INIT
  43. 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_state_machine.c:40 sofia/default/1007799@3.110.187.230 Standard INIT
  44. 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1007799@3.110.187.230) State Change CS_INIT -> CS_ROUTING
  45. 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1007799@3.110.187.230) State INIT going to sleep
  46. 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1007799@3.110.187.230) Running State Change CS_ROUTING (Cur 1 Tot 675)
  47. 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_channel.c:2399 (sofia/default/1007799@3.110.187.230) Callstate Change DOWN -> RINGING
  48. 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1007799@3.110.187.230) State ROUTING
  49. 2024-02-08 05:45:54.842439 96.23% [DEBUG] mod_sofia.c:158 sofia/default/1007799@3.110.187.230 SOFIA ROUTING
  50. 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_state_machine.c:230 sofia/default/1007799@3.110.187.230 Standard ROUTING
  51. 2024-02-08 05:45:54.842439 96.23% [INFO] mod_dialplan_xml.c:639 Processing EX   <1007799>->10077 in context default
  52. 2024-02-08 05:45:54.842439 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  53. 2024-02-08 05:45:54.862424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  54. 2024-02-08 05:45:54.862424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  55. 2024-02-08 05:45:54.862424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  56. 2024-02-08 05:45:54.862424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 10077
  57. 2024-02-08 05:45:54.862424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  58. 2024-02-08 05:45:54.862424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+PKServerMaster
  59. 2024-02-08 05:45:54.862424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  60. 2024-02-08 05:45:54.862424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '10077' limit 1
  61. 2024-02-08 05:45:54.862424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : EX   / 1007799
  62. 2024-02-08 05:45:54.862424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  63. 2024-02-08 05:45:54.862424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  64. 2024-02-08 05:45:54.862424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  65. 2024-02-08 05:45:54.862424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10077" LIMIT 1
  66. 2024-02-08 05:45:54.862424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  67. 2024-02-08 05:45:54.862424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  68. 2024-02-08 05:45:54.862424 96.23% [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.110.187.230") 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 "10077"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  69. 2024-02-08 05:45:54.862424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3673942894]
  70. 2024-02-08 05:45:54.862424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "3673942894" OR id = "3673942894") AND deleted = 0 limit 1
  71. 2024-02-08 05:45:54.862424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2
  72. 2024-02-08 05:45:54.862424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  73. 2024-02-08 05:45:54.862424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
  74. 2024-02-08 05:45:54.862424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  75. 2024-02-08 05:45:54.862424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 2
  76. 2024-02-08 05:45:54.862424 96.23% [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 = '^10077.*' OR patterns = '^1007.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 2 ORDER BY LENGTH(PKGPTR.patterns) DESC
  77. 2024-02-08 05:45:54.862424 96.23% [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 ="10077" AND A.accountid = '3' limit 1
  78. 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 10077
  79. 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  80. 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  81. 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  82. 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10077" LIMIT 1
  83. 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  84. 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  85. 2024-02-08 05:45:54.882424 96.23% [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 = '10077' OR number = '1007' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '10077*' OR number = '1007*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '1007799' OR number = '100779' OR number = '10077' OR number = '1007' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '1007799*' OR number = '100779*' OR number = '10077*' OR number = '1007*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  86. 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  87. 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '10077' OR routing_prefix = '1007' OR routing_prefix = '100' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  88. 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  89. 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 3
  90. 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3673942894
  91. 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2
  92. 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 962.4
  93. 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  94. 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  95. 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  96. 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  97. 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  98. 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
  99. 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  100. 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10077" LIMIT 1
  101. 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  102. 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 2  and status = 0 limit 1
  103. 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10077" LIMIT 1
  104. 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  105. 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  106. 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  107. 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  108. 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  109. 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  110. 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.20000
  111. 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 10077
  112. 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  113. 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 3
  114. 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  115. 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2
  116. 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your962.4 balance Accountid 3 !!!
  117. 2024-02-08 05:45:54.882424 96.23% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  118. 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  119. 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  120. 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  121. 2024-02-08 05:45:54.882424 96.23% [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
  122. 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "2" OR number = "2") AND deleted = 0 limit 1
  123. 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2
  124. 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:3
  125. 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:3
  126. 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 3
  127. 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  128. 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'gw+PKServerMaster' and status = 0 limit 1
  129. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  130. 2024-02-08 05:45:54.902426 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  131. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_15
  132. 2024-02-08 05:45:54.902426 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [CALL_FORWARDING_GROUP] call_forwarding_group_id: 2
  133. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET CALL_FORWARDING_GROUP_PRIORITY] Query :SELECT id,set_priority FROM call_forwarding_group WHERE id = '2' AND status = 0 LIMIT 1
  134. 2024-02-08 05:45:54.902426 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [CALL_FORWARDING_GROUP] set_priority: 0
  135. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET cfg_dest] Query :SELECT * FROM cfg_dest WHERE call_forwarding_id = '2' AND status = 0 AND today_calls < daily_call_limit AND active_cc < maxchannels order by priority,id ASC LIMIT 1
  136. 2024-02-08 05:45:54.902426 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [CALL_FORWARDING_GROUP] forwarding_type: 0
  137. 2024-02-08 05:45:54.902426 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [CALL_FORWARDING_GROUP] destination: 107770088
  138. 2024-02-08 05:45:54.902426 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [CALL_FORWARDING_GROUP] cc: 6
  139. 2024-02-08 05:45:54.902426 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [CALL_FORWARDING_GROUP] priority: 1
  140. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="1007799" limit 1
  141. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [active_cc] :1
  142. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [update_active_cc] Query :update cfg_dest SET active_cc = '1', today_calls = today_calls + 1 where id = '4' AND destination = '107770088'
  143. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  144. <document type="freeswitch/xml">
  145. <section name="dialplan" description="ASTPP Dialplan">
  146. <context name="default">
  147. <extension name="10077">
  148. <condition field="destination_number" expression="10077">
  149. <action application="set" data="effective_destination_number=10077"/>
  150. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  151. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  152. <action application="set" data="notify_flag=0"/>
  153. <action application="set" data="notify_credit_limit=0.00000"/>
  154. <action application="set" data="type=3"/>
  155. <action application="set" data="callstart=2024-02-08 05:45:54"/>
  156. <action application="set" data="hangup_after_bridge=true"/>
  157. <action application="set" data="continue_on_fail=TRUE"/>
  158. <action application="set" data="account_id=3"/>
  159. <action application="set" data="parent_id=0"/>
  160. <action application="set" data="entity_id=3"/>
  161. <action application="set" data="call_processed=internal"/>
  162. <action application="set" data="call_direction=inbound"/>
  163. <action application="set" data="accountname=Cummnity"/>
  164. <action application="set" data="origination_rates_did=ID:1|CODE:^10077.*|DESTINATION:10077|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:15|COST:1.20000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:3"/>
  165. <action application="set" data="origination_rates=0"/>
  166. <action application="set" data="original_caller_id_name=EX  "/>
  167. <action application="set" data="original_caller_id_number=1007799"/>
  168. <action application="export" data="is_recording=1"/>
  169. <action application="export" data="media_bug_answer_req=true"/>
  170. <action application="export" data="record_sample_rate=8000"/>
  171. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  172. <action application="set" data="effective_caller_id_name=EX  "/>
  173. <action application="set" data="effective_caller_id_number=1007799"/>
  174. <action application="set" data="receiver_accid=2"/>
  175. <action application="export" data="domain_name="/>
  176. <action application="export" data="sip_to_host="/>
  177. <action application="export" data="presence_data=x|||default(3673942894)|||^10077.* // 10077 // 1.20000|||||||||DID|||3.110.187.230"/>
  178. <action application="export" data="call_type=15"/>
  179. <action application="set" data="hangup_after_bridge=true"/>
  180. <action application="set" data="continue_on_fail=TRUE"/>
  181. <action application="set" data="calltype=Call-Forwarding-Group"/>
  182. <action application="export" data="did_destination_forwarding_id=2"/>
  183. <action application="export" data="did_forwarding_answered_by=107770088"/>
  184. <action application="export" data="active_cc=1"/>
  185. <action application="export" data="today_calls=0"/>
  186. <action application="limit_execute" data="db 107770088 cfg_107770088 6 bridge [leg_timeout=0]sofia/${sofia_profile_name}/107770088@${domain_name}"/>
  187. </condition>
  188. </extension>
  189. </context>
  190. </section>
  191. </document>
  192. Dialplan: sofia/default/1007799@3.110.187.230 parsing [default->10077] continue=false
  193. Dialplan: sofia/default/1007799@3.110.187.230 Regex (PASS) [10077] destination_number(10077) =~ /10077/ break=on-false
  194. Dialplan: sofia/default/1007799@3.110.187.230 Action set(effective_destination_number=10077)
  195. Dialplan: sofia/default/1007799@3.110.187.230 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  196. Dialplan: sofia/default/1007799@3.110.187.230 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  197. Dialplan: sofia/default/1007799@3.110.187.230 Action set(notify_flag=0)
  198. Dialplan: sofia/default/1007799@3.110.187.230 Action set(notify_credit_limit=0.00000)
  199. Dialplan: sofia/default/1007799@3.110.187.230 Action set(type=3)
  200. Dialplan: sofia/default/1007799@3.110.187.230 Action set(callstart=2024-02-08 05:45:54)
  201. Dialplan: sofia/default/1007799@3.110.187.230 Action set(hangup_after_bridge=true)
  202. Dialplan: sofia/default/1007799@3.110.187.230 Action set(continue_on_fail=TRUE)
  203. Dialplan: sofia/default/1007799@3.110.187.230 Action set(account_id=3)
  204. Dialplan: sofia/default/1007799@3.110.187.230 Action set(parent_id=0)
  205. Dialplan: sofia/default/1007799@3.110.187.230 Action set(entity_id=3)
  206. Dialplan: sofia/default/1007799@3.110.187.230 Action set(call_processed=internal)
  207. Dialplan: sofia/default/1007799@3.110.187.230 Action set(call_direction=inbound)
  208. Dialplan: sofia/default/1007799@3.110.187.230 Action set(accountname=Cummnity)
  209. Dialplan: sofia/default/1007799@3.110.187.230 Action set(origination_rates_did=ID:1|CODE:^10077.*|DESTINATION:10077|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:15|COST:1.20000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:3)
  210. Dialplan: sofia/default/1007799@3.110.187.230 Action set(origination_rates=0)
  211. Dialplan: sofia/default/1007799@3.110.187.230 Action set(original_caller_id_name=EX  )
  212. Dialplan: sofia/default/1007799@3.110.187.230 Action set(original_caller_id_number=1007799)
  213. Dialplan: sofia/default/1007799@3.110.187.230 Action export(is_recording=1)
  214. Dialplan: sofia/default/1007799@3.110.187.230 Action export(media_bug_answer_req=true)
  215. Dialplan: sofia/default/1007799@3.110.187.230 Action export(record_sample_rate=8000)
  216. Dialplan: sofia/default/1007799@3.110.187.230 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  217. Dialplan: sofia/default/1007799@3.110.187.230 Action set(effective_caller_id_name=EX  )
  218. Dialplan: sofia/default/1007799@3.110.187.230 Action set(effective_caller_id_number=1007799)
  219. Dialplan: sofia/default/1007799@3.110.187.230 Action set(receiver_accid=2)
  220. Dialplan: sofia/default/1007799@3.110.187.230 Action export(domain_name=)
  221. Dialplan: sofia/default/1007799@3.110.187.230 Action export(sip_to_host=)
  222. Dialplan: sofia/default/1007799@3.110.187.230 Action export(presence_data=x|||default(3673942894)|||^10077.* // 10077 // 1.20000|||||||||DID|||3.110.187.230)
  223. Dialplan: sofia/default/1007799@3.110.187.230 Action export(call_type=15)
  224. Dialplan: sofia/default/1007799@3.110.187.230 Action set(hangup_after_bridge=true)
  225. Dialplan: sofia/default/1007799@3.110.187.230 Action set(continue_on_fail=TRUE)
  226. Dialplan: sofia/default/1007799@3.110.187.230 Action set(calltype=Call-Forwarding-Group)
  227. Dialplan: sofia/default/1007799@3.110.187.230 Action export(did_destination_forwarding_id=2)
  228. Dialplan: sofia/default/1007799@3.110.187.230 Action export(did_forwarding_answered_by=107770088)
  229. Dialplan: sofia/default/1007799@3.110.187.230 Action export(active_cc=1)
  230. Dialplan: sofia/default/1007799@3.110.187.230 Action export(today_calls=0)
  231. Dialplan: sofia/default/1007799@3.110.187.230 Action limit_execute(db 107770088 cfg_107770088 6 bridge [leg_timeout=0]sofia/${sofia_profile_name}/107770088@${domain_name})
  232. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:281 (sofia/default/1007799@3.110.187.230) State Change CS_ROUTING -> CS_EXECUTE
  233. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1007799@3.110.187.230) State ROUTING going to sleep
  234. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1007799@3.110.187.230) Running State Change CS_EXECUTE (Cur 1 Tot 675)
  235. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1007799@3.110.187.230) State EXECUTE
  236. 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_sofia.c:213 sofia/default/1007799@3.110.187.230 SOFIA EXECUTE
  237. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:323 sofia/default/1007799@3.110.187.230 Standard EXECUTE
  238. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(effective_destination_number=10077)
  239. 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [effective_destination_number]=[10077]
  240. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(bridge_pre_execute_bleg_app=sched_hangup)
  241. 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [bridge_pre_execute_bleg_app]=[sched_hangup]
  242. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  243. 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  244. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(notify_flag=0)
  245. 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [notify_flag]=[0]
  246. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(notify_credit_limit=0.00000)
  247. 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [notify_credit_limit]=[0.00000]
  248. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(type=3)
  249. 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [type]=[3]
  250. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(callstart=2024-02-08 05:45:54)
  251. 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [callstart]=[2024-02-08 05:45:54]
  252. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(hangup_after_bridge=true)
  253. 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [hangup_after_bridge]=[true]
  254. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(continue_on_fail=TRUE)
  255. 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [continue_on_fail]=[TRUE]
  256. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(account_id=3)
  257. 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [account_id]=[3]
  258. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(parent_id=0)
  259. 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [parent_id]=[0]
  260. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(entity_id=3)
  261. 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [entity_id]=[3]
  262. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(call_processed=internal)
  263. 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [call_processed]=[internal]
  264. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(call_direction=inbound)
  265. 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [call_direction]=[inbound]
  266. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(accountname=Cummnity)
  267. 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [accountname]=[Cummnity]
  268. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(origination_rates_did=ID:1|CODE:^10077.*|DESTINATION:10077|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:15|COST:1.20000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:3)
  269. 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [origination_rates_did]=[ID:1|CODE:^10077.*|DESTINATION:10077|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:15|COST:1.20000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:3]
  270. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(origination_rates=0)
  271. 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [origination_rates]=[0]
  272. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(original_caller_id_name=EX  )
  273. 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [original_caller_id_name]=[EX  ]
  274. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(original_caller_id_number=1007799)
  275. 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [original_caller_id_number]=[1007799]
  276. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 export(is_recording=1)
  277. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [is_recording]=[1]
  278. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 export(media_bug_answer_req=true)
  279. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [media_bug_answer_req]=[true]
  280. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 export(record_sample_rate=8000)
  281. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [record_sample_rate]=[8000]
  282. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/9007c1a6-14f3-4b68-bf60-ec81d27e945c.wav)
  283. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/9007c1a6-14f3-4b68-bf60-ec81d27e945c.wav]
  284. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(effective_caller_id_name=EX  )
  285. 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [effective_caller_id_name]=[EX  ]
  286. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(effective_caller_id_number=1007799)
  287. 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [effective_caller_id_number]=[1007799]
  288. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(receiver_accid=2)
  289. 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [receiver_accid]=[2]
  290. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 export(domain_name=)
  291. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [domain_name]=[UNDEF]
  292. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 export(sip_to_host=)
  293. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [sip_to_host]=[UNDEF]
  294. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 export(presence_data=x|||default(3673942894)|||^10077.* // 10077 // 1.20000|||||||||DID|||3.110.187.230)
  295. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^10077.* // 10077 // 1.20000|||||||||DID|||3.110.187.230]
  296. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 export(call_type=15)
  297. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [call_type]=[15]
  298. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(hangup_after_bridge=true)
  299. 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [hangup_after_bridge]=[true]
  300. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(continue_on_fail=TRUE)
  301. 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [continue_on_fail]=[TRUE]
  302. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(calltype=Call-Forwarding-Group)
  303. 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [calltype]=[Call-Forwarding-Group]
  304. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 export(did_destination_forwarding_id=2)
  305. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [did_destination_forwarding_id]=[2]
  306. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 export(did_forwarding_answered_by=107770088)
  307. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [did_forwarding_answered_by]=[107770088]
  308. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 export(active_cc=1)
  309. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [active_cc]=[1]
  310. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 export(today_calls=0)
  311. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [today_calls]=[0]
  312. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 limit_execute(db 107770088 cfg_107770088 6 bridge [leg_timeout=0]sofia/default/107770088@172.31.0.164)
  313. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_limit.c:124 incr called: 107770088_cfg_107770088 max:6, interval:0
  314. 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_db.c:194 Usage for 107770088_cfg_107770088 is now 1/6
  315. EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 bridge([leg_timeout=0]sofia/default/107770088@172.31.0.164)
  316. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1288 sofia/default/1007799@3.110.187.230 EXPORTING[export_vars] [is_recording]=[1] to event
  317. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1288 sofia/default/1007799@3.110.187.230 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  318. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1288 sofia/default/1007799@3.110.187.230 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  319. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1288 sofia/default/1007799@3.110.187.230 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/9007c1a6-14f3-4b68-bf60-ec81d27e945c.wav] to event
  320. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1288 sofia/default/1007799@3.110.187.230 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^10077.* // 10077 // 1.20000|||||||||DID|||3.110.187.230] to event
  321. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1288 sofia/default/1007799@3.110.187.230 EXPORTING[export_vars] [call_type]=[15] to event
  322. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1288 sofia/default/1007799@3.110.187.230 EXPORTING[export_vars] [did_destination_forwarding_id]=[2] to event
  323. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1288 sofia/default/1007799@3.110.187.230 EXPORTING[export_vars] [did_forwarding_answered_by]=[107770088] to event
  324. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1288 sofia/default/1007799@3.110.187.230 EXPORTING[export_vars] [active_cc]=[1] to event
  325. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1288 sofia/default/1007799@3.110.187.230 EXPORTING[export_vars] [today_calls]=[0] to event
  326. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables
  327. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_ivr_originate.c:2859 Parsing session specific variables
  328. 2024-02-08 05:45:54.902426 96.23% [NOTICE] switch_channel.c:1142 New Channel sofia/default/107770088@172.31.0.164 [0a639977-f232-4eba-b5c4-109184e899b7]
  329. 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_sofia.c:5110 (sofia/default/107770088@172.31.0.164) State Change CS_NEW -> CS_INIT
  330. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/107770088@172.31.0.164) Running State Change CS_INIT (Cur 2 Tot 676)
  331. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:624 (sofia/default/107770088@172.31.0.164) State INIT
  332. 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_sofia.c:97 sofia/default/107770088@172.31.0.164 SOFIA INIT
  333. 2024-02-08 05:45:54.902426 96.23% [INFO] sofia_glue.c:1659 sofia/default/107770088@172.31.0.164 sending invite call-id: (null)
  334. 2024-02-08 05:45:54.902426 96.23% [DEBUG] sofia_glue.c:1662 sofia/default/107770088@172.31.0.164 sending invite version: 1.10.10-release  64bit
  335. Local SDP:
  336. v=0
  337. o=FreeSWITCH 1707349034 1707349035 IN IP4 172.31.0.164
  338. s=FreeSWITCH
  339. c=IN IP4 172.31.0.164
  340. t=0 0
  341. m=audio 22120 RTP/AVP 8 101
  342. a=rtpmap:8 PCMA/8000
  343. a=rtpmap:101 telephone-event/8000
  344. a=fmtp:101 0-15
  345. a=ptime:20
  346. a=sendrecv
  347.  
  348. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:40 sofia/default/107770088@172.31.0.164 Standard INIT
  349. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:48 (sofia/default/107770088@172.31.0.164) State Change CS_INIT -> CS_ROUTING
  350. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:624 (sofia/default/107770088@172.31.0.164) State INIT going to sleep
  351. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/107770088@172.31.0.164) Running State Change CS_ROUTING (Cur 2 Tot 676)
  352. 2024-02-08 05:45:54.902426 96.23% [DEBUG] sofia.c:7493 Channel sofia/default/107770088@172.31.0.164 entering state [calling][0]
  353. 2024-02-08 05:45:54.902426 96.23% [DEBUG] sofia.c:7493 Channel sofia/default/107770088@172.31.0.164 entering state [terminated][503]
  354. 2024-02-08 05:45:54.902426 96.23% [NOTICE] sofia.c:8735 Hangup sofia/default/107770088@172.31.0.164 [CS_ROUTING] [NORMAL_TEMPORARY_FAILURE]
  355. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/107770088@172.31.0.164) State ROUTING
  356. 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_sofia.c:158 sofia/default/107770088@172.31.0.164 SOFIA ROUTING
  357. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/107770088@172.31.0.164) State ROUTING going to sleep
  358. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/107770088@172.31.0.164) Running State Change CS_HANGUP (Cur 2 Tot 676)
  359. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:844 (sofia/default/107770088@172.31.0.164) Callstate Change DOWN -> HANGUP
  360. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/107770088@172.31.0.164) State HANGUP
  361. 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_sofia.c:469 Channel sofia/default/107770088@172.31.0.164 hanging up, cause: NORMAL_TEMPORARY_FAILURE
  362. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:59 sofia/default/107770088@172.31.0.164 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
  363. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/107770088@172.31.0.164) State HANGUP going to sleep
  364. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:616 (sofia/default/107770088@172.31.0.164) State Change CS_HANGUP -> CS_REPORTING
  365. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/107770088@172.31.0.164) Running State Change CS_REPORTING (Cur 2 Tot 676)
  366. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/107770088@172.31.0.164) State REPORTING
  367. 2024-02-08 05:45:54.902426 96.23% [INFO] mod_json_cdr.c:272 Process [0a639977-f232-4eba-b5c4-109184e899b7.cdr.json]
  368. 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_ivr_originate.c:4052 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
  369. 2024-02-08 05:45:54.902426 96.23% [INFO] mod_dptools.c:3635 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
  370. 2024-02-08 05:45:54.902426 96.23% [INFO] mod_dptools.c:4906 immediately releasing
  371. 2024-02-08 05:45:54.922422 96.23% [NOTICE] switch_core_state_machine.c:382 sofia/default/1007799@3.110.187.230 has executed the last dialplan instruction, hanging up.
  372. 2024-02-08 05:45:54.922422 96.23% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/1007799@3.110.187.230 [CS_EXECUTE] [NORMAL_CLEARING]
  373. 2024-02-08 05:45:54.922422 96.23% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1007799@3.110.187.230) State EXECUTE going to sleep
  374. 2024-02-08 05:45:54.922422 96.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1007799@3.110.187.230) Running State Change CS_HANGUP (Cur 2 Tot 676)
  375. 2024-02-08 05:45:54.922422 96.23% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1007799@3.110.187.230) Callstate Change RINGING -> HANGUP
  376. 2024-02-08 05:45:54.922422 96.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1007799@3.110.187.230) State HANGUP
  377. 2024-02-08 05:45:54.922422 96.23% [DEBUG] mod_sofia.c:463 sofia/default/1007799@3.110.187.230 Overriding SIP cause 480 with 503 from the other leg
  378. 2024-02-08 05:45:54.922422 96.23% [DEBUG] mod_sofia.c:469 Channel sofia/default/1007799@3.110.187.230 hanging up, cause: NORMAL_CLEARING
  379. 2024-02-08 05:45:54.922422 96.23% [DEBUG] mod_sofia.c:614 Responding to INVITE with: 503
  380. 2024-02-08 05:45:54.922422 96.23% [DEBUG] switch_core_state_machine.c:59 sofia/default/1007799@3.110.187.230 Standard HANGUP, cause: NORMAL_CLEARING
  381. 2024-02-08 05:45:54.922422 96.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1007799@3.110.187.230) State HANGUP going to sleep
  382. 2024-02-08 05:45:54.922422 96.23% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1007799@3.110.187.230) State Change CS_HANGUP -> CS_REPORTING
  383. 2024-02-08 05:45:54.922422 96.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1007799@3.110.187.230) Running State Change CS_REPORTING (Cur 2 Tot 676)
  384. 2024-02-08 05:45:54.922422 96.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1007799@3.110.187.230) State REPORTING
  385. 2024-02-08 05:45:54.922422 96.23% [INFO] mod_json_cdr.c:272 Process [9007c1a6-14f3-4b68-bf60-ec81d27e945c.cdr.json]
  386. 2024-02-08 05:45:54.922422 96.23% [DEBUG] switch_core_state_machine.c:168 sofia/default/107770088@172.31.0.164 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
  387. 2024-02-08 05:45:54.922422 96.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/107770088@172.31.0.164) State REPORTING going to sleep
  388. 2024-02-08 05:45:54.922422 96.23% [DEBUG] switch_core_state_machine.c:607 (sofia/default/107770088@172.31.0.164) State Change CS_REPORTING -> CS_DESTROY
  389. 2024-02-08 05:45:54.922422 96.23% [DEBUG] switch_core_session.c:1744 Session 676 (sofia/default/107770088@172.31.0.164) Locked, Waiting on external entities
  390. 2024-02-08 05:45:54.922422 96.23% [NOTICE] switch_core_session.c:1762 Session 676 (sofia/default/107770088@172.31.0.164) Ended
  391. 2024-02-08 05:45:54.922422 96.23% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/107770088@172.31.0.164 [CS_DESTROY]
  392. 2024-02-08 05:45:54.922422 96.23% [DEBUG] switch_core_state_machine.c:735 (sofia/default/107770088@172.31.0.164) Running State Change CS_DESTROY (Cur 1 Tot 676)
  393. 2024-02-08 05:45:54.922422 96.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/107770088@172.31.0.164) State DESTROY
  394. 2024-02-08 05:45:54.922422 96.23% [DEBUG] mod_sofia.c:380 sofia/default/107770088@172.31.0.164 SOFIA DESTROY
  395. 2024-02-08 05:45:54.922422 96.23% [DEBUG] switch_core_state_machine.c:175 sofia/default/107770088@172.31.0.164 Standard DESTROY
  396. 2024-02-08 05:45:54.922422 96.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/107770088@172.31.0.164) State DESTROY going to sleep
  397. 2024-02-08 05:45:54.942424 96.23% [DEBUG] switch_core_state_machine.c:168 sofia/default/1007799@3.110.187.230 Standard REPORTING, cause: NORMAL_CLEARING
  398. 2024-02-08 05:45:54.942424 96.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1007799@3.110.187.230) State REPORTING going to sleep
  399. 2024-02-08 05:45:54.942424 96.23% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1007799@3.110.187.230) State Change CS_REPORTING -> CS_DESTROY
  400. 2024-02-08 05:45:54.942424 96.23% [DEBUG] switch_core_session.c:1744 Session 675 (sofia/default/1007799@3.110.187.230) Locked, Waiting on external entities
  401. 2024-02-08 05:45:54.942424 96.23% [NOTICE] switch_core_session.c:1762 Session 675 (sofia/default/1007799@3.110.187.230) Ended
  402. 2024-02-08 05:45:54.942424 96.23% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/1007799@3.110.187.230 [CS_DESTROY]
  403. 2024-02-08 05:45:54.942424 96.23% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1007799@3.110.187.230) Running State Change CS_DESTROY (Cur 0 Tot 676)
  404. 2024-02-08 05:45:54.942424 96.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1007799@3.110.187.230) State DESTROY
  405. 2024-02-08 05:45:54.942424 96.23% [DEBUG] mod_sofia.c:380 sofia/default/1007799@3.110.187.230 SOFIA DESTROY
  406. 2024-02-08 05:45:54.942424 96.23% [DEBUG] switch_core_state_machine.c:175 sofia/default/1007799@3.110.187.230 Standard DESTROY
  407. 2024-02-08 05:45:54.942424 96.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1007799@3.110.187.230) State DESTROY going to sleep
  408. 2024-02-08 05:46:03.882447 95.33% [WARNING] sofia_reg.c:1842 SIP auth challenge (REGISTER) on sofia profile 'default' for [5025730762@pk1betav602.astppbilling.org] from ip 3.110.187.230
  409. 2024-02-08 05:46:03.882447 95.33% [WARNING] sofia_reg.c:3210 Can't find user [5025730762@pk1betav602.astppbilling.org] from 3.110.187.230
  410. You must define a domain called 'pk1betav602.astppbilling.org' in your directory and add a user with the id="5025730762" attribute
  411. and you must configure your device to use the proper domain in its authentication credentials.
  412. 2024-02-08 05:46:03.882447 95.33% [WARNING] sofia_reg.c:1787 SIP auth failure (REGISTER) on sofia profile 'default' for [5025730762@pk1betav602.astppbilling.org] from ip 3.110.187.230
  413. freeswitch@ip-172-31-0-164>