On 2017-04-18 02:42 AM, Pete Mundy wrote:> Try this: > > asterisk -r > core set verbose 10 > [get user to trigger fault] > [examine console output, and post to list if still unclear] > > If you don't solve it yourself, then we'll be able to help further once > we've seen the output.I can't see much more than at my previous debug level but here it is anyway. Due to line wrapping I added "<<<" to the end of each line in case it is not clear where the actual line endings are. "Alex Chernyshev" <4164251212> going into voice mail for stocktrans2<<< -- Executing [stocktrans2 at LocalSets:19] Set("SIP/alex-00000175", "_ACCOUNT=stocktrans2") in new stack<<< -- Executing [stocktrans2 at LocalSets:20] VoiceMail("SIP/alex-00000175", "stocktrans2 at VoiceMail,u") in new stack<<< > 0x7f7fea5dc000 -- Probation passed - setting RTP source address to 72.143.94.110:28503<<< -- <SIP/alex-00000175> Playing '/var/spool/asterisk/voicemail/VoiceMail/stocktrans2/unavail.gsm' (language 'en')<<< > 0x7f7fea5dc000 -- Probation passed - setting RTP source address to 72.143.94.110:28503<<< [Apr 18 11:45:38] DTMF[-1][C-0004c47b]: channel.c:4215 __ast_read: DTMF begin '*' received on SIP/alex-00000175<<< [Apr 18 11:45:38] DTMF[-1][C-0004c47b]: channel.c:4219 __ast_read: DTMF begin ignored '*' on SIP/alex-00000175<<< [Apr 18 11:45:38] DTMF[-1][C-0004c47b]: channel.c:4129 __ast_read: DTMF end '*' received on SIP/alex-00000175, duration 160 ms<<< [Apr 18 11:45:38] DTMF[-1][C-0004c47b]: channel.c:4199 __ast_read: DTMF end passthrough '*' on SIP/alex-00000175<<< -- Executing [a at LocalSets:1] Verbose("SIP/alex-00000175", "stocktrans2 entering mailbox") in new stack<<< stocktrans2 entering mailbox<<< -- Executing [a at LocalSets:2] Set("SIP/alex-00000175", "CDR(userfield)=stocktrans2") in new stack<<< -- Executing [a at LocalSets:3] VoiceMailMain("SIP/alex-00000175", "stocktrans2 at VoiceMail") in new stack<<< -- <SIP/alex-00000175> Playing 'vm-login.gsm' (language 'en')<<< [Apr 18 11:45:49] WARNING[-1][C-0004c47b]: app_voicemail.c:10627 vm_authenticate: Couldn't read username<<< Everything looks the same as another one that works except for two things. The one that works doesn't have the "Probation passed" lines. I am not sure if that is even part of this call. The other is the line with "Playing 'vm-login.gsm'" in it. at that point the working one has this: -- <SIP/thinktel-00000181> Playing 'vm-password.gsm' (language 'en') Not sure if that's useful information since it just describes the original issue - that it asks for a login instead of a password. -- D'Arcy J.M. Cain System Administrator, Vex.Net http://www.Vex.Net/ IM:darcy at Vex.Net VoIP: sip:darcy at Vex.Net
> On 19/04/2017, at 7:58 am, D'Arcy Cain <darcy at VybeNetworks.com> wrote: > > <snip> > Everything looks the same as another one that works except for two things. The one that works doesn't have the "Probation passed" lines. I am not sure if that is even part of this call. The other is the line with "Playing 'vm-login.gsm'" in it. at that point the working one has this: > <snip>Presumably also the line containing 'vm_authenticate: Couldn't read username' also doesn't appear in the output on a working mailbox either? I think that's the place to concentrate your efforts. It shows shortly after the attempt by VoiceMailMain to enter mailbox 'stocktrans2' in context 'VoiceMail'. Does this mailbox exist? Can you show the equivalent line from a working mailbox (so we can see if it also uses the context 'VoiceMail', or maybe something else instead, like 'default'?). Pete -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170419/38d3c5ba/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3577 bytes Desc: not available URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170419/38d3c5ba/attachment.bin>
Hi Darcy, What Pete think is correct. Maybe excecuting the following command at Asterisk console, will help you: asterisk> voicemail show users And you will get a list of all mailbox configured in your system. Search for the user with problems. Finally, in the Asterisk wiki you can find more info: https://wiki.asterisk.org/wiki/display/AST/Configuring+Voice+Mail+Boxes Cheers El 18 abr. 2017 21:18, "Pete Mundy" <pete at fiberphone.co.nz> escribi?: On 19/04/2017, at 7:58 am, D'Arcy Cain <darcy at VybeNetworks.com> wrote: <snip> Everything looks the same as another one that works except for two things. The one that works doesn't have the "Probation passed" lines. I am not sure if that is even part of this call. The other is the line with "Playing 'vm-login.gsm'" in it. at that point the working one has this: <snip> Presumably also the line containing 'vm_authenticate: Couldn't read username' also doesn't appear in the output on a working mailbox either? I think that's the place to concentrate your efforts. It shows shortly after the attempt by VoiceMailMain to enter mailbox 'stocktrans2' in context 'VoiceMail'. Does this mailbox exist? Can you show the equivalent line from a working mailbox (so we can see if it also uses the context 'VoiceMail', or maybe something else instead, like 'default'?). Pete -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk. org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started 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/20170418/47b88477/attachment-0001.html>
On 2017-04-18 08:31 PM, Victor Villarreal wrote:> Maybe excecuting the following command at Asterisk console, will help you: > > asterisk> voicemail show users > > And you will get a list of all mailbox configured in your system. Search > for the user with problems.VoiceMail stocktrans2 Angelica Douglas 12 Definitely there. In fact, I generate all the configs from a database with a script so I would be very surprised if one user was different from another. -- D'Arcy J.M. Cain Vybe Networks Inc. http://www.VybeNetworks.com/ IM:darcy at Vex.Net VoIP: sip:darcy at VybeNetworks.com
On 2017-04-18 08:17 PM, Pete Mundy wrote:>> On 19/04/2017, at 7:58 am, D'Arcy Cain <darcy at VybeNetworks.com >> <mailto:darcy at VybeNetworks.com>> wrote: >> >> <snip> >> Everything looks the same as another one that works except for two >> things. The one that works doesn't have the "Probation passed" lines. >> I am not sure if that is even part of this call. The other is the >> line with "Playing 'vm-login.gsm'" in it. at that point the working >> one has this: >> <snip> > > Presumably also the line containing 'vm_authenticate: Couldn't read > username' also doesn't appear in the output on a working mailbox either?Exactly. Since it is not all digits it can't be entered.> I think that's the place to concentrate your efforts. > > It shows shortly after the attempt by VoiceMailMain to enter mailbox > 'stocktrans2' in context 'VoiceMail'. Does this mailbox exist?Yes.> Can you show the equivalent line from a working mailbox (so we can see > if it also uses the context 'VoiceMail', or maybe something else > instead, like 'default'?)."" <6477190146> going into voice mail for alex<<< -- Executing [alex at LocalSets:19] Set("SIP/thinktel-00000181", "_ACCOUNT=alex") in new stack<<< -- Executing [alex at LocalSets:20] VoiceMail("SIP/thinktel-00000181", "alex at VoiceMail,u") in new stack<<< -- <SIP/thinktel-00000181> Playing '/var/spool/asterisk/voicemail/VoiceMail/alex/unavail.gsm' (language 'en')<<< [Apr 18 11:56:47] DTMF[-1][C-0004c485]: channel.c:4215 __ast_read: DTMF begin '*' received on SIP/thinktel-00000181<<< [Apr 18 11:56:47] DTMF[-1][C-0004c485]: channel.c:4219 __ast_read: DTMF begin ignored '*' on SIP/thinktel-00000181<<< [Apr 18 11:56:48] DTMF[-1][C-0004c485]: channel.c:4129 __ast_read: DTMF end '*' received on SIP/thinktel-00000181, duration 280 ms<<< [Apr 18 11:56:48] DTMF[-1][C-0004c485]: channel.c:4199 __ast_read: DTMF end passthrough '*' on SIP/thinktel-00000181<<< -- Executing [a at LocalSets:1] Verbose("SIP/thinktel-00000181", "alex entering mailbox") in new stack<<< alex entering mailbox<<< -- Executing [a at LocalSets:2] Set("SIP/thinktel-00000181", "CDR(userfield)=alex") in new stack<<< -- Executing [a at LocalSets:3] VoiceMailMain("SIP/thinktel-00000181", "alex at VoiceMail") in new stack<<< -- <SIP/thinktel-00000181> Playing 'vm-password.gsm' (language 'en')<<< [Apr 18 11:56:53] WARNING[-1][C-0004c485]: app_voicemail.c:10671 vm_authenticate: Unable to read password<<< I hung up before entering the password but it does work when the user does it. -- D'Arcy J.M. Cain Vybe Networks Inc. http://www.VybeNetworks.com/ IM:darcy at Vex.Net VoIP: sip:darcy at VybeNetworks.com