update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4903 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
350ed66d5d
commit
f1ea2ea9eb
|
@ -464,7 +464,7 @@ int sangoma_writemsg_tdm(sng_fd_t fd, void *hdrbuf, int hdrlen, void *databuf, u
|
|||
* Execute TDM command
|
||||
*
|
||||
*/
|
||||
static int sangoma_tdm_cmd_exec(sng_fd_t fd, wanpipe_tdm_api_t *tdm_api)
|
||||
int sangoma_tdm_cmd_exec(sng_fd_t fd, wanpipe_tdm_api_t *tdm_api)
|
||||
{
|
||||
int err;
|
||||
|
||||
|
|
|
@ -159,6 +159,7 @@ int sangoma_tdm_enable_rxhook_events(sng_fd_t fd, wanpipe_tdm_api_t *tdm_api);
|
|||
int sangoma_tdm_disable_rxhook_events(sng_fd_t fd, wanpipe_tdm_api_t *tdm_api);
|
||||
|
||||
int sangoma_tdm_get_fe_alarms(sng_fd_t fd, wanpipe_tdm_api_t *tdm_api);
|
||||
int sangoma_tdm_cmd_exec(sng_fd_t fd, wanpipe_tdm_api_t *tdm_api);
|
||||
|
||||
#ifndef LIBSANGOMA_GET_HWCODING
|
||||
#define LIBSANGOMA_GET_HWCODING 1
|
||||
|
|
|
@ -278,7 +278,7 @@ static void *SWITCH_THREAD_FUNC fxs_thread_run(switch_thread_t *thread, void *ob
|
|||
FD_ZERO(&oob);
|
||||
|
||||
for(i = 0; i < globals.fxs_index; i++) {
|
||||
int fd;
|
||||
inFD_ZERO(&oob)t fd;
|
||||
assert(FXS_ANALOG_CHANNELS[i]);
|
||||
assert(FXS_ANALOG_CHANNELS[i]->sock);
|
||||
|
||||
|
|
Loading…
Reference in New Issue