[reSIProcate-users] Expires field in INVITE request
- From: "Mykhailo Parfeniuk" <sopyer@xxxxxxxxx>
- Date: Thu, 24 Apr 2008 15:55:15 +0300
According to RFC 3261
The UAC MAY add an Expires header field (Section 20.19) to limit the
validity of the invitation. If the time indicated in the Expires
header field is reached and no final answer for the INVITE has been
received, the UAC core SHOULD generate a CANCEL request for the
INVITE, as per Section 9.
As I far as I know resiprocate does not implement this behavior so I have made changes to the library. So I added one more timer - InviteExpires(see DumTimeout.hxx) that acts similar to StaleCall timer.
I think that modifying library is not a good idea so, is there any other way to limit call duration while it has not received final answer? If no can you give any feedback on changes I have made especially on possible incorrect interaction with existing resiprocate code. I'm using resiprocate of version 1.1
Thanks in advance.
Attachment:
dum.zip
Description: Zip archive