aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlmadsen <lmadsen@f38db490-d61c-443f-a65b-d21fe96a405b>2011-01-03 13:14:25 +0000
committerlmadsen <lmadsen@f38db490-d61c-443f-a65b-d21fe96a405b>2011-01-03 13:14:25 +0000
commitb3648a79058cb49102da74a96555df7f1d5fe22b (patch)
treed5c1d79681b9c35b5a6e6b2f1e54b4e68246eab1
parenteb49ec7e626b7c8321391d98d5df2ce305ee093f (diff)
Increase side of mapping response field.
I've increased the size of the response field in a DUNDi mapping because of some documentation I'm writing. Previously it was set to AST_MAX_EXTENSION which is only 80 characters, which is far too small when you're using some dialplan functions to craft a response. The example I'm using is: extensions => RegisteredDevices,0,SIP,dundi:very_awesome_password/${IF($[${DB_EXISTS(phones/${NUMBER}/device)}]?${DB(phones/${NUMBER}/device)}:None)},nopartial git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@300082 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--pbx/pbx_dundi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c
index ef482df2c..2c3cf1ab2 100644
--- a/pbx/pbx_dundi.c
+++ b/pbx/pbx_dundi.c
@@ -286,7 +286,7 @@ struct dundi_mapping {
int options;
int tech;
int dead;
- char dest[AST_MAX_EXTENSION];
+ char dest[512];
AST_LIST_ENTRY(dundi_mapping) list;
};