[asterisk-commits] lmadsen: trunk r300083 - in /trunk: ./ pbx/pbx_dundi.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Jan 3 13:15:40 UTC 2011
Author: lmadsen
Date: Mon Jan 3 07:15:38 2011
New Revision: 300083
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=300083
Log:
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
........
Modified:
trunk/ (props changed)
trunk/pbx/pbx_dundi.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.
Modified: trunk/pbx/pbx_dundi.c
URL: http://svnview.digium.com/svn/asterisk/trunk/pbx/pbx_dundi.c?view=diff&rev=300083&r1=300082&r2=300083
==============================================================================
--- trunk/pbx/pbx_dundi.c (original)
+++ trunk/pbx/pbx_dundi.c Mon Jan 3 07:15:38 2011
@@ -286,7 +286,7 @@
int options;
int tech;
int dead;
- char dest[AST_MAX_EXTENSION];
+ char dest[512];
AST_LIST_ENTRY(dundi_mapping) list;
};
More information about the asterisk-commits
mailing list