> Так у вас же вызовы начали ходить, осталась проблема с односторонним RTP
> и отсутствием SIP.
> Это другая проблема, пиры тут врятли виноваты. Нужно смотреть трейсы, попробуйте поднять
> SIP как более простой для человеческого понимания и снимите debug ccsip
> messages для одного проблемного вызова.Вот дебаг звонка с астериска по SIP:
Oct 24 11:46:07.712: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
INVITE sip:80456701@10.45.15.205 SIP/2.0
Via: SIP/2.0/UDP 10.169.2.222:5060;branch=z9hG4bK7b450b98;rport
Max-Forwards: 70
From: <sip:81691690@10.169.2.222>;tag=as47c1192d
To: <sip:80456701@10.45.15.205>
Contact: <sip:81691690@10.169.2.222:5060>
Call-ID: 19b3352f3ba363557f4f6fde368e18ba@10.169.2.222:5060
CSeq: 102 INVITE
User-Agent: -2.11.0beta2(11.5.1)
Date: Thu, 24 Oct 2013 05:45:18 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 745
v=0
o=root 1129937424 1129937424 IN IP4 10.169.2.222
s=Asterisk PBX 11.5.1
c=IN IP4 10.169.2.222
b=CT:384
t=0 0
m=audio 15516 RTP/AVP 18 4 9 8 0 10 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:4 G723/8000
a=fmtp:4 annexa=no
a=rtpmap:9 G722/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:10 L16/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
m=video 17050 RTP/AVP 34 98 99 31
a=rtpmap:34 H263/90000
a=fmtp:34 F=0;I=0;J=0;T=0;K=0;N=0;BPP=0;HRD=0
a=rtpmap:98 h263-1998/90000
a=fmtp:98 F=0;I=0;J=0;T=0;K=0;N=0;BPP=0;HRD=0
a=rtpmap:99 H264/90000
a=fmtp:99 redundant-pic-cap=0;parameter-add=0;packetization-mode=0;level-asymmetry-allowed=0
a=rtpmap:31 H261/90000
a=sendrecv
Oct 24 11:46:07.752: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.169.2.222:5060;branch=z9hG4bK7b450b98;rport
From: <sip:81691690@10.169.2.222>;tag=as47c1192d
To: <sip:80456701@10.45.15.205>
Date: Thu, 24 Oct 2013 05:46:07 GMT
Call-ID: 19b3352f3ba363557f4f6fde368e18ba@10.169.2.222:5060
CSeq: 102 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-12.x
Content-Length: 0
Oct 24 11:46:07.756: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
INVITE sip:80456701@10.45.129.254:5060 SIP/2.0
Via: SIP/2.0/UDP 10.45.15.205:5060;branch=z9hG4bK34317E1
Remote-Party-ID: <sip:81691690@10.45.15.205>;party=calling;screen=no;privacy=off
From: <sip:81691690@10.45.15.205>;tag=8EE35584-13CB
To: <sip:80456701@10.45.129.254>
Date: Thu, 24 Oct 2013 05:46:07 GMT
Call-ID: 69D5F764-3BA611E3-846CECB2-B4A0A393@10.45.15.205
Supported: 100rel,timer,resource-priority,replaces,sdp-anat
Min-SE: 1800
Cisco-Guid: 1775310219-1000739299-2221337778-3030426515
User-Agent: Cisco-SIPGateway/IOS-12.x
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
CSeq: 101 INVITE
Timestamp: 1382593567
Contact: <sip:81691690@10.45.15.205:5060>
Expires: 180
Allow-Events: telephone-event
Max-Forwards: 69
Content-Type: application/sdp
Content-Disposition: session;handling=required
Content-Length: 574
v=0
o=CiscoSystemsSIP-GW-UserAgent 15 2066 IN IP4 10.45.15.205
s=SIP Call
c=IN IP4 10.45.15.205
t=0 0
m=audio 17950 RTP/AVP 18 4 8 0 100 19
c=IN IP4 10.45.15.205
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:4 G723/8000
a=fmtp:4 bitrate=6.3;annexa=no
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:100 X-NSE/8000
a=fmtp:100 192-194
a=rtpmap:19 CN/8000
m=video 17528 RTP/AVP 34 99
c=IN IP4 10.45.15.205
b=TIAS:85000
a=rtpmap:34 H263/90000
a=fmtp:34 CIF=1;MAXBR=850
a=rtpmap:99 H264/90000
a=fmtp:99 profile-level-id=000000;packetization-mode=0
Oct 24 11:46:07.780: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.45.15.205:5060;branch=z9hG4bK34317E1;received=10.45.15.205
From: <sip:81691690@10.45.15.205>;tag=8EE35584-13CB
To: <sip:80456701@10.45.129.254>
Call-ID: 69D5F764-3BA611E3-846CECB2-B4A0A393@10.45.15.205
CSeq: 101 INVITE
Content-Length: 0
Oct 24 11:46:07.792: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP 10.45.15.205:5060;branch=z9hG4bK34317E1;received=10.45.15.205
From: <sip:81691690@10.45.15.205>;tag=8EE35584-13CB
To: <sip:80456701@10.45.129.254>;tag=58f7391a
Call-ID: 69D5F764-3BA611E3-846CECB2-B4A0A393@10.45.15.205
CSeq: 101 INVITE
Contact: <sip:80456701@10.45.129.254:5060>
Content-Type: application/sdp
Content-Length: 152
v=0
o=proton 1382593564 1382593564 IN IP4 10.45.129.254
s=SDP session
c=IN IP4 10.45.129.254
t=0 0
m=audio 7570 RTP/AVP 18
a=rtpmap:18 G729/8000
Oct 24 11:46:07.796: %VOICE_IEC-3-GW: SIP: Internal Error (183, codec mismatch): IEC=1.1.278.7.105.0 on callID 123685 GUID=69D1158B3BA611E38466ECB2B4A0A393
c2811-45-voip#
c2811-45-voip#
c2811-45-voip#
c2811-45-voip#
Oct 24 11:46:07.800: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
CANCEL sip:80456701@10.45.129.254:5060 SIP/2.0
Via: SIP/2.0/UDP 10.45.15.205:5060;branch=z9hG4bK34317E1
From: <sip:81691690@10.45.15.205>;tag=8EE35584-13CB
To: <sip:80456701@10.45.129.254>
Date: Thu, 24 Oct 2013 05:46:07 GMT
Call-ID: 69D5F764-3BA611E3-846CECB2-B4A0A393@10.45.15.205
CSeq: 101 CANCEL
Max-Forwards: 70
Timestamp: 1382593567
Reason: Q.850;cause=65
Content-Length: 0
Oct 24 11:46:07.812: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 408 Request Timeout
Via: SIP/2.0/UDP 10.45.15.205:5060;branch=z9hG4bK34317E1;received=10.45.15.205
From: <sip:81691690@10.45.15.205>;tag=8EE35584-13CB
To: <sip:80456701@10.45.129.254>;tag=58f7391a;tag=30c59eb7
Call-ID: 69D5F764-3BA611E3-846CECB2-B4A0A393@10.45.15.205
CSeq: 101 INVITE
Contact: <sip:80456701@10.45.129.254:5060>
Content-Length: 0
Oct 24 11:46:07.824: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
ACK sip:80456701@10.45.129.254:5060 SIP/2.0
Via: SIP/2.0/UDP 10.45.15.205:5060;branch=z9hG4bK34317E1
From: <sip:81691690@10.45.15.205>;tag=8EE35584-13CB
To: <sip:80456701@10.45.129.254>;tag=58f7391a;tag=30c59eb7
Date: Thu, 24 Oct 2013 05:46:07 GMT
Call-ID: 69D5F764-3BA611E3-846CECB2-B4A0A393@10.45.15.205
Max-Forwards: 70
CSeq: 101 ACK
Allow-Events: telephone-event
Reason: Q.850;cause=65
Content-Length: 0
Oct 24 11:46:07.824: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 501 Not Implemented
Via: SIP/2.0/UDP 10.169.2.222:5060;branch=z9hG4bK7b450b98;rport
From: <sip:81691690@10.169.2.222>;tag=as47c1192d
To: <sip:80456701@10.45.15.205>;tag=8EE355CC-1586
Date: Thu, 24 Oct 2013 05:46:07 GMT
Call-ID: 19b3352f3ba363557f4f6fde368e18ba@10.169.2.222:5060
CSeq: 102 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-12.x
Reason: Q.850;cause=65
Content-Length: 0
Oct 24 11:46:07.828: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.45.15.205:5060;branch=z9hG4bK34317E1;received=10.45.15.205
From: <sip:81691690@10.45.15.205>;tag=8EE35584-13CB
To: <sip:80456701@10.45.129.254>
Call-ID: 69D5F764-3BA611E3-846CECB2-B4A0A393@10.45.15.205
CSeq: 101 CANCEL
Content-Length: 0
Oct 24 11:46:07.876: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
c2811-45-voip#ACK sip:80456701@10.45.15.205 SIP/2.0
Via: SIP/2.0/UDP 10.169.2.222:5060;branch=z9hG4bK7b450b98;rport
Max-Forwards: 70
From: <sip:81691690@10.169.2.222>;tag=as47c1192d
To: <sip:80456701@10.45.15.205>;tag=8EE355CC-1586
Contact: <sip:81691690@10.169.2.222:5060>
Call-ID: 19b3352f3ba363557f4f6fde368e18ba@10.169.2.222:5060
CSeq: 102 ACK
User-Agent: -2.11.0beta2(11.5.1)
Content-Length: 0
Oct 24 11:46:09.556: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
OPTIONS sip:10.45.15.205 SIP/2.0
Via: SIP/2.0/UDP 10.169.2.222:5060;branch=z9hG4bK6659352e;rport
Max-Forwards: 70
From: "Unknown" <sip:Unknown@10.169.2.222>;tag=as0644d677
To: <sip:10.45.15.205>
Contact: <sip:Unknown@10.169.2.222:5060>
Call-ID: 0dab5dac266072254980629f521c4fa2@10.169.2.222:5060
CSeq: 102 OPTIONS
User-Agent: -2.11.0beta2(11.5.1)
Date: Thu, 24 Oct 2013 05:45:20 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
Oct 24 11:46:09.564: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.169.2.222:5060;branch=z9hG4bK6659352e;rport
From: "Unknown" <sip:Unknown@10.169.2.222>;tag=as0644d677
To: <sip:10.45.15.205>;tag=8EE35C94-7D
Date: Thu, 24 Oct 2013 05:46:09 GMT
Call-ID: 0dab5dac266072254980629f521c4fa2@10.169.2.222:5060
Server: Cisco-SIPGateway/IOS-12.x
CSeq: 102 OPTIONS
Supported: 100rel,resource-priority,replaces,sdp-anat
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
Allow-Events: telephone-ev
c2811-45-voip#ent
Accept: application/sdp
Content-Type: application/sdp
Content-Length: 452
v=0
o=CiscoSystemsSIP-GW-UserAgent 6266 9402 IN IP4 10.45.15.205
s=SIP Call
c=IN IP4 10.45.15.205
t=0 0
m=audio 0 RTP/AVP 18 0 8 9 4 2 15 3
c=IN IP4 10.45.15.205
m=image 0 udptl t38
c=IN IP4 10.45.15.205
a=T38FaxVersion:0
a=T38MaxBitRate:9600
a=T38FaxFillBitRemoval:0
a=T38FaxTranscodingMMR:0
a=T38FaxTranscodingJBIG:0
a=T38FaxRateManagement:transferredTCF
a=T38FaxMaxBuffer:200
a=T38FaxMaxDatagram:180
a=T38FaxUdpEC:t38UDPRedundancy
Какой-то непонятный набор ошибок. Как я понял, астериск с циской договорились нормально, а вот циска с DGW уже не может ни о чем договориться?
Причем видно, что сама сигнализация прошла и один звонок на телефоне был, абонент же сразу получил отбой.
Вот в истории звонков:
123701 ORG T0 g729r8 VOIP P80456701 0.0.0.0:0 D41
123700 ANS T0 g729r8 VOIP P81691690 10.169.2.222:11738 D41