[asterisk-users] share mailbox Asterisk 1.8.22
Kevin Larsen
kevin.larsen at pioneerballoon.com
Tue Jun 24 18:09:58 CDT 2014
Kevin Larsen - Systems Analyst - Pioneer Balloon - Ph: 316-688-8208
asterisk-users-bounces at lists.digium.com wrote on 06/24/2014 05:49:39 PM:
> From: motty cruz <motty.cruz at gmail.com>
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> <asterisk-users at lists.digium.com>,
> Date: 06/24/2014 05:49 PM
> Subject: Re: [asterisk-users] share mailbox Asterisk 1.8.22
> Sent by: asterisk-users-bounces at lists.digium.com
>
> Thanks Kevin,
>
> can you provide me with example of your code? if you don't mind?
>
> Thanks,
>
Sure, Here is the relevant code (I have removed parts that don't apply):
sip.conf:
[501]
callerid="Bob Smith" <501>
secret=501
mailbox=501
[502]
callerid="Bob Smith" <501>
secret=502
mailbox=501
voicemail.conf:
[default]
501 => 1234,Bob Smith
extensions.conf
exten => *99,1,VoiceMailMain(${CALLERID(num))
same => n,Hangup()
exten => 501,1,Dial(SIP/501&SIP502,16)
same => n,VoiceMail(${EXTEN},${IF($["${DIALSTATUS}" = "BUSY"]?bd:ud)})
same => n,Hangup()
This isn't a complete dialplan, but it is the simplest way I could break
mine down to just the relevant parts. When you hit the voicemail button on
my phones, they dial *99 to access voicemail. By setting extensions 501
and 502 to both use 501 as the caller id number, either phone logs into
mailbox 501. There are other ways you could approach this in the dialplan,
but this is the one that worked out for me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140624/90f7ec5b/attachment.html>
More information about the asterisk-users
mailing list