diff options
author | Jeremy McNamara <jj@nufone.net> | 2003-09-30 02:46:52 +0000 |
---|---|---|
committer | Jeremy McNamara <jj@nufone.net> | 2003-09-30 02:46:52 +0000 |
commit | b64094d528550e7f1dd46db3e3007ab801a8254c (patch) | |
tree | 127e5031e444b959b4a68ef2c0ece8175e66befa /pbx.c | |
parent | a97186b2f18465c682471f07088d6e6464fd12ac (diff) |
use timeout value insted of 0. Bug #286
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1583 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx.c')
-rwxr-xr-x | pbx.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3844,7 +3844,7 @@ int ast_pbx_outgoing_exten(char *type, int format, void *data, int timeout, char 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 @@ int ast_pbx_outgoing_app(char *type, int format, void *data, int timeout, char * 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; |