hi, i also try some irule exactly like this and found the same situation, where the persist timeout is being taken from the default profile and not from the irule, another thing that i notice is that the irule seems to work with the deletion of the persist when the "if" condition accure, so i also don't know why its not working, maybe someone from devcentral could help me understand this ?
when SIP_REQUEST {
if {[SIP::method] == "BYE"} {
log.local0 "method: {[SIP::method] "
persist delete sip [SIP::call_id]
persist add sip [SIP::call_id]
}
}