Forum Discussion
Ken_Wong_48678
Sep 04, 2008Historic F5 Account
SIP via header modification
Hi,
my customers have a requirement to modify SIP via header, they want to insert the SIP client ip and port into the via header.
when CLIENT_ACCEPTED {
set ::clie...
hoolio
Cirrostratus
Sep 04, 2008The local variable should be available in any event on the same TCP connection. Can you try testing with the following and open a case with F5 Support if the CLIENT_ACCEPTED event is triggered and you still see a TCL error in a subsequent event when trying to access the local variable?
when CLIENT_ACCEPTED {
set local_var "test"
log local0. "[IP::client_addr]: \$local_var: $local_var"
}
when SIP_REQUEST_SEND {
log local0. "[IP::client_addr]: \$local_var: $local_var"
}
Aaron
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