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_url.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_url.c')
-rwxr-xr-x | apps/app_url.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/app_url.c b/apps/app_url.c index fdaa270ea..a1ea624d3 100755 --- a/apps/app_url.c +++ b/apps/app_url.c @@ -3,9 +3,9 @@ * * App to transmit a URL * - * 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 @@ -65,7 +65,7 @@ static int sendurl_exec(struct ast_channel *chan, void *data) LOCAL_USER_ADD(u); if (!ast_channel_supports_html(chan)) { /* Does not support transport */ - if (ast_exists_extension(chan, chan->context, chan->exten, chan->priority + 101, chan->callerid)) + if (ast_exists_extension(chan, chan->context, chan->exten, chan->priority + 101, chan->cid.cid_num)) chan->priority += 100; LOCAL_USER_REMOVE(u); return 0; @@ -92,7 +92,7 @@ static int sendurl_exec(struct ast_channel *chan, void *data) break; case AST_HTML_NOSUPPORT: /* Does not support transport */ - if (ast_exists_extension(chan, chan->context, chan->exten, chan->priority + 101, chan->callerid)) + if (ast_exists_extension(chan, chan->context, chan->exten, chan->priority + 101, chan->cid.cid_num)) chan->priority += 100; res = 0; goto out; |