Problem with SIPPEER

Hi!

I’m having trouble using function SIPPEER.

*CLI> show function SIPPEER(p1) No function by that name registered.

I’ve got two friends p1 and p2 in sip.conf. I’ve tried changing them to peers but without any luck. Any help is appreciated!

My sip.conf:

[code][general]
context=default
allowoverlap=no
bindport=5060
bindaddr=X.X.X.X
srvlookup=yes
musiconhold=ringtone
trustrpid=yes
recordhistory=yes

[p1]
type=friend
context=default
host=X.X.X.X
dtmfmode=auto
nat=yes
trustrpid=yes
qualify=yes

[p2]
type=friend
context=default
host=X.X.X.X
dtmfmode=auto
nat=yes
trustrpid=yes
qualify=yes[/code]

CLI> sip show peers Name/username Host Dyn Nat ACL Port Status p2 X.X.X.X N 5060 OK (7 ms) p1 X.X.X.X N 5060 OK (7 ms) 2 sip peers [Monitored: 2 online, 0 offline Unmonitored: 0 online, 0 offline]

SIPPEER is installed according to show functions.