Цитата(harris @ 9.12.2016, 12:58)

Абонент UCP - ТФОП SIP работает
Сетевой абонент - UCP - ТФОП SIP не работает. Так??
Причем отбивается со стороны SIP оператора.
Так снимите аналогичную трассировку при вызове от абонента UCP на ТФОП SIP и сравните, чтобы понять, в чем разница.
Кстати, а почему ваша станция в SDP Invite указывает ваш локал. IP адрес, а не Public??
Абонент UCP ---> переадресация на абоненте UCP ---> ТФОП SIP: работает
Абонент сети АТС ---> переадресация на абоненте UCP ---> ТФОП SIP: не работает
Абонент UCP ---> переадресация на абоненте UCP ---> Абонент сети АТС: работает
Абонент сети АТС ---> переадресация на абоненте UCP ---> Абонент сети АТС: не работает
Прямые вызовы с абонентов UCP на ТфОП и сетевых абонентов работают
Включена SIP инспекция, она на стороне NAT подменяет адрес.
Отличий в трассировке не нашел. Инвайты одинаковые, смотрел со всей тщательностью, но мог уже "замылиться" глаз.
Удачный вызов. Вызов с абонента UCP на абонента UCP с переадресацией на ТфОП
Цитата
[ 09/12/16 15:00:25 ]+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Sent 1087 Bytes to 62.148.237.159:5060 by UDP (SendEv)
--------------------------------------------------------------------------------
INVITE sip:89033332333@sipdomain.ru SIP/2.0
From: <sip:104891@sipdomain.ru>;tag=4c335648-a031f0a-13c4-65014-26b23-758ace-26b23
To: <sip:89033332333@sipdomain.ru>
Call-ID: 4c381258-a031f0a-13c4-65014-26b23-17d4a30-26b23
CSeq: 1 INVITE
Via: SIP/2.0/UDP 78.27.150.81:5060;rport;branch=z9hG4bK-26b23-97280e6-4c8e1d08-4bf989f8
Max-Forwards: 70
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,REFER,SUBSCRIBE,NOTIFY,MESSAGE,INFO,PRACK
,UPDATE
Supported: replaces,UPDATE,INFO
P-Asserted-Identity: <sip:104891@sipdomain.ru>
Remote-Party-ID: <sip:104891@sipdomain.ru>; party=calling; privacy=off; screen=yes
Privacy: none
User-Agent: Ericsson-LG Enterprise iPECS-UCP UCP600 2.1.23
Contact: <sip:104891@78.27.150.81:5060;transport=UDP>
Content-Type: application/sdp
Content-Length: 271
v=0
o=iPECS-UCP 29 29 IN IP4 192.168.1.100
s=iPECS-UCP SIP
c=IN IP4 192.168.1.100
t=0 0
m=audio 9044 RTP/AVP 0 8 4 18 100
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:4 G723/8000
a=rtpmap:18 G729 8000
a=fmtp:18 annexb=no
a=rtpmap:100 G729A/8000
a=sendrecv
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++
[ 09/12/16 15:00:25 ]===========================================================
Received 337 Bytes from 62.148.237.159:5060 by UDP (ReceiveEv)
--------------------------------------------------------------------------------
SIP/2.0 100 Trying
From: <sip:104891@sipdomain.ru>;tag=4c335648-a031f0a-13c4-65014-26b23-758ace-26b23
To: <sip:89033332333@sipdomain.ru>
Call-ID: 4c381258-a031f0a-13c4-65014-26b23-17d4a30-26b23
CSeq: 1 INVITE
Via: SIP/2.0/UDP 192.168.1.50:5060;rport=5060;branch=z9hG4bK-26b23-97280e6-4c8e1d08-4bf989f8
Content-Length: 0
========================================================================== ======
[ 09/12/16 15:00:25 ]===========================================================
Received 673 Bytes from 62.148.237.159:5060 by UDP (ReceiveEv)
--------------------------------------------------------------------------------
SIP/2.0 407 Proxy Authentication Required
From: <sip:104891@sipdomain.ru>;tag=4c335648-a031f0a-13c4-65014-26b23-758ace-26b23
To: <sip:89033332333@sipdomain.ru>;tag=1075537125
Call-ID: 4c381258-a031f0a-13c4-65014-26b23-17d4a30-26b23
CSeq: 1 INVITE
Via: SIP/2.0/UDP 192.168.1.50:5060;rport=5060;branch=z9hG4bK-26b23-97280e6-4c8e1d08-4bf989f8
contact: <sip:89033332333@sipdomain.ru:5060;maddr=62.148.237.159>
supported: com.nortelnetworks.firewall,p-3rdpartycontrol,nosec,join
proxy-authenticate: Digest realm="Realm",nonce="MTQ4MTI3NzYxODA3NGI3ZTRhYmUyNDg5ZWJiOTJmZjc4OTg4NjFjZWU5MjFm",stale=false, algorithm=MD5,qop="auth,auth-int"
Content-Length: 0
=========================================================================== =====
[ 09/12/16 15:00:25 ]+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Sent 506 Bytes to 62.148.237.159:5060 by UDP (SendEv)
--------------------------------------------------------------------------------
ACK sip:89033332333@sipdomain.ru SIP/2.0
From: <sip:104891@sipdomain.ru>;tag=4c335648-a031f0a-13c4-65014-26b23-758ace-26b23
To: <sip:89033332333@sipdomain.ru>;tag=1075537125
Call-ID: 4c381258-a031f0a-13c4-65014-26b23-17d4a30-26b23
CSeq: 1 ACK
Via: SIP/2.0/UDP 78.27.150.81:5060;rport;branch=z9hG4bK-26b23-97280e6-4c8e1d08-4bf989f8
Max-Forwards: 70
User-Agent: Ericsson-LG Enterprise iPECS-UCP UCP600 2.1.23
Contact: <sip:104891@78.27.150.81:5060;transport=UDP>
Content-Length: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++
[ 09/12/16 15:00:25 ]+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Sent 1352 Bytes to 62.148.237.159:5060 by UDP (SendEv)
--------------------------------------------------------------------------------
INVITE sip:89033332333@sipdomain.ru SIP/2.0
From: <sip:104891@sipdomain.ru>;tag=4c335648-a031f0a-13c4-65014-26b23-758ace-26b23
To: <sip:89033332333@sipdomain.ru>
Call-ID: 4c381258-a031f0a-13c4-65014-26b23-17d4a30-26b23
CSeq: 2 INVITE
Via: SIP/2.0/UDP 78.27.150.81:5060;rport;branch=z9hG4bK-26b23-9728121-d3ff2ae-4bf98bb8
Max-Forwards: 70
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,REFER,SUBSCRIBE,NOTIFY,MESSAGE,INFO,PRACK
,UPDATE
Supported: replaces,UPDATE,INFO
P-Asserted-Identity: <sip:104891@sipdomain.ru>
Remote-Party-ID: <sip:104891@sipdomain.ru>; party=calling; privacy=off; screen=yes
Privacy: none
User-Agent: Ericsson-LG Enterprise iPECS-UCP UCP600 2.1.23
Contact: <sip:104891@78.27.150.81:5060;transport=UDP>
Proxy-Authorization: Digest username="104891",realm="Realm",nonce="MTQ4MTI3NzYxODA3NGI3ZTRhYmUyNDg5ZWJiOTJmZjc4OTg4NjFjZWU5MjFm", uri="sip:89033332333@sipdomain.ru",response="d0e5823c8022f44d70331e3ae3fc09fd",algorithm=MD5,cnonce="9728121", qop=auth,nc=00000 01
Content-Type: application/sdp
Content-Length: 271
v=0
o=iPECS-UCP 29 29 IN IP4 192.168.1.100
s=iPECS-UCP SIP
c=IN IP4 192.168.1.100
t=0 0
m=audio 9044 RTP/AVP 0 8 4 18 100
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:4 G723/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:100 G729A/8000
a=sendrecv
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++
[ 09/12/16 15:00:25 ]===========================================================
Received 336 Bytes from 62.148.237.159:5060 by UDP (ReceiveEv)
--------------------------------------------------------------------------------
SIP/2.0 100 Trying
From: <sip:104891@sipdomain.ru>;tag=4c335648-a031f0a-13c4-65014-26b23-758ace-26b23
To: <sip:89033332333@sipdomain.ru>
Call-ID: 4c381258-a031f0a-13c4-65014-26b23-17d4a30-26b23
CSeq: 2 INVITE
Via: SIP/2.0/UDP 192.168.1.50:5060;rport=5060;branch=z9hG4bK-26b23-9728121-d3ff2ae-4bf98bb8
Content-Length: 0
======================================================================== ========
[ 09/12/16 15:00:26 ]===========================================================
Received 1041 Bytes from 62.148.237.159:5060 by UDP (ReceiveEv)
--------------------------------------------------------------------------------
SIP/2.0 183 Session Progress
From: "104891 104891"<sip:104891@sipdomain.ru>;tag=4c335648-a031f0a-13c4-65014-26b23-758ace-26b23
To: <sip:89033332333@sipdomain.ru>;tag=c32f21444650201612916023
Call-ID: 4c381258-a031f0a-13c4-65014-26b23-17d4a30-26b23
CSeq: 2 INVITE
Via: SIP/2.0/UDP 192.168.1.50:5060;rport=5060;branch=z9hG4bK-26b23-9728121-d3ff2ae-4bf98bb8
content-type: application/sdp
contact: <sip:62.148.237.159:5060;nt_end_pt=YM0+~KC0.1zQao37COn~AAf_cod~P94RQQA3cOb15az
f613fVQ3E-tN57.yS.420lkcWH~B4062a1eZCQ34_15b;nt_server_host=62.148.237.159>
x-nt-party-id: -/
allow: ACK
allow: BYE
allow: CANCEL
allow: INVITE
allow: OPTIONS
allow: INFO
allow: SUBSCRIBE
allow: REFER
allow: NOTIFY
allow: PRACK
server: CS2000_NGSS/9.0
Content-Length: 265
v=0
o=PVG 1481277493670 1481277493670 IN IP4 62.148.237.194
s=-
t=0 0
a=sqn:0
a=cdsc: 1 image udptl t38
a=cpar: a=T38FaxVersion:0
a=cpar: a=T38FaxUdpEC:t38UDPRedundancy
m=audio 51930 RTP/AVP 0 8 18
c=IN IP4 62.148.237.194
a=ptime:20
a= mtp:18 annexb=no
========================================================================= =======
[ 09/12/16 15:00:26 ]===========================================================
Received 734 Bytes from 62.148.237.159:5060 by UDP (ReceiveEv)
--------------------------------------------------------------------------------
SIP/2.0 180 Ringing
From: "104891 104891"<sip:104891@sipdomain.ru>;tag=4c335648-a031f0a-13c4-65014-26b23-758ace-26b23
To: <sip:89033332333@sipdomain.ru>;tag=c32f21444650201612916023
Call-ID: 4c381258-a031f0a-13c4-65014-26b23-17d4a30-26b23
CSeq: 2 INVITE
Via: SIP/2.0/UDP 192.168.1.50:5060;rport=5060;branch=z9hG4bK-26b23-9728121-d3ff2ae-4bf98bb8
contact: <sip:62.148.237.159:5060;nt_end_pt=YM0+~KC0.1zQao37COn~AAf_cod~P94RQQA3cOb15az
f613fVQ3E-tN57.yS.420lkcWH~B4062a1eZCQ34_15b;nt_server_host=62.148.237.159>
x-nt-party-id: -/
allow: ACK
allow: BYE
allow: CANCEL
allow: INVITE
allow: OPTIONS
allow: INFO
allow: SUBSCRIBE
allow: REFER
allow: NOTIFY
allow: PRACK
server: CS2000_NGSS/9.0
Content-Length: 0
Неудачный вызов. Вызов с сетевого абонента на абонента UCP с переадресацией на ТфОП.
Цитата
[ 09/12/16 14:45:53 ]+++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++
Sent 1090 Bytes to 62.148.237.159:5060 by UDP (SendEv)
--------------------------------------------------------------------------------
INVITE sip:89033332333@sipdomain.ru SIP/2.0
From: <sip:104891@sipdomain.ru>;tag=4c32e220-a031f0a-13c4-65014-267bb-510bc8c3-267bb
To: <sip:89033332333@sipdomain.ru>
Call-ID: 4c37e5d0-a031f0a-13c4-65014-267bb-19ae22d5-267bb
CSeq: 1 INVITE
Via: SIP/2.0/UDP 78.27.150.81:5060;rport;branch=z9hG4bK-267bb-9653334-3e52459-4bf912f8
Max-Forwards: 70
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,REFER,SUBSCRIBE,NOTIFY,MESSAGE,INFO,PRACK
,UPDATE
Supported: replaces,UPDATE,INFO
P-Asserted-Identity: <sip:104891@sipdomain.ru>
Remote-Party-ID: <sip:104891@sipdomain.ru>; party=redirect; privacy=off; screen=yes
Privacy: none
User-Agent: Ericsson-LG Enterprise iPECS-UCP UCP600 2.1.23
Contact: <sip:104891@78.27.150.81:5060;transport=UDP>
Content-Type: application/sdp
Content-Length: 271
v=0
o=iPECS-UCP 30 30 IN IP4 192.168.1.100
s=iPECS-UCP SIP
c=IN IP4 192.168.1.100
t=0 0
m=audio 9046 RTP/AVP 0 8 4 18 100
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:4 G723/8000
a=rtpmap:18 G29/8000
a=fmtp:18 annexb=no
a=rtpmap:100 G729A/8000
a=sendrecv
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++
[ 09/12/16 14:45:53 ]===========================================================
Received 339 Bytes from 62.148.237.159:5060 by UDP (ReceiveEv)
--------------------------------------------------------------------------------
SIP/2.0 100 Trying
From: <sip:104891@sipdomain.ru>;tag=4c32e220-a031f0a-13c4-65014-267bb-510bc8c3-267bb
To: <sip:89033332333@sipdomain.ru>
Call-ID: 4c37e5d0-a031f0a-13c4-65014-267bb-19ae22d5-267bb
CSeq: 1 INVITE
Via: SIP/2.0/UDP 192.168.1.50:5060;rport=5060;branch=z9hG4bK-267bb-9653334-3e52459-4bf912f8
Content-Length: 0
========================================================================= =======
[ 09/12/16 14:45:53 ]===========================================================
Received 675 Bytes from 62.148.237.159:5060 by UDP (ReceiveEv)
--------------------------------------------------------------------------------
SIP/2.0 407 Proxy Authentication Required
From: <sip:104891@sipdomain.ru>;tag=4c32e220-a031f0a-13c4-65014-267bb-510bc8c3-267bb
To: <sip:89033332333@sipdomain.ru>;tag=1264644495
Call-ID: 4c37e5d0-a031f0a-13c4-65014-267bb-19ae22d5-267bb
CSeq: 1 INVITE
Via: SIP/2.0/UDP 192.168.1.50:5060;rport=5060;branch=z9hG4bK-267bb-9653334-3e52459-4bf912f8
contact: <sip:89033332333@sipdomain.ru:5060;maddr=62.148.237.159>
supported: com.nortelnetworks.firewall,p-3rdpartycontrol,nosec,join
proxy-authenticate: Digest realm="Realm",nonce="MTQ4MTI3Njc0NjM3NTA3MzIxMjk4OGIxZDNlYjcwODIxYjgxOGY2ODIxYzE4", stale=false,algorithm=MD5,qop="auth,auth-int"
Content-Length: 0
========================================================================= =======
[ 09/12/16 14:45:53 ]+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Sent 508 Bytes to 62.148.237.159:5060 by UDP (SendEv)
--------------------------------------------------------------------------------
ACK sip:89033332333@sipdomain.ru SIP/2.0
From: <sip:104891@sipdomain.ru>;tag=4c32e220-a031f0a-13c4-65014-267bb-510bc8c3-267bb
To: <sip:89033332333@sipdomain.ru>;tag=1264644495
Call-ID: 4c37e5d0-a031f0a-13c4-65014-267bb-19ae22d5-267bb
CSeq: 1 ACK
Via: SIP/2.0/UDP 78.27.150.81:5060;rport;branch=z9hG4bK-267bb-9653334-3e52459-4bf912f8
Max-Forwards: 70
User-Agent: Ericsson-LG Enterprise iPECS-UCP UCP600 2.1.23
Contact: <sip:104891@78.27.150.81:5060;transport=UDP>
Content-Length: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++
[ 09/12/16 14:45:53 ]+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Sent 1357 Bytes to 62.148.237.159:5060 by UDP (SendEv)
--------------------------------------------------------------------------------
INVITE sip:89033332333@sipdomain.ru SIP/2.0
From: <sip:104891@sipdomain.ru>;tag=4c32e220-a031f0a-13c4-65014-267bb-510bc8c3-267bb
To: <sip:89033332333@sipdomain.ru>
Call-ID: 4c37e5d0-a031f0a-13c4-65014-267bb-19ae22d5-267bb
CSeq: 2 INVITE
Via: SIP/2.0/UDP 78.27.150.81:5060;rport;branch=z9hG4bK-267bb-965336c-608e9e0f-4bf914b8
Max-Forwards: 70
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,REFER,SUBSCRIBE,NOTIFY,MESSAGE,INFO,PRACK
,UPDATE
Supported: replaces,UPDATE,INFO
P-Asserted-Identity: <sip:104891@sipdomain.ru>
Remote-Party-ID: <sip:104891@sipdomain.ru>; party=redirect; privacy=off; screen=yes
Privacy: none
User-Agent: Ericsson-LG Enterprise iPECS-UCP UCP600 2.1.23
Contact: <sip:104891@78.27.150.81:5060;transport=UDP>
Proxy-Authorization: Digest username="104891",realm="Realm",nonce="MTQ4MTI3Njc0NjM3NTA3MzIxMjk4OGIxZDNlYjcwODIxYjgxOGY2ODIxYzE4", uri="sip:89033332333@sipdomain.ru",response="c59fc8fe4c04e41a6adfb68577570eaf",algorithm=MD5,cnonce="965336c", qop=auth,nc=0000001
Content-Type: application/sdp
Content-Length: 271
v=0
o=iPECS-UCP 30 30 IN IP4 192.168.1.100
s=iPECS-UCP SIP
c=IN IP4 192.168.1.100
t=0 0
m=audio 9046 RTP/AVP 0 8 4 18 100
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:4 G723/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:100 G729A/8000
a=sendrecv
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++
[ 09/12/16 14:45:53 ]===========================================================
Received 340 Bytes from 62.148.237.159:5060 by UDP (ReceiveEv)
--------------------------------------------------------------------------------
SIP/2.0 100 Trying
From: <sip:104891@sipdomain.ru>;tag=4c32e220-a031f0a-13c4-65014-267bb-510bc8c3-267bb
To: <sip:89033332333@sipdomain.ru>
Call-ID: 4c37e5d0-a031f0a-13c4-65014-267bb-19ae22d5-267bb
CSeq: 2 INVITE
Via: SIP/2.0/UDP 192.168.1.50:5060;rport=5060;branch=z9hG4bK-267bb-965336c-608e9e0f-4bf914b8
Content-Length: 0
======================================================================== ========
2702 030 00:00:00 09/12/16 14:45 O89033332333 0
[ 09/12/16 14:45:54 ]===========================================================
Received 654 Bytes from 62.148.237.159:5060 by UDP (ReceiveEv)
--------------------------------------------------------------------------------
SIP/2.0 487 Request Terminated
From: "104891 104891"<sip:104891@sipdomain.ru>;tag=4c32e220-a031f0a-13c4-65014-267bb-510bc8c3-267bb
To: <sip:89033332333@sipdomain.ru>;tag=13f4214409422016129154551
Call-ID: 4c37e5d0-a031f0a-13c4-65014-267bb-19ae22d5-267bb
CSeq: 2 INVITE
Via: SIP/2.0/UDP 192.168.1.50:5060;rport=5060;branch=z9hG4bK-267bb-965336c-608e9e0f-4bf914b8
contact: <sip:89033332333@sipdomain.ru:5060;maddr=62.148.237.159>
allow: ACK
allow: BYE
allow: CANCEL
allow: INVITE
allow: OPTIONS
allow: INFO
allow: SUBSCRIBE
allow: REFER
allow: NOTIFY
allow: PRACK
allow: UPDATE
server: CS2000_NGSS/9.0
Content-Length: 0
======================================================================== ========
[ 09/12/16 14:45:54 ]+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Sent 524 Bytes to 62.148.237.159:5060 by UDP (SendEv)
--------------------------------------------------------------------------------
ACK sip:89033332333@sipdomain.ru SIP/2.0
From: <sip:104891@sipdomain.ru>;tag=4c32e220-a031f0a-13c4-65014-267bb-510bc8c3-267bb
To: <sip:89033332333@sipdomain.ru>;tag=13f4214409422016129154551
Call-ID: 4c37e5d0-a031f0a-13c4-65014-267bb-19ae22d5-267bb
CSeq: 2 ACK
Via: SIP/2.0/UDP 78.27.150.81:5060;rport;branch=z9hG4bK-267bb-965336c-608e9e0f-4bf914b8
Max-Forwards: 70
User-Agent: Ericsson-LG Enterprise iPECS-UCP UCP600 2.1.23
Contact: <sip:104891@78.27.150.81:5060;transport=UDP>
Content-Length: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++
Мне еще бы понять как трассировать сетевые вызовы (Net вызовы, pgm 324, не уверен в правильности терминологии) Может там станет понятно в чем дело.