mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 18:55:19 +00:00 
			
		
		
		
	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
			
			
This commit is contained in:
		| @@ -286,7 +286,7 @@ struct dundi_mapping { | |||||||
| 	int options; | 	int options; | ||||||
| 	int tech; | 	int tech; | ||||||
| 	int dead; | 	int dead; | ||||||
| 	char dest[AST_MAX_EXTENSION]; | 	char dest[512]; | ||||||
| 	AST_LIST_ENTRY(dundi_mapping) list; | 	AST_LIST_ENTRY(dundi_mapping) list; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user