mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 03:50:31 +00:00
Add "Require: timer" to 200 OK responses when appropriate.
The method by which the Require header is added to 200 responses is inspired by the method that Olle Johansson uses in his darjeeling-prack branch. (closes issue ASTERISK-20570) Reported by Matt Jordan, at the behest of Olle Johansson Review: https://reviewboard.asterisk.org/r/2172 ........ Merged revisions 376521 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 376522 from http://svn.asterisk.org/svn/asterisk/branches/10 ........ Merged revisions 376550 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@376551 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -827,6 +827,7 @@ struct sip_request {
|
||||
/* XXX Do we need to unref socket.ser when the request goes away? */
|
||||
struct sip_socket socket; /*!< The socket used for this request */
|
||||
AST_LIST_ENTRY(sip_request) next;
|
||||
unsigned int reqsipoptions; /*!< Items needed for Required header in responses */
|
||||
};
|
||||
|
||||
/* \brief given a sip_request and an offset, return the char * that resides there
|
||||
|
Reference in New Issue
Block a user