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/ ........ Merged revisions 433619 from http://svn.asterisk.org/svn/asterisk/branches/13 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@433620 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Showing
- include/asterisk/res_pjsip.h 23 additions, 0 deletionsinclude/asterisk/res_pjsip.h
- res/res_pjsip.c 27 additions, 3 deletionsres/res_pjsip.c
- res/res_pjsip/pjsip_options.c 1 addition, 11 deletionsres/res_pjsip/pjsip_options.c
- res/res_pjsip_messaging.c 1 addition, 9 deletionsres/res_pjsip_messaging.c
- res/res_pjsip_registrar.c 1 addition, 6 deletionsres/res_pjsip_registrar.c
Loading
Please register or sign in to comment