Jonathan,

'sip show peers' works just fine...

asterisk*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status     Realtime 
testcorp4                  (Unspecified)    D   N      0        UNREACHABLE Cached RT
testcorp3/testcorp3        192.168.1.100    D   N      5061     OK (25 ms) Cached RT

Only you see the 'Realtime'-column, and the 'Cached RT'.



Jonathan Thurman wrote:
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
  
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to