bayonne-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bayonne-devel] Getting Started


From: David Sugar
Subject: Re: [Bayonne-devel] Getting Started
Date: Sat, 22 Feb 2003 23:16:21 -0500
User-agent: KMail/1.4.3

Starting with 1.1.9, we actually have moved things around to be consistent 
with "fhs".  Hence, /var/bayonne has become /var/lib/bayonne, for example.  
Also, scripts and prompts are now found under /usr/share/bayonne.  Of course 
all this is still controlled by the configure file.

Incidently, there is an "altprompts" and "altscripts" path, and this is used 
for non-distribution scripts.  At the moment (since 1.1.9) I have these point 
to /home/bayonne, kind of like the idea of /home/httpd :).

On Saturday 22 February 2003 13:20, Tim Hayes wrote:
> Hi Chuck
>
> Where is the default script name configured? I replaced playrec.scr with
> different code to get my script to work.
>
> The default script name is configured in /etc/bayonne.sched and
> /etc/bayonne.conf.
>
> You can set the directory path for you scripts in /etc/bayonne.conf
> (default setting)
>
> scripts=/usr/local/share/aascripts
>
> and the voice files you associate with these applications in (default
> setting)
>
> prompts=/usr/local/share/aaprompts
>
> You can then set which script to be played in /etc/bayonne.sched
>
> Where do I start getting home voicemail running? The example scripts
> seem too simplistic and too complicated to see a clear path.
>
> This depends on what you want to do and how you intend to play back your
> messages. I would recommend trying out some simple scripts playing a
> message, recording a caller. The path for recorded files is set in
> /etc/bayonne.conf. The default is:-
>
> datafiles=/var/bayonne
>
> In the ccscipt example could be
>
> set %a %session.id .au
> record prefix=voicemail %a maxtime=60 exit="#" annotation="recorded
> message"
>
> This records a caller for 60 seconds to a file located in
> /var/bayonne/voicemail called <sessionid>.au. The session id is a unique id
> that you can use to compare against call accounting data in
> /var/log/bayonne/calls. You will need to create the directory
> /var/bayonne/voicemail.
>
> If I start building from scratch what is the best way to specify that
> recorded message is for a different person? By folder/path or
> filename or some kind of meta data?
>
> You could do either but it depends on how many mailboxes you plan to create
> as putting in different directories requires more management and setup
> time. A simple way is just to name the prefix the above filename with the
> mailbox number. A more advanced method would use a db lookup. Because
> session.id is unique I would use that.
>
> Also what is the next intended release? Timing features?
>
> They are pretty regular. What timing features were you looking for?
>
> You can record a call transaction by using
>
> audit %session.startdate %session.starttime %session.duration
> %audio.recorded at the beginning of your script.
>
> This writes call data to /var/log/bayonne/calls (a file you need to create)
>
> cheers
>
> tim
>
>
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden Behalf Of
> address@hidden
> Sent: 22 February 2003 17:00
> To: address@hidden
> Subject: Bayonne-devel Digest, Vol 3, Issue 1
>
>
> Send Bayonne-devel mailing list submissions to
>       address@hidden
>
> To subscribe or unsubscribe via the World Wide Web, visit
>       http://mail.gnu.org/mailman/listinfo/bayonne-devel
> or, via email, send a message with subject or body 'help' to
>       address@hidden
>
> You can reach the person managing the list at
>       address@hidden
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Bayonne-devel digest..."
>
>
> Today's Topics:
>
>    1. Hi all
>
>
> ----------------------------------------------------------------------
>
> Date: Sat, 22 Feb 2003 11:16:51 -0500
> From: address@hidden
> To: address@hidden
> Subject: [Bayonne-devel] Hi all
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset="us-ascii"; format="flowed"
> MIME-Version: 1.0
> Content-Transfer-Encoding: quoted-printable
> Precedence: list
> Message: 1
>
> I'm new to bayonne, I'm really into developing apps with it, first for=20
> home use eventually for my company. I've purchased a voicetronix=20
> openline4 and installed it. I have a script running that emails me=20
> caller id info, doesn't answer calls, I'm not ready to replace my=20
> verizon voicemail yet-but I can't wait.
>
>
> I have a few questions:
>
> Where is the default script name configured? I replaced playrec.scr with=20
> different code to get my script to work.
>
> Where do I start getting home voicemail running? The example scripts=20
> seem too simplistic and too complicated to see a clear path.
>
> If I start building from scratch what is the best way to specify that a=20
> recorded message is for a different person? By folder/path or by=20
> filename or some kind of meta data?
>
> Also what is the next intended release? Timing features?
>
> Thanks,
>
> Chuck
>
>
> ------------------------------
>
> _______________________________________________
> Bayonne-devel mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bayonne-devel
>
>
> End of Bayonne-devel Digest, Vol 3, Issue 1
> *******************************************
>
>
>
> _______________________________________________
> Bayonne-devel mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bayonne-devel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]