[AsteriskBrasil] Problema com Voicemail
Danilo do Vale
danilo_vale em uol.com.br
Quarta Março 8 15:07:19 BRT 2006
Pessoal,
Instalei o asterisk usando o fedora 4 com seguinte versão Asterisk
SVN-branch-1.2-r7497 built by root @ pabx on a i686 running Linux on
2006-02-23 15:57:20 UTC
A questão é que fiz as configurações como verão abaixo, mas quando o
ramal não atender deveria cair na caixa postal, mas infelizmente esta
dando erro, alem que quando disca 9090 para acessar o VoiceMailMain
entra no sistema mas quando digita por exemplo login 3000 e senha 3000,
diz que senha não confere
Caso senha necessario mais informação favor informar
Agradeço a colaboração
Danilo
msn:danilo_vale em hotmail.com
skype:danilo_vale
-- Executing Dial("SIP/3000-9393", "SIP/4000|30|tTmw}") in new stack
-- Called 4000
-- Started music on hold, class 'default', on channel 'SIP/3000-9393'
-- SIP/4000-f72e is ringing
-- Nobody picked up in 30000 ms
-- Stopped music on hold on SIP/3000-9393
-- Executing VoiceMail("SIP/3000-9393", "u4000") in new stack
Mar 8 11:51:10 WARNING[2794]: app_voicemail.c:2384 leave_voicemail: No
entry in voicemail config file for '4000'
-- Executing VoiceMail("SIP/3000-9393", "b4000") in new stack
Mar 8 11:51:10 WARNING[2794]: app_voicemail.c:2384 leave_voicemail: No
entry in voicemail config file for '4000'
-- Executing Hangup("SIP/3000-9393", "") in new stack
== Spawn extension (ramais, 4000, 4) exited non-zero on 'SIP/3000-9393'
-- Executing Goto("SIP/3000-b59c", "caixademensagem|s|1") in new stack
-- Goto (caixademensagem,s,1)
-- Executing VoiceMailMain("SIP/3000-b59c", "") in new stack
-- Playing 'vm-login' (language 'br')
-- Playing 'vm-password' (language 'br')
-- Incorrect password '3000' for user '3000' (context = default)
-- Playing 'vm-incorrect-mailbox' (language 'br')
#####extensions.conf#####
[general]
static=yes
writeprotect=no
autofallthrough=no
clearglobalvars=no
priorityjumping=no
[globals]
recepcao=SIP/3000
vendas=SIP/4000
financeiro=SIP/5000
suporte=SIP/6000
linhas=ZAP/g1
[entrada]
include=expediente|7:30-17:30|mon-fri|*|*
include=foradoexpediente|17:31-7:29|mon-fri|*|*
include=foradoexpediente|*|sat-sun|*|*
[expediente]
exten=s,1,Goto(menuprincipal,s,1)
[foradoexpediente]
exten=s,1,Goto(recepcao,s,1)
[menuprincipal]
exten=s,1,Answer
exten=s,2,Set(TIMEOUT(response)=5)
exten=s,3,Background(atendimento)
exten=1,1,Goto(vendas,s,1)
exten=2,1,Goto(financeiro,s,1)
exten=3,1,Goto(suporte,s,1)
exten=t,1,Goto(recepcao,s,1)
exten=i,1,Goto(recepcao,s,1)
exten=_40XX,1,Dial(SIP/${EXTEN},30,tTmw})
exten=_40XX,2,Voicemail(u${EXTEN})
exten=_40XX,3,Voicemail(b${EXTEN})
exten=_40XX,4,Hangup
exten=_50XX,1,Dial(SIP/${EXTEN},30,tTmw})
exten=_50XX,2,Voicemail(u${EXTEN})
exten=_50XX,3,Voicemail(b${EXTEN})
exten=_50XX,4,Hangup
exten=_60XX,1,Dial(SIP/${EXTEN},30,tTmw})
exten=_60XX,2,Voicemail(u${EXTEN})
exten=_60XX,3,Voicemail(b${EXTEN})
exten=_60XX,4,Hangup
exten=_30XX,1,Dial(SIP/${EXTEN},30,tTmw})
exten=_30XX,2,Voicemail(u${EXTEN})
exten=_30XX,3,Hangup
exten=_30XX,4,Voicemail(b${EXTEN})
exten=_30XX,5,Hangup
exten=9090,1,Goto(caixademensagem,s,1)
exten=9090,2,Hangup
exten=22,1,Wait(2)
exten=22,2,Record(serviconaoautorizado:gsm)
exten=22,3,wait(2)
exten=22,4,Playback(serviconaoautorizado)
exten=22,5,Wait(2)
exten=22,6,Hangup
exten=24,1,Wait(2)
exten=24,2,Record(atendimento:gsm)
exten=24,3,wait(2)
exten=24,4,Playback(atendimento)
exten=24,5,Wait(2)
exten=24,6,Hangup
include=ramais
include=parkedcalls
[caixademensagem]
exten=s,1,VoiceMailMain
exten=s,2,Hangup
[restrito]
include=ramais
[vendas]
exten=s,1,Dial(${vendas},30)
exten=s,2,Voicemail(u${vendas})
exten=s,3,Voicemail(b${vendas})
exten=s,4,Hangup
[financeiro]
exten=s,1,Dial(${vendas},30)
exten=s,2,Voicemail(u${financeiro})
exten=s,3,Voicemail(b${financeiro})
exten=s,4,Hangup
[suporte]
exten=s,1,Dial(${suporte},30)
exten=s,2,Voicemail(u${suporte})
exten=s,3,Hangup
exten=s,4,Voicemail(b${suporte})
exten=s,5,Hangup
[recepcao]
exten=s,1,Dial(${recepcao},30)
exten=s,2,Voicemail(u${recepcao:4})
exten=s,4,Busy
exten=s,5,Hangup
;exten=s,6,Voicemail(b${recepcaob})
;exten=s,7,Hangup
;exten=s,103,Voicemail(u${recepcaou})
;exten=s,104,Hangup
;exten=s,105,Voicemail(u${recepcaob})
;exten=s,106,Hangup
[ramais]
exten=0,1,Answer
exten=0,2,Set(TIMEOUT(digit)=5)
exten=0,3,Set(TIMEOUT(response)=5)
exten=0,4,Playtones(dial)
exten=0,5,Read(primeiro,,1)
exten=0,6,StopPlaytones
exten=0,7,Read(check,,3)
exten=0,8,Read(resto,,6)
exten=0,9,GotoIf($["${primeiro}${check}" = "0800"]?10:11})
exten=0,10,Dial(ZAP/g1/${primeiro}${check}${resto},30,m)
exten=0,11,Playback(serviconaoautorizado)
exten=0,12,Hangup
include=menuprincipal
[local]
exten=0,1,Answer
exten=0,2,Set(TIMEOUT(digit)=5)
exten=0,3,Set(TIMEOUT(response)=5)
exten=0,4,Playtones(dial)
exten=0,5,Read(primeiro,,1)
exten=0,6,StopPlaytones
exten=0,7,Read(resto,,7)
exten=0,8,GotoIf($["${primeiro}" = "9"]?11:10})
exten=0,9,GotoIf($["${primeiro}" = "8"]?11:10})
exten=0,10,Dial(ZAP/g1/${primeiro}${resto},30,m)
exten=0,11,Playback(serviconaoautorizado)
exten=0,12,Hangup
include=menuprincipal
include=local
[ddd]
exten=0,1,Answer
exten=0,2,Set(TIMEOUT(digit)=5)
exten=0,3,Set(TIMEOUT(response)=5)
exten=0,4,Playtones(dial)
exten=0,5,Read(primeiro,,1)
exten=0,6,StopPlaytones
exten=0,7,Read(resto,,12)
exten=0,8,Dial(ZAP/g1/${primeiro}${resto},30,m)
include=menuprincipal
include=ddd
[ddi]
exten=0,1,Answer
exten=0,2,Set(TIMEOUT(digit)=10)
exten=0,3,Set(TIMEOUT(response)=10)
exten=0,4,Playtones(dial)
exten=0,5,Read(primeiro,,1)
exten=0,6,StopPlaytones
exten=0,7,Read(resto,,18)
exten=0,8,Dial(Zap/g1/${primeiro}${resto})
include=menuprincipal
include=ddi
########voicemail.conf##########
cat /etc/asterisk/voicemail.conf
[general]
format=gsm
serveremail=asterisk
attach=yes
maxmsg=30
maxmessage=60
minmessage=5
maxgreet=20
skipms=3000
maxsilence=10
silencethreshold=128
maxlogins=3
callback=fromvm
[zonemessages]
eastern=America/Sao_Paulo|'vm-received' Q 'digits/at' R
[ramais]
3000=3000,Usuario1
[local]
4000=4000,Usuario2
[ddd]
5000=5000,Usuario3
[ddi]
6000=6000,Usuario4
Mais detalhes sobre a lista de discussão AsteriskBrasil