mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 18:55:19 +00:00 
			
		
		
		
	Merge "res_agi: Fix malformed AGI usage response"
This commit is contained in:
		| @@ -4060,7 +4060,7 @@ static enum agi_result agi_handle_command(struct ast_channel *chan, AGI *agi, ch | |||||||
| 				ast_agi_send(agi->fd, chan, "520 Invalid command syntax.  Proper usage not available.\n"); | 				ast_agi_send(agi->fd, chan, "520 Invalid command syntax.  Proper usage not available.\n"); | ||||||
| 			} else { | 			} else { | ||||||
| 				ast_agi_send(agi->fd, chan, "520-Invalid command syntax.  Proper usage follows:\n"); | 				ast_agi_send(agi->fd, chan, "520-Invalid command syntax.  Proper usage follows:\n"); | ||||||
| 				ast_agi_send(agi->fd, chan, "%s", c->usage); | 				ast_agi_send(agi->fd, chan, "%s\n", c->usage); | ||||||
| 				ast_agi_send(agi->fd, chan, "520 End of proper usage.\n"); | 				ast_agi_send(agi->fd, chan, "520 End of proper usage.\n"); | ||||||
| 			} | 			} | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user