[Asterisk-Users] does ast_app_getdata() reset timeout?

Xu Wang xwang at cascotec.com
Thu Apr 21 15:41:57 MST 2005


We have an application to call ast_app_getdata() 3 times in order to get
inputs from callers. It seems like that ast_app_getdata() returns
immediately if callers take more time to input first two questions. Here is
the example:

	res = ast_app_getdata(chan, "your-account", cd->destination, 7, 0);
..
	res = ast_app_getdata(chan, "your-password", cd->destination, 7, 0);
..
	res = ast_app_getdata(chan, "your-options", cd->destination, 7, 0);

If 'your-account' takes more time, then 'your-password' returns immediately.

It seems to us that ast_app_getdata() timeout is not reset when returning.
We have 1.0.7 asterisk.

Does anyone know the issue?

thanks!
steven




More information about the asterisk-users mailing list