TeleFlow Forums
http://teleflow.org/phpbb/

Run Application Once
http://teleflow.org/phpbb/viewtopic.php?f=11&t=516
Page 1 of 1

Author:  bstricklin [ Wed Apr 30, 2008 8:05 am ]
Post subject:  Run Application Once

Preface: We use TeleFlow Server 2003. Upgrading is not an option at this time.

Is there any way that the server can be configured to instantiate an application only once?

For example, the logic in my application handles call retries. Inside my loop, the PlaceCall step has a timeout of 4 rings. After a timeout, there is a hangup step and the call is tried again immediately.

The server, instead of looping through the retry routine, reolads the application.

I don't see a clear cut way of handling this. Can anyone help?

Thanks,
Ben

Author:  Chris [ Wed Apr 30, 2008 9:41 am ]
Post subject:  Re: Run Application Once

Quote:
Is there any way that the server can be configured to instantiate an application only once?
Yes, but I'm not sure if you mean the same thing I do when I say that.

You can set up your TAL file such that a line has "No limit" NOT checked, and then set the "Restart Count" to 0. That would instantiate the application one time only, and when it ends, the application would remain stopped (not running) until TFServer service is restarted.

I suspect this is not what you are looking for, however.

Can you clarify how you want the application to behave (I.e. What should it do after each call completes, whether or not it was successful getting a caller on the line?) so I can help you better?

You recently uploaded an application on another forum thread. Is that application the same one? (If so, I can look at it when I know what you are looking for, and try to put it in context)

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/