]> 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 15:46:12 +0000 (15:46 +0000)
commitd33ed08afcf6bd76e24843462a261f0e23bb6723
tree090678ea2c809f3bdf24c3fed9dba9c18446c5bf
parent111cde6026bd9e2e5e51be04efb7a3753833fd64
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