From Prashant Kumar, 2 Years ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and SIP_routing not working displayed fs_cli error
  1. +OK log level  [7]
  2. 2022-09-19 12:56:27.093388 87.93% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [5822608796@13.127.15.161] from ip 103.240.35.46
  3. 2022-09-19 12:56:27.113382 87.93% [WARNING] sofia_reg.c:3223 Can't find user [5822608796@172.31.40.49] from 103.240.35.46
  4. You must define a domain called '172.31.40.49' in your directory and add a user with the id="5822608796" attribute
  5. and you must configure your device to use the proper domain in its authentication credentials.
  6. 2022-09-19 12:56:33.813415 96.83% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9497482480@13.127.15.161:5078 [145bf697-0ebb-4cd7-964f-5eff6dfe6c6c]
  7. 2022-09-19 12:56:33.813415 96.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9497482480@13.127.15.161:5078) Running State Change CS_NEW (Cur 1 Tot 123)
  8. 2022-09-19 12:56:33.813415 96.83% [INFO] sofia.c:10462 sofia/default/9497482480@13.127.15.161:5078 receiving invite from 103.240.35.46:49850 version: 1.10.7 -release-19-883d2cb662 64bit call-id: ZTcxNTFhYTg4M2QzZWU0OWRjZDE5ZjVlMjk1ODU5YTQ.
  9. 2022-09-19 12:56:33.813415 96.83% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  10. 2022-09-19 12:56:33.813415 96.83% [DEBUG] sofia.c:2419 detaching session 145bf697-0ebb-4cd7-964f-5eff6dfe6c6c
  11. 2022-09-19 12:56:33.813415 96.83% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [121@13.127.15.161] from ip 103.240.35.46
  12. 2022-09-19 12:56:33.813415 96.83% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9497482480@13.127.15.161:5078) State NEW
  13. 2022-09-19 12:56:33.893411 96.83% [DEBUG] sofia.c:2532 Re-attaching to session 145bf697-0ebb-4cd7-964f-5eff6dfe6c6c
  14. 2022-09-19 12:56:33.893411 96.83% [INFO] sofia.c:10462 sofia/default/9497482480@13.127.15.161:5078 receiving invite from 103.240.35.46:49850 version: 1.10.7 -release-19-883d2cb662 64bit call-id: ZTcxNTFhYTg4M2QzZWU0OWRjZDE5ZjVlMjk1ODU5YTQ.
  15. 2022-09-19 12:56:33.893411 96.83% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  16. 2022-09-19 12:56:33.913373 96.83% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  17. 2022-09-19 12:56:33.913373 96.83% [DEBUG] sofia.c:7499 Channel sofia/default/9497482480@13.127.15.161:5078 entering state [received][100]
  18. 2022-09-19 12:56:33.913373 96.83% [DEBUG] sofia.c:7509 Remote SDP:
  19. v=0
  20. o=Z 0 0 IN IP4 103.240.35.46
  21. s=Z
  22. c=IN IP4 103.240.35.46
  23. t=0 0
  24. m=audio 8000 RTP/AVP 3 110 8 0 98 101
  25. a=rtpmap:110 speex/8000
  26. a=rtpmap:98 iLBC/8000
  27. a=fmtp:98 mode=20
  28. a=rtpmap:101 telephone-event/8000
  29. a=fmtp:101 0-15
  30.  
  31. 2022-09-19 12:56:33.913373 96.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  32. 2022-09-19 12:56:33.913373 96.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  33. 2022-09-19 12:56:33.913373 96.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  34. 2022-09-19 12:56:33.913373 96.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  35. 2022-09-19 12:56:33.913373 96.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  36. 2022-09-19 12:56:33.913373 96.83% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  37. 2022-09-19 12:56:33.913373 96.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  38. 2022-09-19 12:56:33.913373 96.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  39. 2022-09-19 12:56:33.913373 96.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  40. 2022-09-19 12:56:33.913373 96.83% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  41. 2022-09-19 12:56:33.913373 96.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  42. 2022-09-19 12:56:33.913373 96.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  43. 2022-09-19 12:56:33.913373 96.83% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  44. 2022-09-19 12:56:33.913373 96.83% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/9497482480@13.127.15.161:5078 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  45. 2022-09-19 12:56:33.913373 96.83% [DEBUG] switch_core_codec.c:111 sofia/default/9497482480@13.127.15.161:5078 Original read codec set to PCMA:8
  46. 2022-09-19 12:56:33.913373 96.83% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  47. 2022-09-19 12:56:33.913373 96.83% [DEBUG] switch_core_media.c:5973 sofia/default/9497482480@13.127.15.161:5078 Set 2833 dtmf send payload to 101 recv payload to 101
  48. 2022-09-19 12:56:33.913373 96.83% [DEBUG] sofia.c:7933 (sofia/default/9497482480@13.127.15.161:5078) State Change CS_NEW -> CS_INIT
  49. 2022-09-19 12:56:33.913373 96.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9497482480@13.127.15.161:5078) Running State Change CS_INIT (Cur 1 Tot 123)
  50. 2022-09-19 12:56:33.913373 96.83% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9497482480@13.127.15.161:5078) State INIT
  51. 2022-09-19 12:56:33.913373 96.83% [DEBUG] mod_sofia.c:97 sofia/default/9497482480@13.127.15.161:5078 SOFIA INIT
  52. 2022-09-19 12:56:33.913373 96.83% [DEBUG] switch_core_state_machine.c:40 sofia/default/9497482480@13.127.15.161:5078 Standard INIT
  53. 2022-09-19 12:56:33.913373 96.83% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9497482480@13.127.15.161:5078) State Change CS_INIT -> CS_ROUTING
  54. 2022-09-19 12:56:33.913373 96.83% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9497482480@13.127.15.161:5078) State INIT going to sleep
  55. 2022-09-19 12:56:33.913373 96.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9497482480@13.127.15.161:5078) Running State Change CS_ROUTING (Cur 1 Tot 123)
  56. 2022-09-19 12:56:33.913373 96.83% [DEBUG] switch_channel.c:2380 (sofia/default/9497482480@13.127.15.161:5078) Callstate Change DOWN -> RINGING
  57. 2022-09-19 12:56:33.913373 96.83% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9497482480@13.127.15.161:5078) State ROUTING
  58. 2022-09-19 12:56:33.913373 96.83% [DEBUG] mod_sofia.c:158 sofia/default/9497482480@13.127.15.161:5078 SOFIA ROUTING
  59. 2022-09-19 12:56:33.913373 96.83% [DEBUG] switch_core_state_machine.c:230 sofia/default/9497482480@13.127.15.161:5078 Standard ROUTING
  60. 2022-09-19 12:56:33.913373 96.83% [INFO] mod_dialplan_xml.c:639 Processing 9497482480 <9497482480>->121 in context default
  61. 2022-09-19 12:56:33.913373 96.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  62. 2022-09-19 12:56:33.913373 96.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  63. 2022-09-19 12:56:33.913373 96.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 121
  64. 2022-09-19 12:56:33.913373 96.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '121' AND status=0 limit 1
  65. 2022-09-19 12:56:33.913373 96.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 9497482480 / 9497482480
  66. 2022-09-19 12:56:33.913373 96.83% [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 ="121" LIMIT 1
  67. 2022-09-19 12:56:33.913373 96.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  68. 2022-09-19 12:56:33.913373 96.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9497482480]
  69. 2022-09-19 12:56:33.913373 96.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9497482480" AND deleted = 0 limit 1
  70. 2022-09-19 12:56:33.933379 96.83% [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 ="121" AND A.accountid = '13' limit 1
  71. 2022-09-19 12:56:33.933379 96.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 121
  72. 2022-09-19 12:56:33.933379 96.83% [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 ="121" LIMIT 1
  73. 2022-09-19 12:56:33.933379 96.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : inbound
  74. 2022-09-19 12:56:33.933379 96.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="121" AND (accountid = 0 OR status = 1) LIMIT 1
  75. 2022-09-19 12:56:33.933379 96.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  76. 2022-09-19 12:56:33.933379 96.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :95
  77. 2022-09-19 12:56:33.933379 96.83% [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 = '^121.*' OR patterns = '^12.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 95 ORDER BY LENGTH(PKGPTR.patterns) DESC
  78. 2022-09-19 12:56:33.933379 96.83% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  79. 2022-09-19 12:56:33.933379 96.83% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 13
  80. 2022-09-19 12:56:33.933379 96.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9497482480
  81. 2022-09-19 12:56:33.933379 96.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 2923.3
  82. 2022-09-19 12:56:33.933379 96.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  83. 2022-09-19 12:56:33.933379 96.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 12
  84. 2022-09-19 12:56:33.933379 96.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  85. 2022-09-19 12:56:33.933379 96.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 12 AND status = 0
  86. 2022-09-19 12:56:33.933379 96.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  87. 2022-09-19 12:56:33.933379 96.83% [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 ="121" LIMIT 1
  88. 2022-09-19 12:56:33.933379 96.83% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: inbound
  89. 2022-09-19 12:56:33.933379 96.83% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  90. 2022-09-19 12:56:33.933379 96.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 10
  91. 2022-09-19 12:56:33.933379 96.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  92. 2022-09-19 12:56:33.933379 96.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  93. 2022-09-19 12:56:33.933379 96.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  94. 2022-09-19 12:56:33.933379 96.83% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : AHEMDABAD GUJRAT
  95. 2022-09-19 12:56:33.933379 96.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 85
  96. 2022-09-19 12:56:33.933379 96.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 13
  97. 2022-09-19 12:56:33.933379 96.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  98. 2022-09-19 12:56:33.933379 96.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your2923.3 balance Accountid 13 !!!
  99. 2022-09-19 12:56:33.933379 96.83% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
  100. 2022-09-19 12:56:33.933379 96.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 100 minutes
  101. 2022-09-19 12:56:33.933379 96.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  102. 2022-09-19 12:56:33.933379 96.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  103. 2022-09-19 12:56:33.933379 96.83% [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 = 13 AND status=0 LIMIT 1
  104. 2022-09-19 12:56:33.933379 96.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "95" AND deleted = 0 limit 1
  105. 2022-09-19 12:56:33.933379 96.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:13
  106. 2022-09-19 12:56:33.933379 96.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:13
  107. 2022-09-19 12:56:33.933379 96.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 13
  108. 2022-09-19 12:56:33.933379 96.83% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 100
  109. 2022-09-19 12:56:33.933379 96.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_0
  110. 2022-09-19 12:56:33.933379 96.83% [ERR] mod_lua.cpp:202 ...hare/freeswitch/scripts/astpp/lib/addons/sip_routing.lua:151: attempt to get length of global 'destination_str' (a nil value)
  111. stack traceback:
  112.         ...hare/freeswitch/scripts/astpp/lib/addons/sip_routing.lua:151: in function '?'
  113.         /usr/share/freeswitch/scripts/astpp/scripts/astpp.xml.lua:306: in function 'freeswitch_xml_inbound'
  114.         ...hare/freeswitch/scripts/astpp/scripts/astpp.dialplan.lua:455: in main chunk
  115.         [C]: in function 'dofile'
  116.         /usr/share/freeswitch/scripts/astpp/astpp.lua:85: in main chunk
  117. 2022-09-19 12:56:33.933379 96.83% [ERR] mod_lua.cpp:270 LUA script parse/execute error!
  118. 2022-09-19 12:56:33.933379 96.83% [WARNING] mod_dialplan_xml.c:669 Context default not found
  119. 2022-09-19 12:56:33.933379 96.83% [INFO] switch_core_state_machine.c:306 No Route, Aborting
  120. 2022-09-19 12:56:33.933379 96.83% [NOTICE] switch_core_state_machine.c:307 Hangup sofia/default/9497482480@13.127.15.161:5078 [CS_ROUTING] [NO_ROUTE_DESTINATION]
  121. 2022-09-19 12:56:33.933379 96.83% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9497482480@13.127.15.161:5078) State ROUTING going to sleep
  122. 2022-09-19 12:56:33.933379 96.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9497482480@13.127.15.161:5078) Running State Change CS_HANGUP (Cur 1 Tot 123)
  123. 2022-09-19 12:56:33.933379 96.83% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9497482480@13.127.15.161:5078) Callstate Change RINGING -> HANGUP
  124. 2022-09-19 12:56:33.933379 96.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9497482480@13.127.15.161:5078) State HANGUP
  125. 2022-09-19 12:56:33.933379 96.83% [DEBUG] mod_sofia.c:468 Channel sofia/default/9497482480@13.127.15.161:5078 hanging up, cause: NO_ROUTE_DESTINATION
  126. 2022-09-19 12:56:33.933379 96.83% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 404
  127. 2022-09-19 12:56:33.933379 96.83% [DEBUG] switch_core_state_machine.c:59 sofia/default/9497482480@13.127.15.161:5078 Standard HANGUP, cause: NO_ROUTE_DESTINATION
  128. 2022-09-19 12:56:33.933379 96.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9497482480@13.127.15.161:5078) State HANGUP going to sleep
  129. 2022-09-19 12:56:33.933379 96.83% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9497482480@13.127.15.161:5078) State Change CS_HANGUP -> CS_REPORTING
  130. 2022-09-19 12:56:33.933379 96.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9497482480@13.127.15.161:5078) Running State Change CS_REPORTING (Cur 1 Tot 123)
  131. 2022-09-19 12:56:33.933379 96.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9497482480@13.127.15.161:5078) State REPORTING
  132. 2022-09-19 12:56:33.933379 96.83% [INFO] mod_json_cdr.c:271 Process [145bf697-0ebb-4cd7-964f-5eff6dfe6c6c.cdr.json]
  133. 2022-09-19 12:56:33.953373 96.83% [DEBUG] switch_core_state_machine.c:168 sofia/default/9497482480@13.127.15.161:5078 Standard REPORTING, cause: NO_ROUTE_DESTINATION
  134. 2022-09-19 12:56:33.953373 96.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9497482480@13.127.15.161:5078) State REPORTING going to sleep
  135. 2022-09-19 12:56:33.953373 96.83% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9497482480@13.127.15.161:5078) State Change CS_REPORTING -> CS_DESTROY
  136. 2022-09-19 12:56:33.953373 96.83% [DEBUG] switch_core_session.c:1753 Session 123 (sofia/default/9497482480@13.127.15.161:5078) Locked, Waiting on external entities
  137. 2022-09-19 12:56:33.953373 96.83% [NOTICE] switch_core_session.c:1771 Session 123 (sofia/default/9497482480@13.127.15.161:5078) Ended
  138. 2022-09-19 12:56:33.953373 96.83% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9497482480@13.127.15.161:5078 [CS_DESTROY]
  139. 2022-09-19 12:56:33.953373 96.83% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9497482480@13.127.15.161:5078) Running State Change CS_DESTROY (Cur 0 Tot 123)
  140. 2022-09-19 12:56:33.953373 96.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9497482480@13.127.15.161:5078) State DESTROY
  141. 2022-09-19 12:56:33.953373 96.83% [DEBUG] mod_sofia.c:379 sofia/default/9497482480@13.127.15.161:5078 SOFIA DESTROY
  142. 2022-09-19 12:56:33.953373 96.83% [DEBUG] switch_core_state_machine.c:175 sofia/default/9497482480@13.127.15.161:5078 Standard DESTROY
  143. 2022-09-19 12:56:33.953373 96.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9497482480@13.127.15.161:5078) State DESTROY going to sleep
  144. 2022-09-19 12:56:39.393404 96.60% [NOTICE] sofia_reg.c:459 Registering 4598450814
  145. 2022-09-19 12:56:39.793381 97.07% [ERR] sofia_reg.c:2677 4598450814 Failed Registration with status Service Unavailable [503]. failure #13734
  146. 2022-09-19 12:56:40.393409 97.07% [WARNING] sofia_reg.c:516 4598450814 Failed Registration [503], setting retry to 30 seconds.
  147. 2022-09-19 12:56:41.393406 97.17% [NOTICE] sofia_reg.c:459 Registering 1876077626
  148. 2022-09-19 12:56:41.513383 97.17% [ERR] sofia_reg.c:2677 1876077626 Failed Registration with status Service Unavailable [503]. failure #13801
  149. 2022-09-19 12:56:41.973384 97.17% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [728557@13.127.15.161] from ip 103.240.35.46
  150. 2022-09-19 12:56:42.033376 97.17% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [8316877353@13.127.15.161] from ip 103.240.35.46
  151. 2022-09-19 12:56:42.193376 97.17% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [728557@13.127.15.161] from ip 103.240.35.46
  152. 2022-09-19 12:56:42.193376 97.17% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [8316877353@13.127.15.161] from ip 103.240.35.46
  153. 2022-09-19 12:56:42.413372 97.17% [WARNING] sofia_reg.c:516 1876077626 Failed Registration [503], setting retry to 30 seconds.
  154. 2022-09-19 12:56:54.813377 99.07% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [728557@13.127.15.161] from ip 103.240.35.46
  155. 2022-09-19 12:56:54.833450 99.07% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [8316877353@13.127.15.161] from ip 103.240.35.46
  156. 2022-09-19 12:56:54.933376 99.07% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [728557@13.127.15.161] from ip 103.240.35.46
  157. 2022-09-19 12:56:54.933376 99.07% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [8316877353@13.127.15.161] from ip 103.240.35.46
  158. 2022-09-19 12:56:55.393378 99.07% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [728557@13.127.15.161] from ip 103.240.35.46
  159. 2022-09-19 12:56:55.413479 99.07% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [8316877353@13.127.15.161] from ip 103.240.35.46
  160. 2022-09-19 12:56:55.613377 98.73% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [728557@13.127.15.161] from ip 103.240.35.46
  161. 2022-09-19 12:56:55.633383 98.73% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [8316877353@13.127.15.161] from ip 103.240.35.46
  162. 2022-09-19 12:57:09.013419 96.87% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [728557@13.127.15.161] from ip 103.240.35.46
  163. 2022-09-19 12:57:09.033385 96.87% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [8316877353@13.127.15.161] from ip 103.240.35.46
  164. 2022-09-19 12:57:09.133405 96.87% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [728557@13.127.15.161] from ip 103.240.35.46
  165. 2022-09-19 12:57:09.153382 96.87% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [8316877353@13.127.15.161] from ip 103.240.35.46
  166. 2022-09-19 12:57:10.933405 96.60% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [845296@13.127.15.161] from ip 103.240.35.46
  167. 2022-09-19 12:57:11.433408 96.60% [NOTICE] sofia_reg.c:459 Registering 4598450814
  168. 2022-09-19 12:57:11.553378 96.60% [ERR] sofia_reg.c:2677 4598450814 Failed Registration with status Service Unavailable [503]. failure #13735
  169. 2022-09-19 12:57:12.433418 96.53% [WARNING] sofia_reg.c:516 4598450814 Failed Registration [503], setting retry to 30 seconds.
  170. 2022-09-19 12:57:13.453401 96.70% [NOTICE] sofia_reg.c:459 Registering 1876077626
  171. 2022-09-19 12:57:13.573382 96.70% [ERR] sofia_reg.c:2677 1876077626 Failed Registration with status Service Unavailable [503]. failure #13802
  172. 2022-09-19 12:57:14.153387 96.70% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [728557@13.127.15.161] from ip 103.240.35.46
  173. 2022-09-19 12:57:14.233388 96.70% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [8316877353@13.127.15.161] from ip 103.240.35.46
  174. 2022-09-19 12:57:14.393374 96.70% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [728557@13.127.15.161] from ip 103.240.35.46
  175. 2022-09-19 12:57:14.453377 96.70% [WARNING] sofia_reg.c:516 1876077626 Failed Registration [503], setting retry to 30 seconds.
  176. 2022-09-19 12:57:14.493372 96.70% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [8316877353@13.127.15.161] from ip 103.240.35.46
  177. 2022-09-19 12:57:27.233410 96.87% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [5822608796@13.127.15.161] from ip 103.240.35.46
  178. 2022-09-19 12:57:27.253377 96.87% [WARNING] sofia_reg.c:3223 Can't find user [5822608796@172.31.40.49] from 103.240.35.46
  179. You must define a domain called '172.31.40.49' in your directory and add a user with the id="5822608796" attribute
  180. and you must configure your device to use the proper domain in its authentication credentials.
  181. 2022-09-19 12:57:27.613377 96.83% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [728557@13.127.15.161] from ip 103.240.35.46
  182. 2022-09-19 12:57:27.633380 96.83% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [8316877353@13.127.15.161] from ip 103.240.35.46
  183. 2022-09-19 12:57:27.813383 96.83% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [728557@13.127.15.161] from ip 103.240.35.46
  184. 2022-09-19 12:57:27.853377 96.83% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [8316877353@13.127.15.161] from ip 103.240.35.46
  185. freeswitch@ip-172-31-40-49>