Re: [Asterisk-java-users] fastagi output in dialplan
Brought to you by:
srt
From: Martin S. <ma...@be...> - 2008-03-05 14:51:26
|
Hello Gopal, If you just need some basic information or a flag to send back, you can set a channel variable. See http://www.voip-info.org/wiki-Asterisk+variables for an explanation of the channel variables, and see http://asterisk-java.org/0.3.1/apidocs/org/asteriskjava/fastagi/command/ SetVariableCommand.html for the documentation in AJ to set them. If you want to go beyond that (and anything beyond that, in my opinion, gets messy in the dialplan), you'll have to resort to SQL or wait until Asterisk AGI gets more advanced. Cheers, Martin Smith, Systems Developer ma...@be... Bureau of Economic and Business Research University of Florida (352) 392-0171 Ext. 221 ________________________________ From: ast...@li... [mailto:ast...@li...] On Behalf Of Gopal krishnan Sent: Wednesday, March 05, 2008 9:01 AM To: ast...@li... Subject: [Asterisk-java-users] fastagi output in dialplan Hi, I am using fastagi to initiate a application in java. for example if i dial a number i can able to reach a java program by fastagi exten => 1000,1,Agi(agi://localhost/hello.agi) and if need some variable that needs to be pass to java program also I can, by exten => 1000,1,Agi(agi://localhost/hello.agi?user=john) but what i am looking for is once I entered into Java program is it possible that I can give some output to my asterisk dialplan? Please assist me to goahead with this. -- Thank you with regards, Gopal, PeopleTech Systems Private Limited www.peopletech.co.in |