Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //CLI
- [Oct 23 13:47:41] ERROR[13881]: pbx.c:3671 ast_func_read: Function ODBC_CHANGE_PIN cannot be read
- //cli
- core show function ODBC_CHANGE_PIN
- -= Info about function 'ODBC_CHANGE_PIN' =-
- [Synopsis]
- Runs the referenced query with the specified arguments
- [Description]
- Runs the following query, as defined in func_odbc.conf, performing
- substitution of the arguments into the query as specified by ${ARG1},
- ${ARG2}, ... ${ARGn}. The values are provided either in whole as
- ${VALUE} or parsed as ${VAL1}, ${VAL2}, ... ${VALn}.
- This function may only be set.
- SQL:
- UPDATE user_accounts SET pin=${ARG2} WHERE id=${ARG1}
- [Syntax]
- ODBC_CHANGE_PIN(<arg1>[...[,<argN>]])
- [Arguments]
- Not available
- [See Also]
- Not available
- //func_odbc.conf
- [CHANGE_PIN]
- ;enable user to change their pin code
- dsn=asterisk
- writesql=UPDATE user_accounts SET pin=${ARG2} WHERE id=${ARG1}
- //extension.conf
- same=>n,Set(status=${ODBC_CHANGE_PIN(${ID},${new_pin})})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement