[AsteriskBrasil] Interligação Avaya IP500 x Asterisk via SIP

Rodrigo Lang rodrigoferreiralang em gmail.com
Sexta Outubro 16 13:57:52 BRT 2009


Marcos, um pequeno detalhe. Nos arquivos de configuração do Asterisk você
não usa '#' (cerquilha) para comentar e sim ';' (ponto e virgula).


Ats,
Rodrigo Lang.

2009/10/16 Marcos Evan Evan <marcosevane em gmail.com>

> Desculpe, ficou faltando esse pedaço onde estão as configurações dos
> troncos sip.
> [tronco1]
> username=nucleo
> type=peer
> secret=1234
> host=10.1.1.100 (ip da central Avaya)
> domain= 10.1.1.100
> context=from-avaya
>
> [tronco2]
> username=nucleo09
> type=friend
> secret=nucleo09
> qualify=yes
> nat=yes
> insecure=very
> host=10.1.1.6 (ip da central asterisk 2)
> domain=10.1.1.6
> context=from-pstn
> auth=md5
>
> Eu tenho aqui duas centrais Asterisk funcionando uma conversando com a
> outra via tronco SIP. A Avaya entraria para ser uma terceira central, que
> vai ficar na nossa filial em Natal.
>
> Marcos Evan
>
> 2009/10/16 Marcos Evan Evan <marcosevane em gmail.com>
>
>> Segue o sip.conf
>>
>>
>> [general]
>> #include sip_general_additional.conf
>> register=nucleo:nucleo09 em 10.1.1.6:5060
>>
>> bindport = 5060           ; Port to bind to (SIP is 5060)
>> bindaddr = 0.0.0.0    ; Address to bind to (all addresses on machine)
>>
>> disallow=all
>> allow=ulaw
>> allow=alaw
>> allow=gsm
>> allow=ilbc
>> allow=g723
>> allow=g711
>> externip=189.44.46.4
>> localnet=10.1.1.0/24
>> nat=no
>> #nat=yes
>> dtmfmode=rfc2833
>>
>> ; If you need to answer unauthenticated calls, you should change this
>> ; next line to 'from-trunk', rather than 'from-sip-external'.
>> ; You'll know this is happening if when you call in you get a message
>> ; saying "The number you have dialed is not in service. Please check the
>> ; number and try again."
>> context = from-sip-external ; Send unknown SIP callers to this context
>> callerid = Unknown
>> tos=0x68
>> language=pt_BR
>>
>> ; Reported as required for Asterisk 1.4
>> ;notifyringing=yes
>> ;notifyhold=yes
>> ;limitonpeers=yes
>> ;jbenable = yes
>> ;jbforce=yes
>>
>> ; #, in this configuration file, is NOT A COMMENT. This is exactly
>> ; how it should be.
>> #include sip_general_custom.conf
>> #include sip_nat.conf
>> #include sip_registrations_custom.conf
>> #include sip_registrations.conf
>> #include sip_custom.conf
>> #include sip_additional.conf
>>
>> #[nucleo]
>> #username=nucleo
>> #type=peer
>> #secret=nucleo09
>> #fromuser=nucleo
>> #fromdomain=10.1.1.6
>> #context=from-nucleo
>> #disallow=all
>> #allow=ulaw
>> #allow=alaw
>> #allow=gsm
>> #allow=ilbc
>> #allow=g723
>> #allow=g711
>> #host=10.1.1.6
>> #insecure=very
>> #qualify=no
>> #port=5060
>> #aut=md5
>> #nat=yes
>> #canreinvite=no
>> #dtmfmode=rf2833
>>
>> #[template]
>> #type=friend
>> #context=rotadesaida
>> #host=dynamic
>> #insecure=invite,port
>> #canreinvite=no
>> #disallow=all
>> #allow=gsm
>> #allow=g729
>>
>> #[9001]
>>
>> #type=peer
>> #username=9001
>> #secret=1234
>> #domain=127.0.0.1
>> #fromuser=9001
>> #fromdomain=127.0.0.1
>> #host=127.0.0.1
>> #insecure=invite,port
>> #qualify=no
>> #port=5060
>> #context=entrada
>> #canreinvite=no
>>
>> #[5171](template)
>> #secret=1234
>> #mailbox=5151
>>
>> #[5172](template)
>> #secret=1234
>> #mailbox=5172
>>
>> #[5173](template)
>> #secret=1234
>> #mailbox=5173
>>
>> #[5174](template)
>> #secret=1234
>> #mailbox=5174
>>
>> #[5175](template)
>> #secret=1234
>> #mailbox=5175
>>
>> #[5176](template)
>> #secret=1234
>> #mailbox=5176
>>
>> #[5177](template)
>> #secret=1234
>> #mailbox=5177
>>
>> Fico no aguardo.
>>
>> Marcos Evan
>>
>> 2009/10/16 Rodrigo Lang <rodrigoferreiralang em gmail.com>
>>
>> Marcos, está com verbose setada no seu console? Poste seu sip.conf!
>>>
>>>
>>> Ats,
>>> Rodrigo Lang.
>>>
>>> 2009/10/16 Marcos Evan Evan <marcosevane em gmail.com>
>>>
>>>> Estou tentando fazer uma central Avaya IPO500 conversar com Asterisk via
>>>> Trunk SIP, só que está acontecendo o seguinte:
>>>> Asterisk - Avaya  = funciona perfeitamente, faço ligação pra qualquer
>>>> ramal da Avaya.
>>>> Avaya - Asterisk = quando ligo não completa, na Avaya da informação que
>>>> foi desconectado pela outra ponta, mas no asterisk não consigo vê nada
>>>> chegando.
>>>>
>>>> Alguém já tentou fazer algo parecido? Se puderem ajudar fico agradecido.
>>>>
>>>> --
>>>> Marcos Evan
>>>> 85 3455 2733
>>>>
>>>>
>>>> _______________________________________________
>>>> http://www.voipmania.com.br
>>>> Telefone IP sem fio Gigaset A580IP por 6 x R$59,90.
>>>> Promoção por tempo limitado!
>>>> Acesse agora http://promo.voipmania.com.br
>>>>
>>>> _______________________________________________
>>>> Lista de discussões AsteriskBrasil.org
>>>> AsteriskBrasil em listas.asteriskbrasil.org
>>>> http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
>>>>
>>>
>>>
>>>
>>> --
>>> Rodrigo F. Lang
>>> Amd. de Redes
>>> twitter.com/Rodrigo_Lang
>>>
>>>
>>> _______________________________________________
>>> http://www.voipmania.com.br
>>> Telefone IP sem fio Gigaset A580IP por 6 x R$59,90.
>>> Promoção por tempo limitado!
>>> Acesse agora http://promo.voipmania.com.br
>>>
>>> _______________________________________________
>>> Lista de discussões AsteriskBrasil.org
>>> AsteriskBrasil em listas.asteriskbrasil.org
>>> http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
>>>
>>
>>
>>
>> --
>> Marcos Evan
>> 85 3455 2733
>>
>
>
>
> --
> Marcos Evan
> 85 3455 2733
>
>
> _______________________________________________
> http://www.voipmania.com.br
> Telefone IP sem fio Gigaset A580IP por 6 x R$59,90.
> Promoção por tempo limitado!
> Acesse agora http://promo.voipmania.com.br
>
> _______________________________________________
> Lista de discussões AsteriskBrasil.org
> AsteriskBrasil em listas.asteriskbrasil.org
> http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
>



-- 
Rodrigo F. Lang
Amd. de Redes
twitter.com/Rodrigo_Lang
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20091016/f4c63b38/attachment.htm 


Mais detalhes sobre a lista de discussão AsteriskBrasil