libdialplan API modified