Thu Mar 6 07:00:01 CET 2003

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@633 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Matteo Brancaleoni
2003-03-06 06:00:17 +00:00
parent fa50831650
commit a8723ad68f
6 changed files with 33 additions and 9 deletions

View File

@@ -993,11 +993,8 @@ static int adsi_load_vmail(struct ast_channel *chan, int *useadsi)
static void adsi_begin(struct ast_channel *chan, int *useadsi)
{
int x;
if(!strcasecmp(chan->type, "sip")){
*useadsi = 0;
if (!adsi_available(chan))
return;
}
x = adsi_load_session(chan, adapp, adver, 1);
if (x < 0)
return;
@@ -1309,9 +1306,7 @@ static void adsi_goodbye(struct ast_channel *chan)
{
char buf[256];
int bytes=0;
if(!strcasecmp(chan->type, "sip")){
return;
}
if (!adsi_available(chan))
return;
bytes += adsi_logo(buf + bytes);