From: Leif Madsen Date: Mon, 3 Jan 2011 13:14:25 +0000 (+0000) Subject: Increase side of mapping response field. X-Git-Tag: 1.8.3-rc1~36 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eced809a27fcff2449c1f0e4fd99256c443e5e97;p=thirdparty%2Fasterisk.git 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/branches/1.8@300082 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c index ef482df2c9..2c3cf1ab21 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; };