Re: Bayonne answer script question

Luca Bariani <[email protected]>
Newsgroups gmane.comp.gnu.bayonne.devel
Message-ID <[email protected]>
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 - [email protected]
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.