diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2001-03-10 19:12:11 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2001-03-10 19:12:11 +0000 |
commit | dc884645e6463fb181af816fdea3599713b0bd87 (patch) | |
tree | c16bdd5583e05977a7893075e3b541e1a3afa073 /channels/chan_vofr.c | |
parent | ea452d3fd8f99256d987297e5afa8d1c226b465e (diff) |
Version 0.1.7 from FTP
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@236 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_vofr.c')
-rwxr-xr-x | channels/chan_vofr.c | 7 |
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; |