em tempo real execute o comando... hostname pabxip.local.com
mas.. no proximo reboot vai voltar como antes... para fixar edite o arquivo /etc/sysconfig/network e altere a variavel HOSTNAME=pabxip.local.com Abço. -- Roger Pitigliani *ibGRAVA* - Soluções em Telefonia e Informática (51) 3216.0107 / 3216.0111* *www.ibgrava.com.br --- SKYPE: roger.pitigliani MSN: [email protected] Em 13 de junho de 2011 22:57, Oswaldo Galdino de Aguiar Junior < [email protected]> escreveu: > O resultado foi elastix.example.com, então devo alterar a linha > > 127.0.0.1 pabxip.local.com > para elastix.example.com ? > > > > Onde posso alterar o host elastix.example.com para pabxip.local.com? > > > > Alterando isto, posso desconecta-lo do link de internet que funcionará > perfeitamente? > > > > Agradeço sua atenção Roger! > > > > Abraço! > > *_______________________________________* > > *Oswaldo G. A. Junior - Dpto. Comercial / Técnico* > > *MULT-TEC TELECOM* > > *PABX:+55 11-3522 58 76 - ramal 201* > > *MSN: **[email protected]*** > > *SKYPE: og.junior* > > *http://multtectelecom.com.br* > > * * > > *|*[image: Descrição: Descrição: Arvore] -- *Antes de Imprimir*, pense em > sua *Responsabilidade* com o *Meio Ambiente* --*|* > > > > > > *De:* Roger Pitigliani [mailto:[email protected]] > *Enviada em:* segunda-feira, 13 de junho de 2011 22:44 > *Para:* Oswaldo Galdino de Aguiar Junior > *Assunto:* Re: Asterisk sem o uso de internet > > > > Se o resultado do comando "hostname" for pabxip.local.com coloque: > 127.0.0.1 pabxip.local.com pabxip > > > > > > > > Em 13 de junho de 2011 22:17, Oswaldo Galdino de Aguiar Junior < > [email protected]> escreveu: > > Boa noite Roger, > > Obrigado pela atenção, bom meu arquivo etc.hosts se encontra assim: > > # Do not remove the following line, or various programs > # that require network functionality will fail. > 127.0.0.1 localhost.localdomain localhost > 127.0.0.1 pabxip.local.com > > Tinha alterado para pabxip.local.com, será este o erro, por isto quando > tiro > o cabo da porta Wan do roteador o asterisk trava? > > Devo alterar a 2º linha que esta como pabxip.local.com para > localhost.localdomain localhost? > > Agradeço sua atenção! > > Aguardo. > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 13 Jun 2011 20:39:48 -0300 > From: Roger Pitigliani <[email protected]> > Subject: Re: [AsteriskBrasil] Asterisk sem o uso de internet > To: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > > Veja se seu hostname está no arquivo /etc/hosts > > para ver o nome, execute o comando "hostname" > > tem que ter algo assim: > > 127.0.0.1 nomedohost.dominio nomedohost > > e da um restart... > > > > -- > Roger Pitigliani > *ibGRAVA* - Soluções em Telefonia e Informática > (51) 3216.0107 / 3216.0111* > *www.ibgrava.com.br > > > --- > SKYPE: roger.pitigliani > MSN: [email protected] > > > > > > > > Em 13 de junho de 2011 20:24, Oswaldo Galdino de Aguiar Junior < > [email protected]> escreveu: > > > Boa noite pessoal, > > > > > > > > Estou com um problema estranho, estou rodando o Elastix 1.6 em um p4 com > > 1Gb de Ram hd de 80 IDE e uma placa TDM1600P 8FXO/8FXS e um roteador > simples > > D-LINK DI-524. > > > > > > > > Bom quando tiro o cabo da internet do roteador, não sei pq o asterisk > > trava, os ramais analógicos só dão tom, os ip ficam registrados mas não > > discam para lugar algum. > > > > > > > > Não entendi o pq disso, percebi que toda a hora que disco para algum > lugar > > na CLI do asterisk me aparece isto: > > > > -- AGI Script dialparties.agi completed, returning 0 > > > > -- Executing [s@macro-dial:7] Dial("SIP/28-085c3da0", > > "SIP/27|22|trM(auto-blkvm)") in new stack > > > > -- Called 27 > > > > -- SIP/27-0861dd60 is ringing > > > > == Spawn extension (macro-dial, s, 7) exited non-zero on > > 'SIP/28-085c3da0' in macro 'dial' > > > > == Spawn extension (from-internal, 27, 16) exited non-zero on > > 'SIP/28-085c3da0' > > > > -- Executing [h@macro-dial:1] Macro("SIP/28-085c3da0", "hangupcall") > > in new stack > > > > -- Executing [s@macro-hangupcall:1] GotoIf("SIP/28-085c3da0", > > "1?skiprg") in new stack > > > > -- Goto (macro-hangupcall,s,4) > > > > -- Executing [s@macro-hangupcall:4] GotoIf("SIP/28-085c3da0", > > "0?skipblkvm") in new stack > > > > -- Executing [s@macro-hangupcall:5] NoOp("SIP/28-085c3da0", > "Cleaning > > Up Block VM Flag: BLKVM/27/SIP/28-085c3da0") in new stack > > > > -- Executing [s@macro-hangupcall:6] DBdel("SIP/28-085c3da0", > > "BLKVM/27/SIP/28-085c3da0") in new stack > > > > -- DBdel: family=BLKVM, key=27/SIP/28-085c3da0 > > > > -- Executing [s@macro-hangupcall:7] GotoIf("SIP/28-085c3da0", > > "1?theend") in new stack > > > > -- Goto (macro-hangupcall,s,9) > > > > -- Executing [s@macro-hangupcall:9] Hangup("SIP/28-085c3da0", "") in > > new stack > > > > == Spawn extension (macro-hangupcall, s, 9) exited non-zero on > > 'SIP/28-085c3da0' in macro 'hangupcall' > > > > == Spawn extension (macro-dial, h, 1) exited non-zero on > > 'SIP/28-085c3da0' > > > > == End MixMonitor Recording SIP/28-085c3da0 > > > > -- Executing [27@from-internal:1] GotoIf("SIP/28-085c3da0", > > "0?ext-local|27|1") in new stack > > > > -- Executing [27@from-internal:2] Macro("SIP/28-085c3da0", > > "user-callerid|") in new stack > > > > -- Executing [s@macro-user-callerid:1] Set("SIP/28-085c3da0", > > "AMPUSER=28") in new stack > > > > -- Executing [s@macro-user-callerid:2] GotoIf("SIP/28-085c3da0", > > "0?report") in new stack > > > > -- Executing [s@macro-user-callerid:3] ExecIf("SIP/28-085c3da0", > > "1|Set|REALCALLERIDNUM=28") in new stack > > > > -- Executing [s@macro-user-callerid:4] Set("SIP/28-085c3da0", > > "AMPUSER=28") in new stack > > > > -- Executing [s@macro-user-callerid:5] Set("SIP/28-085c3da0", > > "AMPUSERCIDNAME=Valmir") in new stack > > > > -- Executing [s@macro-user-callerid:6] GotoIf("SIP/28-085c3da0", > > "0?report") in new stack > > > > -- Executing [s@macro-user-callerid:7] Set("SIP/28-085c3da0", > > "AMPUSERCID=28") in new stack > > > > -- Executing [s@macro-user-callerid:8] Set("SIP/28-085c3da0", > > "CALLERID(all)="Valmir" <28>") in new stack > > > > -- Executing [s@macro-user-callerid:9] ExecIf("SIP/28-085c3da0", > > "0|Set|CHANNEL(language)=") in new stack > > > > -- Executing [s@macro-user-callerid:10] GotoIf("SIP/28-085c3da0", > > "0?continue") in new stack > > > > -- Executing [s@macro-user-callerid:11] Set("SIP/28-085c3da0", > > "__TTL=64") in new stack > > > > -- Executing [s@macro-user-callerid:12] GotoIf("SIP/28-085c3da0", > > "1?continue") in new stack > > > > -- Goto (macro-user-callerid,s,19) > > > > -- Executing [s@macro-user-callerid:19] NoOp("SIP/28-085c3da0", > "Using > > CallerID "Valmir" <28>") in new stack > > > > -- Executing [27@from-internal:3] GotoIf("SIP/28-085c3da0", > > "1?skipdb") in new stack > > > > -- Goto (from-internal,27,5) > > > > -- Executing [27@from-internal:5] Set("SIP/28-085c3da0", > "__NODEST=") > > in new stack > > > > -- Executing [27@from-internal:6] Set("SIP/28-085c3da0", > > "__BLKVM_OVERRIDE=BLKVM/27/SIP/28-085c3da0") in new stack > > > > -- Executing [27@from-internal:7] Set("SIP/28-085c3da0", > > "__BLKVM_BASE=27") in new stack > > > > -- Executing [27@from-internal:8] Set("SIP/28-085c3da0", > > "DB(BLKVM/27/SIP/28-085c3da0)=TRUE") in new stack > > > > -- Executing [27@from-internal:9] Set("SIP/28-085c3da0", > "RRNODEST=") > > in new stack > > > > -- Executing [27@from-internal:10] Set("SIP/28-085c3da0", > > "__NODEST=27") in new stack > > > > -- Executing [27@from-internal:11] Set("SIP/28-085c3da0", > > "RecordMethod=Group") in new stack > > > > -- Executing [27@from-internal:12] Macro("SIP/28-085c3da0", > > "record-enable|27|Group") in new stack > > > > -- Executing [s@macro-record-enable:1] GotoIf("SIP/28-085c3da0", > > "1?check") in new stack > > > > -- Goto (macro-record-enable,s,4) > > > > -- Executing [s@macro-record-enable:4] AGI("SIP/28-085c3da0", > > "recordingcheck|20110613-202125|1308007285.14") in new stack > > > > -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck > > > > recordingcheck|20110613-202125|1308007285.14: Recording enable for 27 > > > > recordingcheck|20110613-202125|1308007285.14: > > CALLFILENAME=g27-20110613-202125-1308007285.14 > > > > -- AGI Script recordingcheck completed, returning 0 > > > > -- Executing [s@macro-record-enable:999] > MixMonitor("SIP/28-085c3da0", > > "g27-20110613-202125-1308007285.14.wav||") in new stack > > > > -- Executing [27@from-internal:13] Set("SIP/28-085c3da0", > > "RingGroupMethod=ringallv2") in new stack > > > > -- Executing [27@from-internal:14] Set("SIP/28-085c3da0", > "_FMGRP=27") > > in new stack > > > > -- Executing [27@from-internal:15] GotoIf("SIP/28-085c3da0", > > "0?doconfirm") in new stack > > > > -- Executing [27@from-internal:16] Macro("SIP/28-085c3da0", > > "dial|20|tr|27") in new stack > > > > -- Executing [s@macro-dial:1] GotoIf("SIP/28-085c3da0", "1?dial") in > > new stack > > > > -- Goto (macro-dial,s,3) > > > > -- Executing [s@macro-dial:3] AGI("SIP/28-085c3da0", > > "dialparties.agi") in new stack > > > > -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi > > > > == Begin MixMonitor Recording SIP/28-085c3da0 > > > > dialparties.agi: Starting New Dialparties.agi > > > > == Parsing '/etc/asterisk/manager.conf': Found > > > > == Parsing '/etc/asterisk/manager_additional.conf': Found > > > > == Parsing '/etc/asterisk/manager_custom.conf': Found > > > > == Manager 'admin' logged on from 127.0.0.1 > > > > dialparties.agi: Caller ID name is 'Valmir' number is '28' > > > > dialparties.agi: Methodology of ring is 'ringallv2' > > > > -- dialparties.agi: Added extension 27 to extension map > > > > -- dialparties.agi: Extension 27 cf is disabled > > > > -- dialparties.agi: Extension 27 do not disturb is disabled > > > > dialparties.agi: ExtensionState: 0 > > > > dialparties.agi: Extension 27 has ExtensionState: 0 > > > > -- dialparties.agi: Checking CW and CFB status for extension 27 > > > > -- dialparties.agi: dbset CALLTRACE/27 to 28 > > > > -- dialparties.agi: Filtered ARG3: 27 > > > > == Manager 'admin' logged off from 127.0.0.1 > > > > -- AGI Script dialparties.agi completed, returning 0 > > > > -- Executing [s@macro-dial:7] Dial("SIP/28-085c3da0", > > "SIP/27|22|trM(auto-blkvm)") in new stack > > > > -- Called 27 > > > > -- SIP/27-0861f598 is ringing > > > > -- SIP/27-0861f598 answered SIP/28-085c3da0 > > > > -- Executing [s@macro-auto-blkvm:1] Set("SIP/27-0861f598", > > "__MACRO_RESULT=") in new stack > > > > -- Executing [s@macro-auto-blkvm:2] DBdel("SIP/27-0861f598", > > "BLKVM/27/SIP/28-085c3da0") in new stack > > > > -- DBdel: family=BLKVM, key=27/SIP/28-085c3da0 > > > > -- Executing [h@macro-dial:1] Macro("SIP/28-085c3da0", "hangupcall") > > in new stack > > > > -- Executing [s@macro-hangupcall:1] GotoIf("SIP/28-085c3da0", > > "1?skiprg") in new stack > > > > -- Goto (macro-hangupcall,s,4) > > > > -- Executing [s@macro-hangupcall:4] GotoIf("SIP/28-085c3da0", > > "0?skipblkvm") in new stack > > > > -- Executing [s@macro-hangupcall:5] NoOp("SIP/28-085c3da0", > "Cleaning > > Up Block VM Flag: BLKVM/27/SIP/28-085c3da0") in new stack > > > > -- Executing [s@macro-hangupcall:6] DBdel("SIP/28-085c3da0", > > "BLKVM/27/SIP/28-085c3da0") in new stack > > > > -- DBdel: family=BLKVM, key=27/SIP/28-085c3da0 > > > > -- DBdel: Error deleting key from database. > > > > -- Executing [s@macro-hangupcall:7] GotoIf("SIP/28-085c3da0", > > "1?theend") in new stack > > > > -- Goto (macro-hangupcall,s,9) > > > > -- Executing [s@macro-hangupcall:9] Hangup("SIP/28-085c3da0", "") in > > new stack > > > > == Spawn extension (macro-hangupcall, s, 9) exited non-zero on > > 'SIP/28-085c3da0' in macro 'hangupcall' > > > > == Spawn h extension (macro-dial, h, 1) exited non-zero on > > 'SIP/28-085c3da0' > > > > == Spawn extension (macro-dial, s, 7) exited non-zero on > > 'SIP/28-085c3da0' in macro 'dial' > > > > == Spawn extension (from-internal, 27, 16) exited non-zero on > > 'SIP/28-085c3da0' > > > > == MixMonitor close filestream > > > > == End MixMonitor Recording SIP/28-085c3da0 > > > > > > > > O AGI SCRIPT entra toda hora, quando tiro o cabo do modem do roteador o > > asterisk fica dando toda hora o tal Script AGI, o que seria isto? > > > > > > > > Agradeço a atenção dos senhores! > > > > > > > > Aguardo! > > > > > > > > > > > > > > > > _______________________________________________ > > KHOMP: qualidade em placas de E1, GSM, FXS e FXO para Asterisk. > > - Hardware com alta disponibilidade de recursos e qualidade KHOMP > > - Suporte técnico local qualificado e gratuito > > Conheça a linha completa de produtos KHOMP em www.khomp.com.br > > _______________________________________________ > > DIGIVOICE: Lider no mercado de placas para Asterisk > > Único fabricante com Centro de Treinamento especializado. > > LANÇAMENTO: Channel Bank TDMoE, até 64 canais FXS / FXO. > > www.digivoice.com.br ou (11)3016-5200. > > ________ > > Lista de discussões AsteriskBrasil.org > > [email protected] > > http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil > > ______________________________________________ > > Para remover seu email desta lista, basta enviar um email em branco para > > [email protected] > > > > -------------- Próxima Parte ---------- > Um anexo em HTML foi limpo... > URL: > > http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/201106 > 13/4b67d8d4/attachment.htm<http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/201106%0A13/4b67d8d4/attachment.htm> > > ------------------------------ > > _______________________________________________ > AsteriskBrasil mailing list > > [email protected] > http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil > > Fim da Digest AsteriskBrasil, volume 63, assunto 92 > *************************************************** > > > > > > > -- Roger Pitigliani *ibGRAVA* - Soluções em Telefonia e Informática (51) 3216.0107 / 3216.0111* *www.ibgrava.com.br --- SKYPE: roger.pitigliani MSN: [email protected]
<<image003.jpg>>
_______________________________________________ KHOMP: qualidade em placas de E1, GSM, FXS e FXO para Asterisk. - Hardware com alta disponibilidade de recursos e qualidade KHOMP - Suporte técnico local qualificado e gratuito Conheça a linha completa de produtos KHOMP em www.khomp.com.br _______________________________________________ DIGIVOICE: Lider no mercado de placas para Asterisk Único fabricante com Centro de Treinamento especializado. LANÇAMENTO: Channel Bank TDMoE, até 64 canais FXS / FXO. www.digivoice.com.br ou (11)3016-5200. ________ Lista de discussões AsteriskBrasil.org [email protected] http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil ______________________________________________ Para remover seu email desta lista, basta enviar um email em branco para [email protected]

