On Thu, Apr 15, 2010 at 12:38:01PM +0400, Lystopad Olexandr wrote: LO> Hello, Alexander Trotsai! LO> Скажи где в этой схемы есть NAT. Нигде нету ната Вот кусок дебага с CCME Видно что ATA рвет связь Только непонятно какого ... она это делает *Mar 8 00:04:49.154: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg: Received: SIP/2.0 200 OK Via: SIP/2.0/UDP 212.26.128.43:5060;branch=z9hG4bKBF236D From: "9011" sip:9011@10.20.20.243;tag=23FFCAF8-2013 To: sip:9001@10.20.20.243;tag=586879124 Call-ID: EF2263CD-315E11D6-A153EC47-340DB1DD@212.26.128.43 CSeq: 101 INVITE Timestamp: 1015545886 Contact: 9001 sip:9001@10.20.20.243:5060;user=phone;transport=udp Server: Cisco ATA 186 v3.2.1 atasip (050616A) Allow: ACK, BYE, CANCEL, INVITE, NOTIFY, OPTIONS, REFER, REGISTER, PRACK, UPDATE Supported: replaces Content-Length: 197 Content-Type: application/sdp v=0 o=9001 175566 175566 IN IP4 10.20.20.243 s=ATA186 Call c=IN IP4 10.20.20.243 t=0 0 m=audio 16384 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000/1 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 *Mar 8 00:04:49.154: //182/EF21C7A5A151/SIP/Call/sipSPICallInfo: The Call Setup Information is: Call Control Block (CCB) : 0x65A924F0 State of The Call : STATE_ACTIVE TCP Sockets Used : NO Calling Number : 9011 Called Number : 9001 Source IP Address (Sig ): 212.26.128.43 Destn SIP Req Addr:Port : 10.20.20.243:5060 Destn SIP Resp Addr:Port : 10.20.20.243:5060 Destination Name : 10.20.20.243 *Mar 8 00:04:49.154: //182/EF21C7A5A151/SIP/Call/sipSPIMediaCallInfo: Number of Media Streams: 1 Media Stream : 1 Negotiated Codec : g711ulaw Negotiated Codec Bytes : 160 Negotiated Dtmf-relay : 0 Dtmf-relay Payload : 0 Source IP Address (Media): 212.26.128.43 Source IP Port (Media): 18932 Destn IP Address (Media): 10.20.20.243 Destn IP Port (Media): 16384 Orig Destn IP Address:Port (Media): 0.0.0.0:0 *Mar 8 00:04:49.154: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg: Sent: ACK sip:9001@10.20.20.243:5060;user=phone;transport=udp SIP/2.0 Via: SIP/2.0/UDP 212.26.128.43:5060;branch=z9hG4bKC11FD8 From: "9011" sip:9011@10.20.20.243;tag=23FFCAF8-2013 To: sip:9001@10.20.20.243;tag=586879124 Date: Fri, 08 Mar 2002 00:04:46 GMT Call-ID: EF2263CD-315E11D6-A153EC47-340DB1DD@212.26.128.43 Max-Forwards: 70 CSeq: 101 ACK Content-Length: 0 *Mar 8 00:04:49.158: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg: Sent: BYE sip:9001@10.20.20.243:5060;user=phone;transport=udp SIP/2.0 Via: SIP/2.0/UDP 212.26.128.43:5060;branch=z9hG4bKC21DF1 From: "9011" sip:9011@10.20.20.243;tag=23FFCAF8-2013 To: sip:9001@10.20.20.243;tag=586879124 Date: Fri, 08 Mar 2002 00:04:46 GMT Call-ID: EF2263CD-315E11D6-A153EC47-340DB1DD@212.26.128.43 User-Agent: Cisco-SIPGateway/IOS-12.x Max-Forwards: 70 Timestamp: 1015545889 CSeq: 103 BYE Reason: Q.850;cause=127 Content-Length: 0 *Mar 8 00:04:49.158: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg: Sent: SIP/2.0 500 Internal Server Error Via: SIP/2.0/UDP 10.20.20.242:5060;branch=z9hG4bK-4bc6d14e-1636b3-4c86 From: "9011"sip:9011@212.26.128.43;tag=a1414f2-13c4-4bc6d14e-1636b3-5961 To: sip:9001@212.26.128.43;tag=23FFCAF4-6AB Date: Fri, 08 Mar 2002 00:04:46 GMT Call-ID: 688668-a1414f2-13c4-4bc6d14e-1636ae-516b@212.26.128.43 Server: Cisco-SIPGateway/IOS-12.x CSeq: 1 INVITE Allow-Events: telephone-event Reason: Q.850;cause=127 Content-Length: 0 *Mar 8 00:04:49.178: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg: Received: SIP/2.0 200 OK Via: SIP/2.0/UDP 212.26.128.43:5060;branch=z9hG4bKC21DF1 From: "9011" sip:9011@10.20.20.243;tag=23FFCAF8-2013 To: sip:9001@10.20.20.243;tag=586879124 Call-ID: EF2263CD-315E11D6-A153EC47-340DB1DD@212.26.128.43 CSeq: 103 BYE Timestamp: 1015545889 Server: Cisco ATA 186 v3.2.1 atasip (050616A) Allow: ACK, BYE, CANCEL, INVITE, NOTIFY, OPTIONS, REFER, REGISTER, PRACK, UPDATE Supported: replaces Content-Length: 0 *Mar 8 00:04:49.178: //182/EF21C7A5A151/SIP/Call/sipSPICallInfo: The Call Setup Information is: Call Control Block (CCB) : 0x65A924F0 State of The Call : STATE_DEAD TCP Sockets Used : NO Calling Number : 9011 Called Number : 9001 Source IP Address (Sig ): 212.26.128.43 Destn SIP Req Addr:Port : 10.20.20.243:5060 Destn SIP Resp Addr:Port : 10.20.20.243:5060 Destination Name : 10.20.20.243 *Mar 8 00:04:49.178: //182/EF21C7A5A151/SIP/Call/sipSPIMediaCallInfo: Number of Media Streams: 1 Media Stream : 1 Negotiated Codec : g711ulaw Negotiated Codec Bytes : 160 Negotiated Dtmf-relay : 0 Dtmf-relay Payload : 0 Source IP Address (Media): 212.26.128.43 Source IP Port (Media): 18932 Destn IP Address (Media): 10.20.20.243 Destn IP Port (Media): 16384 Orig Destn IP Address:Port (Media): 0.0.0.0:0 *Mar 8 00:04:49.178: //182/EF21C7A5A151/SIP/Call/sipSPICallInfo: Disconnect Cause (CC) : 127 Disconnect Cause (SIP) : 200 *Mar 8 00:04:49.250: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg: Received: ACK sip:9001@212.26.128.43 SIP/2.0 From: "9011"sip:9011@212.26.128.43;tag=a1414f2-13c4-4bc6d14e-1636b3-5961 To: sip:9001@212.26.128.43;tag=23FFCAF4-6AB Call-ID: 688668-a1414f2-13c4-4bc6d14e-1636ae-516b@212.26.128.43 CSeq: 1 ACK Via: SIP/2.0/UDP 10.20.20.242:5060;branch=z9hG4bK-4bc6d14e-1636b3-4c86 Max-Forwards: 70 User-Agent: FXO_GW Contact: sip:9011@10.20.20.242:5060 Content-Length: 0 *Mar 8 00:04:49.250: //181/EF21C7A5A151/SIP/Call/sipSPICallInfo: The Call Setup Information is: Call Control Block (CCB) : 0x65A8FEC4 State of The Call : STATE_DEAD TCP Sockets Used : NO Calling Number : 9011 Called Number : 9001 Source IP Address (Sig ): 212.26.128.43 Destn SIP Req Addr:Port : 10.20.20.242:5060 Destn SIP Resp Addr:Port : 10.20.20.242:5060 Destination Name : 10.20.20.242 *Mar 8 00:04:49.250: //181/EF21C7A5A151/SIP/Call/sipSPIMediaCallInfo: Number of Media Streams: 1 Media Stream : 1 Negotiated Codec : g711alaw Negotiated Codec Bytes : 160 Negotiated Dtmf-relay : 6 Dtmf-relay Payload : 101 Source IP Address (Media): 212.26.128.43 Source IP Port (Media): 18060 Destn IP Address (Media): 10.20.20.242 Destn IP Port (Media): 16384 Orig Destn IP Address:Port (Media): 0.0.0.0:0 *Mar 8 00:04:49.250: //181/EF21C7A5A151/SIP/Call/sipSPICallInfo: Disconnect Cause (CC) : 127 Disconnect Cause (SIP) : 500 *Mar 8 00:04:52.090: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg: Received: REGISTER sip:212.26.128.43 SIP/2.0 From: sip:9011@212.26.128.43;tag=a1414f2-13c4-4bc6d154-164d8d-2b12 To: sip:9011@212.26.128.43 Call-ID: a1414f2-13c4-4bc6d154-164d88-1574 CSeq: 1 REGISTER Via: SIP/2.0/UDP 10.20.20.242:5060;branch=z9hG4bK-4bc6d154-164d8d-2e3 Max-Forwards: 70 Supported: replaces User-Agent: FXO_GW Contact: sip:9011@10.20.20.242:5060;q=0.5 Expires: 60 Content-Length: 0 *Mar 8 00:04:52.094: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg: Sent: SIP/2.0 100 Trying Via: SIP/2.0/UDP 10.20.20.242:5060;branch=z9hG4bK-4bc6d154-164d8d-2e3 From: sip:9011@212.26.128.43;tag=a1414f2-13c4-4bc6d154-164d8d-2b12 To: sip:9011@212.26.128.43 Date: Fri, 08 Mar 2002 00:04:52 GMT Call-ID: a1414f2-13c4-4bc6d154-164d88-1574 Server: Cisco-SIPGateway/IOS-12.x Content-Length: 0 CSeq: 1 REGISTER -- Best regard, Aleksander Trotsai aka MAGE-RIPE aka MAGE-UANIC My PGP key at ftp://blackhole.adamant.ua/pgp/trotsai.key[.asc] Убить семерых мух одним зайцем