настроен транк от РТК. Но вот засада, что раньше я такие трануи настраивал и там имя пользователя было номер телефона. А тут какое-то буквенно - цифровое.
строка регистрации: z200820XX@ocher.perm.usi.ru:password@62.148.237.145/73427835910
настройки пира:
host=62.148.237.145
username=z200820ХХ
secret=password
canreinvite=no
type=peer
insecure=invite,port
disallow=all
allow=alaw,ulaw
dtmfmode=rfc2833
fromuser=73427835910
fromdomain=ocher.perm.usi.ru
qualify=yes
nat=yes
Входящие прекрасно падают.. все работает. На исходящие отлуп по Forbidden
Дебаг звонка:
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
Audio is at 15774
Adding codec 0x4 (ulaw) to SDP
Adding codec 0x8 (alaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (NAT) to 62.148.237.145:5060:
INVITE sip:89024793581@62.148.237.145 SIP/2.0
Via: SIP/2.0/UDP 5.140.165.19:5060;branch=z9hG4bK51063545;rport
Max-Forwards: 70
From: "73427835910" <sip:73427835910@ocher.perm.usi.ru>;tag=as5d3ecf22
To: <sip:89024793581@62.148.237.145>
Contact: <sip:73427835910@5.140.165.19:5060>
Call-ID: 4504687a0872c84154acfee112ea8589@ocher.perm.usi.ru
CSeq: 102 INVITE
User-Agent: FPBX-2.11.0(1.8.27.0)
Date: Fri, 27 Mar 2015 09:07:05 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 261
v=0
o=root 1323956363 1323956363 IN IP4 5.140.165.19
s=Asterisk PBX 1.8.27.0
c=IN IP4 5.140.165.19
t=0 0
m=audio 15774 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
---
-- Called SIP/OcherRTK/89024793581
Retransmitting #1 (NAT) to 62.148.237.145:5060:
INVITE sip:89024793581@62.148.237.145 SIP/2.0
Via: SIP/2.0/UDP 5.140.165.19:5060;branch=z9hG4bK51063545;rport
Max-Forwards: 70
From: "73427835910" <sip:73427835910@ocher.perm.usi.ru>;tag=as5d3ecf22
To: <sip:89024793581@62.148.237.145>
Contact: <sip:73427835910@5.140.165.19:5060>
Call-ID: 4504687a0872c84154acfee112ea8589@ocher.perm.usi.ru
CSeq: 102 INVITE
User-Agent: FPBX-2.11.0(1.8.27.0)
Date: Fri, 27 Mar 2015 09:07:05 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 261
v=0
o=root 1323956363 1323956363 IN IP4 5.140.165.19
s=Asterisk PBX 1.8.27.0
c=IN IP4 5.140.165.19
t=0 0
m=audio 15774 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
---
Retransmitting #2 (NAT) to 62.148.237.145:5060:
INVITE sip:89024793581@62.148.237.145 SIP/2.0
Via: SIP/2.0/UDP 5.140.165.19:5060;branch=z9hG4bK51063545;rport
Max-Forwards: 70
From: "73427835910" <sip:73427835910@ocher.perm.usi.ru>;tag=as5d3ecf22
To: <sip:89024793581@62.148.237.145>
Contact: <sip:73427835910@5.140.165.19:5060>
Call-ID: 4504687a0872c84154acfee112ea8589@ocher.perm.usi.ru
CSeq: 102 INVITE
User-Agent: FPBX-2.11.0(1.8.27.0)
Date: Fri, 27 Mar 2015 09:07:05 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 261
v=0
o=root 1323956363 1323956363 IN IP4 5.140.165.19
s=Asterisk PBX 1.8.27.0
c=IN IP4 5.140.165.19
t=0 0
m=audio 15774 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
---
<--- SIP read from UDP:62.148.237.145:5060 --->
SIP/2.0 403 Forbidden
From: "73427835910"<sip:73427835910@ocher.perm.usi.ru>;tag=as5d3ecf22
To: <sip:89024793581@62.148.237.145:5060>;tag=2029243428
Call-ID: 4504687a0872c84154acfee112ea8589@ocher.perm.usi.ru
CSeq: 102 INVITE
Via: SIP/2.0/UDP 5.140.165.19:5060;rport=53779;branch=z9hG4bK51063545
contact: <sip:89024793581@62.148.237.145:5060;maddr=62.148.237.145>
supported: com.nortelnetworks.firewall,p-3rdpartycontrol,nosec,join
Content-Length: 0
<------------->
--- (9 headers 0 lines) ---
Transmitting (NAT) to 62.148.237.145:5060:
ACK sip:89024793581@62.148.237.145 SIP/2.0
Via: SIP/2.0/UDP 5.140.165.19:5060;branch=z9hG4bK51063545;rport
Max-Forwards: 70
From: "73427835910" <sip:73427835910@ocher.perm.usi.ru>;tag=as5d3ecf22
To: <sip:89024793581@62.148.237.145>;tag=2029243428
Contact: <sip:73427835910@5.140.165.19:5060>
Call-ID: 4504687a0872c84154acfee112ea8589@ocher.perm.usi.ru
CSeq: 102 ACK
User-Agent: FPBX-2.11.0(1.8.27.0)
Content-Length: 0
Adding codec 0x4 (ulaw) to SDP
Adding codec 0x8 (alaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (NAT) to 62.148.237.145:5060:
INVITE sip:89024793581@62.148.237.145 SIP/2.0
Via: SIP/2.0/UDP 5.140.165.19:5060;branch=z9hG4bK51063545;rport
Max-Forwards: 70
From: "73427835910" <sip:73427835910@ocher.perm.usi.ru>;tag=as5d3ecf22
To: <sip:89024793581@62.148.237.145>
Contact: <sip:73427835910@5.140.165.19:5060>
Call-ID: 4504687a0872c84154acfee112ea8589@ocher.perm.usi.ru
CSeq: 102 INVITE
User-Agent: FPBX-2.11.0(1.8.27.0)
Date: Fri, 27 Mar 2015 09:07:05 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 261
v=0
o=root 1323956363 1323956363 IN IP4 5.140.165.19
s=Asterisk PBX 1.8.27.0
c=IN IP4 5.140.165.19
t=0 0
m=audio 15774 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
---
-- Called SIP/OcherRTK/89024793581
Retransmitting #1 (NAT) to 62.148.237.145:5060:
INVITE sip:89024793581@62.148.237.145 SIP/2.0
Via: SIP/2.0/UDP 5.140.165.19:5060;branch=z9hG4bK51063545;rport
Max-Forwards: 70
From: "73427835910" <sip:73427835910@ocher.perm.usi.ru>;tag=as5d3ecf22
To: <sip:89024793581@62.148.237.145>
Contact: <sip:73427835910@5.140.165.19:5060>
Call-ID: 4504687a0872c84154acfee112ea8589@ocher.perm.usi.ru
CSeq: 102 INVITE
User-Agent: FPBX-2.11.0(1.8.27.0)
Date: Fri, 27 Mar 2015 09:07:05 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 261
v=0
o=root 1323956363 1323956363 IN IP4 5.140.165.19
s=Asterisk PBX 1.8.27.0
c=IN IP4 5.140.165.19
t=0 0
m=audio 15774 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
---
Retransmitting #2 (NAT) to 62.148.237.145:5060:
INVITE sip:89024793581@62.148.237.145 SIP/2.0
Via: SIP/2.0/UDP 5.140.165.19:5060;branch=z9hG4bK51063545;rport
Max-Forwards: 70
From: "73427835910" <sip:73427835910@ocher.perm.usi.ru>;tag=as5d3ecf22
To: <sip:89024793581@62.148.237.145>
Contact: <sip:73427835910@5.140.165.19:5060>
Call-ID: 4504687a0872c84154acfee112ea8589@ocher.perm.usi.ru
CSeq: 102 INVITE
User-Agent: FPBX-2.11.0(1.8.27.0)
Date: Fri, 27 Mar 2015 09:07:05 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 261
v=0
o=root 1323956363 1323956363 IN IP4 5.140.165.19
s=Asterisk PBX 1.8.27.0
c=IN IP4 5.140.165.19
t=0 0
m=audio 15774 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
---
<--- SIP read from UDP:62.148.237.145:5060 --->
SIP/2.0 403 Forbidden
From: "73427835910"<sip:73427835910@ocher.perm.usi.ru>;tag=as5d3ecf22
To: <sip:89024793581@62.148.237.145:5060>;tag=2029243428
Call-ID: 4504687a0872c84154acfee112ea8589@ocher.perm.usi.ru
CSeq: 102 INVITE
Via: SIP/2.0/UDP 5.140.165.19:5060;rport=53779;branch=z9hG4bK51063545
contact: <sip:89024793581@62.148.237.145:5060;maddr=62.148.237.145>
supported: com.nortelnetworks.firewall,p-3rdpartycontrol,nosec,join
Content-Length: 0
<------------->
--- (9 headers 0 lines) ---
Transmitting (NAT) to 62.148.237.145:5060:
ACK sip:89024793581@62.148.237.145 SIP/2.0
Via: SIP/2.0/UDP 5.140.165.19:5060;branch=z9hG4bK51063545;rport
Max-Forwards: 70
From: "73427835910" <sip:73427835910@ocher.perm.usi.ru>;tag=as5d3ecf22
To: <sip:89024793581@62.148.237.145>;tag=2029243428
Contact: <sip:73427835910@5.140.165.19:5060>
Call-ID: 4504687a0872c84154acfee112ea8589@ocher.perm.usi.ru
CSeq: 102 ACK
User-Agent: FPBX-2.11.0(1.8.27.0)
Content-Length: 0
Есть идеи?