[Asterisk-java-users] How to identify a timeout from a BaseAgiScrit command?
Brought to you by:
srt
From: Rodrigo P. C. <pi...@in...> - 2007-09-05 17:31:22
|
Hi people. =20 In my java code I wrote: =20 baseAgiScript.exec("Dial","SIP/300|10|r"); =20 Then, my extension 300 rings normally. Whether the call for 300 is not answered, there is a timeout after 10 seconds.=20 =20 However, how can I identify such timeout has really occurred, so that I can program an additional behavior in this case? =20 I need identify a timeout has occurred programmatically. How to codify this in asterisk-java? =20 Any hint will be very helpful. =20 Thanks. =20 Rodrigo =3D=3D=3D=3D=3D=3D=3D=3D=3D=20 |