[svn-commits] sruffell: branch linux/2.4 r9679 - /linux/branches/2.4/drivers/dahdi/xpp/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jan 20 23:31:07 CST 2011


Author: sruffell
Date: Thu Jan 20 23:31:03 2011
New Revision: 9679

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9679
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>

Origin: http://svnview.digium.com/svn/dahdi?view=rev&rev=9505

Modified:
    linux/branches/2.4/drivers/dahdi/xpp/card_pri.c

Modified: linux/branches/2.4/drivers/dahdi/xpp/card_pri.c
URL: http://svnview.digium.com/svn/dahdi/linux/branches/2.4/drivers/dahdi/xpp/card_pri.c?view=diff&rev=9679&r1=9678&r2=9679
==============================================================================
--- linux/branches/2.4/drivers/dahdi/xpp/card_pri.c (original)
+++ linux/branches/2.4/drivers/dahdi/xpp/card_pri.c Thu Jan 20 23:31:03 2011
@@ -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