diff options
Diffstat (limited to 'apps/app_system.c')
-rwxr-xr-x | apps/app_system.c | 2 |
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; } |