Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Removing mailbox and password prompt for voicemail

Goto page 1, 2  Next
 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
nabeelshikder at gmail...
Guest





PostPosted: Sat Jul 30, 2016 12:44 am    Post subject: [asterisk-users] Removing mailbox and password prompt for vo Reply with quote

Hello,

I am using Asterisk voicemail on a CentOS 7 server. I would like to be able to remove the 'mailbox' prompt and 'password' prompt when a user tries to access their voicemail. I can remove the 'password' prompt by not setting a password for the user, but the 'mailbox' prompt is always heard. Please let me know how Asterisk can be configured to remove these prompts.


Nabeel
Back to top
darcy at Vex.Net
Guest





PostPosted: Sat Jul 30, 2016 9:19 am    Post subject: [asterisk-users] Removing mailbox and password prompt for vo Reply with quote

On Sat, 30 Jul 2016 06:43:47 +0100
Nabeel <nabeelshikder@gmail.com> wrote:
Quote:
I am using Asterisk voicemail on a CentOS 7 server. I would like to
be able to remove the 'mailbox' prompt and 'password' prompt when a

I assume that you mean when they access it from their own phone.

Quote:
user tries to access their voicemail. I can remove the 'password'
prompt by not setting a password for the user, but the 'mailbox'

Bad, bad idea. If you remove the password then anyone can get to the
mailbox.

Quote:
prompt is always heard. Please let me know how Asterisk can be
configured to remove these prompts.

Define this local extension:

exten => *98,1,Verbose(0,${CHANNEL(peername)} calling voicemail)
same => n,VoicemailMain(${CHANNEL(peername)}@VoiceMail,s)
same => n,Hangup


--
D'Arcy J.M. Cain
System Administrator, Vex.Net
http://www.Vex.Net/ IM:darcy@Vex.Net
VoIP: sip:darcy@Vex.Net

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
nabeelshikder at gmail...
Guest





PostPosted: Sat Jul 30, 2016 9:52 am    Post subject: [asterisk-users] Removing mailbox and password prompt for vo Reply with quote

If I remove the password, how can anyone access the mailbox if the 'mailbox' prompt is not played?
Nabeel
On 30 Jul 2016 3:19 p.m., "D'Arcy J.M. Cain" <darcy@vex.net (darcy@vex.net)> wrote:
Quote:
On Sat, 30 Jul 2016 06:43:47 +0100
Nabeel <nabeelshikder@gmail.com (nabeelshikder@gmail.com)> wrote:
Quote:
I am using Asterisk voicemail on a CentOS 7 server. I would like to
be able to remove the 'mailbox' prompt and 'password' prompt when a

I assume that you mean when they access it from their own phone.

Quote:
user tries to access their voicemail. I can remove the 'password'
prompt by not setting a password for the user, but the 'mailbox'

Bad, bad idea.  If you remove the password then anyone can get to the
mailbox.

Quote:
prompt is always heard. Please let me know how Asterisk can be
configured to remove these prompts.

Define this local extension:

exten => *98,1,Verbose(0,${CHANNEL(peername)} calling voicemail)
    same => n,VoicemailMain(${CHANNEL(peername)}@VoiceMail,s)
    same => n,Hangup


--
D'Arcy J.M. Cain
System Administrator, Vex.Net
http://www.Vex.Net/ IM:darcy@Vex.Net
VoIP: sip:darcy@Vex.Net
Back to top
brian at wildsong.biz
Guest





PostPosted: Sat Jul 30, 2016 11:11 am    Post subject: [asterisk-users] Removing mailbox and password prompt for vo Reply with quote

On Fri, Jul 29, 2016 at 10:43 PM, Nabeel <nabeelshikder@gmail.com (nabeelshikder@gmail.com)> wrote:
Quote:
Hello,

I am using Asterisk voicemail on a CentOS 7 server. I would like to be able to remove the 'mailbox' prompt and 'password' prompt when a user tries to access their voicemail. I can remove the 'password' prompt by not setting a password for the user, but the 'mailbox' prompt is always heard. Please let me know how Asterisk can be configured to remove these prompts.


Nabeel



It sounds like you really want it to jump straight into one voicemail box with no auth, not just removing the prompts. Try something like this


exten => *85,1,VoicemailMain(100,s)


When you dial *85, you will get voicemail for mailbox 100, and no passcode prompt. Jumps straight into the menu "You have FOUR new messages..."


--
Brian Wilson

Wildsong
Back to top
brian at wildsong.biz
Guest





PostPosted: Sat Jul 30, 2016 12:41 pm    Post subject: [asterisk-users] Removing mailbox and password prompt for vo Reply with quote

On Sat, Jul 30, 2016 at 7:18 AM, D'Arcy J.M. Cain <darcy@vex.net (darcy@vex.net)> wrote:
Quote:

Bad, bad idea.  If you remove the password then anyone can get to the
mailbox.


Depends on your use case, at home I have several phones and one mailbox. So I _want_ everyone to get to the mailbox with a minimum of effort.


Brian
Back to top
darcy at Vex.Net
Guest





PostPosted: Sat Jul 30, 2016 1:33 pm    Post subject: [asterisk-users] Removing mailbox and password prompt for vo Reply with quote

On Sat, 30 Jul 2016 15:52:36 +0100
Nabeel <nabeelshikder@gmail.com> wrote:
Quote:
If I remove the password, how can anyone access the mailbox if the
'mailbox' prompt is not played?

Not playing the prompt changes nothing. If someone presses '*' while
listening to your answer message then they are in your mailbox. You
better have a password that they need to enter to continue.

--
D'Arcy J.M. Cain
System Administrator, Vex.Net
http://www.Vex.Net/ IM:darcy@Vex.Net
VoIP: sip:darcy@Vex.Net

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
nabeelshikder at gmail...
Guest





PostPosted: Sun Jul 31, 2016 12:19 am    Post subject: [asterisk-users] Removing mailbox and password prompt for vo Reply with quote

I tried your extension definition as suggested:

exten => *98,1,Verbose(0,${CHANNEL(peername)} calling voicemail)same => n,VoicemailMain(${CHANNEL(peername)}@VoiceMail,s)same => n,Hangup

 
But there was no change in the prompts asked, ie. the voice first asked for 'mailbox', and then 'password' as before. The prompts are not removed.


Please clarify what you mean by the following:


"If someone presses '*' while listening to your answer message then they are in your mailbox."


Do you mean while someone is listening to another user's 'unavailable message' or 'busy message', if they press '*' at that time they will enter the other person's mailbox?


Nabeel
Back to top
aan at crlogic.com
Guest





PostPosted: Sun Jul 31, 2016 10:30 am    Post subject: [asterisk-users] Removing mailbox and password prompt for vo Reply with quote

On 07/30/2016 11:19 PM, Nabeel wrote:
Quote:
I tried your extension definition as suggested:

exten => *98,1,Verbose(0,${CHANNEL(peername)} calling voicemail)
same => n,VoicemailMain(${CHANNEL(peername)}@VoiceMail,s)
same => n,Hangup

But there was no change in the prompts asked, ie. the voice first asked
for 'mailbox', and then 'password' as before. The prompts are not removed.

Please clarify what you mean by the following:

"If someone presses '*' while listening to your answer message then they
are in your mailbox."

Do you mean while someone is listening to another user's 'unavailable
message' or 'busy message', if they press '*' at that time they will
enter the other person's mailbox?

Nabeel

Depending on the version of Asterisk you are running, and assuming that
your phones are SIP devices, you might want to try this (lots of debug
at the top which could be removed):


exten => *98,1,NoOp(------- VOICEMAIL MENU -------)
same => n,NoOp(CALLERID(num): ${CALLERID(num)})
same => n,NoOp(ip : ${SIPPEER(${CALLERID(num)},ip)})
same => n,NoOp(mailbox : ${SIPPEER(${CALLERID(num)},mailbox)})
same => n,set(DATETIME=${STRFTIME(${EPOCH},,%C%y-%m%d-%H%M)})
same => n,NoOp(DATETIME : ${DATETIME})
same => n,Answer
same => n,Playback(silence/1)
;same => n,ExecIf($["${CALLERID(num)}" =
"206"]?Set(VMBOX=102):Set(VMBOX=100))
same => n,Set(VMBOX=${SIPPEER(${CALLERID(num)},mailbox)})
same => n,VoicemailMain(${VMBOX},s)
same => n,Hangup

If you wish to override the default mailbox for a particular user, you
can also uncomment the line above which in this example connects
extension 206 to the voicemail box for extension 100.

;same => n,ExecIf($["${CALLERID(num)}" =
"206"]?Set(VMBOX=102):Set(VMBOX=100))


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
darcy at Vex.Net
Guest





PostPosted: Sun Jul 31, 2016 10:43 am    Post subject: [asterisk-users] Removing mailbox and password prompt for vo Reply with quote

On Sun, 31 Jul 2016 06:19:13 +0100
Nabeel <nabeelshikder@gmail.com> wrote:
Quote:
I tried your extension definition as suggested:

But did you understand every line and what it was doing?

Quote:
exten => *98,1,Verbose(0,${CHANNEL(peername)} calling voicemail)
same => n,VoicemailMain(${CHANNEL(peername)}@VoiceMail,s)
same => n,Hangup

But there was no change in the prompts asked, ie. the voice first
asked for 'mailbox', and then 'password' as before. The prompts are
not removed.

Too much information missing. Perhaps instead of asking how to
implement the solution that you have already decided on you should
instead tell us what problem you are trying to solve. Are you really
trying to make your voicemail available to anyone who calls you or are
you limiting it to just the registered phone? How are you accessing VM?

Quote:
Please clarify what you mean by the following:

"If someone presses '*' while listening to your answer message then
they are in your mailbox."

Do you mean while someone is listening to another user's 'unavailable
message' or 'busy message', if they press '*' at that time they will
enter the other person's mailbox?

That's exactly what I mean. That's why you need to password protect
it. The above recipe allows you to bypass the password prompt but only
when called from the registered phone and only when "*98" is dialed
from that phone.

I suspect that you need to read the documentation a lot more. VoIP/SIP
is complicated. I certainly don't understand everything but I was able
to craft the above extension by reading up on extensions as well as
system variables.

--
D'Arcy J.M. Cain
System Administrator, Vex.Net
http://www.Vex.Net/ IM:darcy@Vex.Net
VoIP: sip:darcy@Vex.Net

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
nabeelshikder at gmail...
Guest





PostPosted: Mon Aug 01, 2016 3:08 am    Post subject: [asterisk-users] Removing mailbox and password prompt for vo Reply with quote

Quote:
But did you understand every line and what it was doing?


They are quite self-explanatory, so of-course I understand them.
 
Quote:
Too much information missing.  Perhaps instead of asking how to
implement the solution that you have already decided on you should
instead tell us what problem you are trying to solve.  Are you really
trying to make your voicemail available to anyone who calls you or are
you limiting it to just the registered phone?  How are you accessing VM


I am using ODBC realtime storage with Asterisk. Currently, with no password set, a user can dial the voicemail number to retrieve their own voicemail, without needing to enter a password (without hearing the password prompt). However, there is still a 'mailbox' prompt played, and if a different mailbox number is entered after this prompt, then a password can be entered (if set) which intrudes into the other person's mailbox. I want to remove this 'mailbox' prompt so that users won't have this opportunity to access another person's mailbox.


Quote:
That's exactly what I mean.  That's why you need to password protect
it.  



I am yet to test this behaviour in Asterisk during the Unavailable/Busy message. However, if this is the case, then this seems to be an illogical security hole in Asterisk's design. Why does Asterisk allow accessing another person's mailbox by pressing the '*' key, while listening to the other person's unavailable message?


Nabeel
Back to top
steve-lists at geekint...
Guest





PostPosted: Mon Aug 01, 2016 4:09 am    Post subject: [asterisk-users] Removing mailbox and password prompt for vo Reply with quote

On 01/08/16 09:08, Nabeel wrote:
Quote:
I am yet to test this behaviour in Asterisk during the Unavailable/Busy message. However, if this is the case, then this seems to be an illogical security hole in Asterisk's design. Why does Asterisk allow accessing another person's mailbox by pressing the '*' key, while listening to the other person's unavailable message?




So you can access your own voicemail remotely.

Steve
Back to top
darcy at Vex.Net
Guest





PostPosted: Mon Aug 01, 2016 10:21 am    Post subject: [asterisk-users] Removing mailbox and password prompt for vo Reply with quote

On Mon, 1 Aug 2016 09:08:36 +0100
Nabeel <nabeelshikder@gmail.com> wrote:
Quote:
I am using ODBC realtime storage with Asterisk. Currently, with no
password set, a user can dial the voicemail number to retrieve their

From their own phone or from any phone?

Quote:
I am yet to test this behaviour in Asterisk during the
Unavailable/Busy message. However, if this is the case, then this
seems to be an illogical security hole in Asterisk's design. Why does
Asterisk allow accessing another person's mailbox by pressing the '*'
key, while listening to *the other person's* unavailable message?

It's not for accessing another person's mailbox. It's for accessing
your own when you are away from home/office.

--
D'Arcy J.M. Cain
System Administrator, Vex.Net
http://www.Vex.Net/ IM:darcy@Vex.Net
VoIP: sip:darcy@Vex.Net

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
nabeelshikder at gmail...
Guest





PostPosted: Mon Aug 01, 2016 12:10 pm    Post subject: [asterisk-users] Removing mailbox and password prompt for vo Reply with quote

Quote:
From their own phone or from any phone?


From their own phone. If calling from any other phone, the only difference - for entering the same mailbox - is to enter the mailbox number immediately after the 'mailbox' prompt,


 
Quote:
It's not for accessing another person's mailbox.  It's for accessing
your own when you are away from home/office.


For my setup, the user only needs to access their mailbox from their registered device, not from any other phone. This is why I am trying to remove the 'mailbox' prompt altogether, because it is more efficient for users to skip that step if possible.


Nabeel
Back to top
dplatt at radagast.org
Guest





PostPosted: Mon Aug 01, 2016 12:39 pm    Post subject: [asterisk-users] Removing mailbox and password prompt for vo Reply with quote

Quote:
I am using ODBC realtime storage with Asterisk. Currently, with no password
set, a user can dial the voicemail number to retrieve their own voicemail,
without needing to enter a password (without hearing the password prompt).
However, there is still a 'mailbox' prompt played, and if a different
mailbox number is entered after this prompt, then a password can be entered
(if set) which intrudes into the other person's mailbox. I want to remove
this 'mailbox' prompt so that users won't have this opportunity to access
another person's mailbox.

So... I think you've been given all of the necessary elements to a
solution which will allow you to do this, while still maintaining
adequate voicemail security.

(1) Set up an inbound voicemail mailbox (you've already done this).

(2) Set up a strong, non-guessable password on the mailbox. This
will allow you to access the mailbox remotely, if you wish
(by using the "* during the mailbox's greeting" feature)
without allowing random callers to break into the mailbox.

(3) Set up a custom dialplan context for those phones that you
wish to give "password-less" access to the mailbox.

(4) In this context, add an extension which, when dialed, runs
the VoiceMailMain() application, specifying the correct
mailbox identifier for those phones, and including the "s"
option (which will bypass the password prompt).

(5) In sip.conf, place each of these phones into this custom
dialplan context.

(6) If desired, record a different voicemail greeting message
in place of the "Camedian mail", convert to the correct
format, and place into your voice-prompts directory.

(7) Do a "dialplan reload" and "sip reload".

Voila. You're done. From any of these phones you'll be able
to dial the extension you added in step (4), and go right to the
voicemail "You have NNN new messages" greeting and the menu. No
password required.

You'll also be able to access your voicemail remotely (and safely)
by dialing one of these extensions, waiting for the "Please leave
a message" greeting, and hitting "*", and then entering the
password.



--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
nabeelshikder at gmail...
Guest





PostPosted: Thu Aug 04, 2016 3:22 am    Post subject: [asterisk-users] Removing mailbox and password prompt for vo Reply with quote

On 30 July 2016 at 19:32, D'Arcy J.M. Cain <darcy@vex.net (darcy@vex.net)> wrote:
Quote:

Not playing the prompt changes nothing.  If someone presses '*' while
listening to your answer message then they are in your mailbox.  You
better have a password that they need to enter to continue.




I have now tested the 'Unavailable' message by pressing "*" while listening to the recorded message. I can confirm that this does NOT directly enter to the called number's mailbox. It actually enter's the registered device's/caller's own mailbox. Therefore, this does not necessitate setting a password. 


The problem is that the 'mailbox' prompt allows a way for accessing any other mailbox, which is not necessary in my case. If anyone knows a way to remove this 'mailbox' prompt, please let me know.


Nabeel
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services