diff options
author | Mark Spencer <markster@digium.com> | 2004-10-02 00:58:31 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-10-02 00:58:31 +0000 |
commit | 04fc29c8b2e7db9b66a138f47412770867819f7f (patch) | |
tree | 25a4ee6dff29d18acfdfbbc42485333db7aa5311 /apps/app_directory.c | |
parent | 9b926b1d644c49c0e8bbe7cbc02aeb60ccc3c8ef (diff) |
Huge callerid rework (might break H.323, others)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3874 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_directory.c')
-rwxr-xr-x | apps/app_directory.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/app_directory.c b/apps/app_directory.c index e0a962f70..306c67c08 100755 --- a/apps/app_directory.c +++ b/apps/app_directory.c @@ -3,9 +3,9 @@ * * Provide a directory of extensions * - * 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 @@ -176,7 +176,7 @@ static int play_mailbox_owner(struct ast_channel *chan, char *context, char *dia case '1': /* Name selected */ loop = 0; - if (ast_exists_extension(chan,dialcontext,ext,1,chan->callerid)) { + if (ast_exists_extension(chan,dialcontext,ext,1,chan->cid.cid_num)) { strncpy(chan->exten, ext, sizeof(chan->exten)-1); chan->priority = 0; strncpy(chan->context, dialcontext, sizeof(chan->context)-1); |