diff options
author | Mark Michelson <mmichelson@digium.com> | 2009-01-21 21:53:55 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2009-01-21 21:53:55 +0000 |
commit | 28dc82ea4eaf4a46de121f46ff665107d08b611d (patch) | |
tree | b39909399a1f60cadb58f5cb7f9d3c3e6aed59d3 /doc/tex | |
parent | 02094f7fb947efc8ea235cc622e644a524773d14 (diff) |
Further fix some oddities in sip show users and sip show peers logic
ccesario on IRC pointed out that his sip peers were not displayed
properly when he would issue the command "sip show peers." The problem
was that the onlymatchonip field was used to determine if the endpoint
was a "peer" or "user." The tricky part is that a "friend" is supposed
to be treated as both a "user" and a "peer" but the logic would not allow
"friends" to show up as "peers" since onlymatchonip was set to FALSE
for friends.
I have modified the sip_peer structure to more explicitly keep track of
what type endpoint it is so that the various manager and CLI commands
will display the expected information
Reported by ccesario via IRC
Tested by ccesario
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@169791 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'doc/tex')
0 files changed, 0 insertions, 0 deletions