[svn-commits] tzafrir: linux/trunk r9505 - /linux/trunk/drivers/dahdi/xpp/card_pri.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Dec 7 04:59:42 CST 2010


Author: tzafrir
Date: Tue Dec  7 04:59:37 2010
New Revision: 9505

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9505
Log:
xpd_pri: ignore DAHDI_VMWI and DAHDIVMWI_CONFIG

This fixes an annoying, though harmless issue: if Asterisk decides to send
voicemail messages to a channel (CAS, configured as FXS), We can't do
anything useful with them. So ignore them to avoid scary-looking messages
(from report_bad_ioctl()).

Signed-off-by: Tzafrir Cohen <tzafrir.cohen at xorcom.com>

Modified:
    linux/trunk/drivers/dahdi/xpp/card_pri.c

Modified: linux/trunk/drivers/dahdi/xpp/card_pri.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/xpp/card_pri.c?view=diff&rev=9505&r1=9504&r2=9505
==============================================================================
--- linux/trunk/drivers/dahdi/xpp/card_pri.c (original)
+++ linux/trunk/drivers/dahdi/xpp/card_pri.c Tue Dec  7 04:59:37 2010
@@ -1507,6 +1507,12 @@
 		case DAHDI_ONHOOKTRANSFER:
 			LINE_DBG(SIGNAL, xpd, pos, "PRI: ONHOOKTRANSFER\n");
 			return -ENOTTY;
+		case DAHDI_VMWI:
+			LINE_DBG(SIGNAL, xpd, pos, "PRI: VMWI\n");
+			return -ENOTTY;
+		case DAHDI_VMWI_CONFIG:
+			LINE_DBG(SIGNAL, xpd, pos, "PRI: VMWI_CONFIG\n");
+			return -ENOTTY;
 		default:
 			report_bad_ioctl(THIS_MODULE->name, xpd, pos, cmd);
 			return -ENOTTY;




More information about the svn-commits mailing list