bar top left
bar top right
left curve
right curve
Bienvenido, Invitado

2 trunk on same provider : one not working
(1 viendo) (1) Invitado
Abajo
Publicar respuesta
Publicar nuevo tema
Página: 1
TEMA: 2 trunk on same provider : one not working
#49780
2 trunk on same provider : one not working hace 1 Año, 10 Meses Karma: 0
Hi,

i someone can help :

i had an elastix server (1.6) with 2 accounts on same voip provider. worked fine

i prepare a new server and recopy all settings.
now if i enable both accounts, only one works

error i get :

<------------->
[Apr 2 07:02:12] VERBOSE[14532] logger.c: --- (11 headers 0 lines) ---
[Apr 2 07:02:12] VERBOSE[14532] logger.c:
<--- SIP read from x.x.x.x:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.3:5060;branch=z9hG4bK3cf5e0c1;received=196.27.78.77;rport=5060
From: "0123456789" <sip:0123456789@x.x.x.x>;tag=as5596ee90
To: <sip:0123456798@x.x.x.x>;tag=as4305bdb7
Call-ID: 5c2b14695df0052a59204cfb394383aa@x.x.x.x
CSeq: 102 INVITE
User-Agent: Asterisk PBX 1.6.0.6
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="50690b60"
Content-Length: 0


<------------->
[Apr 2 07:02:12] VERBOSE[14532] logger.c: --- (11 headers 0 lines) ---
[Apr 2 07:02:12] VERBOSE[14532] logger.c:
<--- SIP read from x.x.x.x:5060 --->
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 192.168.1.3:5060;branch=z9hG4bK7afe4282;received=196.27.78.77;rport=5060
From: "0123456789" <sip:0123456789@x.x.x.x>;tag=as5596ee90
To: <sip:0123456798@x.x.x.x>;tag=as4305bdb7
Call-ID: 5c2b14695df0052a59204cfb394383aa@x.x.x.x
CSeq: 103 INVITE
User-Agent: Asterisk PBX 1.6.0.6
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces, timer
Content-Length: 0


i'm behind an adsl modem and use g729 codec. the call is using the 1st account
192.168.1.3 is my local ip address
x.x.x.x is the ip address of the provider
0123456789 is my DID
0123456798 is the number i call

passwords are ok because if i'm using a softphone and i configure the account there it works

if i disable one or other, the trunks works fine


PS :

latest elastix :
asterisk 1.4.30, freepbx 2.7
sip show registry :
x.x.x.x:5060 user2 105 Registered Fri, 02 Apr 2010 07:17:29
x.x.x.x:5060 user1 105 Registered Fri, 02 Apr 2010 07:17:30


sip show peers :

user2/user2 x.x.x.x N 5060 OK (1479 ms)
user1/user1 x.x.x.x N 5060 OK (474 ms)

trunk :
username=user1
type=peer
secret=password
host=x.x.x.x
disallow=all
allow=g729
qualify=yes
nat=yes
insecure=very
fromdomain=x.x.x.x
context=from-trunk

register string is set to : user1:password@x.x.x.x/0123456789
Introducir código aquí   
Por favor, aunque no se vea ningún BBcode ni botones de smiley, son usables igualmente
saidmsl
Junior Boarder
Mensajes: 62
graphgraph
Usuario Offline Presiona aquí para ver el perfil de este usuario
Última edición: 01/04/2010 22:59 por saidmsl.
Reply Quote
 
#49943
Re:2 trunk on same provider : one not working hace 1 Año, 10 Meses Karma: 118
sorry repeated answer...
Introducir código aquí   
Por favor, aunque no se vea ningún BBcode ni botones de smiley, son usables igualmente
fmvillares
Asterisk DCAP and Ex-Elastix Partner
Gold Boarder
Mensajes: 1785
graphgraph
Usuario Offline Presiona aquí para ver el perfil de este usuario
Sexo: Hombre fernando (dot) villares Intelix Ingeniería fmvillares (at) hotmail.com Localización: Rosario Cumpleaños: 07/03
Última edición: 03/04/2010 15:01 por fmvillares.
Reply Quote
 
#49944
Re:2 trunk on same provider : one not working hace 1 Año, 10 Meses Karma: 118
sometimes certain providers use different ports to simultaneous connections so try to use 5060 and 5061 as ports in trunks

not the best solution but with some providers work
Introducir código aquí   
Por favor, aunque no se vea ningún BBcode ni botones de smiley, son usables igualmente
fmvillares
Asterisk DCAP and Ex-Elastix Partner
Gold Boarder
Mensajes: 1785
graphgraph
Usuario Offline Presiona aquí para ver el perfil de este usuario
Sexo: Hombre fernando (dot) villares Intelix Ingeniería fmvillares (at) hotmail.com Localización: Rosario Cumpleaños: 07/03
Reply Quote
 
#52560
Re:2 trunk on same provider : one not working hace 1 Año, 9 Meses Karma: -5
Telephony Interface Hardware
Product Roundup
Product Features
PC interfaces: PCI
Introducir código aquí   
Por favor, aunque no se vea ningún BBcode ni botones de smiley, son usables igualmente
bluenet
Fresh Boarder
Mensajes: 12
graphgraph
Usuario Offline Presiona aquí para ver el perfil de este usuario
Reply Quote
 
#74875
Re: Re:2 trunk on same provider : one not working hace 10 Meses, 3 Semanas Karma: 1
Had you checked if they both work with g711?

If so maybe this could be a problem with g729 license.

Hope be helpful.
Introducir código aquí   
Por favor, aunque no se vea ningún BBcode ni botones de smiley, son usables igualmente
rgranados
Junior Boarder
Mensajes: 59
graphgraph
Usuario Offline Presiona aquí para ver el perfil de este usuario
Sexo: Hombre Help Service México rafael@granados.mx Localización: Monterrey, N.L. - Regia Capital
Rafael Granados

Enlaces ocultos para usuarios no registrados. Inicie sesión o regístrese Aquí
Reply Quote
 
Arriba
Publicar respuesta
Publicar nuevo tema
Página: 1
Moderadores: rafael, Bob, jgutierrez