Answer will not be raised; you will either go to hangup
Or return from dial.

Julien

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tristan
Sent: December 20, 2005 7:44 AM
To: [email protected]
Cc: [email protected]
Subject: Re: [Bayonne-devel] How to place outgoing calls on DTI300SC 
withruntime driver ?

Resolved by 'dial maxTime=60' instead of 'dial timeout=60'
But the event ^answer is never raised...

Tristan wrote:

> Hi,
>
> I need to make outgoing calls with my dti300sc with the following script:
> -------------------------------------------
> slog.crit "Starting DialTest"
> dial 6 "04 93 97 71 76"
> speak &spell 1
> exit
> ^busy
>    slog.crit "Busy !!!"
>    hangup
> ^answer
> @dial:answer
>    slog.crit "Answer !!"
>    hangup
> ^ring
>    slog.crit "Ring !!"
> ^timeout
>    slog.crit "timeout"
> # @dial:reorder # dialing reorder tone heard
> #    slog.crit "reorder"
> # @dial:nodialtone # no dialtone in dial command
> #    slog.crit "no dialtone"
> # @dial:noringback # no ringback heard
> #    slog.crit "no ringback"
> # @dial:noanswer # nobody answered call
> #    slog.crit "no answer"
> # @dial:busy # caller was busy
> #    slog.crit "busy"
> # @dial:answer # answer detection confirmed
> #    slog.crit "answer"
> hangup
> exit
> -------------------------------------------------
>
> Everytime I start the script I get the timeout event, i hear the phone 
> ringing but only a few seconds before the script exits and no way to 
> get it work  :/
>
> I absolutly needs  the runtime dialogic driver because I work with 
> both digitals and analog cards.
>
> Is there a way to get it working or at least why the timeout event is 
> raised ?
>
> Best regards,
>
> Tristan Mahé
>
>
> _______________________________________________
> Bayonne-devel mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/bayonne-devel
>


_______________________________________________
Bayonne-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bayonne-devel


_______________________________________________
Bayonne-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bayonne-devel

Reply via email to