Skip to content

Commit

Permalink
Resolves Issue 215
Browse files Browse the repository at this point in the history
Subject: Add a higher timeout for timeout / poll intervals

Signed-Off-By: Rodrigo A B Freire <[email protected]>

Add a higher timeout, so the AT poll (at_enque_ping) won't tickle the dialing operation, causing it to fail.
Verified in: E303S
  • Loading branch information
rfrht committed Sep 3, 2015
1 parent 322f148 commit c8c4384
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chan_dongle.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ typedef struct pvt
struct timeval dtmf_end_time; /*!< time of end of last DTMF digit */

int timeout; /*!< used to set the timeout for data */
#define DATA_READ_TIMEOUT 10000 /* 10 seconds */
#define DATA_READ_TIMEOUT 15000 /* 30 seconds, play nicer with E303S. Fixes
https://github.com/bg111/asterisk-chan-dongle/issues/215 */

unsigned long channel_instanse; /*!< number of channels created on this device */
unsigned int rings; /*!< ring/ccwa number distributed to at_response_clcc() */
Expand Down

0 comments on commit c8c4384

Please sign in to comment.