[asterisk-dev] [Code Review] LDAP Realtime Peers Cannot Register

Darren Sessions reviewboard at asterisk.org
Tue Sep 4 15:19:08 CDT 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2095/
-----------------------------------------------------------

(Updated Sept. 4, 2012, 3:19 p.m.)


Review request for Asterisk Developers.


Summary
-------

"Prior to 1.8, it was not necessary for an explicit "type" to be set for an asterisk LDAP realtime peer. Now the routine find_peer actually checks the type field during registration and fails to find the peer if it is not set.

The attached patch makes a realtime peer be "type=peer" if it is still type 0 upon return from routine build_peer."


This addresses bug ASTERISK-17222.
    https://issues.asterisk.org/jira/browse/ASTERISK-17222


Diffs
-----


Diff: https://reviewboard.asterisk.org/r/2095/diff


Testing (updated)
-------

Compiled a clean copy of trunk to replicate the issue and then applied the patch and observed the correct (and intended) behavior.


Thanks,

Darren

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20120904/70f98bce/attachment.htm>


More information about the asterisk-dev mailing list