Martin Roy
2005-Feb-03 11:56 UTC
[Asterisk-Users] Multiple mailbox on the same SIP extension
I'm wondering if there's a way it will show on the phone when there's a new message. Here's what I'm trying to do : in my extensions.conf when someone call from a PSTN line on my TDM04B card they have a choice. When someone press 1 for sales then I have 3 phones ringing at the same time. Each phone as already there own mailbox because if someone know there extension instead of pressing 1 they can enter there direct extension and then if they don't answer they are transfer to the voicemail of that extension. When someone press 1 all the 3 phones rings if no one answer then it transfer it to another voicemail not related to any of the phones let's call it sales main voicemail. If someone leave a message on that voicemail there's no way (the way my things are setup currently) that the staff in sales will know there's a new message for them... Currently on my Cisco IP phones 7960 when someone leave a message for a SIP extension it will light up on the phones and tell the user there's a new message on the server for them. I'm wondering can I configure 2 mailbox on the same phone? here's a sample of my extensions.conf : exten => s,1,Answer exten => s,2,DigitTimeout(10) exten => s,3,ResponseTimeout(20) exten => s,4,Wait(1) exten => s,5,Background(Intro_EN) exten => 0,1,Dial(SIP/221,15) exten => 0,2,Voicemail2(u221) exten => 0,102,Voicemail2(b221) exten => 0,103,Hangup exten => 1,1,Dial(SIP/231&SIP/237&SIP/239,15) exten => 1,2,Voicemail2(u7253) exten => 1,102,Voicemail2(b7253) exten => 1,103,Hangup exten => t,1,Dial(SIP/221,15) exten => t,2,Voicemail2(u221) exten => t,102,Voicemail2(b221) exten => t,103,Hangup Here's a sample of one of my extension : exten => 231,1,Dial(SIP/231,15) exten => 231,2,Voicemail2(u231) exten => 231,102,Voicemail2(b231) exten => 231,103,Hangup sample of sip.conf (with some info removed) : [231] type=friend username=231 secret="not written for security purpose" context="the context in extensions.conf" callerid="removed for this post" <231> qualify=1000 host=dynamic canreinvite=no mailbox=231@"the context in voicemail.conf for my mailbox" disallow=all allow=ulaw allow=alaw I haven't tried it yet but I have also another concern, since my extensions start with the number "2" if I add a choice that when someone press 2 it dial some SIP extensions will it take the 231 if I type it or it will say it as a 2 and forget the other digits? Thanks Martin
Erik Espinoza
2005-Feb-03 13:11 UTC
[Asterisk-Users] Multiple mailbox on the same SIP extension
Create two extensions on the phone, the 7960 allows this. Then associate the second one with the sales mailbox. Erik On Thu, 03 Feb 2005 13:56:33 -0500, Martin Roy <mroy@mac.com> wrote:> I'm wondering if there's a way it will show on the phone when there's a > new message. Here's what I'm trying to do : > > in my extensions.conf when someone call from a PSTN line on my TDM04B > card they have a choice. When someone press 1 for sales then I have 3 > phones ringing at the same time. Each phone as already there own mailbox > because if someone know there extension instead of pressing 1 they can > enter there direct extension and then if they don't answer they are > transfer to the voicemail of that extension. When someone press 1 all > the 3 phones rings if no one answer then it transfer it to another > voicemail not related to any of the phones let's call it sales main > voicemail. > > If someone leave a message on that voicemail there's no way (the way my > things are setup currently) that the staff in sales will know there's a > new message for them... > > Currently on my Cisco IP phones 7960 when someone leave a message for a > SIP extension it will light up on the phones and tell the user there's a > new message on the server for them. > > I'm wondering can I configure 2 mailbox on the same phone? > > here's a sample of my extensions.conf : > > exten => s,1,Answer > exten => s,2,DigitTimeout(10) > exten => s,3,ResponseTimeout(20) > exten => s,4,Wait(1) > exten => s,5,Background(Intro_EN) > exten => 0,1,Dial(SIP/221,15) > exten => 0,2,Voicemail2(u221) > exten => 0,102,Voicemail2(b221) > exten => 0,103,Hangup > exten => 1,1,Dial(SIP/231&SIP/237&SIP/239,15) > exten => 1,2,Voicemail2(u7253) > exten => 1,102,Voicemail2(b7253) > exten => 1,103,Hangup > exten => t,1,Dial(SIP/221,15) > exten => t,2,Voicemail2(u221) > exten => t,102,Voicemail2(b221) > exten => t,103,Hangup > > Here's a sample of one of my extension : > > exten => 231,1,Dial(SIP/231,15) > exten => 231,2,Voicemail2(u231) > exten => 231,102,Voicemail2(b231) > exten => 231,103,Hangup > > sample of sip.conf (with some info removed) : > > [231] > type=friend > username=231 > secret="not written for security purpose" > context="the context in extensions.conf" > callerid="removed for this post" <231> > qualify=1000 > host=dynamic > canreinvite=no > mailbox=231@"the context in voicemail.conf for my mailbox" > disallow=all > allow=ulaw > allow=alaw > > I haven't tried it yet but I have also another concern, since my > extensions start with the number "2" if I add a choice that when someone > press 2 it dial some SIP extensions will it take the 231 if I type it or > it will say it as a 2 and forget the other digits? > > Thanks > > Martin > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >