проблемы sipnet
Сипнет дает бесплатные звонки с 31 по 1 вот решил сделать транк на sipnet, зарегил учетку положил туда 5 баксов, на триксбоксе прописываю транк
(астериск 1.4)
peer:
username=00282XXXXX
secret=XXXXXX
context=from-trunk
host=sipnet.ru
type=friend
fromdomain=sipnet.ru
fromuser=0028232613
insecure=invite&very
dtmfmode=inband
nat=yes
user:
secret=XXXXXX
type=user
context=from-trunk
nat=yes
0028XXXXXXX:XXXXXXXX@sipnet.ru/0028XXXXXXX
вроде все раньше по таким настрйокам работало. Сейчас значит транк не регестрируется, исходящие звонки то идут, но хотелосьбы понять почему транк не регестрируется, потомучто в будущем хотелбы принимать входящие звонки.
вот лог :
<------------->
--- (9 headers 0 lines) ---
Retransmitting #3 (no NAT) to 212.53.40.40:5060:
REGISTER sip:sipnet.ru SIP/2.0
Via: SIP/2.0/UDP 192.168.1.110:5060;branch=z9hG4bK552f3afb;rport
From: <sip:0028232613@sipnet.ru>;tag=as694d2d38
To: <sip:0028232613@sipnet.ru>
Call-ID: 4cb4cb4f7d8b258e1344c8e433ab9171@127.0.0.1
CSeq: 103 REGISTER
User-Agent: Asterisk PBX
Max-Forwards: 70
Expires: 120
Contact: <sip:0028232613@192.168.1.110>
Event: registration
Content-Length: 0
---
trixbox1*CLI>
<--- SIP read from 212.53.40.40:5060 --->
SIP/2.0 401 Authentication required
Via: SIP/2.0/UDP 192.168.1.110:5060;branch=z9hG4bK552f3afb;rport=11028
From: <sip:0028232613@sipnet.ru>;tag=as694d2d38
To: <sip:0028232613@sipnet.ru>;tag=61D7ABDB
Call-ID: 4cb4cb4f7d8b258e1344c8e433ab9171@192.168.1.110eq: 103 REGISTER
CSeq: 0 REGISTER
WWW-Authenticate: Digest realm="etc.tario.ru",nonce="5C1F93FB5C6C8D9BFDD7",opaque="opaqueData",qop="auth",algorithm=MD5
Server: CommuniGatePro/5.3.12c
Content-Length: 0
<------------->
--- (9 headers 0 lines) ---
Retransmitting #4 (no NAT) to 212.53.40.40:5060:
REGISTER sip:sipnet.ru SIP/2.0
Via: SIP/2.0/UDP 192.168.1.110:5060;branch=z9hG4bK552f3afb;rport
From: <sip:0028232613@sipnet.ru>;tag=as694d2d38
To: <sip:0028232613@sipnet.ru>
Call-ID: 4cb4cb4f7d8b258e1344c8e433ab9171@127.0.0.1
CSeq: 103 REGISTER
User-Agent: Asterisk PBX
Max-Forwards: 70
Expires: 120
Contact: <sip:0028232613@192.168.1.110>
Event: registration
Content-Length: 0
---
trixbox1*CLI>
<--- SIP read from 212.53.40.40:5060 --->
SIP/2.0 401 Authentication required
Via: SIP/2.0/UDP 192.168.1.110:5060;branch=z9hG4bK552f3afb;rport=11028
From: <sip:0028232613@sipnet.ru>;tag=as694d2d38
To: <sip:0028232613@sipnet.ru>;tag=61D7ABDB
Call-ID: 4cb4cb4f7d8b258e1344c8e433ab9171@192.168.1.110eq: 103 REGISTER
CSeq: 0 REGISTER
WWW-Authenticate: Digest realm="etc.tario.ru",nonce="5C1F93FB5C6C8D9BFDD7",opaque="opaqueData",qop="auth",algorithm=MD5
Server: CommuniGatePro/5.3.12c
Content-Length: 0
<------------->
--- (9 headers 0 lines) ---
Retransmitting #5 (no NAT) to 212.53.40.40:5060:
REGISTER sip:sipnet.ru SIP/2.0
Via: SIP/2.0/UDP 192.168.1.110:5060;branch=z9hG4bK552f3afb;rport
From: <sip:0028232613@sipnet.ru>;tag=as694d2d38
To: <sip:0028232613@sipnet.ru>
Call-ID: 4cb4cb4f7d8b258e1344c8e433ab9171@127.0.0.1
CSeq: 103 REGISTER
User-Agent: Asterisk PBX
Max-Forwards: 70
Expires: 120
Contact: <sip:0028232613@192.168.1.110>
Event: registration
Content-Length: 0
---
trixbox1*CLI>
<--- SIP read from 212.53.40.40:5060 --->
SIP/2.0 401 Authentication required
Via: SIP/2.0/UDP 192.168.1.110:5060;branch=z9hG4bK552f3afb;rport=11028
From: <sip:0028232613@sipnet.ru>;tag=as694d2d38
To: <sip:0028232613@sipnet.ru>;tag=61D7ABDB
Call-ID: 4cb4cb4f7d8b258e1344c8e433ab9171@192.168.1.110eq: 103 REGISTER
CSeq: 0 REGISTER
WWW-Authenticate: Digest realm="etc.tario.ru",nonce="5C1F93FB5C6C8D9BFDD7",opaque="opaqueData",qop="auth",algorithm=MD5
Server: CommuniGatePro/5.3.12c
Content-Length: 0
<------------->
--- (9 headers 0 lines) ---
Retransmitting #6 (no NAT) to 212.53.40.40:5060:
REGISTER sip:sipnet.ru SIP/2.0
Via: SIP/2.0/UDP 192.168.1.110:5060;branch=z9hG4bK552f3afb;rport
From: <sip:0028232613@sipnet.ru>;tag=as694d2d38
To: <sip:0028232613@sipnet.ru>
Call-ID: 4cb4cb4f7d8b258e1344c8e433ab9171@127.0.0.1
CSeq: 103 REGISTER
User-Agent: Asterisk PBX
Max-Forwards: 70
Expires: 120
Contact: <sip:0028232613@192.168.1.110>
Event: registration
Content-Length: 0
---
trixbox1*CLI>
<--- SIP read from 212.53.40.40:5060 --->
SIP/2.0 401 Authentication required
Via: SIP/2.0/UDP 192.168.1.110:5060;branch=z9hG4bK552f3afb;rport=11028
From: <sip:0028232613@sipnet.ru>;tag=as694d2d38
To: <sip:0028232613@sipnet.ru>;tag=61D7ABDB
Call-ID: 4cb4cb4f7d8b258e1344c8e433ab9171@192.168.1.110eq: 103 REGISTER
CSeq: 0 REGISTER
WWW-Authenticate: Digest realm="etc.tario.ru",nonce="5C1F93FB5C6C8D9BFDD7",opaque="opaqueData",qop="auth",algorithm=MD5
Server: CommuniGatePro/5.3.12c
Content-Length: 0
|