Поймал момент обрыва связи. Не очень понял кто обрывает связь - * или провайдер? Привожу кусок лога в момент обрыва:
<------------>
Scheduling destruction of SIP dialog 'f0b077445c7211e1ba0a0026558279f4@188.134.0.247' in 32000 ms (Method: OPTIONS)
Really destroying SIP dialog '1450720865@192_168_1_74' Method: REGISTER
Scheduling destruction of SIP dialog '4c63b8cd0ffebf8e6832fcbb68dcdf5e@192.168.99.254' in 6400 ms (Method: INVITE)
set_destination: Parsing <sip:240@192.168.99.10:5060;transport=udp;user=phone> for address/port to send to
set_destination: set destination to 192.168.99.10, port 5060
Reliably Transmitting (NAT) to 192.168.99.10:5060:
BYE sip:240@192.168.99.10:5060;transport=udp;user=phone SIP/2.0
Via: SIP/2.0/UDP 192.168.99.254:5060;branch=z9hG4bK266d1193;rport
Max-Forwards: 70
From: "9650250446" <sip:78126453616@192.168.99.254>;tag=as4ec0edf5
To: <sip:240@192.168.99.10:5060;transport=udp;user=phone>;tag=c0a80101-28a218
Call-ID: 4c63b8cd0ffebf8e6832fcbb68dcdf5e@192.168.99.254
CSeq: 103 BYE
User-Agent: D-Link DVG-1402S
X-Asterisk-HangupCause: Normal Clearing
X-Asterisk-HangupCauseCode: 16
Content-Length: 0
---
== Spawn extension (incoming-it, s, 4) exited non-zero on 'SIP/kt-6453616-0000022a'
Scheduling destruction of SIP dialog '3b12abc32b40bf34126d594873aba7a1@10.20.1.10' in 6400 ms (Method: ACK)
set_destination: Parsing <sip:9650250446@10.20.1.10> for address/port to send to
set_destination: set destination to 10.20.1.10, port 5060
Reliably Transmitting (no NAT) to 10.20.1.10:5060:
BYE sip:9650250446@10.20.1.10 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.94:5060;branch=z9hG4bK19c84093;rport
Max-Forwards: 70
From: <sip:6453616@192.168.1.94>;tag=as401ba90a
To: "9650250446" <sip:9650250446@10.20.1.10>;tag=as01df329c
Call-ID: 3b12abc32b40bf34126d594873aba7a1@10.20.1.10
CSeq: 102 BYE
User-Agent: D-Link DVG-1402S
X-Asterisk-HangupCause: Unknown
X-Asterisk-HangupCauseCode: 0
Content-Length: 0
---
== MixMonitor close filestream
== End MixMonitor Recording SIP/kt-6453616-0000022a
<--- SIP read from UDP:10.20.1.10:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.94:5060;branch=z9hG4bK19c84093;received=194.186.82.162;rport=5060
From: <sip:6453616@192.168.1.94>;tag=as401ba90a
To: "9650250446" <sip:9650250446@10.20.1.10>;tag=as01df329c
Call-ID: 3b12abc32b40bf34126d594873aba7a1@10.20.1.10
CSeq: 102 BYE
User-Agent: Cisco-SIPGateway/IOS-12.x
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Length: 0
<------------->
--- (10 headers 0 lines) ---
SIP Response message for INCOMING dialog BYE arrived
Really destroying SIP dialog '3b12abc32b40bf34126d594873aba7a1@10.20.1.10' Method: ACK
Retransmitting #1 (NAT) to 192.168.99.10:5060:
BYE sip:240@192.168.99.10:5060;transport=udp;user=phone SIP/2.0
Via: SIP/2.0/UDP 192.168.99.254:5060;branch=z9hG4bK266d1193;rport
Max-Forwards: 70
From: "9650250446" <sip:78126453616@192.168.99.254>;tag=as4ec0edf5
To: <sip:240@192.168.99.10:5060;transport=udp;user=phone>;tag=c0a80101-28a218
Call-ID: 4c63b8cd0ffebf8e6832fcbb68dcdf5e@192.168.99.254
CSeq: 103 BYE
User-Agent: D-Link DVG-1402S
X-Asterisk-HangupCause: Normal Clearing
X-Asterisk-HangupCauseCode: 16
Content-Length: 0
---
<--- SIP read from UDP:192.168.99.10:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.99.254:5060;branch=z9hG4bK266d1193;rport
From: "9650250446"<sip:78126453616@192.168.99.254>;tag=as4ec0edf5
To: <sip:240@192.168.99.10:5060;user=phone>;tag=c0a80101-28a218
Call-ID: 4c63b8cd0ffebf8e6832fcbb68dcdf5e@192.168.99.254
CSeq: 103 BYE
Content-Length: 0
<------------->
--- (7 headers 0 lines) ---
Really destroying SIP dialog '4c63b8cd0ffebf8e6832fcbb68dcdf5e@192.168.99.254' Method: INVITE
<--- SIP read from UDP:192.168.99.10:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.99.254:5060;branch=z9hG4bK266d1193;rport
From: "9650250446"<sip:78126453616@192.168.99.254>;tag=as4ec0edf5
To: <sip:240@192.168.99.10:5060;user=phone>;tag=c0a80101-28a218
Call-ID: 4c63b8cd0ffebf8e6832fcbb68dcdf5e@192.168.99.254
CSeq: 103 BYE
Content-Length: 0
192.168.99.10 - клиент, 10.20.1.10 - SIP провайдер
ответил
2012-02-21 14:09:50 +0400
andySPB 39 ● 10 ● 2 ● 8
Напишите какое оборудование и какие каналы используете.
switch ( 2012-02-15 11:34:37 +0400 )редактироватьNAT есть ?
amonra ( 2012-02-15 11:36:47 +0400 )редактировать