Re: [Asterisk-java-devel] Execute multi commands
Brought to you by:
srt
From: Martin B. S. <ma...@mb...> - 2009-04-27 17:53:34
|
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 |