[Home]

Summary:ASTERISK-00951: [request] Get variable in app_agi.c
Reporter:Olle Johansson (oej)Labels:
Date Opened:2004-01-30 02:22:08.000-0600Date Closed:2011-06-07 14:05:09
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I would like to be able to reach all global variables from the AGI. At this moment AGi only checks local channel variables and does not return variables like "ACCOUNTCODE" or "CALLID".

****** ADDITIONAL INFORMATION ******

This is a feature request for anyone that knows how to hack app_agi.c. The bounty is a free cup of tea when visiting Sollentuna, north of Stockholm in Sweden :-)
Comments:By: Brian West (bkw918) 2004-01-30 11:59:50.000-0600

doesnt the agi command "get variable" do this now?

bkw

By: Olle Johansson (oej) 2004-01-31 06:30:31.000-0600

No, from testing and reading the code, it only checks local channel variables. There is a function pbx_substitute_variables_temp that I think would work. Will test as soon as I have time.

By: Olle Johansson (oej) 2004-03-23 13:54:08.000-0600

Seems like no one wants a cup of tea :-) Still needs a fix.