[Home]

Summary:ASTERISK-15339: [patch][regression] VMAuthenticate not playing greeting
Reporter:Luiz Mauricio B.da Silva (snlmauricio)Labels:
Date Opened:2009-12-20 20:53:37.000-0600Date Closed:2011-06-07 14:07:50
Priority:MinorRegression?Yes
Status:Closed/CompleteComponents:Applications/app_voicemail
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) M16480.diff
Description:VMAuthenticate doesnot Play the greeting message, ad doesnot accept password. Reading password from mysql or from voicemail.conf. Doesnot happeng with 1.6.1.x and 1.6.0.x. I´m using VMAuthenticate to password in services of dialplan.

  -- Executing [*88@DLPN_Todo_Poderoso:1] Set("SIP/303-00000006", "QUEM=303") in new stack
   -- Executing [*88@DLPN_Todo_Poderoso:2] VMAuthenticate("SIP/303-00000006", "303@default,s") in new stack
   -- <SIP/303-00000006> Playing 'vm-password.slin' (language 'pt_BR')
[Dec 21 00:48:23] WARNING[15859]: app_voicemail.c:8941 vm_authenticate: Unable to read password
 == Spawn extension (DLPN_Todo_Poderoso, *88, 2) exited non-zero on 'SIP/303-00000006'

Comments:By: Luiz Mauricio B.da Silva (snlmauricio) 2009-12-20 21:12:01.000-0600

With 1.6.1.x and 1.6.0.x works fine. I´m using VMAuthenticate to password in services of dialplan.

By: Clod Patry (junky) 2009-12-20 22:44:57.000-0600

You can use an Answer() before calling VMAuthenticate() or try this patch.
To me, it sounds a bit weird not to have the channel up when calling VMAuthenticate().

By: Luiz Mauricio B.da Silva (snlmauricio) 2009-12-21 05:38:50.000-0600

Working fine with this patch. Tks.

By: Leif Madsen (lmadsen) 2009-12-22 15:31:41.000-0600

This patch will need to provide an option to NOT answer the line, for things like early media.

By: Alec Davis (alecdavis) 2009-12-22 16:36:33.000-0600

If you intend to use proposed noanswer option, ensure you have a Progress() before the VMAuthenticate() app.

Refer to ASTERISK-15108 Early audio message doesn't play over SIP.

A Progress() may have also fixed your existing problem, prior to patching.

By: Tilghman Lesher (tilghman) 2010-01-12 12:10:17.000-0600

I agree that Progress() or Answer(), before VMAuthenticate() is the proper way to fix this.  Applying this patch will cause problems for those wishing to use VMAuthenticate with SIP early media.

By: Clod Patry (junky) 2010-03-11 10:36:24.000-0600

then, maybe we should just document that the correct use is:
use rogress() or Answer(), before VMAuthenticate()

and close this bug.