[SR-Users] kamailio 4.4 writes wrong expires parameter at the database

Phil Lavin phil.lavin at synety.com
Wed Jan 27 20:43:04 CET 2016


The setting is a maximum so if the UA offers a time less than the maximum, the UA’s value will be used instead. If you wish for the UAs to always decide this, set the maximum to a high value.


Phil
From: sr-users [mailto:sr-users-bounces at lists.sip-router.org] On Behalf Of Yuriy Gorlichenko
Sent: 27 January 2016 19:00
To: Kamailio (SER) - Users Mailing List <sr-users at lists.sip-router.org>
Subject: Re: [SR-Users] kamailio 4.4 writes wrong expires parameter at the database

All default. I understand my mistake. I thought that kamailio stores Expires value for each registration it internal variable. but it seems that it is not stores and sets default value from registrar module parametr when registration saves by reply.

2016-01-27 20:29 GMT+03:00 Phil Lavin <phil.lavin at synety.com<mailto:phil.lavin at synety.com>>:
What is the expiry in the reply from Kamailio to the registration?

What is the value you have set for registrar module max_expires param?


Phil

From: sr-users [mailto:sr-users-bounces at lists.sip-router.org<mailto:sr-users-bounces at lists.sip-router.org>] On Behalf Of Yuriy Gorlichenko
Sent: 27 January 2016 16:59
To: Kamailio (SER) - Users Mailing List <sr-users at lists.sip-router.org<mailto:sr-users at lists.sip-router.org>>
Subject: [SR-Users] kamailio 4.4 writes wrong expires parameter at the database

I register from sofftphone at my registrar server.
Kamailio must save to location table info about registration (save("location") uses at reply route)
At my softphone I setted expire as 360 (and see it at packet that errives at kamailio)
But at the db i only 20 seconds period
| id  | ruid                 | username | domain        | contact                                                            | received | path | expires             | q     | callid                   | cseq | last_modified       | flags | cflags | user_agent | socket                 | methods | instance | reg_id | server_id | connection_id | keepalive | partition |

| 101 | uloc-56a8f5a7-6273-2 | 101      | myserver.com<http://myserver.com> | sip:101 at 192.168.1.3:56549;rinstance=73c46a4379766398;transport=udp | NULL     | NULL | 2016-01-27 10:53:29 | -1.00 | tDQT2I7gI5tA9odtWhdD2w.. |    9 | 2016-01-27 10:53:09 |     0 |      0 | n/a        | udp:myserver.com<http://myserver.com> |   13279 | NULL     |      0 |         0 |            -1 |         0 |         0 |



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users at lists.sip-router.org<mailto:sr-users at lists.sip-router.org>
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160127/9f31c8fd/attachment.html>


More information about the sr-users mailing list