So we’re giving it a shot on 9.4
some bug near elseif that I could not work out caused me to break it into 2 separate rules
sipRule_1
when SIP_REQUEST {
set method [SIP::method]
log local0.info $method
if {$method==“REQUEST” || $method==“INVITE”}
{ persist sip [SIP::call_id] }
}
sipRule_2
when SIP_REQUEST {
set method [SIP::method]
log local0.info $method
if {$method==“BYE”}
{ persist sip delete [SIP::call_id] }
}
I’m attempting to get that irule working and get errors in the ltm log. Here’s what I see:
Mar 23 05:48:22 tmm tmm[1421]: Rule sipRule_1 : INVITE
Mar 23 05:48:22 tmm tmm[1421]: Rule sipRule_2 : INVITE
Mar 23 05:48:22 tmm tmm[1421]: Rule sipRule_1 : ACK
Mar 23 05:48:22 tmm tmm[1421]: Rule sipRule_2 : ACK
Mar 23 05:48:36 tmm tmm[1421]: Rule sipRule_1 : BYE
Mar 23 05:48:36 tmm tmm[1421]: Rule sipRule_2 : BYE
Mar 23 05:48:36 tmm tmm[1421]: 01220001:3: TCL error: Rule sipRule_2 - expected integer but got “68980bba33a67f54f84673387efd6e08@64.192.112.13” while executing "persist sip delete [SIP::call_id] "
Is this a bug in the persist sip delete? It seems you’d have to pass a sip call_id…
?
thanks in advance for any help
ashley-