[Asterisk-code-review] res_config_odbc: set empty extended field as a single whitespace (...asterisk[16])
Alexei Gradinari
asteriskteam at digium.com
Wed Mar 20 16:20:46 CDT 2019
Hello Friendly Automation, George Joseph,
I'd like you to reexamine a change. Please visit
https://gerrit.asterisk.org/c/asterisk/+/11163
to look at the new patch set (#2).
Change subject: res_config_odbc: set empty extended field as a single whitespace
......................................................................
res_config_odbc: set empty extended field as a single whitespace
If Realtime @ variable value is NULL or empty or contains only whitespaces
then when we try to retrieve it using PJSIP_ENDPOINT we get WARNING
pjsip_endpoint_function_read: Unknown property @my_var for PJSIP endpoint.
And the variable is missing in the result of CLI pjsip show endpoint.
This patch keeps empty sorcery extended field.
ASTERISK-28341 #close
Change-Id: I221fccc04cbfa2be17ce971f64ae0e74e465eea0
---
M res/res_config_odbc.c
1 file changed, 45 insertions(+), 21 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/63/11163/2
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/11163
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: I221fccc04cbfa2be17ce971f64ae0e74e465eea0
Gerrit-Change-Number: 11163
Gerrit-PatchSet: 2
Gerrit-Owner: Alexei Gradinari <alex2grad at gmail.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20190320/4222eb6d/attachment.html>
More information about the asterisk-code-review
mailing list