aboutsummaryrefslogtreecommitdiffstats
path: root/pbx.c
diff options
context:
space:
mode:
authorjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2003-09-30 02:46:52 +0000
committerjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2003-09-30 02:46:52 +0000
commit47de7d8ad01526eb06c26ea90b4b9958e5f9dac3 (patch)
tree127e5031e444b959b4a68ef2c0ece8175e66befa /pbx.c
parent6078d008f6aa9424e325df88b5f8ab0281c0819f (diff)
use timeout value insted of 0. Bug #286
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1583 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx.c')
-rwxr-xr-xpbx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pbx.c b/pbx.c
index ba5f8c075..49a3af341 100755
--- a/pbx.c
+++ b/pbx.c
@@ -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;