[asterisk-dev] [Code Review]: Add Expires header to SIP PUBLISH responses

Paul Belanger paul.belanger at polybeacon.com
Fri Jun 29 09:33:40 CDT 2012


On 12-06-29 03:43 AM, Olle E Johansson wrote:
>> On June 28, 2012, 11:16 a.m., Olle E Johansson wrote:
>>> Are we sure that we actually send another PUBLISH before the current one expires?
>>
>> gareth wrote:
>>      This change only affects responses to PUBLISH requests. It would be up to the sending device to refresh the dialog.
>
> If you PUBLISH and the event expires, you are supposed to update your PUBLISH. This needs to be in the PUBLISH framework. If you add expiry, this needs to mean something in the code.
>
> A presence server will erase your state at expiry otherwise, which is NOT what you want.
>
Is there any way to test this with SIPp?  Seems like it would be good to 
get some tests for this.

-- 
Paul Belanger | PolyBeacon, Inc.
Jabber: paul.belanger at polybeacon.com | IRC: pabelanger (Freenode)
Github: https://github.com/pabelanger | Twitter: 
https://twitter.com/pabelanger



More information about the asterisk-dev mailing list