```
$var(rc) = save("location", 0x04);
if (!$var(rc)) {
xlog("L_ERR", "-- REGISTRAR: failed to save
registration: $tu => UA: $ua, IP: $si:$sp, Caller-ID: $ci, CSeq: $cs, Expiry:
$hdr(Expires), Contact $ct, Return code: $var(rc)\n");
sl_reply_error();
exit;
}
if ($hdr(Expires) == "") {
$var(expire) = $sel(contact.expires);
} else {
$var(expire) = $hdr(Expires);
}
$var(regtime) = $xavp(ulrcd[0]=>expires);
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1834#issuecomment-460574714