[Asterisk-Dev] Voicemail option parsing

Stephan A. Edelman sedelman at newace.com
Fri Apr 15 15:32:34 MST 2005


That works great within one company, but what if you had multiple
companies served by the same PBX? I'd like to think that you can setup *
to have multiple voicemail boxes with the same extension.

Stephan. 

-----Original Message-----
From: asterisk-dev-bounces at lists.digium.com
[mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of Brian West
Sent: Friday, April 15, 2005 6:09 PM
To: Asterisk Developers Mailing List
Subject: Re: [Asterisk-Dev] Voicemail option parsing

To be honest mailboxes just like sip peers should be unique on the
system.  So you could only have one mailbox called 1000 in your system.

We do this with sip.. and IAX why not with voicemail?

/b

On Apr 15, 2005, at 5:19 PM, Stephan A. Edelman wrote:

>
> I'm not sure if we can just have a [] section that represents the 
> user's extension, since we could have multiple identical extensions in

> different contexts. That's why I suggested "layering" them. Perhaps, 
> we should refer to a file with all of the mailboxes for that context 
> instead (i.e., a mailbox definition file). I.e.,
>
> voicemail.conf:
>
> [default]
> mdfile=mailboxes-acme.conf
>
> [othercontext]
> mdfile=mailboxes-othercompany.conf
>
> mailboxes-acme.conf:
>
> [1000]
> blah=asdf
> blah=adfs
> context=default
> password=blah
>
> ...
>
> If we see the "mdfile" (or whatever keyword), then we assume the new 
> style layout.
>
> Any comments?
>
> Stephan.
>
>
>
>
> -----Original Message-----
> From: asterisk-dev-bounces at lists.digium.com
> [mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of Brian West
> Sent: Friday, April 15, 2005 2:07 PM
> To: Asterisk Developers Mailing List
> Subject: Re: [Asterisk-Dev] Voicemail option parsing
>
> I think you have the right idea.. I totally agree with that.
>
> [1000]
> blah=asdf
> blah=adfs
> context=default
> password=blah
>
> Maybe a voicemail3 option.
>
> /b
>
>
>
>
> On Apr 15, 2005, at 12:52 PM, Stephan A. Edelman wrote:
>
>>
>> Hello,
>>
>> I need to add alpha pager support to the voicemail notification of *.
>> When someone leaves a voicemail message in a particular user's 
>> mailbox, I want * to page that user and provide the same information 
>> that it sends in the e-mail notification (i.e., who the voicemail 
>> message was from, duration, etc.)
>>
>> I looked at using the "externnotify" option and call Hylafax's SNPP 
>> client, but the externnotify is global to the context and isn't 
>> called
>
>> with the particulars (CID, etc.) that I need. I also want to 
>> configure
>
>> it on a mailbox-by-mailbox basis.
>>
>> I looked at the voicemail.conf file and thought about adding 
>> "externnotify" as an option, but I'm really not happy about the huge 
>> list of options that are already there.
>>
>> For example, my existing voicemail.conf:
>>
>> [default]
>> 4221 => XXXX,Stephan Edelman,stephan at newace.ca,, 
>> tz=eastern|attach=yes|saycid=yes|dialout=fromvm|callback=fromvm|revie
>> w
>> =
>> y
>> es|operator=yes|envelope=yes|sayduration=yes|saydurationm=1
>> ...
>>
>> I propose we change this to:
>>
>> [default]
>> 4221 => saemailbox
>>
>> [saemailbox]
>> name=Stephan A. Edelman
>> password=XXXX
>> email=stephan at newace.ca
>> tz=eastern
>> attach=yes
>> callback=fromvm
>> review=yes
>> saycid=yes
>> ...
>> externnotify=/usr/sbin/sendpage -q -p sae "*: VM ${VM_MSGNUM} from 
>> ${VM_NAME} ${VM_CALLERID}"
>>
>> This allows per mailbox notification and cleans up the whole option 
>> list. Any comments?
>>
>> Regards,
>>
>> Stephan.
>> -
>> Stephan A. Edelman, B.Eng.
>> NewAce Corporation
>> Toll Free: 1-877-463-9223 x221
>> International: +1 519 336 4837 x221 (Outside US & Canada)
>> Fax: +1 519 336 4046
>> Cell: +1 519 384 9588
>>
>> _______________________________________________
>> Asterisk-Dev mailing list
>> Asterisk-Dev at lists.digium.com
>> http://lists.digium.com/mailman/listinfo/asterisk-dev
>> To UNSUBSCRIBE or update options visit:
>>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev

_______________________________________________
Asterisk-Dev mailing list
Asterisk-Dev at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev




More information about the asterisk-dev mailing list