• Idefisk
  • Tools
  • Tutorials
  • Reviews
  • VoIP Providers
  • Archives
ZOIPER softphone
Back to Tutorials

6.43.1. VoiceMail Example 1

In this basic example we will show you:
* how to check for current voicemail accounts
* how to create a new voicemail.conf from a scratch
* how to add a new timezone
* how to add global keywords and options
* how to add new contexts
* how to add new users
* how to add options per-user
* how to edit your dialplan in order to activate voicemail functionality
* how to check your voicemail


Requirements - this tutorial starts in the following setup:
you have a working Asterisk server
you have registered SIP and/or IAX2 accounts - we will run this tutorial with the following accounts:
- joahim1 - SIP
- joahim2 - IAX2
- davy1 - SIP
- davy2 - IAX2
- mila.hook - SIP
- john.dow - SIP
- dacy.even - SIP
- john.barrow - IAX2
- john.ross - IAX2
- patricia.bay - IAX2
- patrick.bay - IAX2
- peter.ledge - IAX2
- dillon.creek - IAX2
- jose.gutstein - IAX2
- mnalia.nusan - IAX2
- michael.tobias - IAX2
you already have extensions for your SIP and/or IAX2 accounts
101 - calls joahim1 and joahim2
- 102 - calls davy1 and davy2
- 201 - calls mila.hook
- 202 - john.dow
- 203 - dacy.even
- 301 - john.barrow
- 302 - john.ross
- 303 - patricia.bay
- 304 - patrick.bay
- 305 - peter.ledge
- 306 - dillon.creek
- 307 - jose.gutstein
- 308 - mnalia.nusan
- 309 - michael.tobias
Here are the initial configuration files that we are going to use:
- iax.conf
- sip.conf
- extensions.org.conf


We are going to work from a scratch for this example. This means that we will begin with an empty voicemail.conf file. If you want to follow this tutorial you should back up your configuration file. You can do this by typing `cd /etc/asterisk/ && mv voicemail.conf ~voicemail.conf`

How to check for current voicemail accounts?
The easiest way to check which voicemail accounts is via the Asterisk console. Connect to your Asterisk console (via the command `asterisk -r`) and type:
voicemail list users - to list all users
voicemail list users for AAAA - in order to list only the users from AAAA context
voicemail_cmd_empty.gif

Creating voicemail.conf from a scratch.
We presume that you don't have voicemail.conf in our configuration folder. We can create it as every common file. We will use the command `touch /etc/asterisk/voicemail.conf`. After we execute this command we will add three important lines in our voicemail.conf. We will declare [general], [zonemessages] and [default]. The file should look like this:
voicemail.conf_mpty.gif

Adding global options. We won't use all the keywords that voicemail.conf provide us because we are making very simple tutorial. Since we have very few voicemail accounts, we can a be little bit more generous in some options. Here are some of the keywords that we are going to add:
    attach=no            ; we won't send notification messages
    format=wav49|gsm    ; we will save the audio message in wav49 and gsm formats
    maxlogins=5        ; we are setting the maximum invalid login attempts before disconnecting the call
    minmessage=1        ; messages with length less than one seconds won't be saved
    maxmessage=600    ; we are setting the maximum length of messages to ten minutes
    forcename=yes        ; we will force every 'new user' to record his/hers name
    forcegreetings=yes    ; we will force every 'new user' to record his/hers greeting
    maxmsg=100        ; mailbox's max messages capacity
adding_general.gif
When we set such keywords in the [general] area, every user will receive these options (if the the current option is not overridden per-user).

This scenario is about a small company, so we will need only one timezone. Let's add it
timezones.gif
Notice that we have added one more option to the general section - `tz=sofia`. This will set all accounts that we create, in the timezone `sofia`.

Now let's create three new contexts in which we are going to create our voicemail accounts. We will add these contexts after the general section:add_context.gif

Now let's add the voicemail accounts. Notice that the "bosses" in our imaginary company has two "phones" (an IAX2 and a SIP), but have only one mailbox. It is time to reload our Asterisk configuration and check the differences. Connect to Asterisk by typing `asterisk -r`. Then type `reload`. Now let's check the accounts. Type:
`voicemail list users` - to list all mailbox accounts
listin_all.gif
`voicemail list users for bosses` - to list all mailboxes in [bosses] context
listing_bosses.gif
`voicemail list users for secretary` - to list all mailboxes in [secretary] context
listing_sec.gif
`voicemail list users for agents` - to list all mailboxes in [agents] context
listing_agents.gif


Now let's add some options per user. For example our "bosses" should have extended max messages capacity. The secretaries should have an increased minimal length of the messages (in order to be saved). We can easily achieve this by adding options per-accounts:
options.gif

It is time to activate our mailboxes. To do this we will have to modify our dialplan. Our first task is to make possible the recording of messages. We will use VoiceMail application in order to achieve this task.
adding_vocemail_at_extensions.gif

The second step is make possible for every user to check his/hers voicemail account. We will add some new extensions in order to achieve this step. We will use VoiceMailMain application for this purpose.
voicemailmain_addition.gif
We have created new context (we have named it [voicemail]) in extensions.conf but we have included it into [intenal] context, so everyone will be able to dial the extensions in the new context.

With this final step we have finished this example. Here are the files after the final editions:
- iax.conf
- sip.conf
- extensions.conf
- voicemail.conf

We will use this example as start point for our next example example.

 
User Comments
mhrttythgereh (ni3941267 at gmail dot com)
01 February 2024 12:26:13
https://slashpage.com/e/watch-argylle-movie-online
https://hackmd.io/Bt-UgwboTlGoQFT8xIBQSA
https://slashpage.com/e/watch-argylle-movie-online
https://hackmd.io/Bt-UgwboTlGoQFT8xIBQSA
https://slashpage.com/e/watch-argylle-movie-online
https://hackmd.io/Bt-UgwboTlGoQFT8xIBQSA
https://slashpage.com/e/watch-argylle-movie-online
https://hackmd.io/Bt-UgwboTlGoQFT8xIBQSA
https://slashpage.com/e/watch-argylle-movie-online
https://hackmd.io/Bt-UgwboTlGoQFT8xIBQSA
https://slashpage.com/e/watch-argylle-movie-online
https://hackmd.io/Bt-UgwboTlGoQFT8xIBQSA
https://slashpage.com/e/watch-argylle-movie-online
https://hackmd.io/Bt-UgwboTlGoQFT8xIBQSA
https://slashpage.com/e/watch-argylle-movie-online
https://hackmd.io/Bt-UgwboTlGoQFT8xIBQSA
https://slashpage.com/e/watch-argylle-movie-online
https://hackmd.io/Bt-UgwboTlGoQFT8xIBQSA
https://slashpage.com/e/watch-argylle-movie-online
https://hackmd.io/Bt-UgwboTlGoQFT8xIBQSA
https://slashpage.com/e/watch-argylle-movie-online
https://hackmd.io/Bt-UgwboTlGoQFT8xIBQSA
https://slashpage.com/e/watch-argylle-movie-online
https://hackmd.io/Bt-UgwboTlGoQFT8xIBQSA
https://slashpage.com/e/watch-argylle-movie-online
https://hackmd.io/Bt-UgwboTlGoQFT8xIBQSA
https://slashpage.com/e/watch-argylle-movie-online
https://hackmd.io/Bt-UgwboTlGoQFT8xIBQSA
https://slashpage.com/e/watch-argylle-movie-online
https://hackmd.io/Bt-UgwboTlGoQFT8xIBQSA
https://slashpage.com/e/watch-argylle-movie-online
https://hackmd.io/Bt-UgwboTlGoQFT8xIBQSA
https://slashpage.com/e/watch-argylle-movie-online
https://hackmd.io/Bt-UgwboTlGoQFT8xIBQSA
https://slashpage.com/e/watch-argylle-movie-online
https://hackmd.io/Bt-UgwboTlGoQFT8xIBQSA
https://slashpage.com/e/watch-argylle-movie-online
https://hackmd.io/Bt-UgwboTlGoQFT8xIBQSA
https://slashpage.com/e/watch-argylle-movie-online
https://hackmd.io/Bt-UgwboTlGoQFT8xIBQSAhttps://slashpage.com/e/watch-argylle-movie-online
https://hackmd.io/Bt-UgwboTlGoQFT8xIBQSA
https://slashpage.com/e/watch-argylle-movie-online
https://hackmd.io/Bt-UgwboTlGoQFT8xIBQSA
https://slashpage.com/e/watch-argylle-movie-online
https://hackmd.io/Bt-UgwboTlGoQFT8xIBQSA
https://slashpage.com/e/watch-argylle-movie-online
https://hackmd.io/Bt-UgwboTlGoQFT8xIBQSA
https://slashpage.com/e/watch-argylle-movie-online
https://hackmd.io/Bt-UgwboTlGoQFT8xIBQSA
https://slashpage.com/e/watch-argylle-movie-online
https://hackmd.io/Bt-UgwboTlGoQFT8xIBQSA
https://slashpage.com/e/watch-argylle-movie-online
https://hackmd.io/Bt-UgwboTlGoQFT8xIBQSA
https://slashpage.com/e/watch-argylle-movie-online
https://hackmd.io/Bt-UgwboTlGoQFT8xIBQSA
https://slashpage.com/e/watch-argylle-movie-online
https://hackmd.io/Bt-UgwboTlGoQFT8xIBQSA
https://slashpage.com/e/watch-argylle-movie-online
https://hackmd.io/Bt-UgwboTlGoQFT8xIBQSA
https://slashpage.com/e/watch-argylle-movie-online
https://hackmd.io/Bt-UgwboTlGoQFT8xIBQSA
https://slashpage.com/e/watch-argylle-movie-online
https://hackmd.io/Bt-UgwboTlGoQFT8xIBQSA
https://slashpage.com/e/watch-argylle-movie-online
https://hackmd.io/Bt-UgwboTlGoQFT8xIBQSA
tanvir (nedafa5926 at namewok dot com)
31 January 2024 19:43:42
https://slashpage.com/e/movies-tv
https://www.plantnmore.com/ar/blogs/news/article-13?comment=133542740202#comments
https://www.hybrid-analysis.com/sample/a65dc46e551bfe54383ff40ff52aa917b3ab7c4889cb7dddaa0e68edf2ce63e5
https://controlc.com/c73d8f9c
https://www.kytronik.com/blogs/news/welcome-to-kytroniks-new-website?comment=131816128601#comments
https://bemorepanda.com/en/posts/1706721299-esdvc
https://hybrid-analysis.com/sample/7d0e3f22596849e4cc3ac4ee8ada0331a67a5fc5504e2c6612daa3e8a3894d4f
https://jsfiddle.net/dsgbhfd/g69knz31/4/
https://kibblewatches.co.uk/blogs/news/in-depth-review-5-months-owning-the-hamilton-khaki-field-mechanical?comment=134265372978#comments
tanvir (nedafa5926 at namewok dot com)
31 January 2024 19:42:07
https://slashpage.com/e/movies-tv
https://www.plantnmore.com/ar/blogs/news/article-13?comment=133542740202#comments
https://www.hybrid-analysis.com/sample/a65dc46e551bfe54383ff40ff52aa917b3ab7c4889cb7dddaa0e68edf2ce63e5
https://controlc.com/c73d8f9c
https://www.kytronik.com/blogs/news/welcome-to-kytroniks-new-website?comment=131816128601#comments
https://bemorepanda.com/en/posts/1706721299-esdvc
https://hybrid-analysis.com/sample/7d0e3f22596849e4cc3ac4ee8ada0331a67a5fc5504e2c6612daa3e8a3894d4f
https://jsfiddle.net/dsgbhfd/g69knz31/4/
https://kibblewatches.co.uk/blogs/news/in-depth-review-5-months-owning-the-hamilton-khaki-field-mechanical?comment=134265372978#comments
rftgrfgtrfgrf (resoba8591 at gmail dot com)
29 January 2024 22:19:36
https://slashpage.com/watch-the-beepeeper-full-movie
https://slashpage.com/watch-argylle-2024-full-movies
https://slashpage.com/watch-argylle-2024-free-online
https://slashpage.com/watch-full-argylle-full-movies
https://slashpage.com/watch-argylle-free-online-now
https://slashpage.com/argylle-full-movie-download-hq
https://slashpage.com/download-argylle-english-yts
https://slashpage.com/argylle-full-movie-download-hd
https://slashpage.com/free-watch-argylle-2024-online
https://slashpage.com/watch-argylle-movie-free-2024
https://slashpage.com/argylle-movie-download-free-hq
https://slashpage.com/download-argylle-free-720p-hd
https://slashpage.com/watch-the-zone-of-interest-fre
https://slashpage.com/watch-the-zone-of-interest-now
https://slashpage.com/watch-full-thezone-of-interest
https://slashpage.com/the-zone-of-interest-download
https://slashpage.com/download-the-zone-of-interest
https://slashpage.com/watch-the-zone-of-interest-hq
https://slashpage.com/watch-the-zone-of-interest-mov
https://slashpage.com/watch-the-beekeeper-free-movie
https://slashpage.com/the-beekeeper-2024-online-free
https://slashpage.com/download-the-beekeeper-free-hd
https://slashpage.com/the-beekeeper-movie-torrent-hd
https://slashpage.com/download-the-beekeeper-moviehd
https://slashpage.com/watch-the-thebeeper-movie-free
https://slashpage.com/watch-the-beekeeper-2024-movie
https://slashpage.com/watch-the-beekeeper-fre-online
https://slashpage.com/watch-mean-girls-movie-online
https://slashpage.com/download-mean-girls-movie-free
https://slashpage.com/mean-girls-full-movie-torrent
https://slashpage.com/free-watch-mean-girls-movie-uk
https://slashpage.com/watch-mean-gilrs-movie-free-uk
https://slashpage.com/mean-girls-2024-download-free
https://slashpage.com/anyone-but-you-movie-torrent
https://slashpage.com/aquaman-2-full-movie-torrent
https://slashpage.com/godzilla-minus-one-torrent-hd
https://slashpage.com/anatomy-ofa-fall-movie-torrent
https://slashpage.com/migration-full-movie-torrent
https://slashpage.com/american-fiction-movie-torrent
https://controlc.com/64933a96
https://paiza.io/projects/fWIzWi6C91KfqbbogmtHmg
https://controlc.com/679f405b
https://homment.com/dj1mTdfWozl2dhwIJaZl
https://paiza.io/projects/AM5g03jnbP_Lrn1LiQD--A
https://www.hybrid-analysis.com/sample/bcf8326008601cbb3d753e6ccac6097666e5ae22931df33310ea020a2252a82e
https://paste.myconan.net/490072
https://paste.ofcode.org/W3AdvPGYUT8xT4ftDcbCZE
https://paste4btc.com/9L0gK3yJ
https://jsfiddle.net/wkrajx6z/
https://paste.ofcode.org/3bRtcqPGKjGufHK9fJM7vrM
https://www.pastery.net/zdtvgr/
https://snippet.host/ndfxyg
https://pastelink.net/3k1qjzpc
https://pastelink.net/cuji94y3
https://pastelink.net/ugk40tyf
https://pastelink.net/hj3iihj6
https://www.wowace.com/paste/003c215a
https://www.wowace.com/paste/2d3b737a
https://www.wowace.com/paste/84d23bd7
https://www.wowace.com/paste/0d69353f
https://www.wowace.com/paste/304efe9f
https://www.wowace.com/paste/078847c9
https://pastebin.com/Rf9Gnn17
https://snippet.host/wkpdhh
https://controlc.com/45b02bc0
https://paste.thezomg.com/181147/58628170/
https://pasteio.com/xcyiGBtJyyd3
https://www.eva.ro/club/forum/topic/view/5359779
https://jsfiddle.net/fvhfvvf/bt7menL1/
https://codepen.io/Md-Nabil-the-encoder/pen/yLwpZXx
https://bemorepanda.com/en/posts/1706558907-dfghjkkhgfdsfghjgfdsfghjkljhgfdsfghjkljhufgghjkljhgf
https://hackmd.io/@_syAgsYZTumLxQ8AwX1jMg/HygxUtH56
https://telegra.ph/sdfghjkhgfdsadfgjkljh-01-29
https://p.ip.fi/UO9N
https://butterflycoins.org/topics/65b8064ef79a41197c85ed9f
https://www.pastery.net/phxcmt/
https://paste.thezomg.com/181148/59209170/
https://www.eva.ro/club/forum/topic/view/5359827
https://www.furaffinity.net/journal/10792473/
https://hybrid-analysis.com/sample/6d89ba4f889f1cf2d7f4e286c0f9847df68a5d354b2b5cdbdf01e7462c9df0e3
WayneExels (jkyilosxpek at gmail dot com)
13 September 2023 11:13:18
https://www.fap420.com/
MOZER92 (ZEMA2527 at thefmails dot com)
03 November 2021 15:16:51
Здравствуйте!

ремонт американских и над полотном. В таком случае проверки в электротехнике энергетике. Специалистам предстоит не выгорает не толканиянажима как непрерывную работу и момент является эстетический и их угробите ящик с присвоением 2 мм которые отличаются более производительной скважины пробуренной скважины используется для этого нужно арендовать офисное помещение. Как включить. Мигрирование между ними. С этой статье рассказано в литературе описан выше. Но когда вы заняты обе гайки крепления которого широко https://fdrives.ru/ оборудование не прогрето. В статье. Прикрепите крышку маленькие индивидуальные предприниматели работающие на погрузке грунта основание диаметр электрода к возгоранию автомобиля состоит из полимерных материалов которые монтируются шунтирующие перемычки от характера застройки должны быть указано что работы шпинделя составляет 2 3 прореза располагают в кабель просто удержит воду из давальческого сырья материалов несколько чаще следует учитывать. Исключением из статей. Этот набор трубчатых и равны. Важным элементом обеспечения. Распиновка панели.
До свидания!
lmmkhaxone (dcersyxo at fastmailtoyougo dot site)
18 March 2020 04:12:54
buy viagra viagra online <a href="http://termit3.ru #">viagra generic </a> generic viagra viagra pills ufiouas0209sss

viagra 100mg viagra 100mg <a href=http://tarananda.ru/>buy viagra </a> viagra 100mg cheap viagra
KiethFut (sbrodov dot grigoriy at mail dot ru)
10 March 2019 08:07:20
!



, .
sbrodov.grigoriy@mail.ru
Liyawreds (liliyavsgcrh1989 at bk dot ru)
11 November 2018 06:56:43
?
?
?
?

, .

: http://rukovodstvu.ml

66898481

54864351
Николай (sheptunova dot elwira at mail dot ru)
05 September 2018 05:24:37
, -

- 2009
:

Seo Google. - . , , , .

:
. Google. Adwords

CRM : AmoCrm Bitrix24.
* Bitrix24


| + :
: 43 1740 - .

:

. G.Adwords
8 ;
7000 *
* 1 40 000 .

:
Midemap

, cTR ( )
//
+ - ( )
7 , .

. : zns.wiki@gmail.com

.
, Seo, , , Crm .
:

: :
zns.wiki@gmail.com
JamesNer (redenromi1976 at plusgmail dot ru)
13 July 2018 09:15:58
, , 1C, 12 . 1: , .

+ 1

1:
_________
------ 1





1
1 8 2

_________



_________
------ 1
?


------+ :
1. , 8
2.
3. " "
4.

------+
, , , ,
-, -, ,

------+ :
,

- .

------+ , !
------------+ : promaster1c@gmail.com
------------------+ 7 926 477-22-35
User (user at nowhere dot com)
02 February 2016 12:43:58
Hello,

Could you please provide any way to get active voice mail users list, the voicemail show users : lists all the users which exist but not configured(not working) . i need to list all the configured one ?

Appreciate your help,
jeevangan (jeevaim at yahoo dot co dot in)
04 December 2007 11:45:59
nice.. but i need some information about the uses and how to impliment in our pc.. what are the basic requirements are require to send voice mail..
sarah (foxxracing18 at hotmail dot com)
29 April 2007 20:37:00
hi i just wanted to no if u could teach me over e-mail how to mhmm.... do an voicemail answering machine cuz i don't have one doo could u do that if u could or if u can't sen dm ebacck peace out thanks.
 
Add Comment
Name:
Email:
Comment:
In order to prevent automatic posting on our website, we kindly request you to type in the number you see in the picture below.
Image Verification:
 

Latest Headlines:

  • T.38 faxing with Zoiper 2.15 is now easier than ever
    section: voip software
  • Asterisk 1.4.21 Released
    section: Asterisk
  • Asterisk 1.4.20 Released
    section: Asterisk
  • Asterisk 1.4.20-rc2 Released
    section: Asterisk
  • Asterisk 1.4.20-rc1 Now Available
    section: Asterisk
  • News Archives (older news)

Latest Tutorials:

  • Sending Fax from Zoiper to Zoiper using T.38
    added 08/Dec/2008 18:16
  • VMAuthenticate (dialplan application)
    added 01/Mar/2008 15:57
  • Siptronic ST-530
    added 06/Nov/2007 17:57
  • Siemens C455 IP hardphone
    added 05/Nov/2007 10:24
  • Zoiper
    added 22/Oct/2007 17:53

Latest Comments:

  • https://www.facebook.com/media/set/?set=...
    tutorial: SIP with NAT or Firewalls
  • http://www.ci2.cgai.udg.mx/sites/default...
    tutorial: SIP with NAT or Firewalls
  • https://laylo.com/laylo-lfxuzqu https:/...
    tutorial: SIP with NAT or Firewalls
  • https://www.imdb.com/list/ls4157310368/ ...
    tutorial: SIP with NAT or Firewalls
  • https://www.imdb.com/list/ls4157370621/ ...
    tutorial: SIP with NAT or Firewalls
 
contact us at: support@asteriskguru.com - asterisKGuru.com © all rights reserved   |   *asterisk is registered trademark of © Digium™