Forum Discussion
Shay_Ben-David1
Nimbostratus
Feb 26, 2009Problem with an irule
i am having some problem with an irule that should update the timeout of the persist record based on a SIP method, the deletion of the persist based on the if argument is going OK, but the adding of the persist with different timeout is not:
when SIP_REQUEST {
if {[SIP::method] == "BYE"} {
session delete sip [SIP::call_id]
session add sip [SIP::call_id] 20
}
}
the session can be replaced with persist as well, and the same result is being shown.
thanks
- hoolio
Cirrostratus
What do you see if you run 'b persist all show all' for the corresponding record after adding the record from the iRule? Can you post an anonymised copy of your VIP and related profiles using 'b virtual VIRTUAL_NAME list' and 'b profile PROFILE_NAME list'? - Shay_Ben-David1
Nimbostratus
when BYE sent, the persist is removed and another one comes in place, but the timeout for this persist comes from the default profile (180 second) and not from the irule. - Shay_Ben-David1
Nimbostratus
any idea why the irule is not function as it should ? - tovy_93828
Nimbostratus
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 ?
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects