HTTP AAA to a SMS TXT Service with Token Insert
Good Morning,
I'm working on setting up a OTP call using a provider who issues a Token for usage. The token is static.
My config HTTP AAA using Custom Post: Form Action is the Full URL I'm Posting to.
Custom Body To=%{session.ad.last.attr.mobile}&Body=%{session.otp.assigned.val} Expires after use or in %{session.otp.assigned.ttl} seconds. Didn't enclose in quotes as I was referencing another KB and didn't see it there.
Custom Header name came from the provider "TokenCall" Value "really long numerical string"
Customer Header Content_Type "application/json"
I'm using a layered Virtual server to the HTTPS SMS and included an IRULE for the JSON Content:
when HTTP_REQUEST { set json "{ \"glossary\": { \"title\": \"example glossary\", \"GlossDiv\": { \"title\": \"S\", \"GlossList\": { \"GlossEntry\": { \"ID\": \"SGML\", \"SortAs\": \"SGML\", \"GlossTerm\": \"Standard Generalized Markup Language\", \"Acronym\": \"SGML\", \"Abbrev\": \"ISO 8879:1986\", \"GlossDef\": { \"para\": \"A meta-markup language, used to create markup languages such as DocBook.\", \"GlossSeeAlso\": [\"GML\", \"XML\"] }, \"GlossSee\": \"markup\" } } } } }"
HTTP::respond 200 content $json "Content-Type" "application/json"
}
No TXT are received on my end. the vendor is checking their logs, but did i miss anything?
thanks for any reviews and comments to tune up!