Forum Discussion
MichaelJordan_1
Nimbostratus
Jun 18, 2015Trim Mobile Number
Hi
The SMS Company does not accept more than 10 caracters in http request as of MobileNumber. And also they don't accept these "+" sign or "+90". So it should look like "5431231020". This is the...
Stanislas_Piro2
Cumulonimbus
Jun 24, 2015You can combine thee two assignment in only one:
session.logon.last.username =
set user [expr [string map {" " ""} [mcget {session.ad.last.attr.mobile}] ]];
return [string range $user end-9 end]
To simplify future change on the VPE, do not replace variables values. create a session.logon.last.otpmobile variable and use it in the OTP delivery method.
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