bayonne-devel
[Top][All Lists]
Advanced

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

[Bayonne-devel] Answer detection


From: olivier\.lebot1
Subject: [Bayonne-devel] Answer detection
Date: Tue, 6 Jan 2004 12:50:08 +0100

Hi!

I want to make a script like this :

 set %phone 00000000
 slog.info "calling"
 goto ::calling

::calling
 dial  timeout=50 %phone
 slog.info "waiting"
 sleep 1
 play something.au
 hangup
 exit

 ^answer
  slog.info "answer"
  hangup

 ^busy
   slog.info "busy"
   set %phone 1111111
   goto ::calling

 ^noanswer
   slog.info "noanswer"
   set %phone 1111111
   goto ::calling

 ^timeout
   slog.info "timeout"
   set %phone 1111111
   goto ::calling

 ^hangup
   slog.info "hangup"
   exit

But it doesn't work, i use the last version of bayonne, ccscript... and RedHat 
8, and
a dialogic card!

My problem is that i must detect if the dial fail, to call an another people, is
there someone who can help me???


Accédez au courrier électronique de La Poste : www.laposte.net ; 
3615 LAPOSTENET (0,34€/mn) ; tél : 08 92 68 13 50 (0,34€/mn)







reply via email to

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