From Prashant Kumar, 10 Months ago, written in FreeSWITCH.
- view diff
Embed
  1. freeswitch@ip-172-31-0-164>
  2. 2024-02-06 11:19:49.482460 96.87% [NOTICE] switch_channel.c:1142 New Channel sofia/default/1800180222@3.110.187.230 [7597a630-228d-478d-92a3-e95ee16022e6]
  3. 2024-02-06 11:19:49.482460 96.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1800180222@3.110.187.230) Running State Change CS_NEW (Cur 1 Tot 321)
  4. 2024-02-06 11:19:49.482460 96.87% [INFO] sofia.c:10459 sofia/default/1800180222@3.110.187.230 receiving invite from 3.110.187.230:5077 version: 1.10.10-release  64bit call-id: 7b7731e4-3f84-123d-67ad-021eb38071a8
  5. 2024-02-06 11:19:49.482460 96.87% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 3.110.187.230:0.
  6. 2024-02-06 11:19:49.482460 96.87% [DEBUG] sofia.c:10582 IP 3.110.187.230 Approved by acl "default[]". Access Granted.
  7. 2024-02-06 11:19:49.482460 96.87% [DEBUG] sofia.c:7493 Channel sofia/default/1800180222@3.110.187.230 entering state [received][100]
  8. 2024-02-06 11:19:49.482460 96.87% [DEBUG] sofia.c:7503 Remote SDP:
  9. v=0
  10. o=FreeSWITCH 1707194519 1707194520 IN IP4 3.110.187.230
  11. s=FreeSWITCH
  12. c=IN IP4 3.110.187.230
  13. t=0 0
  14. m=audio 23870 RTP/AVP 8 18 101
  15. a=rtpmap:8 PCMA/8000
  16. a=rtpmap:18 G729/8000
  17. a=rtpmap:101 telephone-event/8000
  18. a=fmtp:101 0-15
  19. a=ptime:20
  20.  
  21. 2024-02-06 11:19:49.482460 96.87% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  22. 2024-02-06 11:19:49.482460 96.87% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  23. 2024-02-06 11:19:49.482460 96.87% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  24. 2024-02-06 11:19:49.482460 96.87% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  25. 2024-02-06 11:19:49.482460 96.87% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  26. 2024-02-06 11:19:49.482460 96.87% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  27. 2024-02-06 11:19:49.482460 96.87% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/1800180222@3.110.187.230 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  28. 2024-02-06 11:19:49.482460 96.87% [DEBUG] switch_core_codec.c:111 sofia/default/1800180222@3.110.187.230 Original read codec set to PCMA:8
  29. 2024-02-06 11:19:49.482460 96.87% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  30. 2024-02-06 11:19:49.482460 96.87% [DEBUG] switch_core_media.c:5856 sofia/default/1800180222@3.110.187.230 Set 2833 dtmf send payload to 101 recv payload to 101
  31. 2024-02-06 11:19:49.482460 96.87% [DEBUG] sofia.c:7927 (sofia/default/1800180222@3.110.187.230) State Change CS_NEW -> CS_INIT
  32. 2024-02-06 11:19:49.482460 96.87% [DEBUG] switch_core_state_machine.c:600 (sofia/default/1800180222@3.110.187.230) State NEW
  33. 2024-02-06 11:19:49.482460 96.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1800180222@3.110.187.230) Running State Change CS_INIT (Cur 1 Tot 321)
  34. 2024-02-06 11:19:49.482460 96.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1800180222@3.110.187.230) State INIT
  35. 2024-02-06 11:19:49.482460 96.87% [DEBUG] mod_sofia.c:97 sofia/default/1800180222@3.110.187.230 SOFIA INIT
  36. 2024-02-06 11:19:49.482460 96.87% [DEBUG] switch_core_state_machine.c:40 sofia/default/1800180222@3.110.187.230 Standard INIT
  37. 2024-02-06 11:19:49.482460 96.87% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1800180222@3.110.187.230) State Change CS_INIT -> CS_ROUTING
  38. 2024-02-06 11:19:49.482460 96.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1800180222@3.110.187.230) State INIT going to sleep
  39. 2024-02-06 11:19:49.482460 96.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1800180222@3.110.187.230) Running State Change CS_ROUTING (Cur 1 Tot 321)
  40. 2024-02-06 11:19:49.482460 96.87% [DEBUG] switch_channel.c:2399 (sofia/default/1800180222@3.110.187.230) Callstate Change DOWN -> RINGING
  41. 2024-02-06 11:19:49.482460 96.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1800180222@3.110.187.230) State ROUTING
  42. 2024-02-06 11:19:49.482460 96.87% [DEBUG] mod_sofia.c:158 sofia/default/1800180222@3.110.187.230 SOFIA ROUTING
  43. 2024-02-06 11:19:49.482460 96.87% [DEBUG] switch_core_state_machine.c:230 sofia/default/1800180222@3.110.187.230 Standard ROUTING
  44. 2024-02-06 11:19:49.482460 96.87% [INFO] mod_dialplan_xml.c:639 Processing 1800180222 <1800180222>->10077 in context default
  45. 2024-02-06 11:19:49.482460 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  46. 2024-02-06 11:19:49.482460 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  47. 2024-02-06 11:19:49.482460 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  48. 2024-02-06 11:19:49.482460 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  49. 2024-02-06 11:19:49.502427 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 10077
  50. 2024-02-06 11:19:49.502427 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  51. 2024-02-06 11:19:49.502427 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+PKServerMaster
  52. 2024-02-06 11:19:49.502427 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  53. 2024-02-06 11:19:49.502427 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '10077' limit 1
  54. 2024-02-06 11:19:49.502427 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 1800180222 / 1800180222
  55. 2024-02-06 11:19:49.502427 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  56. 2024-02-06 11:19:49.502427 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  57. 2024-02-06 11:19:49.502427 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  58. 2024-02-06 11:19:49.502427 96.87% [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
  59. 2024-02-06 11:19:49.502427 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  60. 2024-02-06 11:19:49.502427 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  61. 2024-02-06 11:19:49.502427 96.87% [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
  62. 2024-02-06 11:19:49.502427 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3673942894]
  63. 2024-02-06 11:19:49.502427 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "3673942894" OR id = "3673942894") AND deleted = 0 limit 1
  64. 2024-02-06 11:19:49.502427 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2
  65. 2024-02-06 11:19:49.522420 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  66. 2024-02-06 11:19:49.522420 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
  67. 2024-02-06 11:19:49.522420 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  68. 2024-02-06 11:19:49.522420 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 2
  69. 2024-02-06 11:19:49.522420 96.87% [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
  70. 2024-02-06 11:19:49.522420 96.87% [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
  71. 2024-02-06 11:19:49.522420 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 10077
  72. 2024-02-06 11:19:49.522420 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  73. 2024-02-06 11:19:49.522420 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  74. 2024-02-06 11:19:49.522420 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  75. 2024-02-06 11:19:49.522420 96.87% [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
  76. 2024-02-06 11:19:49.522420 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  77. 2024-02-06 11:19:49.522420 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  78. 2024-02-06 11:19:49.522420 96.87% [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 = '1800180222' OR number = '180018022' OR number = '18001802' OR number = '1800180' OR number = '180018' OR number = '18001' OR number = '1800' OR number = '180' OR number = '18' OR number = '1' OR number ='--') OR (number = '1800180222*' OR number = '180018022*' OR number = '18001802*' OR number = '1800180*' OR number = '180018*' OR number = '18001*' OR number = '1800*' OR number = '180*' OR number = '18*' OR number = '1*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  79. 2024-02-06 11:19:49.522420 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  80. 2024-02-06 11:19:49.522420 96.87% [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
  81. 2024-02-06 11:19:49.522420 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  82. 2024-02-06 11:19:49.522420 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 3
  83. 2024-02-06 11:19:49.522420 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3673942894
  84. 2024-02-06 11:19:49.522420 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2
  85. 2024-02-06 11:19:49.522420 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 988.1
  86. 2024-02-06 11:19:49.522420 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  87. 2024-02-06 11:19:49.522420 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  88. 2024-02-06 11:19:49.522420 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  89. 2024-02-06 11:19:49.522420 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  90. 2024-02-06 11:19:49.522420 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  91. 2024-02-06 11:19:49.522420 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
  92. 2024-02-06 11:19:49.522420 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  93. 2024-02-06 11:19:49.522420 96.87% [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
  94. 2024-02-06 11:19:49.522420 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  95. 2024-02-06 11:19:49.522420 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 2  and status = 0 limit 1
  96. 2024-02-06 11:19:49.522420 96.87% [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
  97. 2024-02-06 11:19:49.522420 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  98. 2024-02-06 11:19:49.522420 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  99. 2024-02-06 11:19:49.522420 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  100. 2024-02-06 11:19:49.522420 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  101. 2024-02-06 11:19:49.522420 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  102. 2024-02-06 11:19:49.522420 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  103. 2024-02-06 11:19:49.522420 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.20000
  104. 2024-02-06 11:19:49.522420 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 10077
  105. 2024-02-06 11:19:49.522420 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  106. 2024-02-06 11:19:49.522420 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 3
  107. 2024-02-06 11:19:49.522420 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  108. 2024-02-06 11:19:49.522420 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2
  109. 2024-02-06 11:19:49.522420 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your988.1 balance Accountid 3 !!!
  110. 2024-02-06 11:19:49.522420 96.87% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  111. 2024-02-06 11:19:49.522420 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  112. 2024-02-06 11:19:49.522420 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  113. 2024-02-06 11:19:49.522420 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  114. 2024-02-06 11:19:49.522420 96.87% [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
  115. 2024-02-06 11:19:49.522420 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "2" OR number = "2") AND deleted = 0 limit 1
  116. 2024-02-06 11:19:49.522420 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2
  117. 2024-02-06 11:19:49.522420 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:3
  118. 2024-02-06 11:19:49.522420 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:3
  119. 2024-02-06 11:19:49.522420 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 3
  120. 2024-02-06 11:19:49.522420 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  121. 2024-02-06 11:19:49.522420 96.87% [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
  122. 2024-02-06 11:19:49.522420 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  123. 2024-02-06 11:19:49.522420 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  124. 2024-02-06 11:19:49.522420 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_15
  125. 2024-02-06 11:19:49.522420 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [CALL_FORWARDING_GROUP] call_forwarding_group_id: 1
  126. 2024-02-06 11:19:49.522420 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET CALL_FORWARDING_GROUP_PRIORITY] Query :SELECT id,set_priority FROM call_forwarding_group WHERE id = '1' AND status = 0 LIMIT 1
  127. 2024-02-06 11:19:49.522420 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [CALL_FORWARDING_GROUP] set_priority: 0
  128. 2024-02-06 11:19:49.522420 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET cfg_dest] Query :SELECT * FROM cfg_dest WHERE call_forwarding_id = '1' AND status = 0 AND today_calls < daily_call_limit AND active_cc < maxchannels order by priority,id ASC LIMIT 1
  129. 2024-02-06 11:19:49.522420 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [CALL_FORWARDING_GROUP] forwarding_type: 1
  130. 2024-02-06 11:19:49.522420 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [CALL_FORWARDING_GROUP] destination: 16887077259@15.206.212.57
  131. 2024-02-06 11:19:49.522420 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [CALL_FORWARDING_GROUP] cc: 10
  132. 2024-02-06 11:19:49.522420 96.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [CALL_FORWARDING_GROUP] priority: 1
  133. 2024-02-06 11:19:49.522420 96.87% [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="1800180222" limit 1
  134. 2024-02-06 11:19:49.522420 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [active_cc] :1
  135. 2024-02-06 11:19:49.522420 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [update_active_cc] Query :update cfg_dest SET active_cc = '1', today_calls = today_calls + 1 where id = '17' AND destination = '16887077259@15.206.212.57'
  136. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  137. <document type="freeswitch/xml">
  138. <section name="dialplan" description="ASTPP Dialplan">
  139. <context name="default">
  140. <extension name="10077">
  141. <condition field="destination_number" expression="10077">
  142. <action application="set" data="effective_destination_number=10077"/>
  143. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  144. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  145. <action application="set" data="notify_flag=0"/>
  146. <action application="set" data="notify_credit_limit=0.00000"/>
  147. <action application="set" data="type=3"/>
  148. <action application="set" data="callstart=2024-02-06 11:19:49"/>
  149. <action application="set" data="hangup_after_bridge=true"/>
  150. <action application="set" data="continue_on_fail=TRUE"/>
  151. <action application="set" data="account_id=3"/>
  152. <action application="set" data="parent_id=0"/>
  153. <action application="set" data="entity_id=3"/>
  154. <action application="set" data="call_processed=internal"/>
  155. <action application="set" data="call_direction=inbound"/>
  156. <action application="set" data="accountname=Cummnity"/>
  157. <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"/>
  158. <action application="set" data="origination_rates=0"/>
  159. <action application="set" data="original_caller_id_name=1800180222"/>
  160. <action application="set" data="original_caller_id_number=1800180222"/>
  161. <action application="export" data="is_recording=1"/>
  162. <action application="export" data="media_bug_answer_req=true"/>
  163. <action application="export" data="record_sample_rate=8000"/>
  164. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  165. <action application="set" data="effective_caller_id_name=1800180222"/>
  166. <action application="set" data="effective_caller_id_number=1800180222"/>
  167. <action application="set" data="receiver_accid=2"/>
  168. <action application="export" data="domain_name="/>
  169. <action application="export" data="sip_to_host="/>
  170. <action application="export" data="presence_data=x|||default(3673942894)|||^10077.* // 10077 // 1.20000|||||||||DID|||3.110.187.230"/>
  171. <action application="export" data="call_type=15"/>
  172. <action application="set" data="hangup_after_bridge=true"/>
  173. <action application="set" data="continue_on_fail=TRUE"/>
  174. <action application="set" data="calltype=Call-Forwarding-Group"/>
  175. <action application="export" data="did_destination_forwarding_id=1"/>
  176. <action application="export" data="did_forwarding_answered_by=16887077259@15.206.212.57"/>
  177. <action application="export" data="active_cc=1"/>
  178. <action application="export" data="today_calls=0"/>
  179. <action application="limit_execute" data="db 16887077259@15.206.212.57 cfg_16887077259@15.206.212.57 10 bridge [leg_timeout=0]sofia/${sofia_profile_name}/16887077259@15.206.212.57"/>
  180. </condition>
  181. </extension>
  182. </context>
  183. </section>
  184. </document>
  185. Dialplan: sofia/default/1800180222@3.110.187.230 parsing [default->10077] continue=false
  186. Dialplan: sofia/default/1800180222@3.110.187.230 Regex (PASS) [10077] destination_number(10077) =~ /10077/ break=on-false
  187. Dialplan: sofia/default/1800180222@3.110.187.230 Action set(effective_destination_number=10077)
  188. Dialplan: sofia/default/1800180222@3.110.187.230 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  189. Dialplan: sofia/default/1800180222@3.110.187.230 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  190. Dialplan: sofia/default/1800180222@3.110.187.230 Action set(notify_flag=0)
  191. Dialplan: sofia/default/1800180222@3.110.187.230 Action set(notify_credit_limit=0.00000)
  192. Dialplan: sofia/default/1800180222@3.110.187.230 Action set(type=3)
  193. Dialplan: sofia/default/1800180222@3.110.187.230 Action set(callstart=2024-02-06 11:19:49)
  194. Dialplan: sofia/default/1800180222@3.110.187.230 Action set(hangup_after_bridge=true)
  195. Dialplan: sofia/default/1800180222@3.110.187.230 Action set(continue_on_fail=TRUE)
  196. Dialplan: sofia/default/1800180222@3.110.187.230 Action set(account_id=3)
  197. Dialplan: sofia/default/1800180222@3.110.187.230 Action set(parent_id=0)
  198. Dialplan: sofia/default/1800180222@3.110.187.230 Action set(entity_id=3)
  199. Dialplan: sofia/default/1800180222@3.110.187.230 Action set(call_processed=internal)
  200. Dialplan: sofia/default/1800180222@3.110.187.230 Action set(call_direction=inbound)
  201. Dialplan: sofia/default/1800180222@3.110.187.230 Action set(accountname=Cummnity)
  202. Dialplan: sofia/default/1800180222@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)
  203. Dialplan: sofia/default/1800180222@3.110.187.230 Action set(origination_rates=0)
  204. Dialplan: sofia/default/1800180222@3.110.187.230 Action set(original_caller_id_name=1800180222)
  205. Dialplan: sofia/default/1800180222@3.110.187.230 Action set(original_caller_id_number=1800180222)
  206. Dialplan: sofia/default/1800180222@3.110.187.230 Action export(is_recording=1)
  207. Dialplan: sofia/default/1800180222@3.110.187.230 Action export(media_bug_answer_req=true)
  208. Dialplan: sofia/default/1800180222@3.110.187.230 Action export(record_sample_rate=8000)
  209. Dialplan: sofia/default/1800180222@3.110.187.230 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  210. Dialplan: sofia/default/1800180222@3.110.187.230 Action set(effective_caller_id_name=1800180222)
  211. Dialplan: sofia/default/1800180222@3.110.187.230 Action set(effective_caller_id_number=1800180222)
  212. Dialplan: sofia/default/1800180222@3.110.187.230 Action set(receiver_accid=2)
  213. Dialplan: sofia/default/1800180222@3.110.187.230 Action export(domain_name=)
  214. Dialplan: sofia/default/1800180222@3.110.187.230 Action export(sip_to_host=)
  215. Dialplan: sofia/default/1800180222@3.110.187.230 Action export(presence_data=x|||default(3673942894)|||^10077.* // 10077 // 1.20000|||||||||DID|||3.110.187.230)
  216. Dialplan: sofia/default/1800180222@3.110.187.230 Action export(call_type=15)
  217. Dialplan: sofia/default/1800180222@3.110.187.230 Action set(hangup_after_bridge=true)
  218. Dialplan: sofia/default/1800180222@3.110.187.230 Action set(continue_on_fail=TRUE)
  219. Dialplan: sofia/default/1800180222@3.110.187.230 Action set(calltype=Call-Forwarding-Group)
  220. Dialplan: sofia/default/1800180222@3.110.187.230 Action export(did_destination_forwarding_id=1)
  221. Dialplan: sofia/default/1800180222@3.110.187.230 Action export(did_forwarding_answered_by=16887077259@15.206.212.57)
  222. Dialplan: sofia/default/1800180222@3.110.187.230 Action export(active_cc=1)
  223. Dialplan: sofia/default/1800180222@3.110.187.230 Action export(today_calls=0)
  224. Dialplan: sofia/default/1800180222@3.110.187.230 Action limit_execute(db 16887077259@15.206.212.57 cfg_16887077259@15.206.212.57 10 bridge [leg_timeout=0]sofia/${sofia_profile_name}/16887077259@15.206.212.57)
  225. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_core_state_machine.c:281 (sofia/default/1800180222@3.110.187.230) State Change CS_ROUTING -> CS_EXECUTE
  226. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1800180222@3.110.187.230) State ROUTING going to sleep
  227. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1800180222@3.110.187.230) Running State Change CS_EXECUTE (Cur 1 Tot 321)
  228. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1800180222@3.110.187.230) State EXECUTE
  229. 2024-02-06 11:19:49.542423 96.87% [DEBUG] mod_sofia.c:213 sofia/default/1800180222@3.110.187.230 SOFIA EXECUTE
  230. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_core_state_machine.c:323 sofia/default/1800180222@3.110.187.230 Standard EXECUTE
  231. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 set(effective_destination_number=10077)
  232. 2024-02-06 11:19:49.542423 96.87% [DEBUG] mod_dptools.c:1671 SET sofia/default/1800180222@3.110.187.230 [effective_destination_number]=[10077]
  233. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 set(bridge_pre_execute_bleg_app=sched_hangup)
  234. 2024-02-06 11:19:49.542423 96.87% [DEBUG] mod_dptools.c:1671 SET sofia/default/1800180222@3.110.187.230 [bridge_pre_execute_bleg_app]=[sched_hangup]
  235. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  236. 2024-02-06 11:19:49.542423 96.87% [DEBUG] mod_dptools.c:1671 SET sofia/default/1800180222@3.110.187.230 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  237. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 set(notify_flag=0)
  238. 2024-02-06 11:19:49.542423 96.87% [DEBUG] mod_dptools.c:1671 SET sofia/default/1800180222@3.110.187.230 [notify_flag]=[0]
  239. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 set(notify_credit_limit=0.00000)
  240. 2024-02-06 11:19:49.542423 96.87% [DEBUG] mod_dptools.c:1671 SET sofia/default/1800180222@3.110.187.230 [notify_credit_limit]=[0.00000]
  241. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 set(type=3)
  242. 2024-02-06 11:19:49.542423 96.87% [DEBUG] mod_dptools.c:1671 SET sofia/default/1800180222@3.110.187.230 [type]=[3]
  243. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 set(callstart=2024-02-06 11:19:49)
  244. 2024-02-06 11:19:49.542423 96.87% [DEBUG] mod_dptools.c:1671 SET sofia/default/1800180222@3.110.187.230 [callstart]=[2024-02-06 11:19:49]
  245. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 set(hangup_after_bridge=true)
  246. 2024-02-06 11:19:49.542423 96.87% [DEBUG] mod_dptools.c:1671 SET sofia/default/1800180222@3.110.187.230 [hangup_after_bridge]=[true]
  247. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 set(continue_on_fail=TRUE)
  248. 2024-02-06 11:19:49.542423 96.87% [DEBUG] mod_dptools.c:1671 SET sofia/default/1800180222@3.110.187.230 [continue_on_fail]=[TRUE]
  249. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 set(account_id=3)
  250. 2024-02-06 11:19:49.542423 96.87% [DEBUG] mod_dptools.c:1671 SET sofia/default/1800180222@3.110.187.230 [account_id]=[3]
  251. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 set(parent_id=0)
  252. 2024-02-06 11:19:49.542423 96.87% [DEBUG] mod_dptools.c:1671 SET sofia/default/1800180222@3.110.187.230 [parent_id]=[0]
  253. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 set(entity_id=3)
  254. 2024-02-06 11:19:49.542423 96.87% [DEBUG] mod_dptools.c:1671 SET sofia/default/1800180222@3.110.187.230 [entity_id]=[3]
  255. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 set(call_processed=internal)
  256. 2024-02-06 11:19:49.542423 96.87% [DEBUG] mod_dptools.c:1671 SET sofia/default/1800180222@3.110.187.230 [call_processed]=[internal]
  257. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 set(call_direction=inbound)
  258. 2024-02-06 11:19:49.542423 96.87% [DEBUG] mod_dptools.c:1671 SET sofia/default/1800180222@3.110.187.230 [call_direction]=[inbound]
  259. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 set(accountname=Cummnity)
  260. 2024-02-06 11:19:49.542423 96.87% [DEBUG] mod_dptools.c:1671 SET sofia/default/1800180222@3.110.187.230 [accountname]=[Cummnity]
  261. EXECUTE [depth=0] sofia/default/1800180222@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)
  262. 2024-02-06 11:19:49.542423 96.87% [DEBUG] mod_dptools.c:1671 SET sofia/default/1800180222@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]
  263. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 set(origination_rates=0)
  264. 2024-02-06 11:19:49.542423 96.87% [DEBUG] mod_dptools.c:1671 SET sofia/default/1800180222@3.110.187.230 [origination_rates]=[0]
  265. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 set(original_caller_id_name=1800180222)
  266. 2024-02-06 11:19:49.542423 96.87% [DEBUG] mod_dptools.c:1671 SET sofia/default/1800180222@3.110.187.230 [original_caller_id_name]=[1800180222]
  267. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 set(original_caller_id_number=1800180222)
  268. 2024-02-06 11:19:49.542423 96.87% [DEBUG] mod_dptools.c:1671 SET sofia/default/1800180222@3.110.187.230 [original_caller_id_number]=[1800180222]
  269. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 export(is_recording=1)
  270. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [is_recording]=[1]
  271. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 export(media_bug_answer_req=true)
  272. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [media_bug_answer_req]=[true]
  273. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 export(record_sample_rate=8000)
  274. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [record_sample_rate]=[8000]
  275. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/7597a630-228d-478d-92a3-e95ee16022e6.wav)
  276. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/7597a630-228d-478d-92a3-e95ee16022e6.wav]
  277. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 set(effective_caller_id_name=1800180222)
  278. 2024-02-06 11:19:49.542423 96.87% [DEBUG] mod_dptools.c:1671 SET sofia/default/1800180222@3.110.187.230 [effective_caller_id_name]=[1800180222]
  279. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 set(effective_caller_id_number=1800180222)
  280. 2024-02-06 11:19:49.542423 96.87% [DEBUG] mod_dptools.c:1671 SET sofia/default/1800180222@3.110.187.230 [effective_caller_id_number]=[1800180222]
  281. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 set(receiver_accid=2)
  282. 2024-02-06 11:19:49.542423 96.87% [DEBUG] mod_dptools.c:1671 SET sofia/default/1800180222@3.110.187.230 [receiver_accid]=[2]
  283. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 export(domain_name=)
  284. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [domain_name]=[UNDEF]
  285. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 export(sip_to_host=)
  286. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [sip_to_host]=[UNDEF]
  287. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 export(presence_data=x|||default(3673942894)|||^10077.* // 10077 // 1.20000|||||||||DID|||3.110.187.230)
  288. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^10077.* // 10077 // 1.20000|||||||||DID|||3.110.187.230]
  289. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 export(call_type=15)
  290. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [call_type]=[15]
  291. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 set(hangup_after_bridge=true)
  292. 2024-02-06 11:19:49.542423 96.87% [DEBUG] mod_dptools.c:1671 SET sofia/default/1800180222@3.110.187.230 [hangup_after_bridge]=[true]
  293. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 set(continue_on_fail=TRUE)
  294. 2024-02-06 11:19:49.542423 96.87% [DEBUG] mod_dptools.c:1671 SET sofia/default/1800180222@3.110.187.230 [continue_on_fail]=[TRUE]
  295. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 set(calltype=Call-Forwarding-Group)
  296. 2024-02-06 11:19:49.542423 96.87% [DEBUG] mod_dptools.c:1671 SET sofia/default/1800180222@3.110.187.230 [calltype]=[Call-Forwarding-Group]
  297. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 export(did_destination_forwarding_id=1)
  298. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [did_destination_forwarding_id]=[1]
  299. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 export(did_forwarding_answered_by=16887077259@15.206.212.57)
  300. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [did_forwarding_answered_by]=[16887077259@15.206.212.57]
  301. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 export(active_cc=1)
  302. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [active_cc]=[1]
  303. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 export(today_calls=0)
  304. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [today_calls]=[0]
  305. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 limit_execute(db 16887077259@15.206.212.57 cfg_16887077259@15.206.212.57 10 bridge [leg_timeout=0]sofia/default/16887077259@15.206.212.57)
  306. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_limit.c:124 incr called: 16887077259@15.206.212.57_cfg_16887077259@15.206.212.57 max:10, interval:0
  307. 2024-02-06 11:19:49.542423 96.87% [DEBUG] mod_db.c:194 Usage for 16887077259@15.206.212.57_cfg_16887077259@15.206.212.57 is now 1/10
  308. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 bridge([leg_timeout=0]sofia/default/16887077259@15.206.212.57)
  309. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_channel.c:1288 sofia/default/1800180222@3.110.187.230 EXPORTING[export_vars] [is_recording]=[1] to event
  310. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_channel.c:1288 sofia/default/1800180222@3.110.187.230 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  311. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_channel.c:1288 sofia/default/1800180222@3.110.187.230 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  312. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_channel.c:1288 sofia/default/1800180222@3.110.187.230 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/7597a630-228d-478d-92a3-e95ee16022e6.wav] to event
  313. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_channel.c:1288 sofia/default/1800180222@3.110.187.230 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^10077.* // 10077 // 1.20000|||||||||DID|||3.110.187.230] to event
  314. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_channel.c:1288 sofia/default/1800180222@3.110.187.230 EXPORTING[export_vars] [call_type]=[15] to event
  315. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_channel.c:1288 sofia/default/1800180222@3.110.187.230 EXPORTING[export_vars] [did_destination_forwarding_id]=[1] to event
  316. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_channel.c:1288 sofia/default/1800180222@3.110.187.230 EXPORTING[export_vars] [did_forwarding_answered_by]=[16887077259@15.206.212.57] to event
  317. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_channel.c:1288 sofia/default/1800180222@3.110.187.230 EXPORTING[export_vars] [active_cc]=[1] to event
  318. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_channel.c:1288 sofia/default/1800180222@3.110.187.230 EXPORTING[export_vars] [today_calls]=[0] to event
  319. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables
  320. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_ivr_originate.c:2859 Parsing session specific variables
  321. 2024-02-06 11:19:49.542423 96.87% [NOTICE] switch_channel.c:1142 New Channel sofia/default/16887077259@15.206.212.57 [9ad0dd12-5d2f-4945-be53-c9e8405ce3db]
  322. 2024-02-06 11:19:49.542423 96.87% [DEBUG] mod_sofia.c:5110 (sofia/default/16887077259@15.206.212.57) State Change CS_NEW -> CS_INIT
  323. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/16887077259@15.206.212.57) Running State Change CS_INIT (Cur 2 Tot 322)
  324. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/16887077259@15.206.212.57) State INIT
  325. 2024-02-06 11:19:49.542423 96.87% [DEBUG] mod_sofia.c:97 sofia/default/16887077259@15.206.212.57 SOFIA INIT
  326. 2024-02-06 11:19:49.542423 96.87% [INFO] sofia_glue.c:1659 sofia/default/16887077259@15.206.212.57 sending invite call-id: (null)
  327. 2024-02-06 11:19:49.542423 96.87% [DEBUG] sofia_glue.c:1662 sofia/default/16887077259@15.206.212.57 sending invite version: 1.10.10-release  64bit
  328. Local SDP:
  329. v=0
  330. o=FreeSWITCH 1707189801 1707189802 IN IP4 15.206.212.57
  331. s=FreeSWITCH
  332. c=IN IP4 15.206.212.57
  333. t=0 0
  334. m=audio 28588 RTP/AVP 8 101
  335. a=rtpmap:8 PCMA/8000
  336. a=rtpmap:101 telephone-event/8000
  337. a=fmtp:101 0-15
  338. a=ptime:20
  339. a=sendrecv
  340.  
  341. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_core_state_machine.c:40 sofia/default/16887077259@15.206.212.57 Standard INIT
  342. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_core_state_machine.c:48 (sofia/default/16887077259@15.206.212.57) State Change CS_INIT -> CS_ROUTING
  343. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/16887077259@15.206.212.57) State INIT going to sleep
  344. 2024-02-06 11:19:49.542423 96.87% [NOTICE] switch_channel.c:1142 New Channel sofia/default/1800180222@15.206.212.57 [111e0f7b-149a-4e76-a498-d4009523e11c]
  345. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1800180222@15.206.212.57) Running State Change CS_NEW (Cur 3 Tot 323)
  346. 2024-02-06 11:19:49.542423 96.87% [INFO] sofia.c:10459 sofia/default/1800180222@15.206.212.57 receiving invite from 15.206.212.57:5060 version: 1.10.10-release  64bit call-id: 7b8242e0-3f84-123d-f4ac-0ab60c45a9b7
  347. 2024-02-06 11:19:49.542423 96.87% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 15.206.212.57:0.
  348. 2024-02-06 11:19:49.542423 96.87% [DEBUG] sofia.c:2419 detaching session 111e0f7b-149a-4e76-a498-d4009523e11c
  349. 2024-02-06 11:19:49.542423 96.87% [WARNING] sofia_reg.c:1842 SIP auth challenge (INVITE) on sofia profile 'default' for [16887077259@15.206.212.57] from ip 15.206.212.57
  350. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_core_state_machine.c:600 (sofia/default/1800180222@15.206.212.57) State NEW
  351. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/16887077259@15.206.212.57) Running State Change CS_ROUTING (Cur 3 Tot 323)
  352. 2024-02-06 11:19:49.542423 96.87% [DEBUG] sofia.c:7493 Channel sofia/default/16887077259@15.206.212.57 entering state [calling][0]
  353. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/16887077259@15.206.212.57) State ROUTING
  354. 2024-02-06 11:19:49.542423 96.87% [DEBUG] mod_sofia.c:158 sofia/default/16887077259@15.206.212.57 SOFIA ROUTING
  355. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_ivr_originate.c:67 (sofia/default/16887077259@15.206.212.57) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  356. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/16887077259@15.206.212.57) State ROUTING going to sleep
  357. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/16887077259@15.206.212.57) Running State Change CS_CONSUME_MEDIA (Cur 3 Tot 323)
  358. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_core_state_machine.c:659 (sofia/default/16887077259@15.206.212.57) State CONSUME_MEDIA
  359. 2024-02-06 11:19:49.542423 96.87% [DEBUG] switch_core_state_machine.c:659 (sofia/default/16887077259@15.206.212.57) State CONSUME_MEDIA going to sleep
  360. 2024-02-06 11:19:49.562423 96.87% [WARNING] sofia_reg.c:2843 Cannot locate any authentication credentials to complete an authentication request for realm '"15.206.212.57"'
  361. 2024-02-06 11:19:49.562423 96.87% [NOTICE] sofia_reg.c:2867 Hangup sofia/default/16887077259@15.206.212.57 [CS_CONSUME_MEDIA] [MANDATORY_IE_MISSING]
  362. 2024-02-06 11:19:49.562423 96.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/16887077259@15.206.212.57) Running State Change CS_HANGUP (Cur 3 Tot 323)
  363. 2024-02-06 11:19:49.562423 96.87% [DEBUG] switch_core_state_machine.c:844 (sofia/default/16887077259@15.206.212.57) Callstate Change DOWN -> HANGUP
  364. 2024-02-06 11:19:49.562423 96.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/16887077259@15.206.212.57) State HANGUP
  365. 2024-02-06 11:19:49.562423 96.87% [DEBUG] mod_sofia.c:469 Channel sofia/default/16887077259@15.206.212.57 hanging up, cause: MANDATORY_IE_MISSING
  366. 2024-02-06 11:19:49.562423 96.87% [DEBUG] mod_sofia.c:537 Sending CANCEL to sofia/default/16887077259@15.206.212.57
  367. 2024-02-06 11:19:49.562423 96.87% [DEBUG] switch_core_state_machine.c:59 sofia/default/16887077259@15.206.212.57 Standard HANGUP, cause: MANDATORY_IE_MISSING
  368. 2024-02-06 11:19:49.562423 96.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/16887077259@15.206.212.57) State HANGUP going to sleep
  369. 2024-02-06 11:19:49.562423 96.87% [DEBUG] switch_core_state_machine.c:616 (sofia/default/16887077259@15.206.212.57) State Change CS_HANGUP -> CS_REPORTING
  370. 2024-02-06 11:19:49.562423 96.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/16887077259@15.206.212.57) Running State Change CS_REPORTING (Cur 3 Tot 323)
  371. 2024-02-06 11:19:49.562423 96.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/16887077259@15.206.212.57) State REPORTING
  372. 2024-02-06 11:19:49.562423 96.87% [INFO] mod_json_cdr.c:272 Process [9ad0dd12-5d2f-4945-be53-c9e8405ce3db.cdr.json]
  373. 2024-02-06 11:19:49.562423 96.87% [DEBUG] switch_core_state_machine.c:168 sofia/default/16887077259@15.206.212.57 Standard REPORTING, cause: MANDATORY_IE_MISSING
  374. 2024-02-06 11:19:49.562423 96.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/16887077259@15.206.212.57) State REPORTING going to sleep
  375. 2024-02-06 11:19:49.562423 96.87% [DEBUG] switch_core_state_machine.c:607 (sofia/default/16887077259@15.206.212.57) State Change CS_REPORTING -> CS_DESTROY
  376. 2024-02-06 11:19:49.562423 96.87% [DEBUG] switch_core_session.c:1744 Session 322 (sofia/default/16887077259@15.206.212.57) Locked, Waiting on external entities
  377. 2024-02-06 11:19:49.562423 96.87% [DEBUG] switch_ivr_originate.c:4052 Originate Resulted in Error Cause: 96 [MANDATORY_IE_MISSING]
  378. 2024-02-06 11:19:49.562423 96.87% [INFO] mod_dptools.c:3635 Originate Failed.  Cause: MANDATORY_IE_MISSING
  379. 2024-02-06 11:19:49.562423 96.87% [INFO] mod_dptools.c:4906 immediately releasing
  380. 2024-02-06 11:19:49.562423 96.87% [NOTICE] switch_core_state_machine.c:382 sofia/default/1800180222@3.110.187.230 has executed the last dialplan instruction, hanging up.
  381. 2024-02-06 11:19:49.562423 96.87% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/1800180222@3.110.187.230 [CS_EXECUTE] [NORMAL_CLEARING]
  382. 2024-02-06 11:19:49.562423 96.87% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1800180222@3.110.187.230) State EXECUTE going to sleep
  383. 2024-02-06 11:19:49.562423 96.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1800180222@3.110.187.230) Running State Change CS_HANGUP (Cur 3 Tot 323)
  384. 2024-02-06 11:19:49.562423 96.87% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1800180222@3.110.187.230) Callstate Change RINGING -> HANGUP
  385. 2024-02-06 11:19:49.562423 96.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1800180222@3.110.187.230) State HANGUP
  386. 2024-02-06 11:19:49.562423 96.87% [DEBUG] mod_sofia.c:469 Channel sofia/default/1800180222@3.110.187.230 hanging up, cause: NORMAL_CLEARING
  387. 2024-02-06 11:19:49.562423 96.87% [DEBUG] mod_sofia.c:614 Responding to INVITE with: 480
  388. freeswitch@ip-172-31-0-164>