IMS dumps

Posted: September 14, 2010 in technical
Tags: , , , , , , , , , , , , , , , , , , ,

Continuing from 4G – GTPv2 dumps:

First of all, bare in mind that this is NOT the actual end-to-end testing procedure, so I can only show so far a basic IMS call coming from plain IP, therefore with no indication to the Access Network:

Register

The P-CSCF listens on port 4060 UDP (as we will see in the next episode, the configuration of the IMS Core), and the phone is on 5060:

Session Initiation Protocol
Request-Line: REGISTER sip:open-ims.test SIP/2.0
Method: REGISTER
Request-URI: sip:open-ims.test
Request-URI Host Part: open-ims.test
[Resent Packet: False]
Message Header
Call-ID: e052b1ac4b0e861a09f50739567f57ff@40.0.0.1
CSeq: 19 REGISTER
Sequence Number: 19
Method: REGISTERrnFrom
From: <sip:cristina@open-ims.test>;tag=1020
SIP from address: sip:cristina@open-ims.test
SIP from address User Part: cristina
SIP from address Host Part: open-ims.test
SIP tag: 1020
To: <sip:cristina@open-ims.test>
SIP to address: sip:cristina@open-ims.test
SIP to address User Part: cristina
SIP to address Host Part: open-ims.test
Via: SIP/2.0/UDP 40.0.0.1:5060;branch=z9hG4bK163b18a8645e3542f3430be441fc7021
Transport: UDP
Sent-by Address: 40.0.0.1
Sent-by port: 5060
Branch: z9hG4bK163b18a8645e3542f3430be441fc7021
Max-Forwards: 20
Expires: 3600
Contact: <sip:cristina@40.0.0.1:5060>
Contact-URI: sip:cristina@40.0.0.1:5060
Contactt-URI User Part: cristina
Contact-URI Host Part: 40.0.0.1
Contact-URI Host Port: 5060
User-Agent: Fokus MONSTER Version: 0.9.9-SNAPSHOT
Content-Length: 0
401 Unauthorized
Session Initiation Protocol
Status-Line: SIP/2.0 401 Unauthorized – Challenging the UE
Status-Code: 401
Message Header
Call-ID: e052b1ac4b0e861a09f50739567f57ff@40.0.0.1
CSeq: 19 REGISTER
Sequence Number: 19
Method: REGISTERrnFrom
From: <sip:cristina@open-ims.test>;tag=1020
SIP from address: sip:cristina@open-ims.test
SIP from address User Part: cristina
SIP from address Host Part: open-ims.test
SIP tag: 1020
To: <sip:cristina@open-ims.test>;tag=d7837ce6bbd631122d10546eb75bb4cf-cb8c
SIP to address: sip:cristina@open-ims.test
SIP to address User Part: cristina
SIP to address Host Part: open-ims.test
SIP tag: d7837ce6bbd631122d10546eb75bb4cf-cb8c
Via: SIP/2.0/UDP 40.0.0.1:5060;rport=5060;branch=z9hG4bK163b18a8645e3542f3430be441fc7021
Transport: UDP
Sent-by Address: 40.0.0.1
Sent-by port: 5060
RPort: 5060
Branch: z9hG4bK163b18a8645e3542f3430be441fc7021
Path: <sip:term@pcscf.open-ims.test:4060;lr>
Service-Route: <sip:orig@scscf.open-ims.test:6060;lr>
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, INFO
Server: Sip EXpress router (2.1.0-dev1 OpenIMSCore (i386/linux))
Content-Length: 0
Warning: 392 127.0.0.1:6060 “Noisy feedback tells:  pid=19702 req_src_ip=127.0.0.1 req_src_port=5060 in_uri=sip:scscf.open-ims.test:6060 out_uri=sip:scscf.open-ims.test:6060 via_cnt==3”
WWW-Authenticate: Digest realm=”open-ims.test”, nonce=”BgaX3TR54oTr38cLlKykVfaXmB8A2wAAxGSzQfrUAWU=”, algorithm=AKAv1-MD5, qop=”auth,auth-int”
Authentication Scheme: Digest
realm=”open-ims.test”
nonce=”BgaX3TR54oTr38cLlKykVfaXmB8A2wAAxGSzQfrUAWU=”
algorithm=AKAv1-MD5
qop=”auth
Register
– the one with credentials 😛
Session Initiation Protocol
Request-Line: REGISTER sip:open-ims.test SIP/2.0
Method: REGISTER
Request-URI: sip:open-ims.test
Request-URI Host Part: open-ims.test
[Resent Packet: False]
Message Header
Call-ID: 1e867b19168f09121f91914b048d97d1@40.0.0.1
CSeq: 20 REGISTER
Sequence Number: 20
Method: REGISTERrnFrom
From: <sip:cristina@open-ims.test>;tag=1021
SIP from address: sip:cristina@open-ims.test
SIP from address User Part: cristina
SIP from address Host Part: open-ims.test
SIP tag: 1021
To: <sip:cristina@open-ims.test>
SIP to address: sip:cristina@open-ims.test
SIP to address User Part: cristina
SIP to address Host Part: open-ims.test
Via: SIP/2.0/UDP 40.0.0.1:5060;branch=z9hG4bK84169db88bb0b4032667a8e0e81d2cbc
Transport: UDP
Sent-by Address: 40.0.0.1
Sent-by port: 5060
Branch: z9hG4bK84169db88bb0b4032667a8e0e81d2cbc
Max-Forwards: 20
[truncated] Authorization: Digest username=”cristina@open-ims.test”,uri=”sip:open-ims.test”,realm=”open-ims.test”,nonce=”BgaX3TR54oTr38cLlKykVfaXmB8A2wAAxGSzQfrUAWU=””,response=”edfe66ab211e300fea4da5bd308605c3″,algoritm=AKAv1-MD5,qop=auth-int
Authentication Scheme: Digest
username=”cristina@open-ims.test”
uri=”sip:open-ims.test”
realm=”open-ims.test”
nonce=”BgaX3TR54oTr38cLlKykVfaXmB8A2wAAxGSzQfrUAWU=””
response=”edfe66ab211e300fea4da5bd308605c3″
algoritm=AKAv1-MD5
qop=auth-int
nc=00000001
cnonce=”48525798509797101″
Expires: 3600
Contact: <sip:cristina@40.0.0.1:5060>
Contact-URI: sip:cristina@40.0.0.1:5060
Contactt-URI User Part: cristina
Contact-URI Host Part: 40.0.0.1
Contact-URI Host Port: 5060
User-Agent: Fokus MONSTER Version: 0.9.9-SNAPSHOT
Content-Length: 0
200 OK
Session Initiation Protocol
Status-Line: SIP/2.0 200 OK – SAR succesful and registrar saved
Status-Code: 200
[Resent Packet: False]
[Request Frame: 81]
[Response Time (ms): 106]
Message Header
Call-ID: 1e867b19168f09121f91914b048d97d1@40.0.0.1
CSeq: 20 REGISTER
Sequence Number: 20
Method: REGISTERrnFrom
From: <sip:cristina@open-ims.test>;tag=1021
SIP from address: sip:cristina@open-ims.test
SIP from address User Part: cristina
SIP from address Host Part: open-ims.test
SIP tag: 1021
To: <sip:cristina@open-ims.test>;tag=d7837ce6bbd631122d10546eb75bb4cf-3d08
SIP to address: sip:cristina@open-ims.test
SIP to address User Part: cristina
SIP to address Host Part: open-ims.test
SIP tag: d7837ce6bbd631122d10546eb75bb4cf-3d08
Via: SIP/2.0/UDP 40.0.0.1:5060;rport=5060;branch=z9hG4bK84169db88bb0b4032667a8e0e81d2cbc
Transport: UDP
Sent-by Address: 40.0.0.1
Sent-by port: 5060
RPort: 5060
Branch: z9hG4bK84169db88bb0b4032667a8e0e81d2cbc
P-Associated-URI: <sip:cristina@open-ims.test>
Contact: <sip:cristina@40.0.0.1:5060>;expires=3600
Contact-URI: sip:cristina@40.0.0.1:5060
Contactt-URI User Part: cristina
Contact-URI Host Part: 40.0.0.1
Contact-URI Host Port: 5060
Contact parameter: expires=3600
Path: <sip:term@pcscf.open-ims.test:4060;lr>
Service-Route: <sip:orig@scscf.open-ims.test:6060;lr>
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, INFO
Server: Sip EXpress router (2.1.0-dev1 OpenIMSCore (i386/linux))
Content-Length: 0
Warning: 392 127.0.0.1:6060 “Noisy feedback tells:  pid=19703 req_src_ip=127.0.0.1 req_src_port=5060 in_uri=sip:scscf.open-ims.test:6060 out_uri=sip:scscf.open-ims.test:6060 via_cnt==3”
Advertisements
Comments
  1. CevaMisto says:

    This is not an IMS Call – it is just a successful registration procedure to the IMS Core 🙂

    • @CevaMisto: true 🙂 my intention was (and still is) to present the entire call flow… unfortunately, I’ve got very busy with the PhD articles and some stuff at work and I didn’t have time to complete the call. I will complete it though asap.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s