[AsteriskBrasil] G729 com som ruim na ligação

Alexandre Correa ajcorrea em gmail.com
Segunda Fevereiro 25 11:37:40 BRT 2013


blz.. ta usando o g729 ... nas duas pontas

seu problema pode ser o firewall do servidor

veja no arquivo /etc/asterisk/rtp.conf qual o range de portas RTP,
geralmente 10000 ate 20000

coloca isso

iptables -t filter -I INPUT -p tcp -m multiport --dports 10000:20000 -j
ACCEPT
iptables -t filter -I INPUT -p udp -m multiport --dports 10000:20000 -j
ACCEPT

Sds.
Alexandre J. Correa
Onda Internet
http://www.onda.net.br


IPV6 Ready !!!



2013/2/25 Thiago Gomes <thiagomespb em gmail.com>

> fiz uma ligação
>
> 200.X.X.X  2010             Mjk1OGFkZjk4MTI  0x100 (g729)     No
> Rx: INVITE                 2010
> 200.X.X.241  2010             ODVmZGRlMGU1ZjM  0x0 (nothing)    No
>   Rx: SUBSCRIBE              <guest>
> 177.X.X.83   2020             NjFkZmQ5NTM5ZGZ  0x0 (nothing)    No
>   Rx: INVITE                 2020
> 201.X.X.36     051XXXXXX00      28d61c5c2ad1880  0x100 (g729)     No
>     Tx: INVITE                 VonoOut
>
>
> Em 25 de fevereiro de 2013 11:16, Thiago Gomes <thiagomespb em gmail.com>
> escreveu:
> > veja a saida do comando
> >
> > Peer             User/ANR         Call ID                       Format
> >           Hold     Last Message    Expiry     Peer
> > 200.X.X>X         2020             4c991d8c57a1ae9        0x0
> > (nothing)   No       Init: NOTIFY               <guest>
> > 192.168.2.18     (None)           1267045332 em 192.      0x0 (nothing)
> > No       Rx: REGISTER             <guest>
> > 200.X.X.X          (None)           YTJkNjYzYzg5NGI      0x0 (nothing)
> >   No       Rx: REGISTER             <guest>
> > 177.X.X.X          (None)           NDJlZWRkZDUyYWV  0x0 (nothing)
> > No       Rx: REGISTER             <guest>
> > 201.86.87.36     usar.vono     22eefbca131e0fd          0x0 (nothing)
> >   No                                          <guest>
> > 201.86.87.36     (None)           71e253532656851      0x0 (nothing)
> >  No       Init: OPTIONS              VonoOut
> > 177.X.X.X   2020                  NjFkZmQ5NTM5ZGZ     0x0 (nothing)
> > No       Rx: INVITE                   2020
> >
> > CLI> core show codecs
> > Disclaimer: this command is for informational purposes only.
> >         It does not indicate anything about your configuration.
> >                 INT    BINARY                  HEX   TYPE       NAME
> > DESCRIPTION
> >
> -----------------------------------------------------------------------------------
> >                  1 (1 <<  0)                (0x1)  audio       g723
> (G.723.1)
> >                   2 (1 <<  1)                (0x2)  audio        gsm
> (GSM)
> >                   4 (1 <<  2)                (0x4)  audio       ulaw
> > (G.711 u-law)
> >                   8 (1 <<  3)                (0x8)  audio       alaw
> > (G.711 A-law)
> >                  16 (1 <<  4)               (0x10)  audio   g726aal2
> > (G.726 AAL2)
> >                  32 (1 <<  5)               (0x20)  audio      adpcm
> (ADPCM)
> >                  64 (1 <<  6)               (0x40)  audio       slin
> > (16 bit Signed Linear PCM)
> >                 128 (1 <<  7)               (0x80)  audio      lpc10
> (LPC10)
> >                 256 (1 <<  8)              (0x100)  audio       g729
> (G.729A)
> >                 512 (1 <<  9)              (0x200)  audio      speex
> (SpeeX)
> >                1024 (1 << 10)              (0x400)  audio       ilbc
> (iLBC)
> >                2048 (1 << 11)              (0x800)  audio       g726
> > (G.726 RFC3551)
> >                4096 (1 << 12)             (0x1000)  audio       g722
> (G722)
> >
> >
> > Em 25 de fevereiro de 2013 10:47, Alexandre Correa
> > <ajcorrea em gmail.com> escreveu:
> >> consegue ver se ele esta utilizando o g729 nas ligacoe ?
> >>
> >> sip show channels
> >>
> >> durante a ligação vai te informar isso..
> >>
> >> este servidor está sob NAT ?
> >>
> >> veja se nao eh o caso de usar externip=<ip> no sip.conf
> >>
> >>
> >>
> >> Sds.
> >> Alexandre J. Correa
> >> Onda Internet
> >> http://www.onda.net.br
> >>
> >>
> >> IPV6 Ready !!!
> >>
> >>
> >>
> >> 2013/2/25 Consultoria TI <consultoriaticesar em gmail.com>
> >>>
> >>> Em 25-02-2013 10:17, Thiago Gomes escreveu:
> >>> > Pessoal,
> >>> >
> >>> > Comprei o codec g729 e um soft fone também, o problema que eu consigo
> >>> > ouvi normalmente porem
> >>> > quem está na linha não consegue me ouvir.. estou usando o tronco
> vono.
> >>> >
> >>> >
> >>> > allow=g729,ulaw,alaw
> >>> > registertimeout=20
> >>> > registerattempts=0
> >>> > canreinvite=no
> >>> > context=from-trunk&from-pstn
> >>> > disallow=all
> >>> > dtmfmode=rfc2833
> >>> > fromdomain=vono.net.br
> >>> > fromuser=xxxxxx
> >>> > username=xxxxxx
> >>> > host=vono.net.br
> >>> > insecure=very
> >>> > nat=yes
> >>> > port=5060
> >>> > qualify=20000
> >>> > secret=xxxxxx
> >>> > srvlookup=yes
> >>> > type=peer
> >>> >
> >>> > alguem tem uma ideia ?
> >>>
> >>> Bom dia amigo, nao utilize assim pelo visto vc esta disabilitando os
> >>> codecs depois de criar.
> >>>
> >>>
> >>> tente assim:
> >>>
> >>> registertimeout=20
> >>> registerattempts=0
> >>> canreinvite=no
> >>> context=from-trunk&from-pstn
> >>> disallow=all
> >>> allow=g729
> >>> allow=alaw
> >>> allow=ulaw
> >>> dtmfmode=rfc2833
> >>> fromdomain=vono.net.br
> >>> fromuser=xxxxxx
> >>> username=xxxxxx
> >>> host=vono.net.br
> >>> insecure=very
> >>> nat=yes
> >>> port=5060
> >>> qualify=20000
> >>> secret=xxxxxx
> >>> srvlookup=yes
> >>> type=peer
> >>>
> >>>
> >>> Att,
> >>> joao cesar
> >>>
> >>> _______________________________________________
> >>> EBS MODULAR: 3 slots para combinação entre E1, GSM, FXS ou FXO;
> >>> Linha de PORTEIROS IP, abrem até 2 dispositivos com acesso IP remoto;
> >>> Conheça esses e outros LANÇAMENTOS KHOMP em 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
> >>> _______________________________________________
> >>> ALIGERA – Fabricante nacional de Gateways SIP-E1 para R2, ISDN e SS7.
> >>> Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI Express.
> >>> Channel Bank – Appliance Asterisk - Acesse www.aligera.com.br.
> >>> _______________________________________________
> >>> Para remover seu email desta lista, basta enviar um email em branco
> para
> >>> asteriskbrasil-unsubscribe em listas.asteriskbrasil.org
> >>
> >>
> >>
> >> _______________________________________________
> >> EBS MODULAR: 3 slots para combinação entre E1, GSM, FXS ou FXO;
> >> Linha de PORTEIROS IP, abrem até 2 dispositivos com acesso IP remoto;
> >> Conheça esses e outros LANÇAMENTOS KHOMP em 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
> >> _______________________________________________
> >> ALIGERA – Fabricante nacional de Gateways SIP-E1 para R2, ISDN e SS7.
> >> Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI Express.
> >> Channel Bank – Appliance Asterisk - Acesse www.aligera.com.br.
> >> _______________________________________________
> >> Para remover seu email desta lista, basta enviar um email em branco para
> >> asteriskbrasil-unsubscribe em listas.asteriskbrasil.org
> >
> >
> >
> > --
> > Thiago Gomes
>
>
>
> --
> Thiago Gomes
> _______________________________________________
> EBS MODULAR: 3 slots para combinação entre E1, GSM, FXS ou FXO;
> Linha de PORTEIROS IP, abrem até 2 dispositivos com acesso IP remoto;
> Conheça esses e outros LANÇAMENTOS KHOMP em 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
> _______________________________________________
> ALIGERA – Fabricante nacional de Gateways SIP-E1 para R2, ISDN e SS7.
> Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI Express.
> Channel Bank – Appliance Asterisk - Acesse www.aligera.com.br.
> _______________________________________________
> Para remover seu email desta lista, basta enviar um email em branco para
> asteriskbrasil-unsubscribe em listas.asteriskbrasil.org
>
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20130225/bf192995/attachment.htm 


Mais detalhes sobre a lista de discussão AsteriskBrasil