summaryrefslogtreecommitdiff
path: root/pbx/pbx_dundi.c
diff options
context:
space:
mode:
authorLeif Madsen <leif@leifmadsen.com>2011-01-03 13:15:38 +0000
committerLeif Madsen <leif@leifmadsen.com>2011-01-03 13:15:38 +0000
commit0a72d67d3bd6574599c34fad42afd77aefe9c437 (patch)
tree9d5fd3b7d5cb3b8f232a9d5069a3d8e2affa5e4f /pbx/pbx_dundi.c
parent96b7a9950c4d6abc68b4285f35594cb499884693 (diff)
Merged revisions 300082 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r300082 | lmadsen | 2011-01-03 07:14:25 -0600 (Mon, 03 Jan 2011) | 11 lines 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: https://origsvn.digium.com/svn/asterisk/trunk@300083 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx/pbx_dundi.c')
-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 c9dd3973e..e02eddabe 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;
};