Транк SIP и Ростелеком
Добавлено: 27 апр 2016, 09:25
День добрый! Подскажите пожалуйста, подключаем транк к ростелекому, регистрация проходит. Исходящие от нас есть, но входящих нет. Меня смущает вот эта строчка, откуда сюда прилетает @127.0.0.1?
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
[2016-04-21 09:59:19] NOTICE[3038] chan_sip.c: -- Re-registration for 122@82.x.x.x
[2016-04-21 09:59:19] VERBOSE[3038] chan_sip.c: REGISTER 10 headers, 0 lines
[2016-04-21 09:59:19] VERBOSE[3038] chan_sip.c: Reliably Transmitting (NAT) to 82.x.x.x:5060:
REGISTER sip:82.x.x.x SIP/2.0
Via: SIP/2.0/UDP 82.y.y.y:5060;branch=z9hG4bK01425764;rport
Max-Forwards: 70
From: <sip:122@82.x.x.x>;tag=as3d3e1d8e
To: <sip:122@82.x.x.x>
Call-ID: 02b390365696c6b915366c4662862049@127.0.0.1
CSeq: 102 REGISTER
User-Agent: FPBX-2.11.0(11.17.1)
Expires: 120
Contact: <sip:122@82.y.y.y:5060>
Content-Length: 0
---
[2016-04-21 09:59:19] VERBOSE[3038] chan_sip.c:
<--- SIP read from UDP:82.151.127.114:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 82.y.y.y:5060;received=192.168.1.40;branch=z9hG4bK01425764;rport=5060
From: <sip:122@82.x.x.x>;tag=as3d3e1d8e
To: <sip:122@82.x.x.x>;tag=gmiyjrlk
Call-ID: 02b390365696c6b915366c4662862049@127.0.0.1
CSeq: 102 REGISTER
WWW-Authenticate: Digest realm="sip.rt.ru",nonce="12fd66eea0cf9d03f7819d795b5daeb2",domain="sip:sip.rt.ru",stale=false,algorithm=MD5
Server: Rostelekom
Content-Length: 0
<------------->
[2016-04-21 09:59:19] VERBOSE[3038] chan_sip.c: --- (9 headers 0 lines) ---
[2016-04-21 09:59:19] VERBOSE[3038] chan_sip.c: Responding to challenge, registration to domain/host name 82.x.x.x
[2016-04-21 09:59:19] VERBOSE[3038] chan_sip.c: REGISTER 11 headers, 0 lines
[2016-04-21 09:59:19] VERBOSE[3038] chan_sip.c: Reliably Transmitting (NAT) to 82.x.x.x:5060:
REGISTER sip:82.x.x.x SIP/2.0
Via: SIP/2.0/UDP 82.y.y.y:5060;branch=z9hG4bK7981d23e;rport
Max-Forwards: 70
From: <sip:122@82.x.x.x>;tag=as3d3e1d8e
To: <sip:122@82.x.x.x>
Call-ID: 02b390365696c6b915366c4662862049@127.0.0.1
CSeq: 103 REGISTER
User-Agent: FPBX-2.11.0(11.17.1)
Authorization: Digest username="122", realm="sip.rt.ru", algorithm=MD5, uri="sip:sip:sip.rt.ru", nonce="12fd66eea0cf9d03f7819d795b5daeb2", response="cd1c8518302a96b12beeabf3c3b83a32"
Expires: 120
Contact: <sip:122@82.x.x.x:5060>
Content-Length: 0
---
[2016-04-21 09:59:19] VERBOSE[3038] chan_sip.c:
<--- SIP read from UDP:82.x.x.x:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 82.y.y.y:5060;received=192.168.1.40;branch=z9hG4bK7981d23e;rport=5060
From: <sip:122@82.x.x.x>;tag=as3d3e1d8e
To: <sip:122@82.x.x.x>;tag=0yhi8a0e
Call-ID: 02b390365696c6b915366c4662862049@127.0.0.1
CSeq: 103 REGISTER
Expires: 300
Contact: <sip:122@82.y.y.y:5060>;expires=300
Server: Rostelekom
Content-Length: 0
[2016-04-21 09:59:19] VERBOSE[3038] chan_sip.c: REGISTER 10 headers, 0 lines
[2016-04-21 09:59:19] VERBOSE[3038] chan_sip.c: Reliably Transmitting (NAT) to 82.x.x.x:5060:
REGISTER sip:82.x.x.x SIP/2.0
Via: SIP/2.0/UDP 82.y.y.y:5060;branch=z9hG4bK01425764;rport
Max-Forwards: 70
From: <sip:122@82.x.x.x>;tag=as3d3e1d8e
To: <sip:122@82.x.x.x>
Call-ID: 02b390365696c6b915366c4662862049@127.0.0.1
CSeq: 102 REGISTER
User-Agent: FPBX-2.11.0(11.17.1)
Expires: 120
Contact: <sip:122@82.y.y.y:5060>
Content-Length: 0
---
[2016-04-21 09:59:19] VERBOSE[3038] chan_sip.c:
<--- SIP read from UDP:82.151.127.114:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 82.y.y.y:5060;received=192.168.1.40;branch=z9hG4bK01425764;rport=5060
From: <sip:122@82.x.x.x>;tag=as3d3e1d8e
To: <sip:122@82.x.x.x>;tag=gmiyjrlk
Call-ID: 02b390365696c6b915366c4662862049@127.0.0.1
CSeq: 102 REGISTER
WWW-Authenticate: Digest realm="sip.rt.ru",nonce="12fd66eea0cf9d03f7819d795b5daeb2",domain="sip:sip.rt.ru",stale=false,algorithm=MD5
Server: Rostelekom
Content-Length: 0
<------------->
[2016-04-21 09:59:19] VERBOSE[3038] chan_sip.c: --- (9 headers 0 lines) ---
[2016-04-21 09:59:19] VERBOSE[3038] chan_sip.c: Responding to challenge, registration to domain/host name 82.x.x.x
[2016-04-21 09:59:19] VERBOSE[3038] chan_sip.c: REGISTER 11 headers, 0 lines
[2016-04-21 09:59:19] VERBOSE[3038] chan_sip.c: Reliably Transmitting (NAT) to 82.x.x.x:5060:
REGISTER sip:82.x.x.x SIP/2.0
Via: SIP/2.0/UDP 82.y.y.y:5060;branch=z9hG4bK7981d23e;rport
Max-Forwards: 70
From: <sip:122@82.x.x.x>;tag=as3d3e1d8e
To: <sip:122@82.x.x.x>
Call-ID: 02b390365696c6b915366c4662862049@127.0.0.1
CSeq: 103 REGISTER
User-Agent: FPBX-2.11.0(11.17.1)
Authorization: Digest username="122", realm="sip.rt.ru", algorithm=MD5, uri="sip:sip:sip.rt.ru", nonce="12fd66eea0cf9d03f7819d795b5daeb2", response="cd1c8518302a96b12beeabf3c3b83a32"
Expires: 120
Contact: <sip:122@82.x.x.x:5060>
Content-Length: 0
---
[2016-04-21 09:59:19] VERBOSE[3038] chan_sip.c:
<--- SIP read from UDP:82.x.x.x:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 82.y.y.y:5060;received=192.168.1.40;branch=z9hG4bK7981d23e;rport=5060
From: <sip:122@82.x.x.x>;tag=as3d3e1d8e
To: <sip:122@82.x.x.x>;tag=0yhi8a0e
Call-ID: 02b390365696c6b915366c4662862049@127.0.0.1
CSeq: 103 REGISTER
Expires: 300
Contact: <sip:122@82.y.y.y:5060>;expires=300
Server: Rostelekom
Content-Length: 0