Summary: | ASTERISK-04987: [patch] add SYSTEMSTATUS to app_system | ||
Reporter: | Olle Johansson (oej) | Labels: | |
Date Opened: | 2005-09-05 07:40:34 | Date Closed: | 2008-01-15 15:47:18.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Applications/app_system |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) systemstatus.txt | |
Description: | This patch adds SYSTEMSTATUS to app_system - system() and trysystem() ****** ADDITIONAL INFORMATION ****** Test with this: <pre> exten => 9516,1,answer exten => 9516,n,system(echo hello) exten => 9516,n,noop(SYSTEMSTATUS = "${SYSTEMSTATUS}") exten => 9516,n,system(/usr/bin/false) exten => 9516,n,noop(FALSE SYSTEMSTATUS = "${SYSTEMSTATUS}") exten => 9516,n,playback(beep) exten => 9516,n,trysystem(/bin/lk1j234lk134) exten => 9516,n,noop(TEST SYSTEMSTATUS = "${SYSTEMSTATUS}") exten => 9516,n,hangup </pre> | ||
Comments: | By: Kevin P. Fleming (kpfleming) 2005-09-07 14:52:47 Committed to CVS HEAD with mod to use ast_goto_if_exists(). Thanks! By: Digium Subversion (svnbot) 2008-01-15 15:47:18.000-0600 Repository: asterisk Revision: 6529 U trunk/apps/app_system.c ------------------------------------------------------------------------ r6529 | kpfleming | 2008-01-15 15:47:17 -0600 (Tue, 15 Jan 2008) | 2 lines add status variable output to System() app (issue ASTERISK-4987) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=6529 |