Summary: | ASTERISK-07041: "receive text <timeout>" timeouts first but then returns the right string | ||
Reporter: | yuhao (danyuhao) | Labels: | |
Date Opened: | 2006-05-26 02:56:42 | Date Closed: | 2006-06-05 16:02:48 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Resources/res_agi |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | hi all: I install the asterisk 1.2.7.1 on CentOS4 and I write a php script for iax2 conference . when my iax2-clients calls 1111,the php script "sevice.php" will be excuted. service.php is like this: <?php ... fputs($stdout,"answer\n"); fflush($stdout); $res1=fgets($stdin,256); fputs($stdout,"receive text 20000"); fflush($stdout); $res2=fgets($stdin,512); ... ?> And when the clients call 1111,it always timeout(the res1="200 result=1", the res2="200 result=-1" after 20s). When hangup the first call before it timeout and call the second time quickly (twice call in 20s),it will success and "receive text" will return what I want. So it seems that asterisks blocks when read from chan_iax2 the first time?? | ||
Comments: | By: Serge Vecher (serge-v) 2006-05-26 08:44:09 danyuhao: please explain in more detail what exactly the problem is. Please also attach detailed verbose logs showing the issue on Asterisk console. Thank you. By: Serge Vecher (serge-v) 2006-06-05 16:02:48 Please feel free to reopen, if you are sure you have found the bug, also include all requested information. Thank you. |