Coloca teu dialplan, context, sip.conf aqui, nao esquece de mascarar as 
senhas, o problemapode ser alguma variável do dialplan, eu uso somente ael, mas 
vejo o que da pra fazer.


Hudson 
048 8413 7000
Para quem nao cre, nenhuma prova converte,Para aquele que cre, nenhuma prova 
precisa.

Date: Fri, 28 Sep 2012 17:54:37 -0300
From: dantasrot...@gmail.com
To: asteriskbrasil@listas.asteriskbrasil.org
Subject: Re: [AsteriskBrasil] Tronco da azzu caindo no menu

Erro corrigido, porem o problema continua. As vezes cai no menu outras não. Se 
restarto o asterisk o problema para . Funciona por um tempo e começa novamente.


No Log abaixo disquei para o numero azzu e caiu no menu. Ouvi todos os prompts 
e não fiz nada. O prompt repetiu, e mandei discar para o ramal 6004. Ai o ramal 
tocou.


Alguma idéia?

Really destroying SIP dialog '192a642d7d7e4ea25943c9654a64fe46@172.16.64.240' 
Method: OPTIONS
    -- Executing [s@default:1] Ringing("SIP/201.48.113.130-00ee0004", "") in 
new stack    -- Executing [s@default:2] Wait("SIP/201.48.113.130-00ee0004", 
"1") in new stack
    -- Executing [s@default:3] Answer("SIP/201.48.113.130-00ee0004", "") in new 
stack    -- Executing [s@default:4] Wait("SIP/201.48.113.130-00ee0004", "1") in 
new stack
    -- Executing [s@default:5] BackGround("SIP/201.48.113.130-00ee0004", 
"thank-you-for-calling") in new stack    -- <SIP/201.48.113.130-00ee0004> 
Playing 'thank-you-for-calling' (language 'en')
    -- Executing [s@default:6] BackGround("SIP/201.48.113.130-00ee0004", 
"if-u-know-ext-dial") in new stack    -- <SIP/201.48.113.130-00ee0004> Playing 
'if-u-know-ext-dial' (language 'en')
    -- Executing [s@default:7] BackGround("SIP/201.48.113.130-00ee0004", 
"otherwise") in new stack    -- <SIP/201.48.113.130-00ee0004> Playing 
'otherwise' (language 'en')
    -- Executing [s@default:8] BackGround("SIP/201.48.113.130-00ee0004", 
"to-reach-operator") in new stack    -- <SIP/201.48.113.130-00ee0004> Playing 
'to-reach-operator' (language 'en')
    -- Executing [s@default:9] BackGround("SIP/201.48.113.130-00ee0004", 
"pls-hold-while-try") in new stack    -- <SIP/201.48.113.130-00ee0004> Playing 
'pls-hold-while-try' (language 'en')
    -- Executing [s@default:10] WaitExten("SIP/201.48.113.130-00ee0004", "6") 
in new stack    -- Timeout on SIP/201.48.113.130-00ee0004, continuing...    -- 
Executing [s@default:11] Goto("SIP/201.48.113.130-00ee0004", "s|1") in new stack
    -- Goto (default,s,1)    -- Executing [s@default:1] 
Ringing("SIP/201.48.113.130-00ee0004", "") in new stack    -- Executing 
[s@default:2] Wait("SIP/201.48.113.130-00ee0004", "1") in new stack
    -- Executing [s@default:3] Answer("SIP/201.48.113.130-00ee0004", "") in new 
stack    -- Executing [s@default:4] Wait("SIP/201.48.113.130-00ee0004", "1") in 
new stack
    -- Executing [s@default:5] BackGround("SIP/201.48.113.130-00ee0004", 
"thank-you-for-calling") in new stack    -- <SIP/201.48.113.130-00ee0004> 
Playing 'thank-you-for-calling' (language 'en')
    -- Executing [s@default:6] BackGround("SIP/201.48.113.130-00ee0004", 
"if-u-know-ext-dial") in new stack    -- <SIP/201.48.113.130-00ee0004> Playing 
'if-u-know-ext-dial' (language 'en')
    -- Executing [s@default:7] BackGround("SIP/201.48.113.130-00ee0004", 
"otherwise") in new stack    -- <SIP/201.48.113.130-00ee0004> Playing 
'otherwise' (language 'en')
    -- Executing [s@default:8] BackGround("SIP/201.48.113.130-00ee0004", 
"to-reach-operator") in new stack    -- <SIP/201.48.113.130-00ee0004> Playing 
'to-reach-operator' (language 'en')
    -- Executing [s@default:9] BackGround("SIP/201.48.113.130-00ee0004", 
"pls-hold-while-try") in new stack    -- <SIP/201.48.113.130-00ee0004> Playing 
'pls-hold-while-try' (language 'en')
    -- Executing [s@default:10] WaitExten("SIP/201.48.113.130-00ee0004", "6") 
in new stack  == CDR updated on SIP/201.48.113.130-00ee0004    -- Executing 
[6004@default:1] Dial("SIP/201.48.113.130-00ee0004", "SIP/6004|20|tT") in new 
stack
    -- Called 6004    -- SIP/6004-0237bfe4 is ringing

2012/9/28 Daviramos Roussenq Fortunato <daviramo...@gmail.com>

Primeiro arrume esse erro:
[Sep 27 18:45:56] WARNING[23553]: pbx.c:2483 __ast_pbx_run: Channel 
'SIP/201.48.113.130-00ec4004' sent into invalid extension 'o' in context 
'default', but no invalid handler 


extensão o no context default. Depois teste novamente.

2012/9/27 Erick Dantas Rotole <dantasrot...@gmail.com>


Pessoal,
Tenho um tronco da azzu direcionado para um ring group ramal 6004 e 6009. 
Acontece que várias vezes o quando o asterisk recebe uma chamada ele 
redireciona para o menu sem tocar os ramais.  Do menu seu eu mando discar para 
o ramal 6004 a ligação é direcionada para o ramal. Isto é o ramal não está 
fora. Mais estranho ainda é que não encontrei no log informando a razão dele 
não ter tocado os ramais e redirecionado para o menu.




Obs: asterisk 1.4 em um ipbx apliance

Agradeço toda ajuda.


Log quando o problema ocorre:





Connected to Asterisk 1.4.21.2 currently running on pbxer (pid = 
8356)pbxer*CLI> core set debug 5Core debug was 0 and is now 5pbxer*CLI> core 
set verbose 5


Verbosity was 0 and is now 5Really destroying SIP dialog 
'08c0787c7d5191e050f101ae742bd181@172.16.64.240' Me

Really destroying SIP dialog '430fdc243004aa363ac78e89349dd282@172.16.64.240' Me
pbxer*CLI>pbxer*CLI>pbxer*CLI>pbxer*CLI>pbxer*CLI>pbxer*CLI>pbxer*CLI>pbxer*CLI>pbxer*CLI>


pbxer*CLI>pbxer*CLI>pbxer*CLI>pbxer*CLI>pbxer*CLI>pbxer*CLI>pbxer*CLI>pbxer*CLI>pbxer*CLI>pbxer*CLI>


Really destroying SIP dialog '11cf3ecf556898e36ccde77169b783d9@172.16.64.240' 
MeReally destroying SIP dialog '290c54190f4dac7f4a866eed44978c8a@172.16.64.240' 
Method: OPTIONS


    -- Executing [s@default:1] Ringing("SIP/201.48.113.130-00ec4004", "") in 
new stack    -- Executing [s@default:2] Wait("SIP/201.48.113.130-00ec4004", 
"1") in new stack


    -- Executing [s@default:3] Answer("SIP/201.48.113.130-00ec4004", "") in new 
stack    -- Executing [s@default:4] Wait("SIP/201.48.113.130-00ec4004", "1") in 
new stack


    -- Executing [s@default:5] BackGround("SIP/201.48.113.130-00ec4004", 
"thank-you-for-calling") in new stack    -- <SIP/201.48.113.130-00ec4004> 
Playing 'thank-you-for-calling' (language 'en')


    -- Executing [s@default:6] BackGround("SIP/201.48.113.130-00ec4004", 
"if-u-know-ext-dial") in new stack    -- <SIP/201.48.113.130-00ec4004> Playing 
'if-u-know-ext-dial' (language 'en')


Really destroying SIP dialog '21d89d596d336c0e2a7301ba57ac70f8@172.16.64.240' 
Method: OPTIONS    -- Executing [s@default:7] 
BackGround("SIP/201.48.113.130-00ec4004", "otherwise") in new stack


    -- <SIP/201.48.113.130-00ec4004> Playing 'otherwise' (language 'en')    -- 
Executing [s@default:8] BackGround("SIP/201.48.113.130-00ec4004", 
"to-reach-operator") in new stack


    -- <SIP/201.48.113.130-00ec4004> Playing 'to-reach-operator' (language 
'en')    -- Executing [s@default:9] BackGround("SIP/201.48.113.130-00ec4004", 
"pls-hold-while-try") in new stack


    -- <SIP/201.48.113.130-00ec4004> Playing 'pls-hold-while-try' (language 
'en')    -- Executing [s@default:10] WaitExten("SIP/201.48.113.130-00ec4004", 
"6") in new stack


    -- Timeout on SIP/201.48.113.130-00ec4004, continuing...    -- Executing 
[s@default:11] Goto("SIP/201.48.113.130-00ec4004", "o|1") in new stack    -- 
Goto (default,o,1)


[Sep 27 18:45:56] WARNING[23553]: pbx.c:2483 __ast_pbx_run: Channel 
'SIP/201.48.113.130-00ec4004' sent into invalid extension 'o' in context 
'default', but no invalid handlerReally destroying SIP dialog 
'727e16094d8d2d77087b97e20da50aec@201.48.113.130' Method: ACK


Really destroying SIP dialog '74ce63f1248430b2016c777e5e930405@172.16.64.240' 
Method: OPTIONSReally destroying SIP dialog 
'6bd694513d9a470e4248e4477df720ce@172.16.64.240' Method: OPTIONS








Partes relevantes do extension.conf

[default]exten = s,1,Ringing


exten = s,n,Wait(1)exten = s,n,Answerexten = s,n,Wait(1)exten = 
s,n,Background(thank-you-for-calling)exten = 
s,n,Background(if-u-know-ext-dial)exten = s,n,Background(otherwise)


exten = s,n,Background(to-reach-operator)exten = 
s,n,Background(pls-hold-while-try)exten = s,n,WaitExten(6)exten = 
s,n,goto(o,1)exten = 8000,1,Goto(s,1)exten = 8050,1,VoiceMailMain


exten = *99,1,system(ifconfig | grep inet | awk NR==2 | cut -d:  -f2 | cut -d\' 
\' -f1 > /tmp/ifconfig_output)exten = 
*99,n,readfile(IPADDRESS=/tmp/ifconfig_output)exten = 
*99,n,SayAlpha(${IPADDRESS})


exten = *99,n,Congestion(30)exten = *99,n,hangup


[DID_1206XXXX]include = DID_1206XXXX_default
[DID_1206XXXX_default]


exten = s,1,Goto(ringroups-custom-1|s|1)
[ringroups-custom-1]exten = s,1,NoOp(idealsolucao)exten = 
s,n,Dial(SIP/6004&SIP/6009,20,i)exten = s,n,Hangup



user.conf
[1206XXXX]context = DID_1206XXXXhost = registrar.azzu.com.brtrunkname = 
azzutrunk ; GUI metadata


username = 1206XXXXsecret = XXXXXXhasiax = noregisteriax = nohassip = 
yesregistersip = yestrunkstyle = voiphasexten = nofromdomain = azzu


fromuser = 1206XXXXinsecure = port,inviteport = 5060nat = yesdomain = 
azzudtmfmode = rfc2833reinvite = nocanreinvite = nodisallow = all


allow = alaw,ulaw,gsm

-- 
Erick Dantas Rotole



_______________________________________________

KHOMP Inovação: External Board Series

Módulos de 1/2 rack e 1U para todas as interfaces e soluções Asterisk e 
FreeSWITCH.

Tenha a External Series Experience na sua aplicação. Visite www.khomp.com

_______________________________________________

DIGIVOICE  Fabricante de Placas de Voz e Channel Bank

20 anos de experiência com E1(R2/ISDN), FXS, FXO e GSM

Centro Treinamento - Curso de PABX IP -  Asterisk  - Site  www.digivoice.com.br

________

YEALINK: Telefones IP e VídeoPhones IP com o melhor custo/benefício do mercado.

email: yeal...@commlogik.com.br | www.commlogik.com.br | (11) 5503-1011



______________________________________________

Para remover seu email desta lista, basta enviar um email em branco para 
asteriskbrasil-unsubscr...@listas.asteriskbrasil.org




-- 
Atenciosamente
Daviramos Roussenq Fortunato



_______________________________________________

KHOMP Inovação: External Board Series

Módulos de 1/2 rack e 1U para todas as interfaces e soluções Asterisk e 
FreeSWITCH.

Tenha a External Series Experience na sua aplicação. Visite www.khomp.com

_______________________________________________

DIGIVOICE  Fabricante de Placas de Voz e Channel Bank

20 anos de experiência com E1(R2/ISDN), FXS, FXO e GSM

Centro Treinamento - Curso de PABX IP -  Asterisk  - Site  www.digivoice.com.br

________

YEALINK: Telefones IP e VídeoPhones IP com o melhor custo/benefício do mercado.

email: yeal...@commlogik.com.br | www.commlogik.com.br | (11) 5503-1011

______________________________________________

Para remover seu email desta lista, basta enviar um email em branco para 
asteriskbrasil-unsubscr...@listas.asteriskbrasil.org



-- 
Erick Dantas Rotole



_______________________________________________
KHOMP Inova��o: External Board Series
M�dulos de 1/2 rack e 1U para todas as interfaces e solu��es Asterisk e 
FreeSWITCH.
Tenha a External Series Experience na sua aplica��o. Visite�www.khomp.com
_______________________________________________
DIGIVOICE  Fabricante de Placas de Voz e Channel Bank
20 anos de experi�ncia com E1(R2/ISDN), FXS, FXO e GSM
Centro Treinamento - Curso de PABX IP -  Asterisk  - Site  www.digivoice.com.br
________
YEALINK: Telefones IP e V�deoPhones IP com o melhor custo/benef�cio do mercado.
email: yeal...@commlogik.com.br | www.commlogik.com.br | (11) 5503-1011
______________________________________________
Para remover seu email desta lista, basta enviar um email em branco para 
asteriskbrasil-unsubscr...@listas.asteriskbrasil.org                            
         
_______________________________________________
KHOMP Inovação: External Board Series
Módulos de 1/2 rack e 1U para todas as interfaces e soluções Asterisk e 
FreeSWITCH.
Tenha a External Series Experience na sua aplicação. Visite www.khomp.com
_______________________________________________
DIGIVOICE  Fabricante de Placas de Voz e Channel Bank
20 anos de experiência com E1(R2/ISDN), FXS, FXO e GSM
Centro Treinamento - Curso de PABX IP -  Asterisk  - Site  www.digivoice.com.br
________
YEALINK: Telefones IP e VídeoPhones IP com o melhor custo/benefício do mercado.
email: yeal...@commlogik.com.br | www.commlogik.com.br | (11) 5503-1011
______________________________________________
Para remover seu email desta lista, basta enviar um email em branco para 
asteriskbrasil-unsubscr...@listas.asteriskbrasil.org

Responder a