Forum Discussion
Ivo_Brett_39329
Nimbostratus
Dec 01, 2004IRules for SIP
Hi,
Do any of you know if there are iRules that can be developed for the SIP (session initiation protocol). So that rules can be developed as in the following example:
when SIP_REQUEST {
if { [ SIP::uri ] starts_with "@fwd.pulver.com" } {
SIP::uri [ findstr [SIP::uri] "@fwd.pulver.com" 7 ]
pool sip_pool1
}
pool sip_pool2
}
This would be fairly cool stuff if it can be done. If not, any ideas if its possible to write an iRules library that can take care of the parsing of Sip messages?
Thanks,
Ivo
2 Replies
- Tao_Liu_90341Historic F5 AccountYes, that is cool. it might come in a while.
- Tao_Liu_90341Historic F5 Accountivobrett,
This rule is not available but not far away. Before that, it is possible to extract certain field out of SIP message in the case of running over UDP. I don't have sample, but you can scan the first two tokens in the payload. The second one is URI. No guarantee ;-) i.e.
when CLIENT_DATA {
scan [UDP::payload] "%s%s" sipmethod sipuri
puts "$sipuri"
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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