Forum Discussion

James_Thomson's avatar
Mar 09, 2006

deleting an entry in the connection table

I'm trying to figure out if there is a command that I cannot find, to drop a connection from the connection table when a certain event happens. This particular case deals with SIP and the BYE message. I know I could probably do this:


when SIP_SERVER_MSG {
     puts [SIP::header via 0]
     if {[SIP::method] == "BYE"} {
    drop
      }
   }

But drop doesn't give me what I want. I need the BIG-IP to pass that packet along to where it is destined for, then have the BIG-IP delete that connection entry so that if I do a b conn show, I don't see anything. Any ideas?

I might even want to find a way to wait to delete this entry until we see the ack come back from the BYE packet.