We have a template for extensions and voicmail. They look like this: exten => %ACCOUNT%,1,Verbose(0,Entering extension %ACCOUNT%) same => n(DialDesk),Verbose(0,${CALLERID(all)} Calling ${EXTEN}) same => n,Dial(SIP/%ACCOUNT%,30) same => n(VoiceMail),Set(CDR(userfield)=VoiceMail) same => n,Verbose(0,${CALLERID(all)} going into voice mail for %ACCOUNT%) same => n,Set(_ACCOUNT=%ACCOUNT%) same => n,VoiceMail(%ACCOUNT%@VoiceMail,u) same => n,Hangup() And for voicemail.conf: %ACCOUNT% => %VM_PASSWORD%,%NAME%,%LOGIN%@Vex.Net Here is the sip.conf template: [%ACCOUNT%](client-phone) secret=%PASSWORD% callerid=%NAME% <%CLID%> mailbox=%ACCOUNT%@VoiceMail context=%CONTEXT% Every user gets set up using these templates so I know that everyone is identical other than the '%' variables above. I have looked and I don't see any significant differences. The ACCOUNTs are strings with most having digits appended. Obviously NAME, PASSWORD and LOGIN are different but not in kind. My issue is with users picking up their VM from an external phone. They call themselves and press '*' during the playback message. Normally they are asked for their password and then get dropped into the proper menu. One user (that we know of so far) has a different experience. In that case they are asked for a mailbox number first. I can't seem to find any significant difference in their configuration to account for that. Every other user that we have tested works as expected. Some of them have extension that are all letters, some have trailing digits. Some have associated cell phones and some don't. I have tried searching for this issue but nothing seems to apply. Most discussions are about "*97" vs. "*98". Can anyone suggest another field of enquiry? TIA. -- D'Arcy J.M. Cain Vybe Networks Inc. http://www.VybeNetworks.com/ IM:darcy at Vex.Net VoIP: sip:darcy at VybeNetworks.com
Hi D'Arcy> On 18/04/2017, at 5:17 am, D'Arcy Cain <darcy at VybeNetworks.com> wrote: > > <snip> > One user (that we know of so far) has a different experience. In that case they are asked for a mailbox number first. <snip> > > I have tried searching for this issue but nothing seems to apply. Most discussions are about "*97" vs. "*98". Can anyone suggest another field of enquiry?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. HTH, Pete -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170418/0aaa4b0e/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/20170418/0aaa4b0e/attachment.bin>
<html><head><meta http-equiv="Content-Security-Policy" content="script-src 'self'; img-src * cid: data:;"></head><body style="line-height: initial; background-image: initial; background-color: rgb(255, 255, 255);"><div id="response_container_BBPPID" style="outline:none;font-size:initial;font-family:"Calibri","Slate Pro",sans-serif,"sans-serif"" dir="auto" contenteditable="false"> <div name="BB10" dir="auto" style="width: 100%; padding: initial; font-size: initial; text-align: initial; background-color: rgb(255, 255, 255);">Does he have the same voicemail context?</div> <div name="BB10" dir="auto" style="width: 100%; padding: initial; font-size: initial; text-align: initial; background-color: rgb(255, 255, 255);"> <br style="display:initial"></div> <div id="blackberry_signature_BBPPID" name="BB10" dir="auto"> <div name="BB10" dir="auto" style="padding: initial; font-size: initial; text-align: initial; background-color: rgb(255, 255, 255);"></div> </div></div><div id="_original_msg_header_BBPPID" dir="auto"> <table width="100%" style="border-spacing: 0px; display: table; outline: none; background-color: white;" contenteditable="false"> <tbody><tr><td colspan="2" style="padding: initial; font-size: initial; text-align: initial; background-color: rgb(255, 255, 255);"> <div style="border-style: solid none none; border-top-width: 1pt; border-top-color: rgb(181, 196, 223); padding: 3pt 0in 0in; font-family: Tahoma, "BB Alpha Sans", "Slate Pro"; font-size: 10pt;"> <div id="from"><b>From:</b> pete@fiberphone.co.nz</div><div id="sent"><b>Sent:</b> April 18, 2017 9:43 AM</div><div id="to"><b>To:</b> asterisk-users@lists.digium.com</div><div id="reply_to"><b>Reply-to:</b> asterisk-users@lists.digium.com</div><div id="subject"><b>Subject:</b> Re: [asterisk-users] Voicemail asking for login</div></div></td></tr></tbody></table><div style="border-style: solid none none; border-top-width: 1pt; border-top-color: rgb(186, 188, 209); display: block; padding: initial; font-size: initial; text-align: initial; background-color: rgb(255, 255, 255);"></div> <br> </div><!--start of _originalContent --><div name="BB10" dir="auto" style="line-height: initial; outline: none; background-image: initial;" contenteditable="false"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi D'Arcy<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 18/04/2017, at 5:17 am, D'Arcy Cain <<a href="mailto:darcy@VybeNetworks.com" class="">darcy@VybeNetworks.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="font-family:'menlo-regular';font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline" class=""><snip></span></div></blockquote><blockquote type="cite" class=""><div class=""><span style="font-family:'menlo-regular';font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline" class="">One user (that we know of so far) has a different experience. In that case they are asked for a mailbox number first. <snip></span><br style="font-family:'menlo-regular';font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""></div></blockquote><blockquote type="cite" class=""><br class=""></blockquote><blockquote type="cite" class=""><div class=""><span style="font-family:'menlo-regular';font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline" class="">I have tried searching for this issue but nothing seems to apply. Most discussions are about "*97" vs. "*98". Can anyone suggest another field of enquiry?</span><br style="font-family:'menlo-regular';font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""></div></blockquote></div><div class=""><br class=""></div><div class="">Try this:</div><div class=""><br class=""><div class=""><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>asterisk -r</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>core set verbose 10</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>[get user to trigger fault]</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>[examine console output, and post to list if still unclear]</div><div class=""><br class=""></div></div></div><div class="">If you don't solve it yourself, then we'll be able to help further once we've seen the output.</div><div class=""><br class=""></div><div class="">HTH,</div><div class=""><br class=""></div><div class="">Pete</div><div class=""><br class=""></div><div class=""><br class=""></div></div></div><!--end of _originalContent --></div></body></html>
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