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@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@lists.sip-router.org] *On Behalf Of *Yuriy Gorlichenko *Sent:* 27 January 2016 16:59 *To:* Kamailio (SER) - Users Mailing List sr-users@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 | sip:101@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 | 13279 | NULL | 0 | 0 | -1 | 0 | 0 |
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users