Вот, что выдается при дебаге по 101:
Код: Выделить всё
<--- Reliably Transmitting (NAT) to 95.53.164.233:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 95.53.164.233:5060;branch=z9hG4bK-d8754z-9c6a0a234b05d521-1---d8754z-;received=95.53.164.233;rport=5060
From: "101"<sip:101@office.33kita.ru:5060>;tag=68573c19
To: <sip:078202573818@office.33kita.ru:5060>;tag=as25aade06
Call-ID: NDI2OGMzZTFkNTY2Zjk2NWM5OWNjNzgyMzVjMGNiZWM.
CSeq: 2 INVITE
Server: Asterisk PBX 1.6.2.13
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Contact: <sip:078202573818@195.239.166.70>
Content-Type: application/sdp
Content-Length: 288
v=0
o=root 1366200424 1366200425 IN IP4 195.239.166.70
s=Asterisk PBX 1.6.2.13
c=IN IP4 195.239.166.70
t=0 0
m=audio 12498 RTP/AVP 0 8 3 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
<------------>
-- Packet2Packet bridging SIP/101-00000038 and SIP/pctel-00000039
<--- SIP read from UDP:95.53.164.233:5060 --->
<------------->
Retransmitting #1 (NAT) to 95.53.164.233:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 95.53.164.233:5060;branch=z9hG4bK-d8754z-9c6a0a234b05d521-1---d8754z-;received=95.53.164.233;rport=5060
From: "101"<sip:101@office.33kita.ru:5060>;tag=68573c19
To: <sip:078202573818@office.33kita.ru:5060>;tag=as25aade06
Call-ID: NDI2OGMzZTFkNTY2Zjk2NWM5OWNjNzgyMzVjMGNiZWM.
CSeq: 2 INVITE
Server: Asterisk PBX 1.6.2.13
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Contact: <sip:078202573818@195.239.166.70>
Content-Type: application/sdp
Content-Length: 288
v=0
o=root 1366200424 1366200425 IN IP4 195.239.166.70
s=Asterisk PBX 1.6.2.13
c=IN IP4 195.239.166.70
t=0 0
m=audio 12498 RTP/AVP 0 8 3 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
---
Retransmitting #2 (NAT) to 95.53.164.233:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 95.53.164.233:5060;branch=z9hG4bK-d8754z-9c6a0a234b05d521-1---d8754z-;received=95.53.164.233;rport=5060
From: "101"<sip:101@office.33kita.ru:5060>;tag=68573c19
To: <sip:078202573818@office.33kita.ru:5060>;tag=as25aade06
Call-ID: NDI2OGMzZTFkNTY2Zjk2NWM5OWNjNzgyMzVjMGNiZWM.
CSeq: 2 INVITE
Server: Asterisk PBX 1.6.2.13
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Contact: <sip:078202573818@195.239.166.70>
Content-Type: application/sdp
Content-Length: 288
v=0
o=root 1366200424 1366200425 IN IP4 195.239.166.70
s=Asterisk PBX 1.6.2.13
c=IN IP4 195.239.166.70
t=0 0
m=audio 12498 RTP/AVP 0 8 3 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
---
Retransmitting #3 (NAT) to 95.53.164.233:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 95.53.164.233:5060;branch=z9hG4bK-d8754z-9c6a0a234b05d521-1---d8754z-;received=95.53.164.233;rport=5060
From: "101"<sip:101@office.33kita.ru:5060>;tag=68573c19
To: <sip:078202573818@office.33kita.ru:5060>;tag=as25aade06
Call-ID: NDI2OGMzZTFkNTY2Zjk2NWM5OWNjNzgyMzVjMGNiZWM.
CSeq: 2 INVITE
Server: Asterisk PBX 1.6.2.13
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Contact: <sip:078202573818@195.239.166.70>
Content-Type: application/sdp
Content-Length: 288
v=0
o=root 1366200424 1366200425 IN IP4 195.239.166.70
s=Asterisk PBX 1.6.2.13
c=IN IP4 195.239.166.70
t=0 0
m=audio 12498 RTP/AVP 0 8 3 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
---
Really destroying SIP dialog 'MmZkOWY3NTBlYTkwYWQzNTdhYjA2Yjc1ZjUwODc0NTA.' Method: REGISTER
Retransmitting #4 (NAT) to 95.53.164.233:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 95.53.164.233:5060;branch=z9hG4bK-d8754z-9c6a0a234b05d521-1---d8754z-;received=95.53.164.233;rport=5060
From: "101"<sip:101@office.33kita.ru:5060>;tag=68573c19
To: <sip:078202573818@office.33kita.ru:5060>;tag=as25aade06
Call-ID: NDI2OGMzZTFkNTY2Zjk2NWM5OWNjNzgyMzVjMGNiZWM.
CSeq: 2 INVITE
Server: Asterisk PBX 1.6.2.13
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Contact: <sip:078202573818@195.239.166.70>
Content-Type: application/sdp
Content-Length: 288
v=0
o=root 1366200424 1366200425 IN IP4 195.239.166.70
s=Asterisk PBX 1.6.2.13
c=IN IP4 195.239.166.70
t=0 0
m=audio 12498 RTP/AVP 0 8 3 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
---
Retransmitting #5 (NAT) to 95.53.164.233:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 95.53.164.233:5060;branch=z9hG4bK-d8754z-9c6a0a234b05d521-1---d8754z-;received=95.53.164.233;rport=5060
From: "101"<sip:101@office.33kita.ru:5060>;tag=68573c19
To: <sip:078202573818@office.33kita.ru:5060>;tag=as25aade06
Call-ID: NDI2OGMzZTFkNTY2Zjk2NWM5OWNjNzgyMzVjMGNiZWM.
CSeq: 2 INVITE
Server: Asterisk PBX 1.6.2.13
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Contact: <sip:078202573818@195.239.166.70>
Content-Type: application/sdp
Content-Length: 288
v=0
o=root 1366200424 1366200425 IN IP4 195.239.166.70
s=Asterisk PBX 1.6.2.13
c=IN IP4 195.239.166.70
t=0 0
m=audio 12498 RTP/AVP 0 8 3 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
---
Retransmitting #6 (NAT) to 95.53.164.233:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 95.53.164.233:5060;branch=z9hG4bK-d8754z-9c6a0a234b05d521-1---d8754z-;received=95.53.164.233;rport=5060
From: "101"<sip:101@office.33kita.ru:5060>;tag=68573c19
To: <sip:078202573818@office.33kita.ru:5060>;tag=as25aade06
Call-ID: NDI2OGMzZTFkNTY2Zjk2NWM5OWNjNzgyMzVjMGNiZWM.
CSeq: 2 INVITE
Server: Asterisk PBX 1.6.2.13
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Contact: <sip:078202573818@195.239.166.70>
Content-Type: application/sdp
Content-Length: 288
v=0
o=root 1366200424 1366200425 IN IP4 195.239.166.70
s=Asterisk PBX 1.6.2.13
c=IN IP4 195.239.166.70
t=0 0
m=audio 12498 RTP/AVP 0 8 3 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
А вот это - после отключения:
Код: Выделить всё
---
-- Executing [h@macro-dialout-trunk:1] Macro("SIP/101-00000038", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/101-00000038", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] NoOp("SIP/101-00000038", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/101-00000038", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/101-00000038", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,10)
-- Executing [s@macro-hangupcall:10] GotoIf("SIP/101-00000038", "1?theend") in new stack
-- Goto (macro-hangupcall,s,12)
-- Executing [s@macro-hangupcall:12] Hangup("SIP/101-00000038", "") in new stack
== Spawn extension (macro-hangupcall, s, 12) exited non-zero on 'SIP/101-00000038' in macro 'hangupcall'
== Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/101-00000038' in macro 'dialout-trunk'
== Spawn extension (from-internal, 078202573818, 5) exited non-zero on 'SIP/101-00000038'
Really destroying SIP dialog 'NDI2OGMzZTFkNTY2Zjk2NWM5OWNjNzgyMzVjMGNiZWM.' Method: INVITE
3CX Phone в офисе работает с теми же настройками, так что, кажется, дело не в нем. Поставил X-Lite - та же проблема.