Asterisk realtime

Hi
We setup MYSQL Realtime SIP
but sip show peers Command or kind of Function is not work

how can i see what peer is connected or not…

You need to set the rtcachefriends=yes in the [general] context in your <sip.conf>.
After a “sip reload” you will get some users info when you run “sip show peers”.

The reply will be something like this:

Name/username Host Dyn Nat ACL Port Status Realtime 2001/2001 192.168.0.193 D N 5061 OK (18 ms) Cached RT