[asterisk-dev] Using disallowed_methods in sip.conf
Matthew Jordan
mjordan at digium.com
Thu Jun 14 10:48:41 CDT 2012
----- Original Message -----
> From: "Pawel Kuzak" <pawel.kuzak at 1und1.de>
> To: "Asterisk Developers Mailing List" <asterisk-dev at lists.digium.com>
> Sent: Thursday, June 14, 2012 10:35:29 AM
> Subject: [asterisk-dev] Using disallowed_methods in sip.conf
>
>
> Hi,
>
> I don't want to use INFO for DTMF, I want to transmit it inband.
> Therefore I set "dtmfmode=inband" in the sip.conf general section.
> But
> that didn't make it. As my UAC offered INFO in the Allowed-Header and
> Asterisk offered INFO in the 200 OK, DTMF is transmitted via INFO.
> Additionally I then set "disallowed_methods=INFO" in the sip.conf
> general section, but Asterisk is still offering INFO in the
> Allowed-Header.
>
> Am I doing something wrong?
>
> I am using Asterisk 10.5.0.
>
>
Actually, based on my read in chan_sip, this might be a bug. Do you
mind filing a JIRA issue, and attaching your sip.conf?
It appears as if the disallowed_methods configuration option is not
properly marking the SIP methods as disallowed. It is calling
mark_parsed_methods, which always calls mark_method_allowed as opposed
to mark_method_disallowed.
--
Matthew Jordan
Digium, Inc. | Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org
More information about the asterisk-dev
mailing list