diff options
author | mattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2005-06-22 14:43:14 +0000 |
---|---|---|
committer | mattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2005-06-22 14:43:14 +0000 |
commit | 0794d42d58203776433b1b01c89a1ee809d772d7 (patch) | |
tree | ae4f39c6422d51283756aaf58e2ea3779ccef44a /wctdm.c | |
parent | 7876ba00032d1117816414899497de867bf3eb31 (diff) |
New Zealand fixes
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@681 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wctdm.c')
-rwxr-xr-x | wctdm.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1455,6 +1455,11 @@ static int wctdm_init_voicedaa(struct wctdm *wc, int card, int fast, int manual, (wctdm_getreg(wc, card, 13) >> 2) & 0xf); /* Enable on-hook line monitor */ wctdm_setreg(wc, card, 5, 0x08); + + /* NZ -- crank the tx gain up by 7 dB */ + if (!strcmp(fxo_modes[_opermode].name, "NEWZEALAND")) + wctdm_setreg(wc, card, 38, 0x7); + return 0; } |