Tue Mar 11 07:00:01 CET 2003
[asterisk/asterisk.git] / manager.c
index 0305c9f..5288286 100755 (executable)
--- a/manager.c
+++ b/manager.c
@@ -447,7 +447,7 @@ static int process_message(struct mansession *s, struct message *m)
                                        snprintf(s->challenge, sizeof(s->challenge), "%d", rand());
                                        ast_pthread_mutex_unlock(&s->lock);
                                }
-                               ast_cli(s->fd, "Challenge: %s\r\n\r\n", s->challenge);
+                               ast_cli(s->fd, "Response: Success\r\nChallenge: %s\r\n\r\n", s->challenge);
                                return 0;
                        } else {
                                send_error(s, "Must specify AuthType");