From 04fc29c8b2e7db9b66a138f47412770867819f7f Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Sat, 2 Oct 2004 00:58:31 +0000 Subject: Huge callerid rework (might break H.323, others) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3874 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_txtcidname.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/app_txtcidname.c') diff --git a/apps/app_txtcidname.c b/apps/app_txtcidname.c index 418f15801..e9fc107fa 100755 --- a/apps/app_txtcidname.c +++ b/apps/app_txtcidname.c @@ -75,7 +75,7 @@ static int txtcidname_exec(struct ast_channel *chan, void *data) } if (!res) { /* Look for a "busy" place */ - 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; } else if (res > 0) res = 0; -- cgit v1.2.3