[prev in list] [next in list] [prev in thread] [next in thread]
List: asterisk-addons-commits
Subject: [asterisk-addons-commits] mnicholson: branch
From: SVN commits to the Asterisk addons project
Date: 2009-02-12 22:38:13
Message-ID: E1LXkCM-000093-Nc () lists ! digium ! com
[Download RAW message or body]
Author: mnicholson
Date: Thu Feb 12 16:38:13 2009
New Revision: 777
URL: http://svn.digium.com/svn-view/asterisk-addons?view=rev&rev=777
Log:
make the default value for hfp_wait() 10 seconds instead of 1 second
Modified:
team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c
Modified: team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c
URL: http://svn.digium.com/svn-view/asterisk-addons/team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c?view=diff&rev=777&r1=776&r2=777
==============================================================================
--- team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c (original)
+++ team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c Thu Feb 12 16:38:13 \
2009 @@ -928,7 +928,7 @@
return 0;
ast_debug(1, "Dialed %c\n", digit);
- if (hfp_send_dtmf(pvt->hfp, digit) || !rfcomm_wait(pvt->hfp->rsock, &ms) || \
at_read(pvt->rfcomm_socket) != AT_OK) { + if (hfp_send_dtmf(pvt->hfp, digit) || \
!hfp_wait(pvt->hfp) || at_read(pvt->rfcomm_socket) != AT_OK) { return -1;
}
@@ -1593,7 +1593,7 @@
*/
static int hfp_wait(struct hfp_pvt *pvt)
{
- int ms = 1000;
+ int ms = 10000;
return rfcomm_wait(pvt->rsock, &ms);
}
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
asterisk-addons-commits mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-addons-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic