Re: [AsteriskBrasil] Interligação Avaya IP500 x As terisk via SIP

2009-10-16 Por tôpico Rodrigo Graeff
Uma vez tentei com h323 e parei no contrário, cheguei a conclusão de que
a plataforma avaya do cliente não tinha licença para conversar h323 com
outro cliente não avaya. Resolvi usando isdn.

[ ]s


On Fri, 2009-10-16 at 12:59 -0300, Marcos Evan Evan wrote:
 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@listas.asteriskbrasil.org
 http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
-- 
--

Rodrigo Graeff
ICQ: 9636816
http://www.delphus.org


___
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@listas.asteriskbrasil.org
http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil


Re: [AsteriskBrasil] Interligação Avaya IP500 x As terisk via SIP

2009-10-16 Por tôpico Rodrigo Lang
Marcos, está com verbose setada no seu console? Poste seu sip.conf!


Ats,
Rodrigo Lang.

2009/10/16 Marcos Evan Evan marcosev...@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@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@listas.asteriskbrasil.org
http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil

Re: [AsteriskBrasil] Interligação Avaya IP500 x As terisk via SIP

2009-10-16 Por tôpico Marcos Evan Evan
Segue o sip.conf


[general]
#include sip_general_additional.conf
register=nucleo:nucle...@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 rodrigoferreiral...@gmail.com

 Marcos, está com verbose setada no seu console? Poste seu sip.conf!


 Ats,
 Rodrigo Lang.

 2009/10/16 Marcos Evan Evan marcosev...@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@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@listas.asteriskbrasil.org
 http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil




-- 
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@listas.asteriskbrasil.org
http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil

Re: [AsteriskBrasil] Interligação Avaya IP500 x As terisk via SIP

2009-10-16 Por tôpico Rodrigo Graeff
Marcos, 

O que temos no sip_general_additional.conf ??

Sugiro ativar o allowguests e testar.



On Fri, 2009-10-16 at 13:41 -0300, Marcos Evan Evan wrote:
 Segue o sip.conf
 
 
 [general]
 #include sip_general_additional.conf
 register=nucleo:nucle...@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 rodrigoferreiral...@gmail.com
 Marcos, está com verbose setada no seu console? Poste seu
 sip.conf!
 
 
 Ats,
 Rodrigo Lang.
 
 2009/10/16 Marcos Evan Evan marcosev...@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@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@listas.asteriskbrasil.org
 http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
 
 
 
 -- 
 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
 
 

Re: [AsteriskBrasil] Interligação Avaya IP500 x As terisk via SIP

2009-10-16 Por tôpico Marcos Evan Evan
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 marcosev...@gmail.com

 Segue o sip.conf


 [general]
 #include sip_general_additional.conf
 register=nucleo:nucle...@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 rodrigoferreiral...@gmail.com

 Marcos, está com verbose setada no seu console? Poste seu sip.conf!


 Ats,
 Rodrigo Lang.

 2009/10/16 Marcos Evan Evan marcosev...@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@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@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@listas.asteriskbrasil.org
http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil

Re: [AsteriskBrasil] Interligação Avaya IP500 x As terisk via SIP

2009-10-16 Por tôpico Rodrigo Lang
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 marcosev...@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 marcosev...@gmail.com

 Segue o sip.conf


 [general]
 #include sip_general_additional.conf
 register=nucleo:nucle...@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 rodrigoferreiral...@gmail.com

 Marcos, está com verbose setada no seu console? Poste seu sip.conf!


 Ats,
 Rodrigo Lang.

 2009/10/16 Marcos Evan Evan marcosev...@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@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@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

 

Re: [AsteriskBrasil] Interligação Avaya IP500 x As terisk via SIP

2009-10-16 Por tôpico Marcos Evan Evan
Não tem esse arquivo, tem o sip_additional.conf, que coloquei o conteudo
anteriormente, aparte com a configuração dos troncos.

[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


Marcos Evan

2009/10/16 Rodrigo Graeff delphus...@gmail.com

 Marcos,

 O que temos no sip_general_additional.conf ??

 Sugiro ativar o allowguests e testar.



 On Fri, 2009-10-16 at 13:41 -0300, Marcos Evan Evan wrote:
  Segue o sip.conf
 
 
  [general]
  #include sip_general_additional.conf
  register=nucleo:nucle...@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 rodrigoferreiral...@gmail.com
  Marcos, está com verbose setada no seu console? Poste seu
  sip.conf!
 
 
  Ats,
  Rodrigo Lang.
 
  2009/10/16 Marcos Evan Evan marcosev...@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@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
 
  ___
 

Re: [AsteriskBrasil] Interligação Avaya IP500 x As terisk via SIP

2009-10-16 Por tôpico Rodrigo Graeff
Marcos,

Só pra finalizar, qual é a versão do asterisk de vocs ??




On Fri, 2009-10-16 at 13:49 -0300, Marcos Evan Evan wrote:
 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 marcosev...@gmail.com
 Segue o sip.conf
 
 
 [general]
 #include sip_general_additional.conf
 register=nucleo:nucle...@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 rodrigoferreiral...@gmail.com
 
 
 Marcos, está com verbose setada no seu console? Poste
 seu sip.conf!
 
 
 Ats,
 Rodrigo Lang.
 
 2009/10/16 Marcos Evan Evan marcosev...@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 

Re: [AsteriskBrasil] Interligação Avaya IP500 x As terisk via SIP

2009-10-16 Por tôpico Marcos Evan Evan
O Asterisk é o 1.2.24

Marcos Evan


2009/10/16 Rodrigo Graeff delphus...@gmail.com

 Marcos,

 Só pra finalizar, qual é a versão do asterisk de vocs ??




 On Fri, 2009-10-16 at 13:49 -0300, Marcos Evan Evan wrote:
  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 marcosev...@gmail.com
  Segue o sip.conf
 
 
  [general]
  #include sip_general_additional.conf
  register=nucleo:nucle...@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 rodrigoferreiral...@gmail.com
 
 
  Marcos, está com verbose setada no seu console? Poste
  seu sip.conf!
 
 
  Ats,
  Rodrigo Lang.
 
  2009/10/16 Marcos Evan Evan marcosev...@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 

Re: [AsteriskBrasil] Interligação Avaya IP500 x As terisk via SIP

2009-10-16 Por tôpico Rodrigo Graeff
Marcos,

Adicione allowguests=yes no sip.conf em general

Todas as requisições sip irão para o contexto default do teu sip.conf
que é from-sip-external

Neste contexto, tente direcionar tudo para um ramal válido, apenas para
teste, ex:

[from-sip-external]
exten=s,1,Dial(SIP/1000|60)
exten=X.,1,Dial(SIP/1000|60)

[ ]s

On Fri, 2009-10-16 at 14:17 -0300, Marcos Evan Evan wrote:
 Não tem esse arquivo, tem o sip_additional.conf, que coloquei o
 conteudo anteriormente, aparte com a configuração dos troncos.
 
 [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
 
 
 Marcos Evan
 
 2009/10/16 Rodrigo Graeff delphus...@gmail.com
 Marcos,
 
 O que temos no sip_general_additional.conf ??
 
 Sugiro ativar o allowguests e testar.
 
 
 
 
 On Fri, 2009-10-16 at 13:41 -0300, Marcos Evan Evan wrote:
  Segue o sip.conf
 
 
  [general]
  #include sip_general_additional.conf
  register=nucleo:nucle...@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 rodrigoferreiral...@gmail.com
  Marcos, está com verbose setada no seu console?
 Poste seu
  sip.conf!
 
 
  Ats,
  Rodrigo Lang.
 
  2009/10/16 Marcos Evan Evan 

Re: [AsteriskBrasil] Interligação Avaya IP500 x As terisk via SIP

2009-10-16 Por tôpico Marcos Evan Evan
Fiz o que você sugeriu, mas continua acontecendo:
quando tendo discar da central Avaya, não se consegue completar a ligação
logo é desligada na Avaya, nem chegando alguma coisa no Asterisk.

Marcos Evan

2009/10/16 Rodrigo Graeff delphus...@gmail.com

 Marcos,

 Adicione allowguests=yes no sip.conf em general

 Todas as requisições sip irão para o contexto default do teu sip.conf
 que é from-sip-external

 Neste contexto, tente direcionar tudo para um ramal válido, apenas para
 teste, ex:

 [from-sip-external]
 exten=s,1,Dial(SIP/1000|60)
 exten=X.,1,Dial(SIP/1000|60)

 [ ]s

 On Fri, 2009-10-16 at 14:17 -0300, Marcos Evan Evan wrote:
  Não tem esse arquivo, tem o sip_additional.conf, que coloquei o
  conteudo anteriormente, aparte com a configuração dos troncos.
 
  [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
 
 
  Marcos Evan
 
  2009/10/16 Rodrigo Graeff delphus...@gmail.com
  Marcos,
 
  O que temos no sip_general_additional.conf ??
 
  Sugiro ativar o allowguests e testar.
 
 
 
 
  On Fri, 2009-10-16 at 13:41 -0300, Marcos Evan Evan wrote:
   Segue o sip.conf
  
  
   [general]
   #include sip_general_additional.conf
   register=nucleo:nucle...@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 

Re: [AsteriskBrasil] Interligação Avaya IP500 x As terisk via SIP

2009-10-16 Por tôpico Rodrigo Lang
Marcos, a rota de saída da Avaya paa o Asterisk esta correta?
Você usa alguma solução pronta de Asterisk?


Ats,
Rodrigo Lang.

2009/10/16 Marcos Evan Evan marcosev...@gmail.com

 Fiz o que você sugeriu, mas continua acontecendo:
 quando tendo discar da central Avaya, não se consegue completar a ligação
 logo é desligada na Avaya, nem chegando alguma coisa no Asterisk.


 Marcos Evan

 2009/10/16 Rodrigo Graeff delphus...@gmail.com

 Marcos,

 Adicione allowguests=yes no sip.conf em general

 Todas as requisições sip irão para o contexto default do teu sip.conf
 que é from-sip-external

 Neste contexto, tente direcionar tudo para um ramal válido, apenas para
 teste, ex:

 [from-sip-external]
 exten=s,1,Dial(SIP/1000|60)
 exten=X.,1,Dial(SIP/1000|60)

 [ ]s

 On Fri, 2009-10-16 at 14:17 -0300, Marcos Evan Evan wrote:
  Não tem esse arquivo, tem o sip_additional.conf, que coloquei o
  conteudo anteriormente, aparte com a configuração dos troncos.
 
  [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
 
 
  Marcos Evan
 
  2009/10/16 Rodrigo Graeff delphus...@gmail.com
  Marcos,
 
  O que temos no sip_general_additional.conf ??
 
  Sugiro ativar o allowguests e testar.
 
 
 
 
  On Fri, 2009-10-16 at 13:41 -0300, Marcos Evan Evan wrote:
   Segue o sip.conf
  
  
   [general]
   #include sip_general_additional.conf
   register=nucleo:nucle...@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
  
   

Re: [AsteriskBrasil] Interligação Avaya IP500 x As terisk via SIP

2009-10-16 Por tôpico Carlos Toguchi
Outra coisa Marcos,
Cheque o estado da conexão sip com os comando sip show channels e sip
show peeers,
Ative o debug do sip com sip debug.
Envie os dados resultantes do comando caso você não consiga entendeer
os resultados.

Carlos

2009/10/16 Rodrigo Lang rodrigoferreiral...@gmail.com:
 Marcos, a rota de saída da Avaya paa o Asterisk esta correta?
 Você usa alguma solução pronta de Asterisk?


 Ats,
 Rodrigo Lang.

 2009/10/16 Marcos Evan Evan marcosev...@gmail.com

 Fiz o que você sugeriu, mas continua acontecendo:
 quando tendo discar da central Avaya, não se consegue completar a ligação
 logo é desligada na Avaya, nem chegando alguma coisa no Asterisk.

 Marcos Evan

 2009/10/16 Rodrigo Graeff delphus...@gmail.com

 Marcos,

 Adicione allowguests=yes no sip.conf em general

 Todas as requisições sip irão para o contexto default do teu sip.conf
 que é from-sip-external

 Neste contexto, tente direcionar tudo para um ramal válido, apenas para
 teste, ex:

 [from-sip-external]
 exten=s,1,Dial(SIP/1000|60)
 exten=X.,1,Dial(SIP/1000|60)

 [ ]s

 On Fri, 2009-10-16 at 14:17 -0300, Marcos Evan Evan wrote:
  Não tem esse arquivo, tem o sip_additional.conf, que coloquei o
  conteudo anteriormente, aparte com a configuração dos troncos.
 
  [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
 
 
  Marcos Evan
 
  2009/10/16 Rodrigo Graeff delphus...@gmail.com
          Marcos,
 
          O que temos no sip_general_additional.conf ??
 
          Sugiro ativar o allowguests e testar.
 
 
 
 
          On Fri, 2009-10-16 at 13:41 -0300, Marcos Evan Evan wrote:
           Segue o sip.conf
          
          
           [general]
           #include sip_general_additional.conf
           register=nucleo:nucle...@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