[OpenSIPS-Users] expires in Contact header in REGISTER packet
Bruce Wang
bruce at brucewang.net
Mon May 13 03:36:42 CEST 2013
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130513/af827b79/attachment.htm>
More information about the Users
mailing list