I do use just one context for voicemail. This is like the T-Mobile voicemail center (IE: 305-776-MAIL).....<br><br>voicemailservice.gsm is "You've reached the voicemail system. If you have a voicemailbox on this system, press star. To leave a message for another customer enter their ten digit number now" however "customer" should be subscriber.
<br><br>[voicemail-service]<br>exten => 4193016245,1,GoTo(voicemailaccess,1)<br><br>exten => voicemailaccess,1,MailboxExists(${CALLERID(num)})<br>exten => voicemailaccess,102,VoiceMailMain(${CALLERID(num)})<br>exten => voicemailaccess,2,Background(voicemailservice)
<br>exten => voicemailaccess,3,Background(silence/10)<br>exten => voicemailaccess,4,GoTo(voicemailaccess,1)<br><br>exten => *,1,VoiceMailMain<br>exten => *,2,Hangup<br><br>exten => _1NXXNXXXXXX,1,VoiceMail(u${EXTEN:1})
<br>exten => _NXXNXXXXXX,1,VoiceMail(u${EXTEN})<br><br><br><div><span class="gmail_quote">On 10/23/06, <b class="gmail_sendername">Joseph</b> <<a href="mailto:syscon@interbaun.com">syscon@interbaun.com</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Mon, 2006-10-23 at 17:59 -0400, Andrew Joakimsen wrote:<br>><br>><br>> On 10/23/06, Joseph <
<a href="mailto:syscon@interbaun.com">syscon@interbaun.com</a>> wrote:<br>> I just try with single authentication DISA, doesn't work,<br>> password is<br>> not recognized.<br>><br>> Try without any disa whatsoever
<br><br>I think DISA has to be there as it gives access to internal dial tone,<br>isn't it?<br>I can be without password,<br><br>[snip]<br>> Did you try exten => 1000,1,VoicemailMain() as I said above with<br>> NOTHING BETWEEN THE PARENTHASIS???
<br><br>Thank you, Yes It Works! It works without parenthesis.<br>I was trying to make make it to work with one "voicemail" context but in<br>this case I will create another "voicemail_outside" context without
<br>anything between parenthesis for outside access.<br>exten => 1000,1,VoicemailMain()<br><br>><br>> In this case all internal callers can access their<br>> voicemailbox without<br>> password but when a call comes from an external source PSTN
<br>> line it is<br>> asking for password and it goes through correctly:<br>> vm_execmain: Specified user 'pstn1270' not found (check<br>> voicemail.conf<br>> and/or realtime config). Falling back to authentication mode.
<br>> (as the user "pstn1270" is not in voicemail.conf file)<br>> but without the "|s" somehow it is distorting the caller ID<br>> from<br>> "pstn1270" to
<br>> 'tn127011' that is why it doesn't work, but I can not<br>> pin-point what is<br>> changing caller ID.<br>><br>> You said the mailbox number is 11 and the caller ID Is correctly
<br>> "pstn1270" and incorrectly "tn127011".... since the mailbox number is<br>> 11, I don't see how "fixing" (what does your CDR say??) this issue<br>> will fix your voicemail issue. Why do you insist on using the caller
<br>> ID? Remember what you are trying to do, if user has to dial into the<br>> system from an outside phone their CALLER ID WILL NOT BE THEIR MAILBOX<br>> NUMBER.<br><br>As I've mentioned above I was trying to get by with one [voicemail]
<br>context but I guess I'll have two.<br><br>><br>> For the last time, try:<br>><br>> exten => 1000,1,VoicemailMain()<br>><br>><br>> inside your disa-access context, and get rid of the old voicemail
<br>> include statement. That will work, here is a detailed sequence of<br>> events<br>><br>> Enter disa password, press #<br>><br>> At the dial tone dial 1000<br>><br>> System says "Comedian Mail. Mailbox?"
<br>><br>> You dail the mailbox number which you stated above is "11" So press<br>> the "1" key on your telephone, if you wish you can dial "#" after, if<br>> not just wait.<br>>
<br>> System says "Password?"<br>><br>> You dial the password, if you want you can press "#" after it, if not<br>> just wait<br>><br>> I'm not going to respond to this thread any more. I've given you step
<br>> by step EXACTLY what to do, anyone else would have gotten a USD 100 ++<br>> bill for that advice.<br><br>Thanks Andrew for your patience.<br><br>--<br>#Joseph<br>_______________________________________________
<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>