Re: [Asterisk-java-devel] Use park() in AGI
Brought to you by:
srt
|
From: <Jac...@L-...> - 2012-02-22 13:41:03
|
I would try:
channel.setVariable(“PARKINGEXTEN”,”9901);
channel.exec(“Park”,”60000,,,,s”);
Jacob
From: Haamed Kouhfallah [mailto:k.h...@gm...]
Sent: Wednesday, February 22, 2012 1:57 AM
To: ast...@li...
Subject: [Asterisk-java-devel] Use park() in AGI
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 <http://www.voip-iran.com>
Forum: www.voip-iran.com/forum <http://www.voip-iran.com/forum>
|