Version 0.2.0 from FTP

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@484 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2002-07-12 09:03:50 +00:00
parent 67751c3992
commit d233fd5d12
15 changed files with 119 additions and 30 deletions

View File

@@ -189,7 +189,7 @@ static void *dialstring(void *string){
free(string);
pthread_exit(NULL);
}
if(channel->state==AST_STATE_UP)
if(channel->_state==AST_STATE_UP)
printf("Autodial:Line is Up\n");
while(ms>0){
struct ast_frame *f;
@@ -202,7 +202,7 @@ static void *dialstring(void *string){
if(f->frametype==AST_FRAME_CONTROL){
if(f->subclass==AST_CONTROL_ANSWER){
printf("Autodial:Phone Answered\n");
if(channel->state==AST_STATE_UP){
if(channel->_state==AST_STATE_UP){
char res;
ast_streamfile(channel,filename,0);
// Press Five for snooze