From 12d41fbc65b92fbacf9e4c22814d47b7c24fd83d Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Mon, 10 Aug 2009 15:46:59 +0000 Subject: [PATCH] Blocked revisions 211390 via svnmerge ........ 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-fbb531ad65f3