Summary:ASTERISK-16073: [patch] Busy/hangup tone detection on Voicemail recording
Reporter:Serge Berney (sberney)Labels:
Date Opened:2010-05-10 05:06:06Date Closed:2011-06-07 14:00:39
Versions:Frequency of
Environment:Attachments:( 0) app.diff
( 1) dsp.diff
Description:Enable the busy tone detection (ie. when hangup) during voicemail recording message.
Comments:By: Serge Berney (sberney) 2010-05-10 05:07:19

Maybe good to make it working on chan_sip (general) ???

By: klaus3000 (klaus3000) 2010-05-10 07:50:03

the patch lacks configuration options (to enable/disable detection) and also lacks documentation (e.g. by adding the configuration options to voicemail.conf.sample)

By: Leif Madsen (lmadsen) 2010-05-10 10:40:43

The comment by klaus3000 is valid, so we'd need at the very least it updated to enable/disable the option.

By: Serge Berney (sberney) 2010-05-10 10:56:55

I don't have enough knowledge to add it as a config option. Any help welcome ! :)

By: klaus3000 (klaus3000) 2010-05-10 11:44:49

either make it a static configuration (voicemail.conf) or make it an option to the Voicemail() application - re-thinking about it, it prefer the latter option.

Just take a look at the code of existing options. For example search app_voicemail.c for OPT_BUSY_GREETING. Create a new option character, e.g. 'h'. Add it to the XML-based documentation of Voicemail() on top of the file. Add a OPT_BUSY_DETECT option and add it to the options parser (copy-past the OPT_BUSY_GREETING code).

Finally use
 if (ast_test_flag(options, OPT_BUSY_DETECT))
before activation of the DSP.

By: Telecom & Internet Integrated Solutions (teleweb) 2010-05-13 00:30:50

This is great!!
Looking forward having this feature in Asterisk.

I agree on making it an option to the Voicemail application.

It should not only detect busy tone, but also dial tone!
We regularly get empty voicemail messages in which only a dialtone was recorded.

By: Paul Belanger (pabelanger) 2010-06-25 09:05:39

Ping!  Any progress here?

By: Paul Belanger (pabelanger) 2010-06-30 12:48:50

Suspending; reopen when you have updated your patch.

Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested.

Further information can be found at http://www.asterisk.org/developers/bug-guidelines