Re: [Asterisk-java-users] Executing a call with agi script
Brought to you by:
srt
From: Yves A. <yv...@gm...> - 2013-05-31 21:00:38
|
hi, this smells like as if you´re in need of local channels... pls. post the full context of dialplan thats used and the log from the verbose cli and java when the call is made. solution will be quite easy, but requires further knowledge of the mentioned details. yves Am 31.05.2013 17:27, schrieb Daniele Renda: > 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 > > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite > It's a free troubleshooting tool designed for production > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://p.sf.net/sfu/appdyn_d2d_ap2 > > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |