Kevin Larsen - Systems Analyst - Pioneer Balloon - Ph: 316-688-8208

[email protected] wrote on 06/24/2014 05:49:39 PM:

> From: motty cruz <[email protected]>
> To: Asterisk Users Mailing List - Non-Commercial Discussion 
> <[email protected]>, 
> Date: 06/24/2014 05:49 PM
> Subject: Re: [asterisk-users] share mailbox Asterisk 1.8.22
> Sent by: [email protected]
> 
> 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.
-- 
_____________________________________________________________________
-- 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

Reply via email to