VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
motty.cruz at gmail.com Guest
|
Posted: Tue Jun 24, 2014 4:37 pm Post subject: [asterisk-users] share mailbox Asterisk 1.8.22 |
|
|
Hello, I want to share mailbox between two extensionsExt. 101
Ext. 102
I want the messages to go to mailbox 101, when when checked mailbox from extension 102 to be able to clear the bliking red light.
here is extensions.conf
exten => 102,hint,SIP/${EXTEN}
exten => 102,1,Dial(SIP/101&SIP/102,20,t)
exten => 102,2,Voicemail(101,u)
exten => 102,102,Voicemail(101,b)
exten => 102,103,Hangup
sip.conf
[102]
type=friend
context=sipphones
call-limit=99
callerid="Jo" <102>
disallow=all
allow=ulaw
allow=alaw
username=102
secret=xexpasswd
dtmfmode=rfc2833
host=dynamic
mailbox=101
nat=yes
canreinvite=no
this configuration work ok but, light msg keeps bilking after checking for mesages.
Any suggestions?
Thanks, |
|
Back to top |
|
|
kevin.larsen at pionee... Guest
|
Posted: Tue Jun 24, 2014 5:32 pm Post subject: [asterisk-users] share mailbox Asterisk 1.8.22 |
|
|
I have done this for one of my users in a very similar fashion. When 102 checks the voicemail, do they hear the correct voicemails? Ours clears just fine in this situation.
Kevin Larsen - Systems Analyst - Pioneer Balloon - Ph: 316-688-8208
asterisk-users-bounces@lists.digium.com wrote on 06/24/2014 04:37:26 PM:
Quote: | From: motty cruz <motty.cruz@gmail.com>
To: Asterisk Users Mailing List - Non-Commercial Discussion
<asterisk-users@lists.digium.com>,
Date: 06/24/2014 04:37 PM
Subject: [asterisk-users] share mailbox Asterisk 1.8.22
Sent by: asterisk-users-bounces@lists.digium.com
Hello, I want to share mailbox between two extensions
Ext. 101
Ext. 102
I want the messages to go to mailbox 101, when when checked mailbox
from extension 102 to be able to clear the bliking red light.
here is extensions.conf
exten => 102,hint,SIP/${EXTEN}
exten => 102,1,Dial(SIP/101&SIP/102,20,t)
exten => 102,2,Voicemail(101,u)
exten => 102,102,Voicemail(101,b)
exten => 102,103,Hangup
sip.conf
[102]
type=friend
context=sipphones
call-limit=99
callerid="Jo" <102>
disallow=all
allow=ulaw
allow=alaw
username=102
secret=xexpasswd
dtmfmode=rfc2833
host=dynamic
mailbox=101
nat=yes
canreinvite=no
this configuration work ok but, light msg keeps bilking after
checking for mesages.
Any suggestions?
Thanks,
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________--
_____________________________________________________________________
-- 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 |
|
|
motty.cruz at gmail.com Guest
|
Posted: Tue Jun 24, 2014 5:36 pm Post subject: [asterisk-users] share mailbox Asterisk 1.8.22 |
|
|
yes they're able to hear the same msg, in /var/spool/asterisk/default/rm -rf 102
ln -s 101 102
but it does not clear out,
Thanks,
On Tue, Jun 24, 2014 at 3:31 PM, Kevin Larsen <kevin.larsen@pioneerballoon.com (kevin.larsen@pioneerballoon.com)> wrote:
Quote: | I have done this for one of my users in a very similar fashion. When 102 checks the voicemail, do they hear the correct voicemails? Ours clears just fine in this situation.
Kevin Larsen - Systems Analyst - Pioneer Balloon - Ph: [url=tel:316-688-8208]316-688-8208[/url]
asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com) wrote on 06/24/2014 04:37:26 PM:
Quote: | From: motty cruz <motty.cruz@gmail.com (motty.cruz@gmail.com)>
To: Asterisk Users Mailing List - Non-Commercial Discussion
<asterisk-users@lists.digium.com (asterisk-users@lists.digium.com)>,
Date: 06/24/2014 04:37 PM
Subject: [asterisk-users] share mailbox Asterisk 1.8.22
Sent by: asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com)
Hello, I want to share mailbox between two extensions
Ext. 101
Ext. 102
I want the messages to go to mailbox 101, when when checked mailbox
from extension 102 to be able to clear the bliking red light.
here is extensions.conf
exten => 102,hint,SIP/${EXTEN}
exten => 102,1,Dial(SIP/101&SIP/102,20,t)
exten => 102,2,Voicemail(101,u)
exten => 102,102,Voicemail(101,b)
exten => 102,103,Hangup
sip.conf
[102]
type=friend
context=sipphones
call-limit=99
callerid="Jo" <102>
disallow=all
allow=ulaw
allow=alaw
username=102
secret=xexpasswd
dtmfmode=rfc2833
host=dynamic
mailbox=101
nat=yes
canreinvite=no
this configuration work ok but, light msg keeps bilking after
checking for mesages.
Any suggestions?
Thanks,
|
--
_____________________________________________________________________
-- 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 |
|
|
kevin.larsen at pionee... Guest
|
Posted: Tue Jun 24, 2014 5:47 pm Post subject: [asterisk-users] share mailbox Asterisk 1.8.22 |
|
|
asterisk-users-bounces@lists.digium.com wrote on 06/24/2014 05:36:16 PM:
Quote: | From: motty cruz <motty.cruz@gmail.com>
To: Asterisk Users Mailing List - Non-Commercial Discussion
<asterisk-users@lists.digium.com>,
Date: 06/24/2014 05:36 PM
Subject: Re: [asterisk-users] share mailbox Asterisk 1.8.22
Sent by: asterisk-users-bounces@lists.digium.com
yes they're able to hear the same msg, in /var/spool/asterisk/default/
rm -rf 102
ln -s 101 102
but it does not clear out,
Thanks,
|
That is where your setup and mine are different. I have my second extension directly check the first extensions mailbox as opposed to using a symlink. That way, when the box is cleared, it is actually happening in the original mailbox.
Basically, my code to check voicemail uses the CALLERID(num) to determine the mailbox and I have both extensions set to use the same caller ID. This works for me as both extensions belong to the same person (one phone at the office, one at home) and they want to always have their outbound calls show up as if they were from their published number regardless of which phone they use. |
|
Back to top |
|
|
motty.cruz at gmail.com Guest
|
Posted: Tue Jun 24, 2014 5:49 pm Post subject: [asterisk-users] share mailbox Asterisk 1.8.22 |
|
|
Thanks Kevin,
can you provide me with example of your code? if you don't mind?
Thanks,
On Tue, Jun 24, 2014 at 3:46 PM, Kevin Larsen <kevin.larsen@pioneerballoon.com (kevin.larsen@pioneerballoon.com)> wrote:
Quote: | asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com) wrote on 06/24/2014 05:36:16 PM:
Quote: | rm -rf 102
ln -s 101 102
but it does not clear out,
Thanks,
|
That is where your setup and mine are different. I have my second extension directly check the first extensions mailbox as opposed to using a symlink. That way, when the box is cleared, it is actually happening in the original mailbox.
Basically, my code to check voicemail uses the CALLERID(num) to determine the mailbox and I have both extensions set to use the same caller ID. This works for me as both extensions belong to the same person (one phone at the office, one at home) and they want to always have their outbound calls show up as if they were from their published number regardless of which phone they use.
--
_____________________________________________________________________
-- 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 |
|
|
kevin.larsen at pionee... Guest
|
Posted: Tue Jun 24, 2014 6:10 pm Post subject: [asterisk-users] share mailbox Asterisk 1.8.22 |
|
|
Kevin Larsen - Systems Analyst - Pioneer Balloon - Ph: 316-688-8208
asterisk-users-bounces@lists.digium.com wrote on 06/24/2014 05:49:39 PM:
Quote: | From: motty cruz <motty.cruz@gmail.com>
To: Asterisk Users Mailing List - Non-Commercial Discussion
<asterisk-users@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@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. |
|
Back to top |
|
|
|
|
|
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
|