All Endpoints become often offline

Hello,

I have aproximatelly 30 pjsip connected on my system but sometimes everyone turns offline and a didnt find the reason. a have already done some stress test on my asterisk and got almost 100 enpoints connected with 50 concurrents calls without problems.

this time i was able to active de necessary log and find this block registred on my logs but cound’t find the source ou some solution for that, the lines below only show 2 endpoints offline but this lines happen for all others 28 endpoint exactly the same

connections happen through “JsSip” library

All my config for endpoints, aors, auths are on database for realtime

thanks in advance and if that is some duplicate, i’m grateful for sending me to the right post because i couldn’t find.

[2019-04-15 09:29:40] DEBUG[5593] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM ps_endpoints_table WHERE id = ‘8921@my_host’
[2019-04-15 09:29:40] DEBUG[5593] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM ps_endpoints_table WHERE id = ‘8921’
[2019-04-15 09:29:40] DEBUG[5593] res_pjsip_endpoint_identifier_user.c: Identified by From username ‘8921’ domain ‘my_host’
[2019-04-15 09:29:40] DEBUG[5593] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM ps_auths_table WHERE id = ‘auth8921’
[2019-04-15 09:29:40] DEBUG[5593] res_pjsip_authenticator_digest.c: Using default realm ‘asterisk’ on incoming auth ‘auth8921’.
[2019-04-15 09:29:40] DEBUG[18799] res_pjsip_endpoint_identifier_user.c: Attempting identify by From username ‘8921’ domain ‘my_host’
[2019-04-15 09:29:40] DEBUG[18799] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM ps_endpoints_table WHERE id = ‘8921@my_host’
[2019-04-15 09:29:40] DEBUG[18799] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM ps_endpoints_table WHERE id = ‘8921’
[2019-04-15 09:29:40] DEBUG[18799] res_pjsip_endpoint_identifier_user.c: Identified by From username ‘8921’ domain ‘my_host’
[2019-04-15 09:29:40] DEBUG[18799] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM ps_auths_table WHERE id = ‘auth8921’
[2019-04-15 09:29:40] DEBUG[18799] res_pjsip_authenticator_digest.c: Using default realm ‘asterisk’ on incoming auth ‘auth8921’.
[2019-04-15 09:29:40] DEBUG[18799] res_pjsip_registrar.c: Matched id ‘8921’ to aor ‘8921’
[2019-04-15 09:29:40] DEBUG[18799] res_pjsip_registrar.c: Matched aor ‘8921’ by To username
[2019-04-15 09:29:40] DEBUG[18799] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM ps_aors_table WHERE id = ‘8921’
[2019-04-15 09:29:40] VERBOSE[18799] res_pjsip_registrar.c: Added contact ‘sip:8921@my_host:43030;transport=ws’ to AOR ‘8921’ with expiration of 10 seconds
[2019-04-15 09:29:40] DEBUG[18799] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM ps_aors_table WHERE id = ‘8921’
[2019-04-15 09:29:40] DEBUG[21303] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM ps_aors_table WHERE id = ‘8921’
[2019-04-15 09:29:40] DEBUG[21303] res_pjsip/pjsip_options.c: AOR ‘8921’ qualify options have been modified. Synchronize an AOR local state
[2019-04-15 09:29:40] DEBUG[21303] res_pjsip/pjsip_options.c: Configuring AOR ‘8921’ with current state of configuration and world
[2019-04-15 09:29:40] DEBUG[21303] res_pjsip/pjsip_options.c: AOR ‘8921’ has transitioned from unqualified to qualified, reset available contacts to 0
[2019-04-15 09:29:40] DEBUG[21303] res_pjsip/pjsip_options.c: AOR ‘8921’ now has 0 available contacts
[2019-04-15 09:29:40] DEBUG[21303] netsock2.c: Splitting ‘0.0.0.0’ into…
[2019-04-15 09:29:40] DEBUG[21303] netsock2.c: …host ‘0.0.0.0’ and port ‘’.
[2019-04-15 09:29:40] DEBUG[21303] netsock2.c: Splitting ‘0.0.0.0’ into…
[2019-04-15 09:29:40] DEBUG[21303] netsock2.c: …host ‘0.0.0.0’ and port ‘’.
[2019-04-15 09:29:40] DEBUG[21303] acl.c: 0.0.0.0:0/0.0.0.0:0 sense 0 appended to ACL
[2019-04-15 09:29:40] DEBUG[21303] netsock2.c: Splitting ‘0.0.0.0’ into…
[2019-04-15 09:29:40] DEBUG[21303] netsock2.c: …host ‘0.0.0.0’ and port ‘’.
[2019-04-15 09:29:40] DEBUG[21303] netsock2.c: Splitting ‘0.0.0.0’ into…
[2019-04-15 09:29:40] DEBUG[21303] netsock2.c: …host ‘0.0.0.0’ and port ‘’.
[2019-04-15 09:29:40] DEBUG[21303] acl.c: 0.0.0.0:0/0.0.0.0:0 sense 1 appended to ACL
[2019-04-15 09:29:40] DEBUG[21303] res_pjsip/pjsip_options.c: Synchronizing endpoint ‘7069’ with AORs ‘7069’
[2019-04-15 09:29:40] DEBUG[21303] res_pjsip/pjsip_options.c: Filtered AOR ‘7069’ on endpoint ‘7069’ as we are looking for ‘8921’
[2019-04-15 09:29:40] DEBUG[21303] res_pjsip/pjsip_options.c: Endpoint ‘7069’ has no AORs feeding it, setting it to offline state as default
[2019-04-15 09:29:40] DEBUG[21303] res_pjsip/pjsip_options.c: Synchronizing endpoint ‘7070’ with AORs ‘7070’
[2019-04-15 09:29:40] DEBUG[21303] res_pjsip/pjsip_options.c: Filtered AOR ‘7070’ on endpoint ‘7070’ as we are looking for ‘8921’
[2019-04-15 09:29:40] DEBUG[21303] res_pjsip/pjsip_options.c: Endpoint ‘7070’ has no AORs feeding it, setting it to offline state as default

This has an issue on JIRA[1] and is being tracked there.

[1] https://issues.asterisk.org/jira/browse/ASTERISK-28056

Thanks. for now i’ll use that temporary solution and wait for the official release.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.