mirror of https://github.com/asterisk/asterisk
........ r211390 | russell | 2009-08-10 10:46:39 -0500 (Mon, 10 Aug 2009) | 13 lines Fix up some issues with getting a channel by "name". Even though the get_channel_by_name() API advertised that you could search by name or uniqueid (just as the old API did), searching by uniqueid was not actually implemented. This patch fixes that problem. The ast_channel_get_full() function now makes a second search attempt by uniqueid if the parameter was a name. The channel comparison function also now knows how to compare by unqieueid. Finally, a bug was fixed in passing where OBJ_POINTER was being passed in some scenarios where it should not have been. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@211391 65c4cc65-6c06-0410-ace0-fbb531ad65f31.6.2
parent
868578c90a
commit
12d41fbc65