diff options
Diffstat (limited to 'apps/app_txtcidname.c')
-rwxr-xr-x | apps/app_txtcidname.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |