summaryrefslogtreecommitdiff
path: root/channels/chan_vofr.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2001-03-10 19:12:11 +0000
committerMark Spencer <markster@digium.com>2001-03-10 19:12:11 +0000
commit7157261be4bc6700118cb8a405302a61a8d91c8b (patch)
treec16bdd5583e05977a7893075e3b541e1a3afa073 /channels/chan_vofr.c
parent22318b627d954c5a555abe5a5b002af5855e5023 (diff)
Version 0.1.7 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@236 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_vofr.c')
-rwxr-xr-xchannels/chan_vofr.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/channels/chan_vofr.c b/channels/chan_vofr.c
index 6ea76c0d2..cfd669eb0 100755
--- a/channels/chan_vofr.c
+++ b/channels/chan_vofr.c
@@ -795,7 +795,7 @@ static struct ast_channel *vofr_new(struct vofr_pvt *i, int state)
tmp->type = type;
tmp->fd = i->s;
/* Adtran VoFR supports only G723.1 format data. G711 (ulaw) would be nice too */
- tmp->format = AST_FORMAT_G723_1;
+ tmp->nativeformats = AST_FORMAT_G723_1;
tmp->state = state;
if (state == AST_STATE_RING)
tmp->rings = 1;
@@ -1241,6 +1241,11 @@ int usecount()
return res;
}
+char *key()
+{
+ return ASTERISK_GPL_KEY;
+}
+
char *description()
{
return desc;