URIENCODE(String)%XX ersetzt werden, wobei
XX der hexadezimale Wert des Zeichens ist.; "Hallo Welt" kodieren:
exten => 123,1,Set(foo=${URIENCODE("Hallo Welt")})
; ergibt "Hallo%20Welt"————————| 1.2 |————————| 1.4 |————————| 1.6 |————————
-= Info about function 'URIENCODE' =-
[Syntax]
URIENCODE(<data>)
[Synopsis]
Encodes a string to URI-safe encoding according to RFC 2396.
[Description]
Not available--- in Asterisk 1.2
+++ in Asterisk 1.4
@@ -4,7 +4,7 @@
URIENCODE(<data>)
[Synopsis]
- Encodes a string to URI-safe encoding.
+ Encodes a string to URI-safe encoding according to RFC 2396.
[Description]
Not available