Re: [Asterisk-java-devel] Execute multi commands
Brought to you by:
srt
From: Khanh P. N. <pn...@ho...> - 2009-04-27 23:11:59
|
Hi Martin, I have tried the way you suggested and it works now. What I have done is: setVariables("CDR(accesscode)", "123456"); Thanks a lot, KP > Date: Mon, 27 Apr 2009 13:53:23 -0400 > From: ma...@mb... > To: ast...@li... > Subject: Re: [Asterisk-java-devel] Execute multi commands > > Hi Khanh, > > Please refer to the tutorial and javadocs at asterisk-java.org/latest. > Things like AgiChannel#setVariable are a replacement for using exec with > "Set". > > Note that Dial() will disconnect your AgiScript, and usually isn't done > much in Agi scripts. > > Good luck, > > Martin > > > > Khanh Pham Ngoc wrote: > > Hi all, > > > > I have a command like as following in my dial plan: > > Set(CDR(accesscode)=123456) > > How can I execute this command with exec function of FastAgi? > > With simple dial command, I could do like this: > > exec("Dial","SIP/2000"); > > But in case I have to execute multi commands as above, I don't know how. > > Please help > > > > Thank in advance, > > KP > > > > ------------------------------------------------------------------------ > > Get news, entertainment and everything you care about at Live.com. Check > > it out! <http://www.live.com/getstarted.aspx > > > > > > > ------------------------------------------------------------------------ > > > > ------------------------------------------------------------------------------ > > Crystal Reports - New Free Runtime and 30 Day Trial > > Check out the new simplified licensign option that enables unlimited > > royalty-free distribution of the report engine for externally facing > > server and web deployment. > > http://p.sf.net/sfu/businessobjects > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Asterisk-java-devel mailing list > > Ast...@li... > > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensign option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Asterisk-java-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel _________________________________________________________________ Show them the way! Add maps and directions to your party invites. http://www.microsoft.com/windows/windowslive/products/events.aspx |