Index: pbx.c =================================================================== RCS file: /usr/cvsroot/asterisk/pbx.c,v retrieving revision 1.56 diff -u -r1.56 pbx.c --- pbx.c 27 Sep 2003 02:22:18 -0000 1.56 +++ pbx.c 29 Sep 2003 22:58:27 -0000 @@ -3844,7 +3844,7 @@ if (!as) return -1; memset(as, 0, sizeof(struct async_stat)); - chan = ast_request_and_dial(type, format, data, 0, reason, callerid); + chan = ast_request_and_dial(type, format, data, timeout, reason, callerid); if (!chan) { free(as); return -1; @@ -3939,7 +3939,7 @@ if (!as) return -1; memset(as, 0, sizeof(struct async_stat)); - chan = ast_request_and_dial(type, format, data, 0, reason, callerid); + chan = ast_request_and_dial(type, format, data, timeout, reason, callerid); if (!chan) { free(as); return -1;