more freetdm changes

git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@974 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Moises Silva
2010-01-15 20:35:11 +00:00
parent a5bd5142da
commit a8ddece1b6
29 changed files with 372 additions and 372 deletions

View File

@@ -33,7 +33,7 @@ static void *channel_run(ftdm_thread_t *me, void *obj)
bbytes = (size_t) bytes;
zio_slin2alaw(buf, sizeof(buf), &bbytes);
fio_slin2alaw(buf, sizeof(buf), &bbytes);
if (ftdm_channel_write(ftdmchan, buf, sizeof(buf), &bbytes) != FTDM_SUCCESS) {
break;
@@ -55,7 +55,7 @@ static void *channel_run(ftdm_thread_t *me, void *obj)
return NULL;
}
static ZIO_SIGNAL_CB_FUNCTION(on_signal)
static FIO_SIGNAL_CB_FUNCTION(on_signal)
{
ftdm_log(FTDM_LOG_DEBUG, "got sig %d:%d [%s]\n", sigmsg->channel->span_id, sigmsg->channel->chan_id, ftdm_signal_event2str(sigmsg->event_id));