diff options
author | Russell Bryant <russell@russellbryant.com> | 2009-08-10 15:46:39 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2009-08-10 15:46:39 +0000 |
commit | 724c1239fc41020818a279f3587586c437671268 (patch) | |
tree | 9b15ecb40b5f646a2456af30a572531db27ba6f9 /channels/sig_pri.c | |
parent | 6391976270dabe10d18bb0987ff076732f0f02de (diff) |
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/trunk@211390 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/sig_pri.c')
0 files changed, 0 insertions, 0 deletions