gleydsonnn
(usa Ubuntu)
Enviado em 14/09/2015 - 23:53h
Olá sou iniciante com asterisk gostaria de uma ajuda no asterisk em minha VM ao ao efetuar a chamada não estou recebendo no outro ramal.
Alguém será pode me informar o que pode estar acontecendo
== Using SIP RTP CoS mark 5
-- Executing [08005000@atendimento:1] Goto("SIP/1003-00000024", "ura,s,1") in new stack
-- Goto (ura,s,1)
-- Executing [s@ura:1] Answer("SIP/1003-00000024", "") in new stack
-- Executing [s@ura:2] Ringing("SIP/1003-00000024", "") in new stack
-- Executing [s@ura:3] NoOp("SIP/1003-00000024", "Chamada entrou na ura") in new stack
-- Executing [s@ura:4] BackGround("SIP/1003-00000024", "/var/lib/asterisk/sounds/empresa/bemVindo") in new stack
-- <SIP/1003-00000024> Playing '/var/lib/asterisk/sounds/empresa/bemVindo.alaw' (language 'en')
[Sep 14 23:49:44] NOTICE[4450]: channel.c:4280 __ast_read: Dropping incompatible voice frame on SIP/1003-00000024 of format ulaw since our native format has changed to 0x2 (gsm)
[Sep 14 23:49:49] NOTICE[4450]: res_rtp_asterisk.c:2382 ast_rtp_read: Unknown RTP codec 72 received from '179.213.49.210:60412'
[Sep 14 23:49:54] NOTICE[4450]: res_rtp_asterisk.c:2382 ast_rtp_read: Unknown RTP codec 72 received from '179.213.49.210:60412'
-- Executing [2@ura:1] NoOp("SIP/1003-00000024", "Chamada foi para o comercial") in new stack
-- Executing [2@ura:2] Playback("SIP/1003-00000024", "/var/lib/asterisk/sounds/empresa/comercial") in new stack
-- <SIP/1003-00000024> Playing '/var/lib/asterisk/sounds/empresa/comercial.alaw' (language 'en')
-- Executing [2@ura:3] Dial("SIP/1003-00000024", ",30") in new stack
[Sep 14 23:50:01] WARNING[4450]: app_dial.c:2072 dial_exec_full: Dial requires an argument (technology/number)
== Spawn extension (ura, 2, 3) exited non-zero on 'SIP/1003-00000024'
debian*CLI>
asterisk.conf
[globals]
SUPORTE=SIP/1000
COMERCIAL=SIP/1001
SECRETARIA=SIP/1002
[atendimento]
include=>gravacao
include=>empresa
exten=> 08005000,1,Goto(ura,s,1)
[empresa]
exten=> _10xx,1,Dial(SIP/${EXTEN}30)
exten=> _10xx,1,HangUp()
[ura]
exten=>s,1,Answer
exten=>s,n,Ringing
exten=>s,n,NoOp(Chamada entrou na ura)
exten=>s,n,Background(/var/lib/asterisk/sounds/empresa/bemVindo)
exten=>s,n,NoOp(Digite para falar com o suporte ou 2 para falar com o setor comer$
exten=>s,n,WaitExten(6)
exten=>1,n,PlayBack(/var/lib/asterisk/sounds/empresa/suporte)
exten=>1,n,Dial(SIP/1000,30)
exten=>1,n,HangUp()
exten=>2,1,NoOp(Chamada foi para o comercial)
exten=>2,n,PlayBack(/var/lib/asterisk/sounds/empresa/comercial)
exten=>2,n,Dial(${COMERCIAL},30)
exten=>2,n,HangUp()
exten=>t,1,NoOp(O tempo para foi esgotado)
exten=>t,n,PlayBack(/var/lib/asterisk/sounds/empresa/tempo_esgotado)
exten=>t,n,Dial(${SECRETARIA},10)
exten=>t,n,Voicemail()
exten=>t,n,HangUp()
[gravacao]
exten=>500,1,Wait(1)
exten=>500,n,PlayBack(beep)
exten=>500,n,Record(/var/lib/asterisk/sounds/empresa/bemVindo:alaw)
exten=>500,n,HangUp()
exten=>501,1,Wait(1)
exten=>501,n,PlayBack(beep)
exten=>501,n,Record(/var/lib/asterisk/sounds/empresa/suporte:alaw)
exten=>501,n,HangUp()
exten=>502,1,Wait(1)
exten=>502,n,PlayBack(beep)
exten=>502,n,Record(/var/lib/asterisk/sounds/empresa/comercial:alaw)
exten=>502,n,HangUp()
exten=>503,1,Wait(1)
exten=>503,n,PlayBack(beep)
exten=>503,n,Record(/var/lib/asterisk/sounds/empresa/tempo_esgotado:alaw)
exten=>503,n,HangUp()