[Asterisk-java-users] Executing a call with agi script
Brought to you by:
srt
From: Daniele R. <dan...@gm...> - 2013-05-31 15:27:24
|
Hi, I need to make a call inside an agi script: In my public void service(AgiRequest request, AgiChannel channel) throws AgiException { I've this line: channel.exec("Dial", channel+ phoneNumber); But the call don't go out. I want to replace my dialplan in which now I've this: exten =>_XXX.,n,Dial(SIP/provider/${EXTEN}) with this: exten =>_XXX.,n,Agi(agi://localhost/chiamatevoip.agi,ph003,${EXTEN}) Thanks -- Daniele Renda |