[asterisk-bugs] [Zaptel 0009909]: [patch] ZT_VMWI: ioctl for Voicemail Message Waiting Indication

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Jun 7 12:58:58 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=9909 
====================================================================== 
Reported By:                tzafrir
Assigned To:                mattf
====================================================================== 
Project:                    Zaptel
Issue ID:                   9909
Category:                   NewFeature
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     closed
Zaptel Version:              SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 2591 
Disclaimer on File?:        Yes 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             06-07-2007 09:35 CDT
Last Modified:              06-07-2008 12:58 CDT
====================================================================== 
Summary:                    [patch] ZT_VMWI: ioctl for Voicemail Message Waiting
Indication
Description: 
There are several phones that support voicemail message indication through
an FSK message with the messages count after placing the phone off-hook.

Asterisk currently notifies the user / handset about waiting message in
two ways:

1. stuter tone
2. FSK 

Those are implemented by tones that Asterisk sends down the line
transparently to Zaptel.

A third way to support this is to light an analog neon led. However this
cannot be done merely by sending tones, and has to be implemented by the
lower-level driver. 

The xpp driver currently implements those changes, though  it has to
detect the fact that Asterisk sent a VoiceMail indication through detecting
the FSK tone. This is obviously wrong, as this information is available.

We would like to give the userspace programs the ability to signal the
Zaptel driver to start / stop signaling a VoiceMail message to the phone.
For that functionality we propose a new ioctl: ZT_VMWI

The attached patches:

vmmi_zaptelh.diff:
A patch to zaptel.h: a patch to add the new ioctl

vs. zaptel 1.4.2.1.

vmmi_xpp.diff:
Implementation in our driver. Actually a fix to the existing
implementation. 

(Revision numbers in both refer to our internal SVN, and not to the Zaptel
SVN).

vmmi_asterisk.diff:
A patch to chan_zap.c (from trunk) as a sample implementation.
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 06-07-08 12:58  
---------------------------------------------------------------------- 
Repository: dahdi
Revision: 2692

U   trunk/zaptel.h

------------------------------------------------------------------------
r2692 | tzafrir | 2008-06-07 12:58:55 -0500 (Sat, 07 Jun 2008) | 12 lines

The zaptel.h patch from part of http://bugs.digium.com/view.php?id=9909 .
Commited as asterisk-dev
discussion concluded in favour. 

It has been tested mostly on zaptel 1.2 and also on 1.4 and applies
cleanly on both.

The Asterisk patch is safe to apply and requires no extra autoconf
settings, as it is ifdef-ed on the new #define from the zaptel patch.

The xpp patch is will be updated on the driver on our upcoming driver
update.

------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=2692 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-07-08 12:58  svnbot         Note Added: 0088303                          
======================================================================




More information about the asterisk-bugs mailing list