<div dir="ltr">Hi Ovidiu,<div><br></div><div>I've tried to put empty or '3600' in the expire column, both has the same result as before.</div><div><div class="gmail_extra"><br></div><div class="gmail_extra">Cheers,<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 13, 2013 at 12:03 PM, Ovidiu Sas <span dir="ltr"><<a href="mailto:osas@voipembedded.com" target="_blank">osas@voipembedded.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You have: modparam("uac_registrant", "expiry_column", "expire")<br>
Check what do you have in the expire column for your aor.<br>
<br>
Regards,<br>
Ovidiu Sas<br>
<div><div class="h5"><br>
On Sun, May 12, 2013 at 9:36 PM, Bruce Wang <<a href="mailto:bruce@brucewang.net">bruce@brucewang.net</a>> wrote:<br>
> Hi all,<br>
><br>
> I'm using uac_registrant module to register to our upstream sip trunk<br>
> I found lately that OpenSIPS didn't send out REGISTER packets as often as<br>
> before, and looking at the SIP traffic and saw that expires param in the<br>
> Contact header has a huge number<br>
><br>
><br>
>> U 2013/05/13 11:16:39.658937 <a href="http://10.10.1.153:5060" target="_blank">10.10.1.153:5060</a> -> <a href="http://111.222.33.134:5060" target="_blank">111.222.33.134:5060</a><br>
>> REGISTER sip:<a href="http://voip.acme.com" target="_blank">voip.acme.com</a> SIP/2.0.<br>
>> Via: SIP/2.0/UDP 111.222.33.70:5060;branch=z9hG4bK94bd.37eabff5.0.<br>
>> To: <a href="mailto:sip%3A61390202825@voip.acme.com">sip:61390202825@voip.acme.com</a>.<br>
>> From: <<a href="mailto:sip%3A61390202825@voip.acme.com">sip:61390202825@voip.acme.com</a>>;tag=65254.<br>
>> CSeq: 1 REGISTER.<br>
>> Call-ID: 229301b0a98f6elfdffffff.<br>
>> Max-Forwards: 70.<br>
>> Content-Length: 0.<br>
>> User-Agent: OpenSIPS (1.8.2-notls (x86_64/linux)).<br>
>> Contact: <<a href="http://sip:61390202825@111.222.33.70:5060" target="_blank">sip:61390202825@111.222.33.70:5060</a>>;expires=4041075200.<br>
><br>
><br>
> And here is my opensips.cfg uac_registrant part:<br>
><br>
>> 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")<br>
><br>
><br>
> Actually I don't have the contact_param column in my outregistrations table.<br>
><br>
> Anyone knows how to solve this problem?<br>
><br>
> Thanks!<br>
><br>
> Cheers,<br>
> Bruce<br>
><br>
> --<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>
><br>
</div></div>> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
VoIP Embedded, Inc.<br>
<a href="http://www.voipembedded.com" target="_blank">http://www.voipembedded.com</a><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</font></span></blockquote></div><br><br clear="all"><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></div>