Andrew Kohlsmith wrote:
On December 13, 2004 03:10 am, Soren Rathje wrote:
wait_just_a_bit(HZ/10);
I didn't want to wait inside the driver, likely a place where
interrupts are disabled...
Well, nobody claimed it was ready for production.. :-) I'm usually OK for
POC code, but don't
On December 13, 2004 08:29 am, Soren Rathje wrote:
Well, nobody claimed it was ready for production.. :-) I'm usually OK for
POC code, but don't ask me to do production code, I haven't done any
serious coding the last ~25 years. I usually tell programmers what I want
and how I want it and
Something like this.. :-)
reg72 = wctdm_getreg(wc, card, 72);
/* Negative Voltage */
if (reg72 6) {
wctdm_setreg(wc, card, 72 , reg72 ^ 0x40);
wait_just_a_bit(HZ/10);
wctdm_setreg(wc, card, 72 , reg72 0x3F);
}
/* Positive Voltage */
On December 13, 2004 03:10 am, Soren Rathje wrote:
wait_just_a_bit(HZ/10);
I didn't want to wait inside the driver, likely a place where interrupts are
disabled...
-A.
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
Hello all,
Is it possible to do a talk battery polarity reversal on a TDM400P FXS
interface? Everything I can find seems to be referring to the
procedure for detecting a battery reversal on a telephone company POTS
line using the FXO interface, but not for actually generating one back
to a
Soren Rathje wrote:
Specs for Si3210 (TDM400P FXS Module) says on page 93:
---
Register 72. On-Hook Line Voltage
Bit 6 VSGN On-Hook Line Voltage.
The value written to this bit sets the on-hook line voltage polarity
(VTIPVRING).
0 = VTIPVRING is positive
1 = VTIPVRING is negative
Rich Adamson wrote:
Is it possible to do a talk battery polarity reversal on a TDM400P
FXS interface? Everything I can find seems to be referring to the
procedure for detecting a battery reversal on a telephone company
POTS line using the FXO interface, but not for actually generating
one
On December 12, 2004 09:59 pm, Rich Adamson wrote:
Can you translate that into * code?
do_hangup()
{
if(chan-signalling = FXO_KS)
{
if(!chan-reversed)
{
setreg(chan-port, funky_do_register, getreg(chan-port,
funky_do_register) | BATT_REVERSAL);
Soren Rathje wrote:
Specs for Si3210 (TDM400P FXS Module) says on page 93:
---
Register 72. On-Hook Line Voltage
Bit 6 VSGN On-Hook Line Voltage.
The value written to this bit sets the on-hook line voltage polarity
(VTIPVRING).
0 = VTIPVRING is positive
1 = VTIPVRING
Is it possible to do a talk battery polarity reversal on a TDM400P FXS
interface? Everything I can find seems to be referring to the
procedure for detecting a battery reversal on a telephone company POTS
line using the FXO interface, but not for actually generating one back
to a station upon
10 matches
Mail list logo