[asterisk-commits] mmichelson: branch 1.6.2 r209675 - /branches/1.6.2/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Jul 31 12:57:40 CDT 2009
Author: mmichelson
Date: Fri Jul 31 12:57:29 2009
New Revision: 209675
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=209675
Log:
Blocked revisions 209673-209674 via svnmerge
........
r209673 | mmichelson | 2009-07-31 12:55:44 -0500 (Fri, 31 Jul 2009) | 18 lines
Improve chan_sip's ability to determine what methods should and should not be used in a dialog.
The previous effort here was to store what a peer is capable of receiving by parsing REGISTER
requests from the peer and keeping that information for as long as the registration was active.
The problem with this is that there are a great number of SIP devices which give no indication
of the methods allowed in their REGISTER requests, and it is unreasonable to try to guess what
the device may or may not support. In addition, some SIP devices have been found to claim support
for a specific method, but their handling the method is less than ideal, or they are actually
lying.
With this patch, we now determine what methods a device supports by parsing the Allow header we
receive from them, and we do this with each new dialog. In addition, a configuration option has
been added so that an administrator can essentially blacklist certain methods from being used
with certain peers if the admin knows that support for a specific method is dodgy or nonexistent.
ABE-1822
........
r209674 | mmichelson | 2009-07-31 12:57:00 -0500 (Fri, 31 Jul 2009) | 3 lines
Add configuration sample code for previous commit.
........
Modified:
branches/1.6.2/ (props changed)
Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-blocked' - no diff available.
More information about the asterisk-commits
mailing list