Need help with diameter Irule
Hi everyone, this is the first time I ask a question. I need to create an irule intercepting the DIAMETER message "Disconnect-Peer-Request" (command = 282) from origin-host then drops the outgoing message and possibly replay to the origin-host with the Disconnect-Peer-Answer message (command = 282). I'm a Diameter newbie, I hope I was clear. Follows my Irule:
diamater-Disconnect-Peer-Answer-egress.rule
when DIAMETER_EGRESS { if {[serverside]} { if { [DIAMETER::command] == "282" } { DIAMETER::drop log local0. "Disconnect-Peer-Request sent from [IP::local_addr] to [IP::remote_addr] with origin-host [DIAMETER::host origin]" DIAMETER::respond "version" "r" "p" "e" "t" "comcode" "appid" "hopid" "endid" "AVPs" } } } How can I set it up DIAMETER::respond?
Regards,
Antonio Marongiu