From PrashantKumar, 2 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: cornflowerblue; font-weight: bold;"> 2021-12-19 18:20:42.376726 99.23% [NOTICE] switch_channel.c:1123 New Channel sofia/default/2475144149@pkcall.astppbilling.org:5099 [8d1d5230-7636-4c26-b8b4-d3ab5d7ef52b]
  2. 2021-12-19 18:20:42.376726 99.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2475144149@pkcall.astppbilling.org:5099) Running State Change CS_NEW (Cur 1 Tot 62)
  3. 2021-12-19 18:20:42.376726 99.23% [INFO] sofia.c:10462 sofia/default/2475144149@pkcall.astppbilling.org:5099 receiving invite from 103.86.19.65:57339 version: 1.10.7 -release-19-883d2cb662 64bit call-id: 7_NITFlc7aEBJzpGBQxNLQ..
  4. 2021-12-19 18:20:42.376726 99.23% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.86.19.65:0.
  5. 2021-12-19 18:20:42.376726 99.23% [DEBUG] sofia.c:2419 detaching session 8d1d5230-7636-4c26-b8b4-d3ab5d7ef52b
  6. 2021-12-19 18:20:42.376726 99.23% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [10999@pkcall.astppbilling.org] from ip 103.86.19.65
  7. 2021-12-19 18:20:42.376726 99.23% [DEBUG] switch_core_state_machine.c:600 (sofia/default/2475144149@pkcall.astppbilling.org:5099) State NEW
  8. 2021-12-19 18:20:43.156786 99.23% [DEBUG] sofia.c:2532 Re-attaching to session 8d1d5230-7636-4c26-b8b4-d3ab5d7ef52b
  9. 2021-12-19 18:20:43.156786 99.23% [INFO] sofia.c:10462 sofia/default/2475144149@pkcall.astppbilling.org:5099 receiving invite from 103.86.19.65:57339 version: 1.10.7 -release-19-883d2cb662 64bit call-id: 7_NITFlc7aEBJzpGBQxNLQ..
  10. 2021-12-19 18:20:43.156786 99.23% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.86.19.65:0.
  11. 2021-12-19 18:20:43.156786 99.23% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  12. 2021-12-19 18:20:43.156786 99.23% [DEBUG] sofia.c:7499 Channel sofia/default/2475144149@pkcall.astppbilling.org:5099 entering state [received][100]
  13. 2021-12-19 18:20:43.156786 99.23% [DEBUG] sofia.c:7509 Remote SDP:
  14. v=0
  15. o=Zoiper 1639938041473 1 IN IP4 103.86.19.65
  16. s=Z
  17. c=IN IP4 103.86.19.65
  18. t=0 0
  19. m=audio 57264 RTP/AVP 0 101 8 3
  20. a=rtpmap:101 telephone-event/8000
  21. a=fmtp:101 0-16
  22.  
  23. 2021-12-19 18:20:43.156786 99.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  24. 2021-12-19 18:20:43.156786 99.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  25. 2021-12-19 18:20:43.156786 99.23% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  26. 2021-12-19 18:20:43.156786 99.23% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  27. 2021-12-19 18:20:43.156786 99.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  28. 2021-12-19 18:20:43.156786 99.23% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  29. 2021-12-19 18:20:43.156786 99.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  30. 2021-12-19 18:20:43.156786 99.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  31. 2021-12-19 18:20:43.156786 99.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  32. 2021-12-19 18:20:43.156786 99.23% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/2475144149@pkcall.astppbilling.org:5099 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  33. 2021-12-19 18:20:43.156786 99.23% [DEBUG] switch_core_codec.c:111 sofia/default/2475144149@pkcall.astppbilling.org:5099 Original read codec set to PCMU:0
  34. 2021-12-19 18:20:43.156786 99.23% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  35. 2021-12-19 18:20:43.156786 99.23% [DEBUG] switch_core_media.c:5973 sofia/default/2475144149@pkcall.astppbilling.org:5099 Set 2833 dtmf send payload to 101 recv payload to 101
  36. 2021-12-19 18:20:43.156786 99.23% [DEBUG] sofia.c:7933 (sofia/default/2475144149@pkcall.astppbilling.org:5099) State Change CS_NEW -> CS_INIT
  37. 2021-12-19 18:20:43.156786 99.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2475144149@pkcall.astppbilling.org:5099) Running State Change CS_INIT (Cur 1 Tot 62)
  38. 2021-12-19 18:20:43.156786 99.23% [DEBUG] switch_core_state_machine.c:624 (sofia/default/2475144149@pkcall.astppbilling.org:5099) State INIT
  39. 2021-12-19 18:20:43.156786 99.23% [DEBUG] mod_sofia.c:97 sofia/default/2475144149@pkcall.astppbilling.org:5099 SOFIA INIT
  40. 2021-12-19 18:20:43.156786 99.23% [DEBUG] switch_core_state_machine.c:40 sofia/default/2475144149@pkcall.astppbilling.org:5099 Standard INIT
  41. 2021-12-19 18:20:43.156786 99.23% [DEBUG] switch_core_state_machine.c:48 (sofia/default/2475144149@pkcall.astppbilling.org:5099) State Change CS_INIT -> CS_ROUTING
  42. 2021-12-19 18:20:43.156786 99.23% [DEBUG] switch_core_state_machine.c:624 (sofia/default/2475144149@pkcall.astppbilling.org:5099) State INIT going to sleep
  43. 2021-12-19 18:20:43.156786 99.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2475144149@pkcall.astppbilling.org:5099) Running State Change CS_ROUTING (Cur 1 Tot 62)
  44. 2021-12-19 18:20:43.156786 99.23% [DEBUG] switch_channel.c:2380 (sofia/default/2475144149@pkcall.astppbilling.org:5099) Callstate Change DOWN -> RINGING
  45. 2021-12-19 18:20:43.156786 99.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/2475144149@pkcall.astppbilling.org:5099) State ROUTING
  46. 2021-12-19 18:20:43.156786 99.23% [DEBUG] mod_sofia.c:158 sofia/default/2475144149@pkcall.astppbilling.org:5099 SOFIA ROUTING
  47. 2021-12-19 18:20:43.156786 99.23% [DEBUG] switch_core_state_machine.c:230 sofia/default/2475144149@pkcall.astppbilling.org:5099 Standard ROUTING
  48. 2021-12-19 18:20:43.156786 99.23% [INFO] mod_dialplan_xml.c:639 Processing 2475144149 <2475144149>->10999 in context default
  49. 2021-12-19 18:20:43.156786 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  50. 2021-12-19 18:20:43.156786 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  51. 2021-12-19 18:20:43.156786 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 10999
  52. 2021-12-19 18:20:43.156786 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '10999' AND status=0 limit 1
  53. 2021-12-19 18:20:43.156786 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER2475144149
  54. 2021-12-19 18:20:43.156786 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  55. 2021-12-19 18:20:43.156786 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'pkcall.astppbilling.org' limit 1
  56. 2021-12-19 18:20:43.156786 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '107' and username = '10999' limit 1
  57. 2021-12-19 18:20:43.156786 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 2475144149 / 2475144149
  58. 2021-12-19 18:20:43.156786 99.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10999" LIMIT 1
  59. 2021-12-19 18:20:43.156786 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  60. 2021-12-19 18:20:43.156786 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  61. 2021-12-19 18:20:43.156786 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 5566350410]
  62. 2021-12-19 18:20:43.156786 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "5566350410" AND deleted = 0 limit 1
  63. 2021-12-19 18:20:43.156786 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="10999" AND (accountid = 0 OR status = 1) LIMIT 1
  64. 2021-12-19 18:20:43.196705 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  65. 2021-12-19 18:20:43.196705 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 107
  66. 2021-12-19 18:20:43.196705 99.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 (patterns = '^10999.*' OR patterns = '^1099.*' OR patterns = '^109.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 107 ORDER BY LENGTH(PKGPTR.patterns) DESC
  67. 2021-12-19 18:20:43.196705 99.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 ="10999" AND A.accountid = '107' limit 1
  68. 2021-12-19 18:20:43.196705 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 10999
  69. 2021-12-19 18:20:43.196705 99.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10999" LIMIT 1
  70. 2021-12-19 18:20:43.196705 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  71. 2021-12-19 18:20:43.216723 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  72. 2021-12-19 18:20:43.216723 99.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 = '10999' OR number = '1099' OR number = '109' OR number = '10' OR number = '1' OR number ='--') OR (number = '10999*' OR number = '1099*' OR number = '109*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '2475144149' OR number = '247514414' OR number = '24751441' OR number = '2475144' OR number = '247514' OR number = '24751' OR number = '2475' OR number = '247' OR number = '24' OR number = '2' OR number ='--') OR (number = '2475144149*' OR number = '247514414*' OR number = '24751441*' OR number = '2475144*' OR number = '247514*' OR number = '24751*' OR number = '2475*' OR number = '247*' OR number = '24*' OR number = '2*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  73. 2021-12-19 18:20:43.216723 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  74. 2021-12-19 18:20:43.216723 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '10999' OR routing_prefix = '1099' OR routing_prefix = '109' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  75. 2021-12-19 18:20:43.216723 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  76. 2021-12-19 18:20:43.216723 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 107
  77. 2021-12-19 18:20:43.216723 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 5566350410
  78. 2021-12-19 18:20:43.216723 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 400
  79. 2021-12-19 18:20:43.216723 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  80. 2021-12-19 18:20:43.216723 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  81. 2021-12-19 18:20:43.216723 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  82. 2021-12-19 18:20:43.216723 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  83. 2021-12-19 18:20:43.216723 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  84. 2021-12-19 18:20:43.216723 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  85. 2021-12-19 18:20:43.216723 99.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10999" LIMIT 1
  86. 2021-12-19 18:20:43.216723 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  87. 2021-12-19 18:20:43.216723 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  88. 2021-12-19 18:20:43.216723 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  89. 2021-12-19 18:20:43.216723 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  90. 2021-12-19 18:20:43.216723 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  91. 2021-12-19 18:20:43.216723 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  92. 2021-12-19 18:20:43.216723 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 4.00000
  93. 2021-12-19 18:20:43.216723 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 10999
  94. 2021-12-19 18:20:43.216723 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  95. 2021-12-19 18:20:43.216723 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 107
  96. 2021-12-19 18:20:43.216723 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  97. 2021-12-19 18:20:43.216723 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your400 balance Accountid 107 !!!
  98. 2021-12-19 18:20:43.216723 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  99. 2021-12-19 18:20:43.216723 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  100. 2021-12-19 18:20:43.216723 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  101. 2021-12-19 18:20:43.216723 99.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 = 107 AND status=0 LIMIT 1
  102. 2021-12-19 18:20:43.216723 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "107" AND deleted = 0 limit 1
  103. 2021-12-19 18:20:43.216723 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:107
  104. 2021-12-19 18:20:43.216723 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:107
  105. 2021-12-19 18:20:43.216723 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 107
  106. 2021-12-19 18:20:43.216723 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  107. 2021-12-19 18:20:43.216723 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  108. 2021-12-19 18:20:43.216723 99.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  109. 2021-12-19 18:20:43.216723 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 107  and status = 0 limit 1
  110. 2021-12-19 18:20:43.236722 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_8
  111. 2021-12-19 18:20:43.236722 99.23% [ERR] mod_lua.cpp:202 /usr/share/freeswitch/scripts/astpp/scripts/astpp.xml.lua:412: attempt to call field '?' (a nil value)
  112. stack traceback:
  113.         /usr/share/freeswitch/scripts/astpp/scripts/astpp.xml.lua:412: in function 'freeswitch_xml_inbound'
  114.         ...hare/freeswitch/scripts/astpp/scripts/astpp.dialplan.lua:760: in main chunk
  115.         [C]: in function 'dofile'
  116.         /usr/share/freeswitch/scripts/astpp/astpp.lua:94: in main chunk
  117. 2021-12-19 18:20:43.236722 99.23% [ERR] mod_lua.cpp:270 LUA script parse/execute error!
  118. 2021-12-19 18:20:43.236722 99.23% [WARNING] mod_dialplan_xml.c:669 Context default not found
  119. 2021-12-19 18:20:43.236722 99.23% [INFO] switch_core_state_machine.c:306 No Route, Aborting
  120. 2021-12-19 18:20:43.236722 99.23% [NOTICE] switch_core_state_machine.c:307 Hangup sofia/default/2475144149@pkcall.astppbilling.org:5099 [CS_ROUTING] [NO_ROUTE_DESTINATION]
  121. 2021-12-19 18:20:43.236722 99.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/2475144149@pkcall.astppbilling.org:5099) State ROUTING going to sleep
  122. 2021-12-19 18:20:43.236722 99.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2475144149@pkcall.astppbilling.org:5099) Running State Change CS_HANGUP (Cur 1 Tot 62)
  123. 2021-12-19 18:20:43.236722 99.23% [DEBUG] switch_core_state_machine.c:844 (sofia/default/2475144149@pkcall.astppbilling.org:5099) Callstate Change RINGING -> HANGUP
  124. 2021-12-19 18:20:43.236722 99.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/2475144149@pkcall.astppbilling.org:5099) State HANGUP
  125. 2021-12-19 18:20:43.236722 99.23% [DEBUG] mod_sofia.c:468 Channel sofia/default/2475144149@pkcall.astppbilling.org:5099 hanging up, cause: NO_ROUTE_DESTINATION
  126. 2021-12-19 18:20:43.236722 99.23% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 404
  127. 2021-12-19 18:20:43.236722 99.23% [DEBUG] switch_core_state_machine.c:59 sofia/default/2475144149@pkcall.astppbilling.org:5099 Standard HANGUP, cause: NO_ROUTE_DESTINATION
  128. 2021-12-19 18:20:43.236722 99.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/2475144149@pkcall.astppbilling.org:5099) State HANGUP going to sleep
  129. 2021-12-19 18:20:43.236722 99.23% [DEBUG] switch_core_state_machine.c:616 (sofia/default/2475144149@pkcall.astppbilling.org:5099) State Change CS_HANGUP -> CS_REPORTING
  130. 2021-12-19 18:20:43.236722 99.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2475144149@pkcall.astppbilling.org:5099) Running State Change CS_REPORTING (Cur 1 Tot 62)
  131. 2021-12-19 18:20:43.236722 99.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/2475144149@pkcall.astppbilling.org:5099) State REPORTING
  132. 2021-12-19 18:20:43.236722 99.23% [INFO] mod_json_cdr.c:271 Process [8d1d5230-7636-4c26-b8b4-d3ab5d7ef52b.cdr.json]
  133. 2021-12-19 18:20:43.236722 99.23% [DEBUG] switch_core_state_machine.c:168 sofia/default/2475144149@pkcall.astppbilling.org:5099 Standard REPORTING, cause: NO_ROUTE_DESTINATION
  134. 2021-12-19 18:20:43.236722 99.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/2475144149@pkcall.astppbilling.org:5099) State REPORTING going to sleep
  135. 2021-12-19 18:20:43.236722 99.23% [DEBUG] switch_core_state_machine.c:607 (sofia/default/2475144149@pkcall.astppbilling.org:5099) State Change CS_REPORTING -> CS_DESTROY
  136. 2021-12-19 18:20:43.236722 99.23% [DEBUG] switch_core_session.c:1753 Session 62 (sofia/default/2475144149@pkcall.astppbilling.org:5099) Locked, Waiting on external entities
  137. 2021-12-19 18:20:43.236722 99.23% [NOTICE] switch_core_session.c:1771 Session 62 (sofia/default/2475144149@pkcall.astppbilling.org:5099) Ended
  138. 2021-12-19 18:20:43.236722 99.23% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/2475144149@pkcall.astppbilling.org:5099 [CS_DESTROY]
  139. 2021-12-19 18:20:43.236722 99.23% [DEBUG] switch_core_state_machine.c:735 (sofia/default/2475144149@pkcall.astppbilling.org:5099) Running State Change CS_DESTROY (Cur 0 Tot 62)
  140. 2021-12-19 18:20:43.236722 99.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/2475144149@pkcall.astppbilling.org:5099) State DESTROY
  141. 2021-12-19 18:20:43.236722 99.23% [DEBUG] mod_sofia.c:379 sofia/default/2475144149@pkcall.astppbilling.org:5099 SOFIA DESTROY
  142. 2021-12-19 18:20:43.236722 99.23% [DEBUG] switch_core_state_machine.c:175 sofia/default/2475144149@pkcall.astppbilling.org:5099 Standard DESTROY
  143. 2021-12-19 18:20:43.236722 99.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/2475144149@pkcall.astppbilling.org:5099) State DESTROY going to sleep
  144. freeswitch@ip-172-31-43-241>
  145.