[Asterisk-cvs] zaptel pciradio.c,1.16,1.17

jim jim
Wed Aug 24 00:31:40 CDT 2005


Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv20252

Modified Files:
	pciradio.c 
Log Message:
Fixed update of rxsignalling status so that rxisoffhook parm works


Index: pciradio.c
===================================================================
RCS file: /usr/cvsroot/zaptel/pciradio.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- pciradio.c	22 Aug 2005 02:40:34 -0000	1.16
+++ pciradio.c	24 Aug 2005 04:33:36 -0000	1.17
@@ -890,9 +890,11 @@
 								else
 								    printk("Chan %d got rx\n",x + 1);
 							}
+						    rad->chans[x].rxhooksig = ZT_RXSIG_OFFHOOK;
 						    zt_qevent_lock(&rad->chans[x], ZT_EVENT_RINGOFFHOOK);
 						} else {
 						    if (debug) printk("Chan %d lost rx\n",x + 1);
+						    rad->chans[x].rxhooksig = ZT_RXSIG_ONHOOK;
 						    zt_qevent_lock(&rad->chans[x], ZT_EVENT_ONHOOK);
 						}
 						rad->encdec.req[x] = 1; 




More information about the svn-commits mailing list