How to reload the dialplan when the database changes

hi:
I modify dialplan from sqlite database in ast_config table. then call dialplan reload, but the new value not load from database. how to do it when the database changes from other program