]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_pubsub: Treat "prune_on_boot" as a yes / no.
authorJoshua Colp <jcolp@digium.com>
Fri, 27 Jul 2018 15:46:12 +0000 (15:46 +0000)
committerJoshua Colp <jcolp@digium.com>
Fri, 27 Jul 2018 16:25:47 +0000 (11:25 -0500)
commit0028db48cc64067bdf4f17329085a233a5699b67
treeb35fbb198ff49bb333a9108b488439884dc7e823
parent6c5f8403ad322fef5e3dd31eb7f772020aa50b66
res_pjsip_pubsub: Treat "prune_on_boot" as a yes / no.

The alembic for the PJSIP subscription persistence table has the
"prune_on_boot" field as a boolean. While in Asterisk we are
tolerant of many different definitions of true and false in the
database we only accept "yes" and "no". This change makes the
field treated as a yes/no instead of an integer, thus storing
"yes" and "no" instead of "1" and "0".

Change-Id: Ic8b9211b36babefe78f70def6828a135a6ae7ab6
res/res_pjsip_pubsub.c