summaryrefslogtreecommitdiff
path: root/apps/app_system.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-10-02 00:58:31 +0000
committerMark Spencer <markster@digium.com>2004-10-02 00:58:31 +0000
commit04fc29c8b2e7db9b66a138f47412770867819f7f (patch)
tree25a4ee6dff29d18acfdfbbc42485333db7aa5311 /apps/app_system.c
parent9b926b1d644c49c0e8bbe7cbc02aeb60ccc3c8ef (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_system.c')
-rwxr-xr-xapps/app_system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_system.c b/apps/app_system.c
index 89bddc3e3..d494b9eff 100755
--- a/apps/app_system.c
+++ b/apps/app_system.c
@@ -72,7 +72,7 @@ static int system_exec_helper(struct ast_channel *chan, void *data, int failmode
} else {
if (res < 0)
res = 0;
- if (res && ast_exists_extension(chan, chan->context, chan->exten, chan->priority + 101, chan->callerid))
+ if (res && ast_exists_extension(chan, chan->context, chan->exten, chan->priority + 101, chan->cid.cid_num))
chan->priority+=100;
res = 0;
}