[OpenSIPS-Users] expires in Contact header in REGISTER packet

Bruce Wang bruce at brucewang.net
Mon May 13 04:53:43 CEST 2013


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 <osas at voipembedded.com> 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 <bruce at brucewang.net> 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:61390202825 at voip.acme.com.
> >> From: <sip:61390202825 at voip.acme.com>;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:61390202825 at 111.222.33.70: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
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
>
>
>
> --
> VoIP Embedded, Inc.
> http://www.voipembedded.com
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>



-- 
simple is good
http://brucewang.net
http://twitter.com/number5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130513/230ef41c/attachment-0001.htm>


More information about the Users mailing list