<div dir="ltr">Hi all,<div><br></div><div>I'm using uac_registrant module to register to our upstream sip trunk<br clear="all"><div style>I found lately that OpenSIPS didn't send out REGISTER packets as often as before, and looking at the SIP traffic and saw that expires param in the Contact header has a huge number</div>
<div style><br></div><div style><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font face="courier new, monospace">U 2013/05/13 11:16:39.658937 <a href="http://10.10.1.153:5060">10.10.1.153:5060</a> -> <a href="http://111.222.33.134:5060">111.222.33.134:5060</a><br>
</font><font face="courier new, monospace">REGISTER sip:<a href="http://voip.acme.com">voip.acme.com</a> SIP/2.0.<br></font><font face="courier new, monospace">Via: SIP/2.0/UDP 111.222.33.70:5060;branch=z9hG4bK94bd.37eabff5.0.<br>
</font><font face="courier new, monospace">To: <a href="mailto:sip%3A61390202825@voip.acme.com">sip:61390202825@voip.acme.com</a>.<br></font><font face="courier new, monospace">From: <<a href="mailto:sip%3A61390202825@voip.acme.com">sip:61390202825@voip.acme.com</a>>;tag=65254.<br>
</font><font face="courier new, monospace">CSeq: 1 REGISTER.<br></font><font face="courier new, monospace">Call-ID: 229301b0a98f6elfdffffff.<br></font><font face="courier new, monospace">Max-Forwards: 70.<br></font><font face="courier new, monospace">Content-Length: 0.<br>
</font><font face="courier new, monospace">User-Agent: OpenSIPS (1.8.2-notls (x86_64/linux)).<br></font><font face="courier new, monospace">Contact: <<a href="http://sip:61390202825@111.222.33.70:5060">sip:61390202825@111.222.33.70:5060</a>>;expires=<font color="#ff0000"><b>4041075200</b></font>.</font></blockquote>
</div><div><br></div><div style>And here is my opensips.cfg uac_registrant part:</div><div style><br></div><div style><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<font face="courier new, monospace">loadmodule "uac_auth.so"<br>loadmodule "uac_registrant.so"<br>modparam("uac_registrant", "hash_size", 1)<br>modparam("uac_registrant", "timer_interval", 300)<br>
modparam("uac_registrant", "table_name", "outregistrations")<br>modparam("uac_registrant", "registrar_column", "registrar")<br>modparam("uac_registrant", "aor_column", "to_uri")<br>
modparam("uac_registrant", "username_column", "username")<br>modparam("uac_registrant", "password_column", "password")<br>modparam("uac_registrant", "binding_URI_column", "contact_uri")<br>
modparam("uac_registrant", "proxy_column", "proxy_uri")<br>modparam("uac_registrant", "third_party_registrant_column", "from_uri")<br>modparam("uac_registrant", "binding_params_column", "contact_params")<br>
modparam("uac_registrant", "expiry_column", "expire")<br>modparam("uac_registrant", "forced_socket_column", "fs")</font></blockquote><div><br></div></div><div style>
Actually I don't have the contact_param column in my outregistrations table.</div><div style><br></div><div style>Anyone knows how to solve this problem?</div><div style><br></div><div style>Thanks!</div><div style><br>
</div><div style>Cheers,</div><div style>Bruce</div><div><br></div>-- <br>simple is good<br><a href="http://brucewang.net" target="_blank">http://brucewang.net</a><br><a href="http://twitter.com/number5" target="_blank">http://twitter.com/number5</a><br>
</div></div>