diff options
author | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2008-08-04 15:11:01 +0000 |
---|---|---|
committer | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2008-08-04 15:11:01 +0000 |
commit | 10f90d03725810281511adfbbe1ae84f60885307 (patch) | |
tree | 72bc59543080d80f64203fc0aafa69a8f2dbd1ea /xpp/xpp_zap.c | |
parent | 825e50fcbf7283e1b6a6429c180b2ed1ba1f528f (diff) |
Firmware update: 5959 (DTMF and BRI ID)
(From DAHDI rev. 4695)
* Fix some cases of double digits.
* Fix some rare cases of a BRI unit providing incorrect directionality.
* Extra debugging code in card_fxs.c to trace future DTMF issues.
* Properly note DAHDI (as opposed to Zaptel) ioctls.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4451 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'xpp/xpp_zap.c')
-rw-r--r-- | xpp/xpp_zap.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xpp/xpp_zap.c b/xpp/xpp_zap.c index 9c1805e..3ce9bff 100644 --- a/xpp/xpp_zap.c +++ b/xpp/xpp_zap.c @@ -737,7 +737,11 @@ int xpp_close(struct zt_chan *chan) void report_bad_ioctl(const char *msg, xpd_t *xpd, int pos, unsigned int cmd) { - XPD_NOTICE(xpd, "%s: Bad ioctl\n", msg); + char *extra_msg = ""; + + if(_IOC_TYPE(cmd) == 0xDA) + extra_msg = " (for DAHDI driver)"; + XPD_NOTICE(xpd, "%s: Bad ioctl%s\n", msg, extra_msg); XPD_NOTICE(xpd, "ENOTTY: chan=%d cmd=0x%x\n", pos, cmd); XPD_NOTICE(xpd, " IOC_TYPE=0x%02X\n", _IOC_TYPE(cmd)); XPD_NOTICE(xpd, " IOC_DIR=0x%02X\n", _IOC_DIR(cmd)); |