diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-01 16:47:28 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-01 16:47:28 +0000 |
commit | f796193575703618e2b05e84545e3354543a8276 (patch) | |
tree | 65c18318da656f3d8bdc20876d5774763985c46a /channels/chan_skinny.c | |
parent | 9f95248be1f852e3b6d2171eb0d95c715471f881 (diff) |
- add the ability to configure forced jitterbuffers on h323, jingle,
and mgcp channels
- remove the jitterbuffer configuration from the pvt structures in
the sip, zap, and skinny channel drivers, as copying the same global
configuration into each pvt structure has no benefit.
- update and fix some typos in jitterbuffer related documentation
(issue #7257, north, with additional updates and modifications)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@31413 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_skinny.c')
-rw-r--r-- | channels/chan_skinny.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c index db10d829f..914297aed 100644 --- a/channels/chan_skinny.c +++ b/channels/chan_skinny.c @@ -826,8 +826,6 @@ struct skinny_subchannel { int nat; int outgoing; int alreadygone; - struct ast_jb_conf jbconf; - struct skinny_subchannel *next; }; @@ -1615,10 +1613,6 @@ static struct skinny_device *build_device(char *cat, struct ast_variable *v) callnums++; sub->cxmode = SKINNY_CX_INACTIVE; sub->nat = nat; - - /* Assign default jb conf to the new skinny_subchannel */ - memcpy(&sub->jbconf, &global_jbconf, sizeof(struct ast_jb_conf)); - sub->next = l->sub; l->sub = sub; } else { @@ -2311,7 +2305,7 @@ static struct ast_channel *skinny_new(struct skinny_subchannel *sub, int state) /* Configure the new channel jb */ if (tmp && sub && sub->rtp) - ast_jb_configure(tmp, &sub->jbconf); + ast_jb_configure(tmp, &global_jbconf); } else { ast_log(LOG_WARNING, "Unable to allocate channel structure\n"); } @@ -3121,7 +3115,7 @@ static int reload_config(void) /* load the general section */ v = ast_variable_browse(cfg, "general"); - while(v) { + while (v) { /* handle jb conf */ if (!ast_jb_read_conf(&global_jbconf, v->name, v->value)) { v = v->next; |