CLI, "dialplan add extension" & brackets

Hello.
I want to add extension
exten => 5321,3,Set(ROOM_FILE_NANE=${EXTEN}-${STRFTIME(,%Y%m%d-%H-%M-%S)})
by CLI command, but all following command has invalid results:
1.Fist iteration

Action: Command Command: dialplan add extension 5322,3,Set,"ROOM_FILE_NANE=${EXTEN}-${STRFTIME(,,%Y%m%d-%H-%M-%S)}" into rooms
response:
Extension ‘5322,3,Set,ROOM_FILE_NANE=${EXTEN}-${STRFTIME,%Y%m%d-%H-%M-%S’ added into ‘rooms’ context
extension.conf:
exten => 5322,3,Set,ROOM_FILE_NANE=${EXTEN}-${STRFTIME(,%Y%m%d-%H-%M-%S)
Final bracket is missing. It happens because in function handle_cli_dialplan_add_extension (pbx_config.c) was a foolowing code:

if (app && (start = strchr(app, '(')) && (end = strrchr(app, ')'))) { *start = *end = '\0'; app_data = start + 1; }
2.Try to use additional brackets:

Action: Command Command: dialplan add extension 5319,3,Set,"(ROOM_FILE_NANE=${EXTEN}-${STRFTIME(,,%Y%m%d-%H-%M-%S)})" into rooms
response:
Extension ‘5319,3,Set,ROOM_FILE_NANE=${EXTEN}-${STRFTIME(,%Y%m%d-%H-%M-%S)}’ added into ‘rooms’ context
extensions.conf:
exten => 5317,3,Set,(ROOM_FILE_NANE=${EXTEN}-${STRFTIME(,%Y%m%d-%H-%M-%S)})
Application data insert in wrong place.
3. for experimental purpose only change “(” by “|”:

Action: Command
Command: dialplan add extension 5321,3,Set,"ROOM_FILE_NANE=${EXTEN}-${STRFTIME|,,%Y%m%d-%H-%M-%S|}" into rooms

response:
Extension ‘5321,4,Set,MEETME_RECORDINGFILE=/var/spool/asterisk/meetme/${ROOM_FILE_NAME}’ added into ‘rooms’ context
extension.conf:
exten => 5321,3,Set(ROOM_FILE_NANE=${EXTEN}-${STRFTIME|,%Y%m%d-%H-%M-%S|})
Works fine but useless.

What’s wrong ?