Skip to content
Snippets Groups Projects
Commit 8a2e7f50 authored by Mark Spencer's avatar Mark Spencer
Browse files

Minor voicetronix update

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1088 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent cfe1d50b
Branches
Tags
No related merge requests found
...@@ -682,16 +682,19 @@ static int vpb_call(struct ast_channel *ast, char *dest, int timeout) ...@@ -682,16 +682,19 @@ static int vpb_call(struct ast_channel *ast, char *dest, int timeout)
vpb_set_call(p->handle, &call); vpb_set_call(p->handle, &call);
if (option_verbose > 2) if (option_verbose > 2)
ast_verbose(VERBOSE_PREFIX_3 " Calling %s on %s \n", dest, ast->name); ast_verbose(VERBOSE_PREFIX_3 " Calling %s on %s \n",
dest, ast->name);
vpb_sethook_sync(p->handle,VPB_OFFHOOK);
res = vpb_dial_async(p->handle, s); res = vpb_dial_async(p->handle, s);
if (res != VPB_OK) { if (res != VPB_OK) {
ast_log(LOG_DEBUG, "Call on %s to %s failed: %s\n", ast_log(LOG_DEBUG, "Call on %s to %s failed: %s\n",
ast->name, dest, vpb_strerror(res)); ast->name, dest, vpb_strerror(res));
res = -1; res = -1;
} else } else
res = 0; res = 0;
} }
if (option_verbose > 2) if (option_verbose > 2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment