0_48485
May 21, 2008Nimbostratus
irule for port translation
All -
I'm trying to write an IRULE to send SIP SUBSCRIBE requests to a different port (5050) on my servers since i need to handle those requests differently. I put in the following as an IRULE:
when SIP_REQUEST {
if {[SIP::method] == "SUBSCRIBE"} {
node 1.2.3.4 5050
}
}
i know the method is matching, but i never see a packet arrive on 5050. it still maintains the original destination port of 5060. even tried a pool statement instead on a node statement. my 5050 pool/node is up and monitors are green. do i need to rewrite the packet with a new destination port somehow? any ideas? if it matters, i'm currently running ltm 9.4.1...
Thanks in advance!
-John