[Asterisk-Dev] Loss of functionality with depreciation of DBGet/Put?

Jeffrey C. Ollie jeff at ocjtech.us
Tue May 17 11:23:07 MST 2005


On Tue, 2005-05-17 at 12:27 -0500, Tilghman Lesher wrote:
> On Tuesday 17 May 2005 11:02, Brian West wrote:
> > > IMHO, as has been proposed before, we need to provide some sort of
> > > return code, similar to DIALSTATUS/etc... Then the dialplan can
> > > determine the difference between NULL and "". So, until we can do
> > > that,
> > > IMHO, the old functionality should (must) remain...
> >
> > ${ISNULL()}
> > ${EXISTS()}
> 
> function_db_read() will never return NULL.

And even if it return NULL, it would get converted to the empty string
in pbx.c.

Jeff

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-dev/attachments/20050517/56fd23e5/attachment.pgp


More information about the asterisk-dev mailing list