O arquivo que vc comentou existe?<br><br><div><span class="gmail_quote">2007/6/8, Carlos Jerónimo <<a href="mailto:carjer@gmail.com">carjer@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Olá eu instalei o Ubuntu 6.06 e o asterisk com o comando apt-get<br>install asterisk.<br><br>Depois instalei o FreePbx mas quando reiniciava o asterisk na linha de<br>comandos acontecia o seguinte erro:<br> root@hernandezz-laptop
:/home/hernandezz# asterisk -rvvvvvvvvvv<br>Unable to connect to remote asterisk (does<br>/var/run/asterisk/asterisk.ctl exist?)<br><br>Eu pesquisei nos logs e reparei que o problema era o modulo<br>format_mp3.so não é carregado pois não existe, então no fx
<br>modules.conf comentei a linha load => format_mp3.so e agora funciona.<br><br>/usr/lib/asterisk/modules/format_mp3.so not exists<br><br>my logs: /var/log/asterisk /full<br>***************************************************
<br>***************************************************<br>***************************************************<br>Jun 8 12:18:58 NOTICE[5201] cdr.c: CDR simple logging enabled.<br>Jun 8 12:18:58 WARNING[5201] loader.c:<br>
/usr/lib/asterisk/modules/format_mp3.so: cannot open shared object<br>file: No such file or directory<br>Jun 8 12:18:58 WARNING[5201] loader.c: Loading module format_mp3.so failed!<br>Jun 8 12:19:07 NOTICE[5215] cdr.c: CDR simple logging enabled.
<br>Jun 8 12:19:07 WARNING[5215] loader.c:<br>/usr/lib/asterisk/modules/format_mp3.so: cannot open shared object<br>file: No such file or directory<br>Jun 8 12:19:07 WARNING[5215] loader.c: Loading module format_mp3.so failed!
<br>Jun 8 12:21:55 NOTICE[5306] cdr.c: CDR simple logging enabled.<br>Jun 8 12:21:55 WARNING[5306] loader.c:<br>/usr/lib/asterisk/modules/format_mp3.so: cannot open shared object<br>file: No such file or directory<br>Jun 8 12:21:55 WARNING[5306]
loader.c: Loading module format_mp3.so failed!<br>Jun 8 12:22:50 NOTICE[5340] cdr.c: CDR simple logging enabled.<br>Jun 8 12:22:50 WARNING[5340] loader.c:<br>/usr/lib/asterisk/modules/format_mp3.so: cannot open shared object
<br>file: No such file or directory<br>Jun 8 12:22:50 WARNING[5340] loader.c: Loading module format_mp3.so failed!<br>Jun 8 12:24:00 NOTICE[5385] cdr.c: CDR simple logging enabled.<br>Jun 8 12:24:00 WARNING[5385] loader.c
:<br>/usr/lib/asterisk/modules/format_mp3.so: cannot open shared object<br>file: No such file or directory<br>Jun 8 12:24:00 WARNING[5385] loader.c: Loading module format_mp3.so failed!<br>Jun 8 12:24:32 NOTICE[5436] cdr.c
: CDR simple logging enabled.<br>Jun 8 12:24:32 WARNING[5436] loader.c:<br>/usr/lib/asterisk/modules/format_mp3.so: cannot open shared object<br>file: No such file or directory<br>Jun 8 12:24:32 WARNING[5436] loader.c: Loading module format_mp3.so failed!
<br>***************************************************<br>***************************************************<br>***************************************************<br>Isto parece resolvido mas eu necessiot deste modulo?????
<br><br>Não sei se derivado disto ou não, mas não consigo estabelecer chamadas<br>entre 2 extensoes.<br><br><br>***************************************************<br>***************************************************<br>
***************************************************<br>Connected to Asterisk <a href="http://1.2.7.1">1.2.7.1</a> currently running on hernandezz-laptop<br>(pid = 7183)<br>te UNIX connectionCLI><br>Verbosity was 3 and is now 10
<br>hernandezz-laptop*CLI> sip show peers<br>Name/username Host Dyn Nat ACL Port Status<br>4000/4000 <a href="http://192.168.0.9">192.168.0.9</a> D N 5061 UNREACHABLE
<br>3000 (Unspecified) D N 0 UNKNOWN<br>2000/2000 <a href="http://192.168.0.3">192.168.0.3</a> D N 39282 OK (100 ms)<br>3 sip peers [1 online , 2 offline]
<br> -- Saved useragent "Twinkle/0.4.2" for peer 4000<br> -- Executing Macro("SIP/4000-163c", "exten-vm|novm|2000") in new stack<br> -- Executing Macro("SIP/4000-163c", "user-callerid") in new stack
<br> -- Executing NoOp("SIP/4000-163c", "user-callerid: device 4000")<br>in new stack<br> -- Executing GotoIf("SIP/4000-163c", "0?report") in new stack<br> -- Executing GotoIf("SIP/4000-163c", "0?start") in new stack
<br> -- Executing Set("SIP/4000-163c", "REALCALLERIDNUM=4000") in new stack<br> -- Executing NoOp("SIP/4000-163c", "REALCALLERIDNUM is 4000") in new stack<br> -- Executing Set("SIP/4000-163c", "AMPUSER=4000") in new stack
<br> -- Executing Set("SIP/4000-163c", "AMPUSERCIDNAME=outro2") in new stack<br> -- Executing GotoIf("SIP/4000-163c", "0?report") in new stack<br> -- Executing Set("SIP/4000-163c", "CALLERID(all)=outro2 <4000>")
<br>in new stack<br> -- Executing Set("SIP/4000-163c", "REALCALLERIDNUM=4000") in new stack<br> -- Executing NoOp("SIP/4000-163c", "TTL: ARG1: novm") in new stack<br> -- Executing GotoIf("SIP/4000-163c", "0?continue") in new stack
<br> -- Executing Set("SIP/4000-163c", "__TTL=64") in new stack<br> -- Executing GotoIf("SIP/4000-163c", "1?continue") in new stack<br> -- Goto (macro-user-callerid,s,21)<br>
-- Executing NoOp("SIP/4000-163c", "Using CallerID "outro2"<br><4000>") in new stack<br> -- Executing Set("SIP/4000-163c", "FROMCONTEXT=exten-vm") in new stack
<br> -- Executing Set("SIP/4000-163c", "VMBOX=novm") in new stack<br> -- Executing Set("SIP/4000-163c", "EXTTOCALL=2000") in new stack<br> -- Executing Set("SIP/4000-163c", "CFUEXT=") in new stack
<br> -- Executing Set("SIP/4000-163c", "CFBEXT=") in new stack<br> -- Executing Set("SIP/4000-163c", "RT=") in new stack<br> -- Executing Macro("SIP/4000-163c", "record-enable|2000|IN") in new stack
<br> -- Executing GotoIf("SIP/4000-163c", "0?2:4") in new stack<br> -- Goto (macro-record-enable,s,4)<br> -- Executing DeadAGI("SIP/4000-163c",<br>"recordingcheck|20070608-131412|1181308451.0") in new stack
<br> -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck<br> -- AGI Script recordingcheck completed, returning 0<br> -- Executing NoOp("SIP/4000-163c", "No recording needed") in new stack
<br> -- Executing Macro("SIP/4000-163c", "dial||tr|2000") in new stack<br> -- Executing DeadAGI("SIP/4000-163c", "dialparties.agi") in new stack<br> -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
<br> -- AGI Script dialparties.agi completed, returning 0<br> -- Executing NoOp("SIP/4000-163c", "Returned from dialparties with<br>no extensions to call") in new stack<br> -- Executing NoOp("SIP/4000-163c", "DIALSTATUS is ") in new stack
<br> -- Executing Set("SIP/4000-163c", "SV_DIALSTATUS=") in new stack<br> -- Executing GosubIf("SIP/4000-163c", "0?docfu|1") in new stack<br> -- Executing GosubIf("SIP/4000-163c", "0?docfb|1") in new stack
<br> -- Executing Set("SIP/4000-163c", "DIALSTATUS=") in new stack<br> -- Executing NoOp("SIP/4000-163c", "Voicemail is novm") in new stack<br> -- Executing GotoIf("SIP/4000-163c", "1?s-|1") in new stack
<br> -- Goto (macro-exten-vm,s-,1)<br> -- Executing PlayTones("SIP/4000-163c", "congestion") in new stack<br> -- Executing Congestion("SIP/4000-163c", "10") in new stack<br>
== Spawn extension (macro-exten-vm, s-, 2) exited non-zero on<br>'SIP/4000-163c' in macro 'exten-vm'<br> == Spawn extension (macro-exten-vm, s-, 2) exited non-zero on 'SIP/4000-163c'<br> -- Executing Macro("SIP/4000-68ca", "exten-vm|novm|2000") in new stack
<br> -- Executing Macro("SIP/4000-68ca", "user-callerid") in new stack<br> -- Executing NoOp("SIP/4000-68ca", "user-callerid: device 4000")<br>in new stack<br> -- Executing GotoIf("SIP/4000-68ca", "0?report") in new stack
<br> -- Executing GotoIf("SIP/4000-68ca", "0?start") in new stack<br> -- Executing Set("SIP/4000-68ca", "REALCALLERIDNUM=4000") in new stack<br> -- Executing NoOp("SIP/4000-68ca", "REALCALLERIDNUM is 4000") in new stack
<br> -- Executing Set("SIP/4000-68ca", "AMPUSER=4000") in new stack<br> -- Executing Set("SIP/4000-68ca", "AMPUSERCIDNAME=outro2") in new stack<br> -- Executing GotoIf("SIP/4000-68ca", "0?report") in new stack
<br> -- Executing Set("SIP/4000-68ca", "CALLERID(all)=outro2 <4000>")<br>in new stack<br> -- Executing Set("SIP/4000-68ca", "REALCALLERIDNUM=4000") in new stack<br> -- Executing NoOp("SIP/4000-68ca", "TTL: ARG1: novm") in new stack
<br> -- Executing GotoIf("SIP/4000-68ca", "0?continue") in new stack<br> -- Executing Set("SIP/4000-68ca", "__TTL=64") in new stack<br> -- Executing GotoIf("SIP/4000-68ca", "1?continue") in new stack
<br> -- Goto (macro-user-callerid,s,21)<br> -- Executing NoOp("SIP/4000-68ca", "Using CallerID "outro2"<br><4000>") in new stack<br> -- Executing Set("SIP/4000-68ca", "FROMCONTEXT=exten-vm") in new stack
<br> -- Executing Set("SIP/4000-68ca", "VMBOX=novm") in new stack<br> -- Executing Set("SIP/4000-68ca", "EXTTOCALL=2000") in new stack<br> -- Executing Set("SIP/4000-68ca", "CFUEXT=") in new stack
<br> -- Executing Set("SIP/4000-68ca", "CFBEXT=") in new stack<br> -- Executing Set("SIP/4000-68ca", "RT=") in new stack<br> -- Executing Macro("SIP/4000-68ca", "record-enable|2000|IN") in new stack
<br> -- Executing GotoIf("SIP/4000-68ca", "0?2:4") in new stack<br> -- Goto (macro-record-enable,s,4)<br> -- Executing DeadAGI("SIP/4000-68ca",<br>"recordingcheck|20070608-131415|1181308455.1") in new stack
<br> -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck<br> -- AGI Script recordingcheck completed, returning 0<br> -- Executing NoOp("SIP/4000-68ca", "No recording needed") in new stack
<br> -- Executing Macro("SIP/4000-68ca", "dial||tr|2000") in new stack<br> -- Executing DeadAGI("SIP/4000-68ca", "dialparties.agi") in new stack<br> -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
<br> -- AGI Script dialparties.agi completed, returning 0<br> -- Executing NoOp("SIP/4000-68ca", "Returned from dialparties with<br>no extensions to call") in new stack<br> -- Executing NoOp("SIP/4000-68ca", "DIALSTATUS is ") in new stack
<br> -- Executing Set("SIP/4000-68ca", "SV_DIALSTATUS=") in new stack<br> -- Executing GosubIf("SIP/4000-68ca", "0?docfu|1") in new stack<br> -- Executing GosubIf("SIP/4000-68ca", "0?docfb|1") in new stack
<br> -- Executing Set("SIP/4000-68ca", "DIALSTATUS=") in new stack<br> -- Executing NoOp("SIP/4000-68ca", "Voicemail is novm") in new stack<br> -- Executing GotoIf("SIP/4000-68ca", "1?s-|1") in new stack
<br> -- Goto (macro-exten-vm,s-,1)<br> -- Executing PlayTones("SIP/4000-68ca", "congestion") in new stack<br> -- Executing Congestion("SIP/4000-68ca", "10") in new stack<br>
== Spawn extension (macro-exten-vm, s-, 2) exited non-zero on<br>'SIP/4000-68ca' in macro 'exten-vm'<br> == Spawn extension (macro-exten-vm, s-, 2) exited non-zero on 'SIP/4000-68ca'<br>hernandezz-laptop*CLI>
<br>***************************************************<br>***************************************************<br>***************************************************<br><br>Alguem me pode ajudar sff?<br><br>--<br>Carlos Jerónimo
<br>----------------------------------------<br>Estação VoIP 2006<br>5 e 6 Dezembro<br>Curitiba PR<br><a href="http://www.estacaovoip.com.br">http://www.estacaovoip.com.br</a><br><br>_______________________________________________
<br>LIsta de discussões AsteriskBrasil.org<br><a href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">AsteriskBrasil@listas.asteriskbrasil.org</a><br><a href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil">
http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</a><br><br>_______________________________________________<br>Acesse o wiki AsteriskBrasil.org:<br><a href="http://www.asteriskbrasil.org">http://www.asteriskbrasil.org
</a><br></blockquote></div><br><br clear="all"><br>-- <br>Whinston Saura Rodrigues<br> BoxBrasil