Summary: | ASTERISK-05332: DeadAGI script terminates when hangup during STREAM FILE or SAY NUMBER | ||
Reporter: | Sergey Kozhedub (sevk) | Labels: | |
Date Opened: | 2005-10-20 08:43:37 | Date Closed: | 2011-06-07 14:03:21 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Resources/res_agi |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Found it after apgrading to the latest cvs head because areskicc stopped work properly. To reproduce used agi-test.agi shipped with asterisk (strange, but no messages printed to STDERR from agi-test.agi appears). Here is the output (agi debug turned on): -- Executing Wait("SIP/100-3089", "1") in new stack -- Executing DeadAGI("SIP/100-3089", "agi-test.agi") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-test.agi AGI Tx >> agi_request: agi-test.agi AGI Tx >> agi_channel: SIP/100-3089 AGI Tx >> agi_language: en AGI Tx >> agi_type: SIP AGI Tx >> agi_uniqueid: 1129815442.281 AGI Tx >> agi_callerid: 100 AGI Tx >> agi_calleridname: xxx AGI Tx >> agi_callingpres: 0 AGI Tx >> agi_callingani2: 0 AGI Tx >> agi_callington: 0 AGI Tx >> agi_callingtns: 0 AGI Tx >> agi_dnid: 889 AGI Tx >> agi_rdnis: unknown AGI Tx >> agi_context: from-sip-phones AGI Tx >> agi_extension: 889 AGI Tx >> agi_priority: 2 AGI Tx >> agi_enhanced: 0.0 AGI Tx >> agi_accountcode: AGI Tx >> > AGI Rx << STREAM FILE beep "" AGI Tx >> 200 result=0 endpos=3520 AGI Rx << SAY NUMBER 12345 "" -- Playing 'digits/12' (language 'en') -- Playing 'digits/thousand' (language 'en') -- Playing 'digits/3' (language 'en') >[HANGUP HERE] AGI Tx >> 200 result=-1 == Spawn extension (from-sip-phones, 889, 2) exited non-zero on 'SIP/100-3089' ****** ADDITIONAL INFORMATION ****** May be I missed something? | ||
Comments: | By: Clod Patry (junky) 2005-10-20 08:47:42 You have to ignore SIG HUP By: Sergey Kozhedub (sevk) 2005-10-20 09:10:28 Ok, it works when ignoring SIGHUP. But what happened with output via STDERR? By: Clod Patry (junky) 2005-10-20 09:12:54 You should take a look in mailing list, this was already covered before. By: Matt O'Gorman (mogorman) 2005-10-20 09:14:47 junky this is a non-bug correct? I can just close it correct. Matt By: Clod Patry (junky) 2005-10-20 09:19:36 Since it was discusssed in ASTERISK-4733. If you have any question, drop by in #asterisk-dev. |