[asterisk-bugs] [JIRA] (DAHLIN-203) [patch] patch for wcb4xxp with openvox/Junghanns B800P+NT mode

Birger "WIMPy" Harzenetter (JIRA) noreply at issues.asterisk.org
Wed Jul 22 11:07:32 CDT 2015


     [ https://issues.asterisk.org/jira/browse/DAHLIN-203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Birger "WIMPy" Harzenetter updated DAHLIN-203:
----------------------------------------------

    Attachment: te_nt_override.2100.patch

Updated patch for DAHDI 2.10

> [patch] patch for wcb4xxp with openvox/Junghanns B800P+NT mode
> --------------------------------------------------------------
>
>                 Key: DAHLIN-203
>                 URL: https://issues.asterisk.org/jira/browse/DAHLIN-203
>             Project: DAHDI-Linux
>          Issue Type: Bug
>          Components: wcb4xxp
>    Affects Versions: 2.3.0.1
>            Reporter: james.zhu james.zhu
>            Severity: Minor
>         Attachments: dahdi-channels.conf, patch_wcb4xxp_te_nt_override, patch_wcb4xxp_te_nt_override_v2, system.conf, te_nt_override.2100.patch, te_nt_override.240a.patch, te_nt_override.240b.patch, te_nt_override.240.patch
>
>
> as we test with dahdi-linux, currently the Openvox/Junghanns B800P(NT) does not work properly due to the jumper setting. so, the patch is need to set NT mode in software way. after patching that, users load the driver in this way: modprobe wcb4xxp te_nt_override=0xFC, set port 1/2 as NT mode. make sure apply the patch
> for chan_dahdi.c
> ============================================
> --- channels/chan_dahdi.c       2009-09-29 09:53:36.000000000 +0200
> +++ channels/chan_dahdi.patched 2009-09-29 09:43:07.000000000 +0200
> @@ -14364,7 +14364,8 @@
>                                         confp->chan.sig = SIG_BRI_PTMP;
>                                         confp->pri.nodetype = PRI_CPE;
>                                 } else if (!strcasecmp(v->value, "bri_net_ptmp")) {
> -                                       ast_log(LOG_WARNING, "How cool would it be if someone implemented this mode!  For now, sucks for you. (line %d)\n", v->lineno);
> +                                       confp->chan.sig = SIG_BRI_PTMP;
> +                                       confp->pri.nodetype = PRI_NETWORK;
>                                 } else if (!strcasecmp(v->value, "gr303fxoks_net")) {
>                                         confp->chan.sig = SIG_GR303FXOKS;
> ======================================
> the test environments:
> 1) dahdi-linux-2.3.0.1/dahdi-tools-2.3.0/libpri-1.4.11.2/asterisk-1.6.1.18
> 2) OpenVox B800P NT
> 3) Centos-5.4  
>   



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list