dect
/
asterisk
Archived
13
0
Fork 0

Minor voicetronix update

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1088 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
markster 2003-06-13 08:23:19 +00:00
parent 25a590576a
commit 90d469be85
1 changed files with 10 additions and 7 deletions

View File

@ -682,16 +682,19 @@ static int vpb_call(struct ast_channel *ast, char *dest, int timeout)
vpb_set_call(p->handle, &call);
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);
if (res != VPB_OK) {
ast_log(LOG_DEBUG, "Call on %s to %s failed: %s\n",
ast->name, dest, vpb_strerror(res));
res = -1;
} else
res = 0;
if (res != VPB_OK) {
ast_log(LOG_DEBUG, "Call on %s to %s failed: %s\n",
ast->name, dest, vpb_strerror(res));
res = -1;
} else
res = 0;
}
if (option_verbose > 2)