From: Sean Bright Date: Mon, 19 Aug 2024 18:12:47 +0000 (-0400) Subject: res_pjsip_logger.c: Fix 'OPTIONS' tab completion. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab9c476dd2d091021bfd5d4228c9b57bba095c24;p=thirdparty%2Fasterisk.git res_pjsip_logger.c: Fix 'OPTIONS' tab completion. Fixes #843 --- 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) {