[asterisk-users] asterisk 1.8.13.1 -- how to limit voicemail emailswhen the caller hangs up before they leave a message?

Vladimir Mikhelson vlad at mikhelson.com
Thu Nov 1 19:42:53 CDT 2012


Hi,

I am experiencing a similar issue on my FXO DAHDI lines with proper call
supervision supposedly set up.  The problem described below does not
happen 100% of the times, but still several times a day. Scenario seems
to be similar to the one the original poster described, i.e. a caller
hangs up in the middle of the IVR announcement.

In my case the message is exactly 45 seconds.  It contains a repeating
ROH (receiver off-hook) tones.  Following is a sample of the
notification e-mail.

There is a new voicemail in mailbox 430:

	From:	"CELLULAR CALL" <3215551212>
	Length:	0:45 seconds
	Date:	Thursday, November 01, 2012 at 01:53:28 PM

Dial *98 to access your voicemail by phone.
Visit http://172.17.200.23/recordings/index.php to check your voicemail with a web browser.

Here are the relevant records from the /var/log/messages:

Nov  1 13:50:16 pbx kernel: wctdm24xxp 0000:02:0c.0: RING on WCTDM/0/2!
Nov  1 13:50:18 pbx kernel: wctdm24xxp 0000:02:0c.0: NO RING on WCTDM/0/2!
Nov  1 13:50:22 pbx kernel: wctdm24xxp 0000:02:0c.0: RING on WCTDM/0/2!
Nov  1 13:50:24 pbx kernel: wctdm24xxp 0000:02:0c.0: NO RING on WCTDM/0/2!
Nov  1 13:50:28 pbx kernel: wctdm24xxp 0000:02:0c.0: RING on WCTDM/0/2!
Nov  1 13:50:30 pbx kernel: wctdm24xxp 0000:02:0c.0: NO RING on WCTDM/0/2!
Nov  1 13:53:28 pbx kernel: wctdm24xxp 0000:02:0c.0: NO BATTERY on 1/3!
Nov  1 13:53:29 pbx kernel: ioctl: Start OnHookTrans, card 3
Nov  1 13:53:30 pbx kernel: wctdm24xxp 0000:02:0c.0: BATTERY on 1/3 (+)!

According to CDR the call started at 13:50:18 and lasted 3 minutes and
10 seconds.

I have experienced the similar behavior with three (3) different
Telco's.  This example presents AT&T call processing.  They drop the
battery. Other companies I use do the Polarity Reversal.

If a call is processed normally I do not see either a battery drop or a
polarity reversal in the log. Start OnHookTrans is also not present.

I did try "/hanguponpolarityswitch/" with no luck.  I did not try
"/busydetect=yes/" as it is known to be prone to false positives
resulting in unwanted disconnects.

Hope that helps.

-Vladimir



On 11/1/2012 10:42 AM, Terry Brummell wrote:
> Sounds like you need disconnect supervision enabled somewhere.
>
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Justin
> Piszcz
> Sent: Thursday, November 01, 2012 11:39 AM
> To: asterisk-users at lists.digium.com
> Subject: [asterisk-users] asterisk 1.8.13.1 -- how to limit voicemail
> emailswhen the caller hangs up before they leave a message?
>
> Hello,
>
> I use asterisk with an SPA3102 (latest F/W).
> I have my asterisk 1.8.13.1 voicemail.conf setup as follows:
>
> ; Limit the minimum message length to 3 seconds minsecs = 3
>
> This works perfectly, however, when the caller hangs up before the beep
> (or during it?) then I get 1 minute and 22 seconds of (3-5 sec of
> dialtone, then saying to dial the operator)).
> How do I avoid getting this?  If a message is not left, I do not wish to
> receive any e-mail/attachments like this, are there any workarounds?
> I assume this may be related to the SPA3102 but am curious to learn how
> others deal with this problem/if they have this issue.
>
> Name: Voicemail
> Message Number: 5
> Mailbox: 1
> Caller ID: "SXXXX" <XXXXXXXXX>
> Caller Name: SXXXX XXXXXXX
> Caller Number: XXXXXXXXX
> Duration: 1:22
> Date: 20121101_1116
>
> The voice mail:
> http://home.comcast.net/~jpiszcz/20121101/msg0004.WAV
>
> Justin.
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20121101/e4cb2c2f/attachment.htm>


More information about the asterisk-users mailing list