[AsteriskBrasil] format_mp3.so and calls problem

Carlos Jerónimo carjer em gmail.com
Sexta Junho 8 10:33:57 BRT 2007


Olá eu instalei o Ubuntu 6.06 e o asterisk com o comando apt-get
install asterisk.

Depois instalei o FreePbx mas quando reiniciava o asterisk na linha de
comandos acontecia o seguinte erro:
	root em hernandezz-laptop:/home/hernandezz# asterisk -rvvvvvvvvvv
Unable to connect to remote asterisk (does
/var/run/asterisk/asterisk.ctl exist?)

Eu pesquisei nos logs e reparei que o problema era o modulo
format_mp3.so não é carregado pois não existe, então no fx
modules.conf comentei a linha load => format_mp3.so e agora funciona.

/usr/lib/asterisk/modules/format_mp3.so not exists

my logs: /var/log/asterisk /full
***************************************************
***************************************************
***************************************************
Jun  8 12:18:58 NOTICE[5201] cdr.c: CDR simple logging enabled.
Jun  8 12:18:58 WARNING[5201] loader.c:
/usr/lib/asterisk/modules/format_mp3.so: cannot open shared object
file: No such file or directory
Jun  8 12:18:58 WARNING[5201] loader.c: Loading module format_mp3.so failed!
Jun  8 12:19:07 NOTICE[5215] cdr.c: CDR simple logging enabled.
Jun  8 12:19:07 WARNING[5215] loader.c:
/usr/lib/asterisk/modules/format_mp3.so: cannot open shared object
file: No such file or directory
Jun  8 12:19:07 WARNING[5215] loader.c: Loading module format_mp3.so failed!
Jun  8 12:21:55 NOTICE[5306] cdr.c: CDR simple logging enabled.
Jun  8 12:21:55 WARNING[5306] loader.c:
/usr/lib/asterisk/modules/format_mp3.so: cannot open shared object
file: No such file or directory
Jun  8 12:21:55 WARNING[5306] loader.c: Loading module format_mp3.so failed!
Jun  8 12:22:50 NOTICE[5340] cdr.c: CDR simple logging enabled.
Jun  8 12:22:50 WARNING[5340] loader.c:
/usr/lib/asterisk/modules/format_mp3.so: cannot open shared object
file: No such file or directory
Jun  8 12:22:50 WARNING[5340] loader.c: Loading module format_mp3.so failed!
Jun  8 12:24:00 NOTICE[5385] cdr.c: CDR simple logging enabled.
Jun  8 12:24:00 WARNING[5385] loader.c:
/usr/lib/asterisk/modules/format_mp3.so: cannot open shared object
file: No such file or directory
Jun  8 12:24:00 WARNING[5385] loader.c: Loading module format_mp3.so failed!
Jun  8 12:24:32 NOTICE[5436] cdr.c: CDR simple logging enabled.
Jun  8 12:24:32 WARNING[5436] loader.c:
/usr/lib/asterisk/modules/format_mp3.so: cannot open shared object
file: No such file or directory
Jun  8 12:24:32 WARNING[5436] loader.c: Loading module format_mp3.so failed!
***************************************************
***************************************************
***************************************************
Isto parece resolvido mas eu necessiot deste modulo?????

Não sei se derivado disto ou não, mas não consigo estabelecer chamadas
entre 2 extensoes.


***************************************************
***************************************************
***************************************************
Connected to Asterisk 1.2.7.1 currently running on hernandezz-laptop
(pid = 7183)
te UNIX connectionCLI>
Verbosity was 3 and is now 10
hernandezz-laptop*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status
4000/4000                  192.168.0.9      D   N      5061     UNREACHABLE
3000                       (Unspecified)    D   N      0        UNKNOWN
2000/2000                  192.168.0.3      D   N      39282    OK (100 ms)
3 sip peers [1 online , 2 offline]
    -- Saved useragent "Twinkle/0.4.2" for peer 4000
    -- Executing Macro("SIP/4000-163c", "exten-vm|novm|2000") in new stack
    -- Executing Macro("SIP/4000-163c", "user-callerid") in new stack
    -- Executing NoOp("SIP/4000-163c", "user-callerid: device 4000")
in new stack
    -- Executing GotoIf("SIP/4000-163c", "0?report") in new stack
    -- Executing GotoIf("SIP/4000-163c", "0?start") in new stack
    -- Executing Set("SIP/4000-163c", "REALCALLERIDNUM=4000") in new stack
    -- Executing NoOp("SIP/4000-163c", "REALCALLERIDNUM is 4000") in new stack
    -- Executing Set("SIP/4000-163c", "AMPUSER=4000") in new stack
    -- Executing Set("SIP/4000-163c", "AMPUSERCIDNAME=outro2") in new stack
    -- Executing GotoIf("SIP/4000-163c", "0?report") in new stack
    -- Executing Set("SIP/4000-163c", "CALLERID(all)=outro2 <4000>")
in new stack
    -- Executing Set("SIP/4000-163c", "REALCALLERIDNUM=4000") in new stack
    -- Executing NoOp("SIP/4000-163c", "TTL:  ARG1: novm") in new stack
    -- Executing GotoIf("SIP/4000-163c", "0?continue") in new stack
    -- Executing Set("SIP/4000-163c", "__TTL=64") in new stack
    -- Executing GotoIf("SIP/4000-163c", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,21)
    -- Executing NoOp("SIP/4000-163c", "Using CallerID "outro2"
<4000>") in new stack
    -- Executing Set("SIP/4000-163c", "FROMCONTEXT=exten-vm") in new stack
    -- Executing Set("SIP/4000-163c", "VMBOX=novm") in new stack
    -- Executing Set("SIP/4000-163c", "EXTTOCALL=2000") in new stack
    -- Executing Set("SIP/4000-163c", "CFUEXT=") in new stack
    -- Executing Set("SIP/4000-163c", "CFBEXT=") in new stack
    -- Executing Set("SIP/4000-163c", "RT=") in new stack
    -- Executing Macro("SIP/4000-163c", "record-enable|2000|IN") in new stack
    -- Executing GotoIf("SIP/4000-163c", "0?2:4") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing DeadAGI("SIP/4000-163c",
"recordingcheck|20070608-131412|1181308451.0") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
    -- AGI Script recordingcheck completed, returning 0
    -- Executing NoOp("SIP/4000-163c", "No recording needed") in new stack
    -- Executing Macro("SIP/4000-163c", "dial||tr|2000") in new stack
    -- Executing DeadAGI("SIP/4000-163c", "dialparties.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
    -- AGI Script dialparties.agi completed, returning 0
    -- Executing NoOp("SIP/4000-163c", "Returned from dialparties with
no extensions to call") in new stack
    -- Executing NoOp("SIP/4000-163c", "DIALSTATUS is ") in new stack
    -- Executing Set("SIP/4000-163c", "SV_DIALSTATUS=") in new stack
    -- Executing GosubIf("SIP/4000-163c", "0?docfu|1") in new stack
    -- Executing GosubIf("SIP/4000-163c", "0?docfb|1") in new stack
    -- Executing Set("SIP/4000-163c", "DIALSTATUS=") in new stack
    -- Executing NoOp("SIP/4000-163c", "Voicemail is novm") in new stack
    -- Executing GotoIf("SIP/4000-163c", "1?s-|1") in new stack
    -- Goto (macro-exten-vm,s-,1)
    -- Executing PlayTones("SIP/4000-163c", "congestion") in new stack
    -- Executing Congestion("SIP/4000-163c", "10") in new stack
  == Spawn extension (macro-exten-vm, s-, 2) exited non-zero on
'SIP/4000-163c' in macro 'exten-vm'
  == Spawn extension (macro-exten-vm, s-, 2) exited non-zero on 'SIP/4000-163c'
    -- Executing Macro("SIP/4000-68ca", "exten-vm|novm|2000") in new stack
    -- Executing Macro("SIP/4000-68ca", "user-callerid") in new stack
    -- Executing NoOp("SIP/4000-68ca", "user-callerid: device 4000")
in new stack
    -- Executing GotoIf("SIP/4000-68ca", "0?report") in new stack
    -- Executing GotoIf("SIP/4000-68ca", "0?start") in new stack
    -- Executing Set("SIP/4000-68ca", "REALCALLERIDNUM=4000") in new stack
    -- Executing NoOp("SIP/4000-68ca", "REALCALLERIDNUM is 4000") in new stack
    -- Executing Set("SIP/4000-68ca", "AMPUSER=4000") in new stack
    -- Executing Set("SIP/4000-68ca", "AMPUSERCIDNAME=outro2") in new stack
    -- Executing GotoIf("SIP/4000-68ca", "0?report") in new stack
    -- Executing Set("SIP/4000-68ca", "CALLERID(all)=outro2 <4000>")
in new stack
    -- Executing Set("SIP/4000-68ca", "REALCALLERIDNUM=4000") in new stack
    -- Executing NoOp("SIP/4000-68ca", "TTL:  ARG1: novm") in new stack
    -- Executing GotoIf("SIP/4000-68ca", "0?continue") in new stack
    -- Executing Set("SIP/4000-68ca", "__TTL=64") in new stack
    -- Executing GotoIf("SIP/4000-68ca", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,21)
    -- Executing NoOp("SIP/4000-68ca", "Using CallerID "outro2"
<4000>") in new stack
    -- Executing Set("SIP/4000-68ca", "FROMCONTEXT=exten-vm") in new stack
    -- Executing Set("SIP/4000-68ca", "VMBOX=novm") in new stack
    -- Executing Set("SIP/4000-68ca", "EXTTOCALL=2000") in new stack
    -- Executing Set("SIP/4000-68ca", "CFUEXT=") in new stack
    -- Executing Set("SIP/4000-68ca", "CFBEXT=") in new stack
    -- Executing Set("SIP/4000-68ca", "RT=") in new stack
    -- Executing Macro("SIP/4000-68ca", "record-enable|2000|IN") in new stack
    -- Executing GotoIf("SIP/4000-68ca", "0?2:4") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing DeadAGI("SIP/4000-68ca",
"recordingcheck|20070608-131415|1181308455.1") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
    -- AGI Script recordingcheck completed, returning 0
    -- Executing NoOp("SIP/4000-68ca", "No recording needed") in new stack
    -- Executing Macro("SIP/4000-68ca", "dial||tr|2000") in new stack
    -- Executing DeadAGI("SIP/4000-68ca", "dialparties.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
    -- AGI Script dialparties.agi completed, returning 0
    -- Executing NoOp("SIP/4000-68ca", "Returned from dialparties with
no extensions to call") in new stack
    -- Executing NoOp("SIP/4000-68ca", "DIALSTATUS is ") in new stack
    -- Executing Set("SIP/4000-68ca", "SV_DIALSTATUS=") in new stack
    -- Executing GosubIf("SIP/4000-68ca", "0?docfu|1") in new stack
    -- Executing GosubIf("SIP/4000-68ca", "0?docfb|1") in new stack
    -- Executing Set("SIP/4000-68ca", "DIALSTATUS=") in new stack
    -- Executing NoOp("SIP/4000-68ca", "Voicemail is novm") in new stack
    -- Executing GotoIf("SIP/4000-68ca", "1?s-|1") in new stack
    -- Goto (macro-exten-vm,s-,1)
    -- Executing PlayTones("SIP/4000-68ca", "congestion") in new stack
    -- Executing Congestion("SIP/4000-68ca", "10") in new stack
  == Spawn extension (macro-exten-vm, s-, 2) exited non-zero on
'SIP/4000-68ca' in macro 'exten-vm'
  == Spawn extension (macro-exten-vm, s-, 2) exited non-zero on 'SIP/4000-68ca'
hernandezz-laptop*CLI>
***************************************************
***************************************************
***************************************************

Alguem me pode ajudar sff?

-- 
Carlos Jerónimo


Mais detalhes sobre a lista de discussão AsteriskBrasil