Skip to content

Commit 238943c

Browse files
committed
Fix session refresh during onging call
1 parent e555697 commit 238943c

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

ims_base/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ RUN apt-get update && \
3838

3939
# Fetch Kamailio code
4040
RUN 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
4545
RUN cd /usr/local/src/kamailio && make cfg

pcscf/route/mo.cfg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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();

pcscf/route/mt.cfg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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();

0 commit comments

Comments
 (0)