]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Add stateful PJSIP response API call, and use it for out-of-dialog responses.
authorMark Michelson <mmichelson@digium.com>
Fri, 27 Mar 2015 20:30:18 +0000 (20:30 +0000)
committerMark Michelson <mmichelson@digium.com>
Fri, 27 Mar 2015 20:30:18 +0000 (20:30 +0000)
commit85feac857c659c8ddff3af67099f0b0bd34fb2b2
treeb825a9916fe72408833484ed5ceb305e1772c2a7
parentdc2cf21144b81800329bad4596ded07ed0882ed7
Add stateful PJSIP response API call, and use it for out-of-dialog responses.

Asterisk had an issue where retransmissions of MESSAGE requests resulted in
Asterisk processing the retransmission as if it were a new MESSAGE request.

This patch fixes the issue by creating a transaction in PJSIP on the incoming
request. This way, if a retransmission arrives, the PJSIP transaction layer
will resend the response and Asterisk will not ever see the retransmission.

ASTERISK-24920 #close
Reported by Mark Michelson

Review: https://reviewboard.asterisk.org/r/4532/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@433619 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/res_pjsip.h
res/res_pjsip.c
res/res_pjsip/pjsip_options.c
res/res_pjsip_messaging.c
res/res_pjsip_registrar.c