<br>Pessoal,<br>eu to fazendo conexão de asterisk com java.<br>Eu to usando FastAGI Protocol.<br><br>Como eu to só testando o meu arquivo java é esse:<br>package Pac_Ast;<br><br>public class Java_Ast extends BaseAgiScript{<br>
public void service(AgiRequest request, AgiChannel channel) throws AgiException{<br> answer();<br> streamFile("welcome");<br> hangup();<br> }<br>}<br>e o meu extensions.conf é esse:<br>
<pre>[default]<br>exten =>4021,1,Agi(agi://localhost/hello.agi)<br><br>e da dando o sequinte erro:<br></pre>Connected to Asterisk 1.4.0 currently running on edson-desktop (pid = 6065)<br>Verbosity is at least 3<br> -- Starting simple switch on '**Unknown**'<br>
[Apr 9 15:41:32] NOTICE[25769]: chan_zap.c:6369 ss_thread: Got event 18 (Ring Begin)...<br> == Starting **Unknown** at default,s,1 failed so falling back to exten 's'<br> == Starting **Unknown** at default,s,1 still failed so falling back to context 'default'<br>
[Apr 9 15:41:32] WARNING[25769]: pbx.c:2405 __ast_pbx_run: Channel '**Unknown**' sent into invalid extension 's' in context 'default', but no invalid handler<br> -- Hungup '**Unknown**'<br>
<br clear="all"><br>Agradeço Antecipadamente,<br><br>-- <br>Cleunio Bezerra de França Filho <br><br>