Bug#469592: asterisk: no hangup when using imap voicemail store
Seth Green
seth at baruchgreen.net
Mon Mar 10 17:57:12 UTC 2008
I'm not sure that's the problem (although I'm not 100% sure that it's
not).
(1) The system works fine when I use the default voicemail app.
(2) Even when I use app_voicemail_imap, the system seems to be detecting
the hangup -- there's an entry <user hung up> in the logs just like when
I'm using the default app.
(3) What's missing in the logs is the entry <Hungup 'Zap/3-1'>, which
appears when I'm using the default voicemail app and not when I'm using
the imap version.
(4) Reviewing my logs carefully I discover that the problem is
intermittent -- sometimes the system did actually hangup when using the
imap version (although failures were much more common than success, by
about a ratio of 5 to 1). Also I notice that many of the failures (but
not all) have the following warning nearby (but not always immediately
following <User hung up>):
[Mar 5 09:53:30] WARNING[7589] app_voicemail_imap.c: IMAP Warning:
Unknown message data: 1 RECENT
[Mar 5 09:53:30] WARNING[7589] app_voicemail_imap.c: IMAP Warning:
Unexpected tagged response: 000000a8 OK Append completed.
[Mar 5 09:53:32] WARNING[7589] app_voicemail_imap.c: IMAP Warning:
Unknown message data: 45 FETCH
[Mar 5 09:54:16] WARNING[7611] app_voicemail_imap.c: IMAP Warning:
Unexpected tagged response: 00000160 OK Fetch completed.
That's about all I can think of to offer as additional info. Oh yeah,
and for what it's worth, I'm in the US, and I've been using
reversepolarity as my hangup detection (and as I've said it's generally
been working) but I already tried switching to busydetect to solve this
problem and it didn't make any difference.
Thanks,
Seth Green
Tzafrir Cohen wrote:
> On Wed, Mar 05, 2008 at 08:15:32PM -0500, Seth Green wrote:
>
>
>> I'm running asterisk (1:1.4.17~dfsg-2+b1) on a Lenny box. I recently
>> experimented with shifting from the standard voicemail application to
>> the app_voicemail_imap option so that e-mail/voicemail could be kept in
>> sync. The read/deleted flags are keeping nicely in sync between the
>> Asterisk mailbox and the INBOX folder of the IMAP server. But there's
>> one big problem. When Asterisk is done recording the voicemail it won't
>> hangup the line. I've tested this by changing absolutely nothing except
>> (a) which app_voicemail modules is disabled in modules.conf and (b) the
>> voicemail.conf settings that are particular to the IMAP inbox. Regular
>> app_voicemail -> hangs up fine; app_voicemail_imap -> line doesn't get
>> hungup, so that (at least with a PSTN line via my WCTDM) incoming calls
>> just get a busy signal until I restart asterisk. There does not appear
>> to be anything unusual in the logs -- just the absence of a hangup.
>>
>
> The problem seems to be basically that you don't get disconnect
> notification from your provider (or don't understand it).
>
> Where are you from?
>
> Can you post your zapata.conf?
>
> Do you have disconnect notification through:
> * polarity reversal?
> * power denial?
>
> If not, you'll have to use busydetect to detect disconnecting of calls.
>
>
More information about the Pkg-voip-maintainers
mailing list