Summary:ASTERISK-10909: [patch] Send Asterisk version to AGI
Reporter:Alistair Cunningham (acunningham)Labels:
Date Opened:2007-11-28 07:48:36.000-0600Date Closed:2007-12-04 09:00:14.000-0600
Versions:Frequency of
Environment:Attachments:( 0) agi_version.diff
Description:It would be useful to have Asterisk send its version to AGI scripts. For example:

agi_version: 1.6.0

This would allow the AGI to decide which applications are available for the EXEC command.


Attached is a trivial patch to subversion trunk revision 89965.
Comments:By: Olle Johansson (oej) 2007-11-28 10:40:29.000-0600

There's a license issue that needs to be resolved here.

By: Jason Parker (jparker) 2007-11-28 10:53:39.000-0600

oej, it's in a normal state - it just means the license was submitted, but not yet reviewed.

By: Alistair Cunningham (acunningham) 2007-11-29 09:30:06.000-0600

I have now received notification that the license has been accepted, so the patch is now visible.

By: Digium Subversion (svnbot) 2007-12-04 09:00:13.000-0600

Repository: asterisk
Revision: 90851

U   trunk/res/res_agi.c

r90851 | tilghman | 2007-12-04 09:00:12 -0600 (Tue, 04 Dec 2007) | 5 lines

Pass the Asterisk version to AGI scripts as part of the initial dump of info
Reported by: acunningham
Patch by: acunningham
(Closes issue ASTERISK-10909)