Summary: | ASTERISK-07879: Calls stalls hangup til absolote timeout is reached | ||
Reporter: | Eldad Ran (eldadran) | Labels: | |
Date Opened: | 2006-10-05 05:44:06 | Date Closed: | 2006-10-06 11:56:15 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) delay_no_agi.txt ( 1) file.c.patch ( 2) zapata.conf | |
Description: | 6 out of 10 calls are not hanging up correctly and stall till the absolute timeout is reached. I've set a debug on the libpri stack and sinals are as they should, but for some reason some of the calls are not getting disconnected. There is a simple service that just plays an audio file when calling. ****** ADDITIONAL INFORMATION ****** I 1st susspect the AGI, not returning on hangup, but even when using the dialplan to play the file with no AGI running while the calle hangsup, still the same. Please look at the attached files, for debug, dialplan, zaptel configuration and more. | ||
Comments: | By: Eldad Ran (eldadran) 2006-10-05 05:44:45 Dial Plan: exten => s,1,Wait,1 exten => s,n,Set(TIMEOUT(digit)=5) exten => s,n,Set(TIMEOUT(response)=10) exten => s,n,NoOp(${DNID}) exten => s,n,AGI(inbound_call.php) exten => s,n,Playback(/home/tcivr/prompts/inbound/playrandom/3/101) exten => s,n,Hangup exten => h,1,DeadAGI(inbound_call.php) ; Call hangup termination By: Eldad Ran (eldadran) 2006-10-05 05:48:41 in zaptel I've used priindication on both statuses, no change, and it looks like the LIBPRI has the right signals. By: Eldad Ran (eldadran) 2006-10-05 06:06:15 The debug analyzed: Row (55) - 12:05:20 - PRI CONNECTED Row (73) - 12:05:54 (0) - PRI DISCONNECT Row (78) - 12:05:54 (0) - Channel get hangup request Row (79) - 12:05:54 (0) - Error about can't play file - 1st time Row (80-95)-12:06:28 (34)- PRI sends RELEASE to originator Row (96-104)-12:06:28 (34)- PRI Originator sends RELEASE COMPLETE Row (105-125)-12:12:48 (414)- PRi restarting channel Row (126) - 12:12:48 (414)- zap channel get restart command Row (139) - 12:12:48 (414)- Dialplan breaks from playprompt and continues with dialplan By: Eldad Ran (eldadran) 2006-10-05 06:08:54 it takes 34 seconds from PRI disconnect to send a realse. it takes 414 seconds to break out of the playPrompt application and continue to hangup. the same thing happens when I use AGI with STREAM FILE command. * the absulete time is 500 seconds, so it breaks from the PlayPrompt only then, I've changed the absulete time few times and it duration of the call changes as well. By: Joshua C. Colp (jcolp) 2006-10-05 14:59:18 Fixed in 1.2 as of revision 44501, 1.4 as of revision 44502, and trunk as of revision 44503. Thanks! By: Eldad Ran (eldadran) 2006-10-06 03:41:18 There are 3 other places in file.c of 1.2 that need fix, I'll add a patch to the issue. And the same happens with Congestion, added that as well. and the fax is on the way sign by Eldad Ran. By: Joshua C. Colp (jcolp) 2006-10-06 11:56:14 Done! |