From: Sean Bright Date: Mon, 19 Aug 2024 18:12:47 +0000 (-0400) Subject: res_pjsip_logger.c: Fix 'OPTIONS' tab completion. X-Git-Tag: 18.25.0-rc1~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f25c03d2fe8a4a065e474cfaad7e96eabc803f8a;p=thirdparty%2Fasterisk.git res_pjsip_logger.c: Fix 'OPTIONS' tab completion. Fixes #843 (cherry picked from commit fe4394ebfea76d31f1224e40ea1a762dcd9468be) --- diff --git a/res/res_pjsip_logger.c b/res/res_pjsip_logger.c index 7605f78ca6..6a5e2bd408 100644 --- a/res/res_pjsip_logger.c +++ b/res/res_pjsip_logger.c @@ -615,7 +615,7 @@ static char *pjsip_set_logger(struct ast_cli_entry *e, int cmd, struct ast_cli_a { static const char * const method_choices[] = { "INVITE", "CANCEL", "ACK", - "BYE", "REGISTER", "OPTION", + "BYE", "REGISTER", "OPTIONS", "SUBSCRIBE", "NOTIFY", "PUBLISH", "INFO", "MESSAGE", NULL @@ -632,7 +632,7 @@ static char *pjsip_set_logger(struct ast_cli_entry *e, int cmd, struct ast_cli_a " globally or enables logging for an individual\n" " host or particular SIP method(s).\n" " Messages can be filtered by SIP request methods\n" - " INVITE, CANCEL, ACK, BYE, REGISTER, OPTION\n" + " INVITE, CANCEL, ACK, BYE, REGISTER, OPTIONS,\n" " SUBSCRIBE, NOTIFY, PUBLISH, INFO, and MESSAGE\n"; return NULL; } else if (cmd == CLI_GENERATE) {