[asterisk-bugs] [Asterisk 0016223]: "requirecalltoken" config directive not respected globally
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Nov 13 08:17:34 CST 2009
The following issue has been UPDATED.
======================================================================
https://issues.asterisk.org/view.php?id=16223
======================================================================
Reported By: bklang
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 16223
Category: Channels/chan_iax2
Reproducibility: always
Severity: feature
Priority: normal
Status: acknowledged
Asterisk Version: SVN
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.1
SVN Revision (number only!): 229491
Request Review:
======================================================================
Date Submitted: 2009-11-11 13:57 CST
Last Modified: 2009-11-13 08:17 CST
======================================================================
Summary: "requirecalltoken" config directive not respected
globally
Description:
While migrating to Asterisk 1.6 I found that the "requirecalltoken=auto"
does not appear to be respected when set globally. Digging into the
chan_iax2.c sources, it appears that the configuration directive is only
checked in the context of users and peers. I tested and can confirm that
requirecalltoken is respected when set on individual iax2 peers and users.
The iax.conf that is distributed with Asterisk 1.6 makes it sound like
requirecalltoken is only settable in the context of a peer/user/friend, but
the example is provided globally (see iax.conf line 335).
If the intent is NOT to allow requirecalltoken globally, then the example
config file should be updated. However, I believe it would be useful to
allow administrators to set requirecalltoken globally as a matter of
policy. If the Asterisk developers agree with my opinion, I am willing to
create a patch to that effect.
======================================================================
----------------------------------------------------------------------
(0113774) lmadsen (administrator) - 2009-11-13 08:17
https://issues.asterisk.org/view.php?id=16223#c113774
----------------------------------------------------------------------
Changing the severity to feature for now, but it looks like the sample
files should probably be updated to not show this globally.
However it may be that the developers consider it not being globally
available as a bug, so I'm not going to change anything for now. This is
another thing that you might want to bring up on the asterisk-dev mailing
list. Thanks!
Issue History
Date Modified Username Field Change
======================================================================
2009-11-13 08:17 lmadsen Note Added: 0113774
2009-11-13 08:17 lmadsen Severity minor => feature
======================================================================
More information about the asterisk-bugs
mailing list