[asterisk-users] Checking Multiple VM?
Mojo with Horan & Company, LLC
mojo at horanappraisals.com
Fri Oct 26 12:27:14 CDT 2007
I'm not sure if you can specify more than one mailbox= line in sip.conf,
but I had a suggestion. We have a similar AA/IVR, and we prefix info to
the callerid string to say what they chose at the menu. This might work
for you if you were going to have one SIP user check them all anyway.
[incoming]
exten => s,1,Answer
exten => s,2,Background(...) ;press one to lv message for sales, press
two to leave a message for support
exten => s,3,WaitExten(6)
exten => s,4,Goto(2)
exten => 1,1,Playback(...) ;a sound file that asks caller to lv message
for sales
exten => 1,2,Set(CALLERID(name)=SLS:${CALLERID(name)})
exten => 1,3,Goto(leavemessage,s,1)
exten => 2,1,Playback(...) ;a sound file that asks caller to lv message
for support
exten => 2,2,Set(CALLERID(name)=SPT:${CALLERID(name)})
exten => 2,3,Goto(leavemessage,s,1)
[leavemessage]
exten => s,1,Voicemail(s123) ; take a voicemail message, playing
/nothing/ but the beep
exten => s,2,Playback(...) ;thank you
exten => s,3,Hangup
So it plays a message stating WHAT they want recorded, then a beep, then
records -- in the middle somewhere, it prefixes "SLS:" to the callerid
name if they pressed 1 for sales, or "SPT:" if they pressed 2 for
support. etc.etc.etc. Everything goes to voicemailbox 123, and the
recipient looks at the calleridname for a prefix to determine what the
caller wanted.
Moj
Alan Lord wrote:
> Hi,
>
> On my asterisk I have a voicemail for my extension and my Soft SIP phone
> tells me when there is mail for me.
>
> I also have other voicemail boxes which are not tied to any specific
> extension - rather they are for incoming callers when they interact with
> an AA, such as "to register for the event please press 1 and leave your
> details"...
>
> Can I chain or aggregate voicemail boxes so my SIP client will be
> informed if there is voicemail in any one of "n" mail boxes?
>
> Thanks
>
> Alan
>
More information about the asterisk-users
mailing list