diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-04-13 15:56:35 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-04-13 15:56:35 +0000 |
commit | 1000dfb3dbcd28d170805feeec74881c79ac8438 (patch) | |
tree | dbd17c8f6566ce722dfe8f56e792ec5b0b741eda | |
parent | 0276181d7a3e2a35d974ce5046973bd5b337c2c2 (diff) |
Bug 6957 - variable names beginning with CALLERID weren't substituted correctly
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@19768 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | pbx.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1023,7 +1023,8 @@ void pbx_retrieve_variable(struct ast_channel *c, const char *var, char **ret, c *ret = workspace; } else *ret = NULL; - } + } else + goto icky; } else if (!strcmp(var + 6, "ANI")) { /* CALLERANI */ if (c->cid.cid_ani) { |