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

Olle E. Johansson oej at edvina.net
Thu Jul 5 13:01:32 CDT 2012


5 jul 2012 kl. 18:08 skrev Kevin P. Fleming:

> 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?
Just the focus of this project.

Feel free to code that part.

> 
> 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.

Thanks for the feedback!

Using an RFC name would be stupid, as they change. Too many people are stuck with "RFC2833".

/O


More information about the asterisk-dev mailing list