Summary: | ASTERISK-02939: using outgoing spool to CONSOLE/dsp and agi sends hangup to other channel | ||
Reporter: | geisj (geisj) | Labels: | |
Date Opened: | 2004-12-08 08:26:55.000-0600 | Date Closed: | 2004-12-26 19:13:39.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Place a call in outgoing spool to CONSOLE/dsp have it run an agi. the agi does some actions and plays a file over the dsp. when the agi is done it does a hangup command. Also, have a concurrent outgoing spool to another normal phone. doing pretty much the same thing running an agi, playing some audio that is longer than the CONSOLE/dsp message so the CONSOLE/dsp will be done first. When the CONSOLE/dsp executes the hangup there is a hangup detect in the normal phone call "200 result=-1" kind of message. ****** ADDITIONAL INFORMATION ****** I can dispatch 2 calls to 2 phones and not see this problem. It only seems related to the CONSOLE/dsp. | ||
Comments: | By: Russell Bryant (russell) 2004-12-10 21:34:50.000-0600 Can you post the AGI script that you are using to recreate this problem? By: Mark Spencer (markster) 2004-12-10 23:19:17.000-0600 This screams of bogosity. How would you suggest that it's hanging up an unrelated call? By: geisj (geisj) 2004-12-13 10:22:38.000-0600 Posting my AGI is not easy it is a large size C program. However, I did look closely at the console when this event happens. Please see the line below that says (interrupted system call). This is what is happening. When this shows up my AGI is getting the 200 reult=-1 which means hangup. This is how the other channel is hanging up. I hope this helps. Thanks. ------------------------------------------ 200 result=1 == Spawn extension (smvoice-dialout, smvoice_callprogress, 1) exited non-zero on 'OSS/dsp' << Hangup on console >> Dec 13 11:12:32 NOTICE[13556]: pbx_spool.c:244 attempt_thread: Call completed to CONSOLE/dsp Dec 13 11:12:32 WARNING[13563]: file.c:1058 ast_waitstream_full: Wait failed (Interrupted system call) 200 result=-1 endpos=4960 == Spawn extension (smvoice-dialout, smvoice_callprogress, 1) exited non-zero on 'IAX2/snorkel3g_to_spare120/3' -- Hungup 'IAX2/snorkel3g_to_spare120/3' Dec 13 11:12:32 NOTICE[13563]: pbx_spool.c:244 attempt_thread: Call completed to IAX2/snorkel3g_to_spare120/303 Dec 13 11:12:33 WARNING[13580]: file.c:1058 ast_waitstream_full: Wait failed (Interrupted system call) 200 result=-1 endpos=14560 == Spawn extension (smvoice-dialout, smvoice_callprogress, 1) exited non-zero on 'IAX2/snorkel3g_to_spare120/7' -- Hungup 'IAX2/snorkel3g_to_spare120/7' Dec 13 11:12:33 NOTICE[13580]: pbx_spool.c:244 attempt_thread: Call completed to IAX2/snorkel3g_to_spare120/302 By: Mark Spencer (markster) 2004-12-13 10:31:33.000-0600 Is your asterisk patched in any way? By: geisj (geisj) 2004-12-13 10:44:34.000-0600 My asterisk is not patched. asterisk -V shows CVS-HEAD 11-09-04 By: geisj (geisj) 2004-12-13 12:53:17.000-0600 I just updated to V1.0.3 and I get the same interrupt system call. By: Russell Bryant (russell) 2004-12-13 16:04:01.000-0600 Try "agi debug" and see if you see anything weird going on. By: Clod Patry (junky) 2004-12-14 08:32:51.000-0600 Just as curiosity, can you paste just these couple lines which are doing the STREAM FILE | GET OPTION | SAY * in your AGI. If you could insert your output call file too, that would be useful for everyone. Next time if you could insert more info when reporting a bug, that would save time for a lot of people, thanks for understanding. By: Mark Spencer (markster) 2004-12-15 17:00:37.000-0600 What if you only use AGI and not EAGI? By: Russell Bryant (russell) 2004-12-26 19:13:31.000-0600 bug placer seems to have lost interest |