{"push_id":1176686457,"size":1,"distinct_size":1,"ref":"refs/heads/1.11","head":"947b923e37f9aa90126272fd366fa77bef3dd16e","before":"12af967f0b209ae06880064968c7b1dc035bdee4","commits":[{"sha":"947b923e37f9aa90126272fd366fa77bef3dd16e","author":{"name":"Bogdan-Andrei Iancu","email":"d8aad057aa8e1c0b5af3b26478010243853f6084@opensips.org"},"message":"Fix dialplan module when using db_text backend.\n\nThe db_text makes no difference between NULL or \"empty string\" values in DB -> both are internally translated as NULL . The dialplan module, in a very abusive way, forces \"not null\" (in DB schema and in the code for data validation) even for columns that are optional (like subst_exp, repl_exp, timerec and attrs). Besides being bogus (if a column is not to be used, you have to set it to empty string rather than let it NULL), it makes impossible the usage of db_text with dialplan.\nThis fix allows (DB and code) the mentioned DB columns to be also NULL.\nThe change is backward compatible, it should not break any existing usage of the dialplan module.\n\n(cherry picked from commit 8f548976389ee3968bf06f649b54d88db694f949)\n(cherry picked from commit 618ff9254472e6f4e3c4af6f49b7513bbd49593d)","distinct":true,"url":"https://api.github.com/repos/OpenSIPS/opensips/commits/947b923e37f9aa90126272fd366fa77bef3dd16e"}]}
{"actor":{"display_login":"bogdan-iancu"}}