[asterisk-bugs] [JIRA] (ASTERISK-21794) CLI command 'realtime update2' syntax failure when using according to usage help
Friendly Automation (JIRA)
noreply at issues.asterisk.org
Fri Jan 17 09:22:25 CST 2020
[ https://issues.asterisk.org/jira/browse/ASTERISK-21794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=249449#comment-249449 ]
Friendly Automation commented on ASTERISK-21794:
------------------------------------------------
Change 13628 merged by George Joseph:
res_realtime: Fix 'realtime update2' argument handling
[https://gerrit.asterisk.org/c/asterisk/+/13628|https://gerrit.asterisk.org/c/asterisk/+/13628]
> CLI command 'realtime update2' syntax failure when using according to usage help
> --------------------------------------------------------------------------------
>
> Key: ASTERISK-21794
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-21794
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_realtime
> Affects Versions: 1.8.21.0, 13.18.4
> Environment: kernel 2.6.32-279.22.1.el6.centos.plus.x86_64 #1 SMP Wed Feb 6 05:16:56 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
> Reporter: Cedric BASSAGET
> Severity: Minor
>
> It seems it's not possible to reset a field from a mysql database to its default value or to {{NULL}} value with update2 :
> CLI> realtime update2 sippeers name 100 deny "NULL" <- writes "NULL" as string in the field
> CLI> realtime update2 sippeers name 100 deny NULL <- writes NULL as string in the field
> CLI> realtime update2 sippeers name 100 deny DEFAULT <- writes DEFAULT as string in the field
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list