SIP Router Project
FS#501 - dbtext - send empty string in non-null
Opened by Olle Johansson (oej) - Monday, 08 December 2014, 12:28 GMT
When using db_text drivers, the driver responds with a NULL string if the declaration says “(string,NULL)”. If NULL is not declared, dbtext doesn’t read the data and fails.
I need to be able to send an empty string into the dialplan, in the subst/repl fields. Dialplan doesn’t accept a NULL string as input for these fields.
The solution is:
Maybe we need a config setting or a default value like
I will try to look into this soon.