Summary:ASTERISK-18967: [SIP] nonceCaching
Reporter:B.GUESMI (cmoibal)Labels:
Date Opened:2011-12-05 16:40:32.000-0600Date Closed:2016-10-06 00:50:29
Status:Closed/CompleteComponents:Channels/chan_sip/General Channels/chan_sip/Registration Channels/chan_sip/Subscriptions
Versions: Frequency of
Environment:Ubuntu 11.04Attachments:( 0) BG_NonceCaching.patch
Description:New parameter "noncecaching = yes/no"
This parameter can cache the nonce used in a related REGISTER, and use it in all other request sent by the peer.

Whant do you think guys ?
Comments:By: Walter Doekes (wdoekes) 2011-12-06 01:57:06.206-0600

(1) RFE's should be accompanied by a patch, otherwise it will be closed.

(2) While I could see uses of this, you probably want to explain why/when you want this feature. Simply calling out that feature X could be implemented is not going to motivate many. What are the uses of feature X? Why do things not work without feature X?

With that said, see response (1). Bring up a discussion about this feature on the developer mailing list if you can explain why this is useful.

By: B.GUESMI (cmoibal) 2011-12-06 03:50:03.190-0600

(1) First version of the patch will be attached soon

(2) The Feature nonce Caching is not a functional feature, that's means that Asterisk can work without noncecaching. But the benefice of a such service is to minimize the number of message exchanged between Asterisk and provider.

--------- REGISTER ---------------->
<-------- 407 (nonce 1) ------------
--------- REGISTER (nonce 1) ------>
<-------- 200 OK -------------------

---------- INVITE ----------------->
<-------- 407 (nonce 2) ------------
--------- INVITE (nonce 2) -------->
<-------- 200 OK -------------------

What I want to implement is this :

--------- REGISTER ---------------->
<-------- 407 (nonce 1) ------------
--------- REGISTER (nonce 1) ------>
<-------- 200 OK -------------------

---------- INVITE (nonce 1) ------->
<-------- 200 OK -------------------

By: B.GUESMI (cmoibal) 2011-12-06 03:53:38.797-0600

Nonce Caching patch

By: Leif Madsen (lmadsen) 2011-12-07 11:31:59.431-0600

Please bring up on the asterisk-dev mailing list as well, and link the discussion to this issue. Discussions can be found on https://lists.digium.com


By: Matt Jordan (mjordan) 2013-01-20 22:40:59.526-0600

Whoops. This got closed by an erroneous commit message. Reopening.

By: Corey Farrell (coreyfarrell) 2016-10-06 00:50:29.607-0500

Suspending for inactivity.  It doesn't look like the patch was ever proposed for review and it no longer compiles.