Please enable debug logs and post them (or send them privately to me). Regards, Ovidiu Sas
On Sun, May 12, 2013 at 10:53 PM, Bruce Wang <[email protected]> wrote: > Hi Ovidiu, > > I've tried to put empty or '3600' in the expire column, both has the same > result as before. > > Cheers, > > > On Mon, May 13, 2013 at 12:03 PM, Ovidiu Sas <[email protected]> wrote: >> >> You have: modparam("uac_registrant", "expiry_column", "expire") >> Check what do you have in the expire column for your aor. >> >> Regards, >> Ovidiu Sas >> >> On Sun, May 12, 2013 at 9:36 PM, Bruce Wang <[email protected]> wrote: >> > Hi all, >> > >> > I'm using uac_registrant module to register to our upstream sip trunk >> > 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 >> > >> > >> >> U 2013/05/13 11:16:39.658937 10.10.1.153:5060 -> 111.222.33.134:5060 >> >> REGISTER sip:voip.acme.com SIP/2.0. >> >> Via: SIP/2.0/UDP 111.222.33.70:5060;branch=z9hG4bK94bd.37eabff5.0. >> >> To: sip:[email protected]. >> >> From: <sip:[email protected]>;tag=65254. >> >> CSeq: 1 REGISTER. >> >> Call-ID: 229301b0a98f6elfdffffff. >> >> Max-Forwards: 70. >> >> Content-Length: 0. >> >> User-Agent: OpenSIPS (1.8.2-notls (x86_64/linux)). >> >> Contact: <sip:[email protected]:5060>;expires=4041075200. >> > >> > >> > And here is my opensips.cfg uac_registrant part: >> > >> >> loadmodule "uac_auth.so" >> >> loadmodule "uac_registrant.so" >> >> modparam("uac_registrant", "hash_size", 1) >> >> modparam("uac_registrant", "timer_interval", 300) >> >> modparam("uac_registrant", "table_name", "outregistrations") >> >> modparam("uac_registrant", "registrar_column", "registrar") >> >> modparam("uac_registrant", "aor_column", "to_uri") >> >> modparam("uac_registrant", "username_column", "username") >> >> modparam("uac_registrant", "password_column", "password") >> >> modparam("uac_registrant", "binding_URI_column", "contact_uri") >> >> modparam("uac_registrant", "proxy_column", "proxy_uri") >> >> modparam("uac_registrant", "third_party_registrant_column", "from_uri") >> >> modparam("uac_registrant", "binding_params_column", "contact_params") >> >> modparam("uac_registrant", "expiry_column", "expire") >> >> modparam("uac_registrant", "forced_socket_column", "fs") >> > >> > >> > Actually I don't have the contact_param column in my outregistrations >> > table. >> > >> > Anyone knows how to solve this problem? >> > >> > Thanks! >> > >> > Cheers, >> > Bruce >> > >> > -- >> > simple is good >> > http://brucewang.net >> > http://twitter.com/number5 >> > >> > _______________________________________________ >> > Users mailing list >> > [email protected] >> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> > >> >> >> >> -- >> VoIP Embedded, Inc. >> http://www.voipembedded.com >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > > -- > simple is good > http://brucewang.net > http://twitter.com/number5 > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -- VoIP Embedded, Inc. http://www.voipembedded.com _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
