> debug ccsip messages
> хотя не уверен что в 12.3 эта команда есть...Да такая команда есть, вот ответ - лог очень большой (выбрал лог только при: ждал 3 сек., потом звонок, потом еще 3 секунды).
--------------
cisco-2fxo#no debug ccsip messages
SIP Call messages tracing is disabled
cisco-2fxo#debug ccsip messages
SIP Call messages tracing is enabled
cisco-2fxo#
May 28 05:10:42.818: Received:
OPTIONS sip:192.168.51.14 SIP/2.0
Via: SIP/2.0/UDP 192.168.51.13:5060;branch=z9hG4bK3119996f
Max-Forwards: 70
From: "asterisk" <sip:asterisk@192.168.51.13>;tag=as4617a5bd
To: <sip:192.168.51.14>
Contact: <sip:asterisk@192.168.51.13:5060>
Call-ID: 469bbee41f13f0af4ee4fb980bbf5053@192.168.51.13:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.32.2
Date: Thu, 28 May 2015 05:11:01 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
May 28 05:10:42.830: Sent:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.51.13:5060;branch=z9hG4bK3119996f
From: "asterisk" <sip:asterisk@192.168.51.13>;tag=as4617a5bd
To: <sip:192.168.51.14>;tag=44DC359-198D
Date: Thu, 28 May 2015 05:10:42 GMT
Call-ID: 469bbee41f13f0af4ee4fb980bbf5053@192.168.51.13:5060
Server: Cisco-SIPGateway/IOS-12.x
Content-Type: application/sdp
CSeq: 102 OPTIONS
Supported: 100rel
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, SUBSCRIBE, NOTIFY, INFO
Accept: application/sdp
Allow-Events: telephone-event
Content-Length: 168
v=0
o=CiscoSystemsSIP-GW-UserAgent 5376 3244 IN IP4 192.168.51.14
s=SIP Call
c=IN IP4 192.168.51.14
t=0 0
m=audio 0 RTP/AVP 18 0 8 4 2 15
c=IN IP4 192.168.51.14
May 28 05:10:42.838: Received:
OPTIONS sip:192.168.51.14 SIP/2.0
Via: SIP/2.0/UDP 192.168.51.13:5060;branch=z9hG4bK46191f75
Max-Forwards: 70
From: "asterisk" <sip:asterisk@192.168.51.13>;tag=as71c3aa9a
To: <sip:192.168.51.14>
Contact: <sip:asterisk@192.168.51.13:5060>
Call-ID: 16f6c02b5725fb6f4d21f090589acc29@192.168.51.13:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.32.2
Date: Thu, 28 May 2015 05:11:01 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
May 28 05:10:42.850: Sent:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.51.13:5060;branch=z9hG4bK46191f75
From: "asterisk" <sip:asterisk@192.168.51.13>;tag=as71c3aa9a
To: <sip:192.168.51.14>;tag=44DC369-309
Date: Thu, 28 May 2015 05:10:42 GMT
Call-ID: 16f6c02b5725fb6f4d21f090589acc29@192.168.51.13:5060
Server: Cisco-SIPGateway/IOS-12.x
Content-Type: application/sdp
CSeq: 102 OPTIONS
Supported: 100rel
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, SUBSCRIBE, NOTIFY, INFO
Accept: application/sdp
Allow-Events: telephone-event
Content-Length: 168
v=0
o=CiscoSystemsSIP-GW-UserAgent 4206 4484 IN IP4 192.168.51.14
s=SIP Call
c=IN IP4 192.168.51.14
t=0 0
m=audio 0 RTP/AVP 18 0 8 4 2 15
c=IN IP4 192.168.51.14
May 28 05:10:52.831: Received:
OPTIONS sip:192.168.51.14 SIP/2.0
Via: SIP/2.0/UDP 192.168.51.13:5060;branch=z9hG4bK7c9524db
Max-Forwards: 70
From: "asterisk" <sip:asterisk@192.168.51.13>;tag=as61f3a380
To: <sip:192.168.51.14>
Contact: <sip:asterisk@192.168.51.13:5060>
Call-ID: 2f6ec14863e4b11956b7189a0cc2e657@192.168.51.13:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.32.2
Date: Thu, 28 May 2015 05:11:11 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
May 28 05:10:52.843: Sent:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.51.13:5060;branch=z9hG4bK7c9524db
From: "asterisk" <sip:asterisk@192.168.51.13>;tag=as61f3a380
To: <sip:192.168.51.14>;tag=44DEA71-408
Date: Thu, 28 May 2015 05:10:52 GMT
Call-ID: 2f6ec14863e4b11956b7189a0cc2e657@192.168.51.13:5060
Server: Cisco-SIPGateway/IOS-12.x
Content-Type: application/sdp
CSeq: 102 OPTIONS
Supported: 100rel
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, SUBSCRIBE, NOTIFY, INFO
Accept: application/sdp
Allow-Events: telephone-event
Content-Length: 168
v=0
o=CiscoSystemsSIP-GW-UserAgent 1875 6905 IN IP4 192.168.51.14
s=SIP Call
c=IN IP4 192.168.51.14
t=0 0
m=audio 0 RTP/AVP 18 0 8 4 2 15
c=IN IP4 192.168.51.14
May 28 05:10:52.847: Received:
OPTIONS sip:192.168.51.14 SIP/2.0
Via: SIP/2.0/UDP 192.168.51.13:5060;branch=z9hG4bK35dde05c
Max-Forwards: 70
From: "asterisk" <sip:asterisk@192.168.51.13>;tag=as249889b3
To: <sip:192.168.51.14>
Contact: <sip:asterisk@192.168.51.13:5060>
Call-ID: 49c97ef277804a4b5a93a7132927d8c9@192.168.51.13:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.32.2
Date: Thu, 28 May 2015 05:11:11 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
May 28 05:10:52.859: Sent:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.51.13:5060;branch=z9hG4bK35dde05c
From: "asterisk" <sip:asterisk@192.168.51.13>;tag=as249889b3
To: <sip:192.168.51.14>;tag=44DEA85-195D
Date: Thu, 28 May 2015 05:10:52 GMT
Call-ID: 49c97ef277804a4b5a93a7132927d8c9@192.168.51.13:5060
Server: Cisco-SIPGateway/IOS-12.x
Content-Type: application/sdp
CSeq: 102 OPTIONS
Supported: 100rel
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, SUBSCRIBE, NOTIFY, INFO
Accept: application/sdp
Allow-Events: telephone-event
Content-Length: 168
v=0
o=CiscoSystemsSIP-GW-UserAgent 2732 4208 IN IP4 192.168.51.14
s=SIP Call
c=IN IP4 192.168.51.14
t=0 0
m=audio 0 RTP/AVP 18 0 8 4 2 15
c=IN IP4 192.168.51.14
May 28 05:11:02.724: Received:
OPTIONS sip:192.168.51.14 SIP/2.0
Via: SIP/2.0/UDP 192.168.51.13:5060;branch=z9hG4bK31cc6205
Max-Forwards: 70
From: "asterisk" <sip:asterisk@192.168.51.13>;tag=as6fbf5134
To: <sip:192.168.51.14>
Contact: <sip:asterisk@192.168.51.13:5060>
Call-ID: 44c8eafd5c5d99c27f26fad4672c20bd@192.168.51.13:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.32.2
Date: Thu, 28 May 2015 05:11:21 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
May 28 05:11:02.736: Sent:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.51.13:5060;branch=z9hG4bK31cc6205
From: "asterisk" <sip:asterisk@192.168.51.13>;tag=as6fbf5134
To: <sip:192.168.51.14>;tag=44E1115-32E
Date: Thu, 28 May 2015 05:11:02 GMT
Call-ID: 44c8eafd5c5d99c27f26fad4672c20bd@192.168.51.13:5060
Server: Cisco-SIPGateway/IOS-12.x
Content-Type: application/sdp
CSeq: 102 OPTIONS
Supported: 100rel
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, SUBSCRIBE, NOTIFY, INFO
Accept: application/sdp
Allow-Events: telephone-event
Content-Length: 168
v=0
o=CiscoSystemsSIP-GW-UserAgent 6231 8593 IN IP4 192.168.51.14
s=SIP Call
c=IN IP4 192.168.51.14
t=0 0
m=audio 0 RTP/AVP 18 0 8 4 2 15
c=IN IP4 192.168.51.14
May 28 05:11:02.736: Received:
OPTIONS sip:192.168.51.14 SIP/2.0
Via: SIP/2.0/UDP 192.168.51.13:5060;branch=z9hG4bK1bd8f995
Max-Forwards: 70
From: "asterisk" <sip:asterisk@192.168.51.13>;tag=as55c98d3a
To: <sip:192.168.51.14>
Contact: <sip:asterisk@192.168.51.13:5060>
Call-ID: 0b3116400e84aabd6ac3f8d270cf94cb@192.168.51.13:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.32.2
Date: Thu, 28 May 2015 05:11:21 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
May 28 05:11:02.748: Sent:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.51.13:5060;branch=z9hG4bK1bd8f995
From: "asterisk" <sip:asterisk@192.168.51.13>;tag=as55c98d3a
To: <sip:192.168.51.14>;tag=44E1125-121E
Date: Thu, 28 May 2015 05:11:02 GMT
Call-ID: 0b3116400e84aabd6ac3f8d270cf94cb@192.168.51.13:5060
Server: Cisco-SIPGateway/IOS-12.x
Content-Type: application/sdp
CSeq: 102 OPTIONS
Supported: 100rel
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, SUBSCRIBE, NOTIFY, INFO
Accept: application/sdp
Allow-Events: telephone-event
Content-Length: 168
v=0
o=CiscoSystemsSIP-GW-UserAgent 3918 8174 IN IP4 192.168.51.14
s=SIP Call
c=IN IP4 192.168.51.14
t=0 0
m=audio 0 RTP/AVP 18 0 8 4 2 15
c=IN IP4 192.168.51.14
May 28 05:11:10.749: Sent:
INVITE sip:551@192.168.51.13:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.51.14:5060
From: <sip:192.168.51.14>;tag=44E3062-1F25
To: <sip:551@192.168.51.13>
Date: Thu, 28 May 2015 05:11:10 GMT
Call-ID: C9EC2C43-42E11E5-B91097EE-60ED9EEB@192.168.51.14
Supported: timer,100rel
Min-SE: 1800
Cisco-Guid: 3387578010-70128101-3104675822-1626185451
User-Agent: Cisco-SIPGateway/IOS-12.x
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, SUBSCRIBE, NOTIFY, INFO
CSeq: 101 INVITE
Max-Forwards: 6
Remote-Party-ID: <sip:192.168.51.14>;party=calling;screen=no;privacy=off
Timestamp: 1432789870
Contact: <sip:192.168.51.14:5060>
Expires: 180
Allow-Events: telephone-event
Content-Type: application/sdp
Content-Length: 276
v=0
o=CiscoSystemsSIP-GW-UserAgent 4258 104 IN IP4 192.168.51.14
s=SIP Call
c=IN IP4 192.168.51.14
t=0 0
m=audio 16916 RTP/AVP 18 8 0 19
c=IN IP4 192.168.51.14
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:19 CN/8000
May 28 05:11:10.753: Received:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.51.14:5060;received=192.168.51.14;rport=57249
From: <sip:192.168.51.14>;tag=44E3062-1F25
To: <sip:551@192.168.51.13>;tag=as72c9de2f
Call-ID: C9EC2C43-42E11E5-B91097EE-60ED9EEB@192.168.51.14
CSeq: 101 INVITE
Server: Asterisk PBX 1.8.32.2
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="03de257b"
Content-Length: 0
May 28 05:11:10.761: //91/C9EA569AB90D/CCAPI/cc_api_call_disconnect_done: cause=57,retry=0,vcCauseCode=0
May 28 05:11:10.761: //91/xxxxxxxxxxxx/CCAPI/cc_get_call_entry: callID (0x5B) not found
May 28 05:11:10.765: Sent:
ACK sip:551@192.168.51.13:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.51.14:5060
From: <sip:192.168.51.14>;tag=44E3062-1F25
To: <sip:551@192.168.51.13>;tag=as72c9de2f
Date: Thu, 28 May 2015 05:11:10 GMT
Call-ID: C9EC2C43-42E11E5-B91097EE-60ED9EEB@192.168.51.14
Max-Forwards: 6
Content-Length: 0
CSeq: 101 ACK
May 28 05:11:11.558: Received:
OPTIONS sip:192.168.51.14 SIP/2.0
Via: SIP/2.0/UDP 192.168.51.13:5060;branch=z9hG4bK7e20cb53
Max-Forwards: 70
From: "asterisk" <sip:asterisk@192.168.51.13>;tag=as3204546c
To: <sip:192.168.51.14>
Contact: <sip:asterisk@192.168.51.13:5060>
Call-ID: 52335d5d66ea214b62e80a2027227c12@192.168.51.13:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.32.2
Date: Thu, 28 May 2015 05:11:31 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
May 28 05:11:11.570: Sent:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.51.13:5060;branch=z9hG4bK7e20cb53
From: "asterisk" <sip:asterisk@192.168.51.13>;tag=as3204546c
To: <sip:192.168.51.14>;tag=44E339C-1C6C
Date: Thu, 28 May 2015 05:11:11 GMT
Call-ID: 52335d5d66ea214b62e80a2027227c12@192.168.51.13:5060
Server: Cisco-SIPGateway/IOS-12.x
Content-Type: application/sdp
CSeq: 102 OPTIONS
Supported: 100rel
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, SUBSCRIBE, NOTIFY, INFO
Accept: application/sdp
Allow-Events: telephone-event
Content-Length: 168
v=0
o=CiscoSystemsSIP-GW-UserAgent 2624 2467 IN IP4 192.168.51.14
s=SIP Call
c=IN IP4 192.168.51.14
t=0 0
m=audio 0 RTP/AVP 18 0 8 4 2 15
c=IN IP4 192.168.51.14
May 28 05:11:11.586: Received:
OPTIONS sip:192.168.51.14 SIP/2.0
Via: SIP/2.0/UDP 192.168.51.13:5060;branch=z9hG4bK1dad2f07
Max-Forwards: 70
From: "asterisk" <sip:asterisk@192.168.51.13>;tag=as40a55241
To: <sip:192.168.51.14>
Contact: <sip:asterisk@192.168.51.13:5060>
Call-ID: 3cfaa8ca440d53863871463d248cb5e2@192.168.51.13:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.32.2
Date: Thu, 28 May 2015 05:11:31 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
May 28 05:11:11.598: Sent:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.51.13:5060;branch=z9hG4bK1dad2f07
From: "asterisk" <sip:asterisk@192.168.51.13>;tag=as40a55241
To: <sip:192.168.51.14>;tag=44E33B8-173
Date: Thu, 28 May 2015 05:11:11 GMT
Call-ID: 3cfaa8ca440d53863871463d248cb5e2@192.168.51.13:5060
Server: Cisco-SIPGateway/IOS-12.x
Content-Type: application/sdp
CSeq: 102 OPTIONS
Supported: 100rel
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, SUBSCRIBE, NOTIFY, INFO
Accept: application/sdp
Allow-Events: telephone-event
Content-Length: 168
v=0
o=CiscoSystemsSIP-GW-UserAgent 1713 6184 IN IP4 192.168.51.14
s=SIP Call
c=IN IP4 192.168.51.14
t=0 0
m=audio 0 RTP/AVP 18 0 8 4 2 15
c=IN IP4 192.168.51.14
May 28 05:11:21.571: Received:
OPTIONS sip:192.168.51.14 SIP/2.0
Via: SIP/2.0/UDP 192.168.51.13:5060;branch=z9hG4bK2b15132b
Max-Forwards: 70
From: "asterisk" <sip:asterisk@192.168.51.13>;tag=as6e282cf3
To: <sip:192.168.51.14>
Contact: <sip:asterisk@192.168.51.13:5060>
Call-ID: 0a03190f29bae564487c13827dff0ede@192.168.51.13:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.32.2
Date: Thu, 28 May 2015 05:11:41 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
May 28 05:11:21.583: Sent:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.51.13:5060;branch=z9hG4bK2b15132b
From: "asterisk" <sip:asterisk@192.168.51.13>;tag=as6e282cf3
To: <sip:192.168.51.14>;tag=44E5AB4-16B
Date: Thu, 28 May 2015 05:11:21 GMT
Call-ID: 0a03190f29bae564487c13827dff0ede@192.168.51.13:5060
Server: Cisco-SIPGateway/IOS-12.x
Content-Type: application/sdp
CSeq: 102 OPTIONS
Supported: 100rel
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, SUBSCRIBE, NOTIFY, INFO
Accept: application/sdp
Allow-Events: telephone-event
Content-Length: 168
v=0
o=CiscoSystemsSIP-GW-UserAgent 8522 1715 IN IP4 192.168.51.14
s=SIP Call
c=IN IP4 192.168.51.14
t=0 0
m=audio 0 RTP/AVP 18 0 8 4 2 15
c=IN IP4 192.168.51.14
May 28 05:11:21.595: Received:
OPTIONS sip:192.168.51.14 SIP/2.0
Via: SIP/2.0/UDP 192.168.51.13:5060;branch=z9hG4bK52fff0d0
Max-Forwards: 70
From: "asterisk" <sip:asterisk@192.168.51.13>;tag=as34b20aac
To: <sip:192.168.51.14>
Contact: <sip:asterisk@192.168.51.13:5060>
Call-ID: 12cbb31a138f3e1c6becdc336f5b1b70@192.168.51.13:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.32.2
Date: Thu, 28 May 2015 05:11:41 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
May 28 05:11:21.607: Sent:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.51.13:5060;branch=z9hG4bK52fff0d0
From: "asterisk" <sip:asterisk@192.168.51.13>;tag=as34b20aac
To: <sip:192.168.51.14>;tag=44E5AD0-1DBC
Date: Thu, 28 May 2015 05:11:21 GMT
Call-ID: 12cbb31a138f3e1c6becdc336f5b1b70@192.168.51.13:5060
Server: Cisco-SIPGateway/IOS-12.x
Content-Type: application/sdp
CSeq: 102 OPTIONS
Supported: 100rel
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, SUBSCRIBE, NOTIFY, INFO
Accept: application/sdp
Allow-Events: telephone-event
Content-Length: 167
v=0
o=CiscoSystemsSIP-GW-UserAgent 5320 872 IN IP4 192.168.51.14
s=SIP Call
c=IN IP4 192.168.51.14
t=0 0
m=audio 0 RTP/AVP 18 0 8 4 2 15
c=IN IP4 192.168.51.14
no debug ccsip messages
SIP Call messages tracing is disabled
cisco-2fxo#
----------