Here's also an example snip from the debug log:
[07:42:20] -- Executing [s at mainmenu:15] Dial("Zap/1-1",
"SIP/105|18|tKk") in new stack
[07:42:20] -- SIP/105-08571180 is ringing
[07:42:39] -- Nobody picked up in 18000 ms
[07:42:39] -- Executing [s at mainmenu:16] Answer("Zap/1-1",
"") in new stack
[07:42:39] -- Executing [s at mainmenu:17] Wait("Zap/1-1",
"1") in new stack
[07:42:40] -- Executing [s at mainmenu:18] Playback("Zap/1-1",
"silence/1") in new stack
[07:42:40] -- <Zap/1-1> Playing 'silence/1' (language
'en')
[07:42:41] -- Executing [s at mainmenu:19] BackGround("Zap/1-1",
"please-leave-a-message") in new stack
[07:42:41] -- <Zap/1-1> Playing 'please-leave-a-message' (language
'en')
[07:42:47] -- Executing [s at mainmenu:20] VoiceMail("Zap/1-1",
"105|s")
in new stack
[07:42:48] -- <Zap/1-1> Playing 'beep' (language 'en')
[07:42:48] -- Recording the message
[07:42:48] -- x=0, open writing:
/var/spool/asterisk/voicemail/default/100/tmp/UNCGT6 format: wav49,
0x8570eb8
[07:42:48] -- x=1, open writing:
/var/spool/asterisk/voicemail/default/100/tmp/UNCGT6 format: gsm,
0x8227430
[07:42:48] -- x=2, open writing:
/var/spool/asterisk/voicemail/default/100/tmp/UNCGT6 format: wav,
0x8259b10
[07:46:42] -- Recording automatically stopped after a silence of 10 seconds
[07:46:42] -- <Zap/1-1> Playing 'auth-thankyou' (language
'en')
[07:46:43] == Auto fallthrough, channel 'Zap/1-1' status is
'NOANSWER'
[07:46:43] -- Hungup 'Zap/1-1'
On Fri, Jan 16, 2009 at 12:07 PM, Steve Johnson <stevej456 at gmail.com>
wrote:> Hello all,
>
> I have one Asterisk 1.4.21 system connected to a North American POTS
> line. Normally hangup detection works fine, and Asterisk hangs up
> properly if you are talking to a caller and they hang up; but
> occasionally a call comes in (typically from a US telemarketer) where
> the caller hangs up just as voicemail recording is starting, and you
> get a voicemail recording of dialtone (then congestion and off-hook
> warning tones) for almost 4 minutes before asterisk gives up the line.
>
> zapata.conf [channels] options are:
>
> language=en
> context=default
> rxwink=300
> usecallerid=yes
> hidecallerid=no
> cidsignalling=bell
> callwaiting=no
> usecallingpres=yes
> callwaitingcallerid=yes
> threewaycalling=no
> transfer=yes
> canpark=yes
> cancallforward=no
> callreturn=no
> musiconhold=default
> echocancel=yes
> echocancelwhenbridged=yes
> immediate=no
> faxdetect=no
> relaxdtmf=yes
> hanguponpolarityswitch=yes
> progzone=us
> signalling=fxs_ks
> channel => 1
>
>
> Any suggestions for voicemail detecting/rejecting messages when there
> is only dialtone on the other end?
>
> Thanks!
>
> S.
>