Index: 10/channels/iax2-provision.c =================================================================== --- 10/channels/iax2-provision.c (revision 371822) +++ 10/channels/iax2-provision.c (working copy) @@ -262,10 +262,8 @@ memset(&ied, 0, sizeof(ied)); ast_mutex_lock(&provlock); - if (!(ast_db_get("iax/provisioning/cache", template, tmp, sizeof(tmp)))) { - ast_log(LOG_ERROR, "ast_db_get failed to retrieve iax/provisioning/cache\n"); - ast_mutex_unlock(&provlock); - return -1; + if (ast_db_get("iax/provisioning/cache", template, tmp, sizeof(tmp))) { + ast_log(LOG_ERROR, "ast_db_get failed to retrieve iax/provisioning/cache/%s\n", template); } if (sscanf(tmp, "v%30x", version) != 1) { if (strcmp(tmp, "u")) {