[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bayonne-devel] Bayonne answer script question
From: |
Luca Bariani |
Subject: |
Re: [Bayonne-devel] Bayonne answer script question |
Date: |
Sat, 19 Feb 2005 14:21:23 +0100 |
User-agent: |
KMail/1.7.1 |
tam.scr script hasn't the "answer" command (but playrec.scr yes)
so the script doesn't abswer to the call
try addind the "answer" command
bye
Luca
> in /etc/bayonne.shed i commented out this line * * 00:00 playrec and added
> * * 00:00 tams. I then restared bayonne.
>
> When a call is made to the server, the call is never answers. Maybe there's
> an error in this script. Is there a log i can look at? I tried other
> scripts in /usr/local/share/bayonne, but none would work.
>
>
>
> /usr/local/share/bayonne/tams
> cdr "%node %id %pstn.rings %session.startdate %session.starttime
> %session.duration %session.home"
> size 2 %pickup
> set %pickup $slowpickup
> import %pickup
> answer %pickup
> set %pickup $fastpickup
> set %audio.extension ".ul"
> export %pickup
> goto tams1
>
> ^hangup
> set %pickup $slowpickup
> export %pickup
> exit:
>
>
> /usr/local/share/bayonne/tams1.scr
> play tams/greeting
> tone beep
> record "tams/%session.startdate%session.starttime"
> hangup
>
> ^timeout
> tone beep
> hangup
>
> On Friday 18 February 2005 04:06 am, Luca Bariani wrote:
> > Alle 03:03, venerdì 18 febbraio 2005, Raymond Gibson ha scritto:
> > > Hello, i have recently installed Bayonne-1.2.14 with an analog Dialogic
> > > card. I would like to know how to make Bayonne answer with something
> > > other that the default script'?
> > >
> > > Could someone please explain the process to me?
> >
> > you have to change your /etc/bayonne.sched file
> >
> > from it Bayonne choose the script to be executed
> >
> > if you have a "myscript.scr" script use "myscript" in bayonne.conf
> >
> > in this file you can say:
> > use script1 for line 1
> > use script2 for line 2
> > use script3 on sundays
> > and so on....
> >
> >
> > bye
> >
> > Luca
--
Luca Bariani - address@hidden
http://www.ferrara.linux.it/Members/lucabariani
http://www.bayonne.it
ICQ: 29828855 ---- Pgp/Gpg public key available on Home Page
###############################################################
The reasonable man adapts himself to the world.
The unreasonable man persists in trying to adapt the world to himself.
Therefore all progress depends on the unreasonable.