Review Board 1.7.16


Generate VMWI neon pulses from FXS module to light NEON lamp on older 'non intellegent phones'

Review Request #1144 - Created March 16, 2011 and updated

Alec Davis
dahdi/linux
14261
Reviewers
asterisk-dev
sruffell
DAHDI
Implement same code as for wcdtm
13/04/12
Tested with mwisendtype=lrev,hvac
at 2 different phones on same FXS port, one a real neon phone, and another a led+zener phone.
Left messages, and neon would flash as expected.
linux/team/sruffell/wctdm24xxp-cmdlist/drivers/dahdi/voicebus/voicebus.c
Diff Revision 4 Diff Revision 7 - File Reverted
[20] 1493 lines
[+20] [+] static void vb_tasklet_normal(unsigned long data)
1494
		list_add_tail(&vbb->entry, &vb->tx_complete);
1494
		list_add_tail(&vbb->entry, &vb->tx_complete);
1495

    
   
1495

   
1496
	if (unlikely(dl->count < 2)) {
1496
	if (unlikely(dl->count < 2)) {
1497
		softunderrun = 1;
1497
		softunderrun = 1;
1498
		d = vb_descriptor(dl, dl->head);
1498
		d = vb_descriptor(dl, dl->head);
1499
		if (1 == dl->count)
1499
		if (1 == dl->count);
1500
			return;
1500
			return;
1501

    
   
1501

   
1502
		behind = 2;
1502
		behind = 2;
1503
		while (!OWNED(d)) {
1503
		while (!OWNED(d)) {
1504
			if (le32_to_cpu(d->buffer1) != vb->idle_vbb_dma_addr)
1504
			if (le32_to_cpu(d->buffer1) != vb->idle_vbb_dma_addr)
[+20] [20] 538 lines
linux/team/sruffell/wctdm24xxp-cmdlist/drivers/dahdi/wctdm24xxp/base.c
Diff Revision 4 Diff Revision 5 - File Reverted
 
linux/team/sruffell/wctdm24xxp-cmdlist/drivers/dahdi/wctdm24xxp/wctdm24xxp.h
Diff Revision 4 Diff Revision 5 - File Reverted
 
linux/trunk/drivers/dahdi/wctdm24xxp/base.c
Diff Revision 4 Diff Revision 5
 
linux/trunk/drivers/dahdi/wctdm24xxp/wctdm24xxp.h
Diff Revision 4 Diff Revision 5
 
  1. linux/team/sruffell/wctdm24xxp-cmdlist/drivers/dahdi/voicebus/voicebus.c: Loading...
  2. linux/team/sruffell/wctdm24xxp-cmdlist/drivers/dahdi/wctdm24xxp/base.c: Loading...
  3. linux/team/sruffell/wctdm24xxp-cmdlist/drivers/dahdi/wctdm24xxp/wctdm24xxp.h: Loading...
  4. linux/trunk/drivers/dahdi/wctdm24xxp/base.c: Loading...
  5. linux/trunk/drivers/dahdi/wctdm24xxp/wctdm24xxp.h: Loading...

https://reviewboard.asterisk.org/ runs on a server provided by Digium, Inc. and uses bandwidth donated to the open source Asterisk community by API Digital Communications in Huntsville, AL USA.
Please report problems with this site to asteriskteam@digium.com.