<div dir="ltr">Turned out to be a configuration issue. I missed this error log on startup:<div><br></div><div>ERROR:mid_registrar:mod_init: max_expires < default_expires! Increasing max_expires to 3600...</div><div><br></div><div>So adding:</div><div><br></div><div>modparam("mid_registrar", "default_expires", 20)</div><div><br></div><div>to my configuration file got it working as expected.<br><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Aug 17, 2019 at 9:00 PM Peter Pulham <<a href="mailto:peter@thesimworks.net">peter@thesimworks.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I have the following configuration for mid_registrar :</div><div><br></div><div>loadmodule "mid_registrar.so"<br>modparam("mid_registrar", "tcp_persistent_flag", "TCP_PERSIST")<br>modparam("mid_registrar", "mode", 2)<br>modparam("mid_registrar", "received_avp", "$avp(received_nh)")<br>modparam("mid_registrar", "max_expires", 20)<br>modparam("mid_registrar", "outgoing_expires", 3600)<br></div><div><br></div><div>When a register is received with an expires of say 1800, a register is sent to the switch with an expires of 3600 as expected in the outgoing_expires setting. However, when the OK is sent back to the client the expires remains 1800 and does not change to 20.</div><div><br></div><div>Is this a misunderstanding of the configuration or a bug?</div><div><br></div></div>
</blockquote></div>