mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
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:
@@ -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));
|
||||
|
||||
|
Reference in New Issue
Block a user