File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ RUN apt-get update && \
3838
3939# Fetch Kamailio code
4040RUN mkdir -p /usr/local/src/ && cd /usr/local/src/ && \
41- git clone https://github.com/kamailio /kamailio && \
42- cd kamailio && git checkout 913dce948729cdd0f9e45e7d71da8c3936719c58
41+ git clone https://github.com/herlesupreeth /kamailio && \
42+ cd kamailio && git fetch && git checkout fix_session_refresh_during_an_ongoing_call
4343
4444# Build and Install Kamailio
4545RUN cd /usr/local/src/kamailio && make cfg
Original file line number Diff line number Diff line change @@ -469,7 +469,8 @@ onreply_route[MO_indialog_reply] {
469469 route(NATMANAGE);
470470
471471# !ifdef WITH_RX
472- if (t_check_status(" 180|183|200" ) && has_body(" application/sdp" ) && !is_method(" PRACK" )) {
472+ # Rx AAR for in-dialog requests with SDP or Session refresh via UPDATE
473+ if ((t_check_status(" 180|183|200" ) && has_body(" application/sdp" ) && !is_method(" PRACK" )) || (is_method(" UPDATE" ))) {
473474 if (t_is_retr_async_reply()) {
474475 xlog(" L_DBG" , " Dropping retransmitted reply which is still currently suspended\n" );
475476 drop();
Original file line number Diff line number Diff line change @@ -180,7 +180,8 @@ onreply_route[MT_indialog_reply] {
180180 route(NATMANAGE);
181181
182182# !ifdef WITH_RX
183- if (t_check_status(" 180|183|200" ) && has_body(" application/sdp" ) && !is_method(" PRACK" )) {
183+ # Rx AAR for in-dialog requests with SDP or Session refresh via UPDATE
184+ if ((t_check_status(" 180|183|200" ) && has_body(" application/sdp" ) && !is_method(" PRACK" )) || (is_method(" UPDATE" ))) {
184185 if (t_is_retr_async_reply()) {
185186 xlog(" L_DBG" , " Dropping retransmitted reply which is still currently suspended\n" );
186187 drop();
You can’t perform that action at this time.
0 commit comments