mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Huge callerid rework (might break H.323, others)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3874 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -7,9 +7,9 @@
|
||||
* VERY BADLY WRITTEN DRIVER so please don't use it as a model for
|
||||
* writing a driver.
|
||||
*
|
||||
* Copyright (C) 1999, Mark Spencer
|
||||
* Copyright (C) 1999-2004, Digium, Inc.
|
||||
*
|
||||
* Mark Spencer <markster@linux-support.net>
|
||||
* Mark Spencer <markster@digium.com>
|
||||
*
|
||||
* This program is free software, distributed under the terms of
|
||||
* the GNU General Public License
|
||||
@@ -941,7 +941,7 @@ static int console_transfer(int fd, int argc, char *argv[])
|
||||
context++;
|
||||
} else
|
||||
context = oss.owner->context;
|
||||
if (ast_exists_extension(oss.owner->bridge, context, tmp, 1, oss.owner->bridge->callerid)) {
|
||||
if (ast_exists_extension(oss.owner->bridge, context, tmp, 1, oss.owner->bridge->cid.cid_num)) {
|
||||
ast_cli(fd, "Whee, transferring %s to %s@%s.\n",
|
||||
oss.owner->bridge->name, tmp, context);
|
||||
if (ast_async_goto(oss.owner->bridge, context, tmp, 1))
|
||||
|
Reference in New Issue
Block a user