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 5 > Core debug was 0 and is now 5 > pbxer*CLI> core set verbose 5 > Verbosity was 0 and is now 5 > Really 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' Me > Really 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 handler > Really destroying SIP dialog ' > 727e16094d8d2d77087b97e20da50aec@201.48.113.130' Method: ACK > Really destroying SIP dialog ' > 74ce63f1248430b2016c777e5e930405@172.16.64.240' Method: OPTIONS > Really 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,Answer > exten = 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_1206XXXX > host = registrar.azzu.com.br > trunkname = azzutrunk ; GUI metadata > username = 1206XXXX > secret = XXXXXX > hasiax = no > registeriax = no > hassip = yes > registersip = yes > trunkstyle = voip > hasexten = no > fromdomain = azzu > fromuser = 1206XXXX > insecure = port,invite > port = 5060 > nat = yes > domain = azzu > dtmfmode = rfc2833 > reinvite = no > canreinvite = no > disallow = 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