Hi,
I am having some dead contacts on my asterisk server.
I tried to use database deltree, but it does not work
ip-121-12-12-12*CLI> database deltree registrar/contact
Database entries do not exist.
My server is set up with real-time pjsip
https://wiki.asterisk.org/wiki/display/AST/Setting+up+PJSIP+Realtime
I confirm that in my MySQL database, ps_contacts table is clean.
However, when I do pjsip show contacts, it still have the dead contacts inside.
ip-121-12-12-12*CLI> pjsip show contacts
Contact: <Aor/ContactUri…> <Hash…> <RTT(ms)…>
Contact: camerasiptest3/sip:camerasiptest3@112.12.12.12: 77665cbae4 NonQual nan
Contact: camerasiptest3/sip:camerasiptest3@112.12.12.12: bd850979db NonQual nan
Contact: camerasiptest3/sip:camerasiptest3@91.12.123.12 7199d148ea NonQual nan
Contact: camerasiptest4/sip:camerasiptest4@112.12.12.12: 4d6e18b8b8 NonQual nan
Contact: camerasiptest4/sip:camerasiptest4@91.12.123.12 56fa199329 NonQual nan
Contact: camerasiptest5/sip:camerasiptest5@112.12.12.12: 762a9d06eb NonQual nan
Contact: camerasiptest5/sip:camerasiptest5@91.12.123.12 05ad61e798 NonQual nanObjects found: 7
I also has a sorcery setting
[test_sorcery_section]
test=memory
[test_sorcery_cache]
test/cache=test
test=memory
[res_pjsip]
endpoint=realtime,ps_endpoints
auth=realtime,ps_auths
aor=realtime,ps_aors
domain_alias=realtime,ps_domain_aliases
contact=realtime,ps_contacts