[Asterisk-java-devel] Use park() in AGI
Brought to you by:
srt
|
From: Haamed K. <k.h...@gm...> - 2012-02-22 07:57:27
|
Hi every body,
I am using asterisk-java version: 0.3.1 also writing AGI program.
I have this code in my dial plan and i want to simulate it in my java AGI:
exten = 8002,n,Set(PARKINGEXTEN=9901)
exten = 8002,n,Park(60000,,,,s)
I used this code in my java AGI program but it doesn't work:
channel.exec("Set(PARKINGEXTEN=9901);
channel.exec("Park(60000,,,,s)");
these two line have no action ! how can i use park() aplication in AGI
program.
thanks a lot
Haamed Kouhfallah
-----------------------------
The VoIP-IRAN Manager
Email: k.h...@gm...
Web: http://www.voip-iran.com
Forum: www.voip-iran.com/forum <http:///www.voip-iran.com/forum>
|