<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<small><font face="Helvetica, Arial, sans-serif">Jonathan,<br>
<br>
'sip show peers' works just fine...<br>
<br>
asterisk*CLI> sip show peers<br>
Name/username Host Dyn Nat ACL Port
Status Realtime <br>
testcorp4 (Unspecified) D N 0
UNREACHABLE Cached RT <br>
testcorp3/testcorp3 192.168.1.100 D N 5061 OK (25
ms) Cached RT <br>
<br>
Only you see the 'Realtime'-column, and the 'Cached RT'.</font></small><br>
<br>
<br>
Jonathan Thurman wrote:<br>
<blockquote
cite="mid:j2uf7cbcc6e1004171237gf737ab2cp2a7c475e9c8c3b6b@mail.gmail.com"
type="cite">
<pre wrap="">
I know that "sip show peers" doesn't work, and I believe that qualify
does not work without caching (but I haven't tested that). I enable
caching because I don't change the names of sip_accounts that
frequently, and why have Asterisk hit the database constantly if you
aren't changing the information? Asterisk will then save all of the
results in RAM, and only do a look-up for an unknown account. If you
have a web interface for updating information you could always use AMI
to issue the prune/reload after committing the changes.
-Jonathan
</pre>
</blockquote>
</body>
</html>