Merged revisions 152286 via svnmerge from
authorJeff Peeler <jpeeler@digium.com>
Mon, 27 Oct 2008 23:31:39 +0000 (23:31 +0000)
committerJeff Peeler <jpeeler@digium.com>
Mon, 27 Oct 2008 23:31:39 +0000 (23:31 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r152286 | jpeeler | 2008-10-27 18:28:49 -0500 (Mon, 27 Oct 2008) | 2 lines

Buffer policy setting for half is not needed.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@152287 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_dahdi.c

index 951219d..fc4863a 100644 (file)
@@ -13763,8 +13763,6 @@ static int process_dahdi(struct dahdi_chan_conf *confp, const char *cat, struct
                                confp->chan.buf_no = numbufs;
                        if (!strcasecmp(policy, "full")) {
                                confp->chan.buf_policy = DAHDI_POLICY_WHEN_FULL;
-                       } else if (!strcasecmp(policy, "half")) {
-                               confp->chan.buf_policy = DAHDI_POLICY_IMMEDIATE /*HALF_FULL*/;
                        } else if (!strcasecmp(policy, "immediate")) {
                                confp->chan.buf_policy = DAHDI_POLICY_IMMEDIATE;
                        } else {