[asterisk-dev] [asterisk-commits] oej: branch oej/darjeeling-prack-1.8 r369555 - /team/oej/darjeeling-prack-1.8/

Kevin P. Fleming kpfleming at digium.com
Thu Jul 5 11:08:53 CDT 2012


On 07/03/2012 08:01 AM, SVN commits to the Asterisk project wrote:

> +
> +Configuration
> +=============
> +Add prack=yes in the [general] section of sip.conf or in device configurations.
> +Asterisk will now add 100rel to the list of supported options. If the other device
> +supports PRACK Asterisk will activate it or support it if the other side
> +requires it.
> +There's currently no support for requiring PRACK in a call.

Is this last statement just because the code hasn't been written, or 
because there is some fundamental limitation that won't allow it to be 
done in chan_sip?

In order to avoid the mess that we had with Session-Timer related config 
options, I'd much prefer the configuration for this feature to be 
something like the following:

rfc3262 = disabled (or 'no') : Asterisk will not advertise at all, and 
incoming requests with it advertised in 'Require' will fail
rfc3262 = supported          : Asterisk will advertise in 'Supported' 
and will use if the other UA advertises in 'Supported' or 'Require'
rfc3262 = required           : Asterisk will advertise in 'Require' and 
incoming requests that don't advertise in 'Supported' or 'Require' will fail

Since there is no canonical name for this SIP feature (100rel and PRACK 
are both artifacts of the implementation), the best I could come up with 
the is the RFC number; this works because this particular RFC only 
defines one feature.

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kfleming at digium.com | SIP: kpfleming at digium.com | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com & www.asterisk.org





More information about the asterisk-dev mailing list