diff --git a/modules/siprec/siprec_sess.h b/modules/siprec/siprec_sess.h index 77941eb47f0..47aa99fc9cc 100644 --- a/modules/siprec/siprec_sess.h +++ b/modules/siprec/siprec_sess.h @@ -93,7 +93,7 @@ struct src_sess { /* SRS */ struct list_head srs; str group; - struct socket_info *socket; /* socket used towards SRS */ + const struct socket_info *socket; /* socket used towards SRS */ str group_custom_extension; str session_custom_extension;