[asterisk-dev] [Code Review] Unlink a peer from the peers_by_ip table when expiring a registration
Terry Wilson
reviewboard at asterisk.org
Mon May 16 12:32:56 CDT 2011
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1218/
-----------------------------------------------------------
Review request for Asterisk Developers and David Vossel.
Summary
-------
If we aren't self-destructing a temp_peer, we still need to unlink the peer from the peers_by_ip table, otherwise we end up with multiple copies hanging around each time a registration expires and the peer re-registers.
Diffs
-----
/branches/1.6.2/channels/chan_sip.c 319199
Diff: https://reviewboard.asterisk.org/r/1218/diff
Testing
-------
Registered and let the registration expire multiple times and saw that "sip show objects" no longer had multiple copies of the same peer in peers_by_ip.
Thanks,
Terry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20110516/5822f125/attachment.htm>
More information about the asterisk-dev
mailing list