I got an additional SIP message log from my 5300.
Scenario:
[UA] => [Asterisk] => [SER] => [CISCO AS5300] => [PSTN]
[UA] "12"
[Asterisk] 0355558888(a)MY.ASTERISK.IP.ADDRESS
[SER] MY.SER.IP.ADDRESS
[CISCO AS5300] MY.AS5300.IP.ADDRESS
[PSTN] T1 Line
And maybe I found little bad Via header in
ACK message from Asterisk (via SER) to AS5300.
Feb 7 03:22:34.401: Received:
ACK sip:056708077771111@MY.AS5300.IP.ADDRESS:5060 SIP/2.0
Record-Route: <sip:MY.SER.IP.ADDRESS;ftag=as2ad98fe4;lr>
Via: SIP/2.0/UDP MY.SER.IP.ADDRESS;branch=0
Via: SIP/2.0/UDP MY.ASTERISK.IP.ADDRESS
:5060;branch=z9hG4bK0a0daaf9;rport=5060
...
Why Via header looks like no branch value and port value...?
And all SIP messages have no Route header.
I attached AS5300 SIP message log (see below).
Any ideas?
Sahria
----------------------------------------------------------------------
Feb 7 03:22:27.284: Received:
INVITE sip:056708077771111@MY.AS5300.IP.ADDRESS:5060 SIP/2.0
Record-Route: <sip:MY.SER.IP.ADDRESS;ftag=as2ad98fe4;lr>
Via: SIP/2.0/UDP MY.SER.IP.ADDRESS;branch=z9hG4bK4e7f.1aea06e5.0
Via: SIP/2.0/UDP MY.ASTERISK.IP.ADDRESS
:5060;branch=z9hG4bK7a1f165b;rport=5060
From: "12" <sip:0355558888@MY.SER.IP.ADDRESS>;tag=as2ad98fe4
To: < sip:08077771111@MY.SER.IP.ADDRESS>
Contact: <sip:0355558888@MY.ASTERISK.IP.ADDRESS>
Call-ID: 351d8bb44819a06a4ad0ee7730518ea6(a)MY.SER.IP.ADDRESS
CSeq: 103 INVITE
User-Agent: Asterisk
Max-Forwards: 16
Remote-Party-ID: "12" < sip:0355558888@MY.SER.IP.ADDRESS
;privacy=off;screen=no
Proxy-Authorization:
Digest username="0355558888", realm="MY.SER.IP.ADDRESS",
algorithm=MD5, uri=" sip:08077771111@MY.SER.IP.ADDRESS",
nonce="45c9470e4c66d95af025624109fe107c5c292604",
response="f94ac0f87471cc79c86cd2253fecf71f", opaque=""
Date: Wed, 07 Feb 2007 03:22:27 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Type: application/sdp
Content-Length: 222
Min-SE: 60
v=0
o=root 29956 29957 IN IP4 MY.ASTERISK.IP.ADDRESS
s=session
c=IN IP4 MY.ASTERISK.IP.ADDRESS
t=0 0
m=audio 13250 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
Feb 7 03:22:27.300: Sent:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP MY.SER.IP.ADDRESS;branch=z9hG4bK4e7f.1aea06e5.0,SIP/2.0/UDP
MY.ASTERISK.IP.ADDRESS:5060;branch=z9hG4bK7a1f165b;rport=5060
From: "12" < sip:0355558888@MY.SER.IP.ADDRESS>;tag=as2ad98fe4
To: <sip:08077771111@MY.SER.IP.ADDRESS>;tag=28713870-2583
Date: Wed, 07 Feb 2007 03:22:27 GMT
Call-ID: 351d8bb44819a06a4ad0ee7730518ea6(a)MY.SER.IP.ADDRESS
Server: Cisco-SIPGateway/IOS-12.x
CSeq: 103 INVITE
Allow-Events: telephone-event
Content-Length: 0
Feb 7 03:22:28.552: Sent:
SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP MY.SER.IP.ADDRESS;branch=z9hG4bK4e7f.1aea06e5.0,SIP/2.0/UDP
MY.ASTERISK.IP.ADDRESS:5060;branch=z9hG4bK7a1f165b;rport=5060
From: "12" < sip:0355558888@MY.SER.IP.ADDRESS>;tag=as2ad98fe4
To: <sip:08077771111@MY.SER.IP.ADDRESS>;tag=28713870-2583
Date: Wed, 07 Feb 2007 03:22:27 GMT
Call-ID: 351d8bb44819a06a4ad0ee7730518ea6(a)MY.SER.IP.ADDRESS
Server: Cisco-SIPGateway/IOS-12.x
CSeq: 103 INVITE
Allow-Events: telephone-event
Contact: <sip:056708077771111@MY.AS5300.IP.ADDRESS:5060>
Record-Route: <sip:MY.SER.IP.ADDRESS;ftag=as2ad98fe4;lr>
Content-Disposition: session;handling=required
Content-Type: application/sdp
Content-Length: 237
v=0
o=CiscoSystemsSIP-GW-UserAgent 792 3780 IN IP4 MY.AS5300.IP.ADDRESS
s=SIP Call
c=IN IP4 MY.AS5300.IP.ADDRESS
t=0 0
m=audio 16672 RTP/AVP 0 101
c=IN IP4 MY.AS5300.IP.ADDRESS
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
Feb 7 03:22:34.377: %ISDN-6-CONNECT: Interface Serial0:0 is now connected
to 08077771111 N/A
Feb 7 03:22:34.381: Sent:
SIP/2.0 200 OK
Via: SIP/2.0/UDP MY.SER.IP.ADDRESS;branch=z9hG4bK4e7f.1aea06e5.0,SIP/2.0/UDP
MY.ASTERISK.IP.ADDRESS:5060;branch=z9hG4bK7a1f165b;rport=5060
From: "12" <sip:0355558888@MY.SER.IP.ADDRESS>;tag=as2ad98fe4
To: < sip:08077771111@MY.SER.IP.ADDRESS>;tag=28713870-2583
Date: Wed, 07 Feb 2007 03:22:27 GMT
Call-ID: 351d8bb44819a06a4ad0ee7730518ea6(a)MY.SER.IP.ADDRESS
Server: Cisco-SIPGateway/IOS-12.x
CSeq: 103 INVITE
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, SUBSCRIBE,
NOTIFY, INFO
Allow-Events: telephone-event
Contact: <sip:056708077771111@MY.AS5300.IP.ADDRESS :5060>
Record-Route: <sip:MY.SER.IP.ADDRESS;ftag=as2ad98fe4;lr>
Content-Type: application/sdp
Content-Length: 237
v=0
o=CiscoSystemsSIP-GW-UserAgent 792 3780 IN IP4 MY.AS5300.IP.ADDRESS
s=SIP Call
c=IN IP4 MY.AS5300.IP.ADDRESS
t=0 0
m=audio 16672 RTP/AVP 0 101
c=IN IP4 MY.AS5300.IP.ADDRESS
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
Feb 7 03:22:34.401: Received:
ACK sip:056708077771111@MY.AS5300.IP.ADDRESS:5060 SIP/2.0
Record-Route: <sip:MY.SER.IP.ADDRESS;ftag=as2ad98fe4;lr>
Via: SIP/2.0/UDP MY.SER.IP.ADDRESS;branch=0
Via: SIP/2.0/UDP MY.ASTERISK.IP.ADDRESS
:5060;branch=z9hG4bK0a0daaf9;rport=5060
From: "12" <sip:0355558888@MY.SER.IP.ADDRESS>;tag=as2ad98fe4
To: < sip:08077771111@MY.SER.IP.ADDRESS>;tag=28713870-2583
Contact: <sip:0355558888@MY.ASTERISK.IP.ADDRESS>
Call-ID: 351d8bb44819a06a4ad0ee7730518ea6(a)MY.SER.IP.ADDRESS
CSeq: 103 ACK
User-Agent: Asterisk
Max-Forwards: 16
Remote-Party-ID: "12" <sip:0355558888@MY.SER.IP.ADDRESS
;privacy=off;screen=no
Content-Length: 0
###############################################
hook on PSTN side, but 5300 doesn't send BYE.
###############################################
Feb 7 03:22:41.577: %ISDN-6-DISCONNECT: Interface Serial0:0 disconnected
from 08077771111 , call lasted 7 seconds
###############################################
hook on Asterisk side, Asterisk send BYE.
###############################################
Feb 7 03:22:47.629: Received:
BYE sip:056708077771111@MY.AS5300.IP.ADDRESS:5060 SIP/2.0
Record-Route: <sip:MY.SER.IP.ADDRESS;ftag=as2ad98fe4;lr>
Via: SIP/2.0/UDP MY.SER.IP.ADDRESS;branch=z9hG4bK1e7f.d4c7e994.0
Via: SIP/2.0/UDP MY.ASTERISK.IP.ADDRESS
:5060;branch=z9hG4bK02d74e09;rport=5060
From: "12" <sip:0355558888@MY.SER.IP.ADDRESS>;tag=as2ad98fe4
To: < sip:08077771111@MY.SER.IP.ADDRESS>;tag=28713870-2583
Call-ID: 351d8bb44819a06a4ad0ee7730518ea6(a)MY.SER.IP.ADDRESS
CSeq: 104 BYE
User-Agent: Asterisk
Max-Forwards: 16
Remote-Party-ID: "12" <sip:0355558888@MY.SER.IP.ADDRESS
;privacy=off;screen=no
Proxy-Authorization:
Digest username="0355558888", realm="MY.SER.IP.ADDRESS",
algorithm=MD5, uri="sip:056708077771111@MY.AS5300.IP.ADDRESS:5060",
nonce="45c9470e4c66d95af025624109fe107c5c292604",
response="f615ca4b679b290671315e85cbba0388", opaque=""
Content-Length: 0
Feb 7 03:22:47.637: %VOIPAAA-5-VOIP_CALL_HISTORY: CallLegType 2,
ConnectionId 452AF2D8 B59111DB A7A28749 8A4F7B28, SetupTime 12:22:27.293 JST
Wed Feb 7 2007, PeerAddress 0355558888, PeerSubAddress , DisconnectCause 10
, DisconnectText normal call clearing (16), ConnectTime 12:22: 34.383 JST
Wed Feb 7 2007, DisconnectTime 12:22:47.627 JST Wed Feb 7 2007, CallOrigin
2, ChargedUnits 0, InfoType 2, TransmitPackets 626, TransmitBytes 100160,
ReceivePackets 949, ReceiveBytes 151840
Feb 7 03:22:47.641 : %VOIPAAA-5-VOIP_CALL_HISTORY: CallLegType 1,
ConnectionId 452AF2D8 B59111DB A7A28749 8A4F7B28, SetupTime 12:22:27.371 JST
Wed Feb 7 2007, PeerAddress 056708077771111, PeerSubAddress ,
DisconnectCause 10 , DisconnectText normal call clearing (16), ConnectTime
12:22: 34.381 JST Wed Feb 7 2007, DisconnectTime 12:22:47.641 JST Wed Feb 7
2007, CallOrigin 1, ChargedUnits 0, InfoType 2, TransmitPackets 949,
TransmitBytes 151840, ReceivePackets 626, ReceiveBytes 100160
Feb 7 03:22:47.645: Sent:
SIP/2.0 200 OK
Via: SIP/2.0/UDP MY.SER.IP.ADDRESS;branch=z9hG4bK1e7f.d4c7e994.0,SIP/2.0/UDP
MY.ASTERISK.IP.ADDRESS:5060;branch=z9hG4bK02d74e09;rport=5060
From: "12" < sip:0355558888@MY.SER.IP.ADDRESS>;tag=as2ad98fe4
To: <sip:08077771111@MY.SER.IP.ADDRESS>;tag=28713870-2583
Date: Wed, 07 Feb 2007 03:22:47 GMT
Call-ID: 351d8bb44819a06a4ad0ee7730518ea6(a)MY.SER.IP.ADDRESS
Server: Cisco-SIPGateway/IOS-12.x
Content-Length: 0
CSeq: 104 BYE
Feb 7 03:22:47.645: Received:
BYE sip:056708077771111@MY.AS5300.IP.ADDRESS:5060 SIP/2.0
Record-Route: <sip:MY.SER.IP.ADDRESS;ftag=as2ad98fe4;lr>
Via: SIP/2.0/UDP MY.SER.IP.ADDRESS;branch=z9hG4bK1e7f.d4c7e994.0
Via: SIP/2.0/UDP MY.ASTERISK.IP.ADDRESS
:5060;branch=z9hG4bK02d74e09;rport=5060
From: "12" <sip:0355558888@MY.SER.IP.ADDRESS>;tag=as2ad98fe4
To: < sip:08077771111@MY.SER.IP.ADDRESS>;tag=28713870-2583
Call-ID: 351d8bb44819a06a4ad0ee7730518ea6(a)MY.SER.IP.ADDRESS
CSeq: 104 BYE
User-Agent: Asterisk
Max-Forwards: 16
Remote-Party-ID: "12" <sip:0355558888@MY.SER.IP.ADDRESS
;privacy=off;screen=no
Proxy-Authorization:
Digest username="0355558888", realm="MY.SER.IP.ADDRESS",
algorithm=MD5, uri="sip:056708077771111@MY.AS5300.IP.ADDRESS:5060",
nonce="45c9470e4c66d95af025624109fe107c5c292604",
response="f615ca4b679b290671315e85cbba0388", opaque=""
Content-Length: 0
Feb 7 03:22:47.649: Sent:
SIP/2.0 200 OK
Via: SIP/2.0/UDP MY.SER.IP.ADDRESS;branch=z9hG4bK1e7f.d4c7e994.0,SIP/2.0/UDP
MY.ASTERISK.IP.ADDRESS:5060;branch=z9hG4bK02d74e09;rport=5060
From: "12" < sip:0355558888@MY.SER.IP.ADDRESS>;tag=as2ad98fe4
To: <sip:08077771111@MY.SER.IP.ADDRESS>;tag=28713870-2583
Date: Wed, 07 Feb 2007 03:22:47 GMT
Call-ID: 351d8bb44819a06a4ad0ee7730518ea6(a)MY.SER.IP.ADDRESS
Server: Cisco-SIPGateway/IOS-12.x
Content-Length: 0
CSeq: 104 BYE
----------------------------------------------------------------------
****************************************************
old message was deleted. (size too big)
****************************************************