On Tue, Mar 27, 2018 at 01:23:40PM +0200, Daniel Tryba wrote:
Mar 27 12:17:10 kam kamailio[11647]: DEBUG:
topos_redis [topos_redis_storage.c:253]: tps_redis_insert_dialog(): inserted dialog record
for [d:z:atpsh-5aba19b2-2d7f-2] with argc 26
Mar 27 12:17:10 kam kamailio[11647]: DEBUG: topos_redis [topos_redis_storage.c:282]:
tps_redis_insert_dialog(): expire set on dialog record for [d:z:atpsh-5aba19b2-2d7f-2]
with argc 3
Mar 27 12:17:11 kam kamailio[11648]: DEBUG: topos_redis [topos_redis_storage.c:962]:
tps_redis_load_dialog(): loading dialog record for [d:z:atpsh-5aba19b2-2d7f-2]
Mar 27 12:17:11 kam kamailio[11648]: DEBUG: topos_redis [topos_redis_storage.c:1293]:
tps_redis_update_dialog(): updated dialog record for [d:z:atpsh-5aba19b2-2d7f-2] with argc
6
Mar 27 12:17:11 kam kamailio[11648]: DEBUG: topos_redis [topos_redis_storage.c:962]:
tps_redis_load_dialog(): loading dialog record for [d:z:atpsh-5aba19b2-2d7f-2]
Mar 27 12:17:11 kam kamailio[11648]: DEBUG: topos_redis [topos_redis_storage.c:1293]:
tps_redis_update_dialog(): updated dialog record for [d:z:atpsh-5aba19b2-2d7f-2] with argc
6
Mar 27 12:17:11 kam kamailio[11650]: DEBUG: topos_redis [topos_redis_storage.c:962]:
tps_redis_load_dialog(): loading dialog record for [d:z:atpsh-5aba19b2-2d7f-2]
Mar 27 12:17:11 kam kamailio[11650]: DEBUG: topos_redis [topos_redis_storage.c:962]:
tps_redis_load_dialog(): loading dialog record for [d:z:atpsh-5aba19b2-2d7f-2]
Mar 27 12:17:11 kam kamailio[11650]: DEBUG: topos_redis [topos_redis_storage.c:1381]:
tps_redis_end_dialog(): updated on end the dialog record for [d:z:atpsh-5aba19b2-2d7f-2]
with argc 6
Mar 27 12:17:11 kam kamailio[11650]: DEBUG: topos_redis [topos_redis_storage.c:1412]:
tps_redis_end_dialog(): expire set on branch record for [d:z:atpsh-5aba19b2-2d7f-2] with
argc 3
The last update to the dialog updates the key to expire in branch_expire
seconds (default 180), in topos_redis_storage.c tps_redis_end_dialog()
The timeout is set to
/* dialog ended -- keep it for branch lifetime only */
lval = (unsigned long)_tps_api.get_branch_expire();
if(lval==0) {
return 0;
}
I'm confused why:
-the dialog ended at the start of the call
-the dialog timeout isn't set to the dialog_expire value but to the branch_expire
value