]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 230247 via svnmerge from
authorKevin P. Fleming <kpfleming@digium.com>
Sun, 15 Nov 2009 17:24:32 +0000 (17:24 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Sun, 15 Nov 2009 17:24:32 +0000 (17:24 +0000)
https://origsvn.digium.com/svn/asterisk/trunk

................
  r230247 | kpfleming | 2009-11-15 11:23:02 -0600 (Sun, 15 Nov 2009) | 12 lines

  Merged revisions 230246 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r230246 | kpfleming | 2009-11-15 11:19:06 -0600 (Sun, 15 Nov 2009) | 6 lines

    Correct mistaken option name in error message.

    The configuration option for allowing hosts to make non-token-based calls
    is 'calltokenoptional', not 'calltokenignore'. (reported on asterisk-users)
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@230249 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c

index 30a709534d67c66be946db99ddda5f66f8985d43..4df69174d13bcc41e84e93bd938c2bf667b7e69a 100644 (file)
@@ -4597,7 +4597,7 @@ static int handle_call_token(struct ast_iax2_full_hdr *fh, struct iax_ies *ies,
        /* ----- Case 3 ----- */
        } else { /* calltokens are not supported for this client, how do we respond? */
                if (calltoken_required(sin, ies->username, subclass)) {
-                       ast_log(LOG_ERROR, "Call rejected, CallToken Support required. If unexpected, resolve by placing address %s in the calltokenignore list or setting user %s requirecalltoken=no\n", ast_inet_ntoa(sin->sin_addr), S_OR(ies->username, "guest"));
+                       ast_log(LOG_ERROR, "Call rejected, CallToken Support required. If unexpected, resolve by placing address %s in the calltokenoptional list or setting user %s requirecalltoken=no\n", ast_inet_ntoa(sin->sin_addr), S_OR(ies->username, "guest"));
                        goto reject;
                }
                return 0; /* calltoken is not required for this addr, so permit it. */