tech-invite: illustration of rfc3666 sip pstn call flows ... · title: tech-invite: illustration of...

22
RFC 3666 SIP PSTN Call Flows 4 — PSTN to PSTN Dialing via SIP Network http://www.tech-invite.com V1.1 – April 29, 2005 This is a representation, as a slide show, of the SIP examples detailed in RFC 3666 – SIP PSTN Call Flows. SIP messages are reported in strict conformance with this RFC. 22 pages 4.1 – Successful ISUP PSTN to ISUP PSTN call Proxy 1 Switch A Switch C NGW 1 GW 2 IAM Two Way RTP Media INVITE ACM 183 Session Progress INVITE IAM 183 Session Progress ACM Both Way Voice One Way Voice One Way Voice ANM 200 OK 200 OK ANM ACK ACK Both Way Voice Two Way RTP Media REL BYE RLC BYE 200 OK 200 OK REL RLC Copyright © 2005-2007 Tech-invite.com Joël Repiquet. All Rights Reserved.

Upload: hacong

Post on 09-Apr-2018

250 views

Category:

Documents


2 download

TRANSCRIPT

RFC 3666SIP PSTN Call Flows

4 — PSTN to PSTN Dialing via SIP

Network

http://www.tech-invite.com

V1.1 – April 29, 2005

This is a representation, as a slide show, of the SIP examples detailed in RFC 3666 –SIP PSTN Call Flows.

SIP messages are reported in strict conformance with this RFC.

22 pages

4.1 – SuccessfulISUP PSTN to ISUP PSTN

call

Proxy 1SwitchA

SwitchCNGW 1 GW 2

IAM

Two Way RTP Media

INVITE

ACM183 Session

Progress

INVITE

IAM

183 SessionProgress

ACM

Both Way Voice

One Way Voice

One Way Voice

ANM

200 OK

200 OK

ANM

ACK

ACK

Both Way Voice

Two Way RTP Media

REL

BYE

RLCBYE

200 OK

200 OKREL

RLC

Copyr

ight

© 2

005-2

007 T

ech-i

nvi

te.c

om

Joël

Rep

iquet

. All

Rig

hts

Res

erve

d.

RFC 3666-4.1 – Successful ISUP PSTN to ISUP PSTN call (1)

Proxy 1

SWITCHA

Alice'sphone

NGW 1

F1IAMCgPN=314-555-1111,NPI=E.164,NOA=NationalCdPN=918-555-3333,NPI=E.164,NOA=National

Carol's phone

SWITCHC

GW 2

Copyr

ight

© 2

005-2

007 T

ech-i

nvi

te.c

om

Joël

Rep

iquet

. All

Rig

hts

Res

erve

d.

NGW 1

SWITCHA

Carol's phone

RFC 3666-4.1 – Successful ISUP PSTN to ISUP PSTN call (2)

Proxy 1

F2INVITE sips:[email protected];user=phone SIP/2.0Via: SIP/2.0/TLS ngw1.a.example.com:5061;branch=z9hG4bKlueha2Max-Forwards: 70From: <sips:[email protected];user=phone>;tag=7643kalsTo: <sips:[email protected];user=phone>Call-ID: [email protected]: 1 INVITEContact: <sips:[email protected]>Content-Type: application/sdpContent-Length: 146

SWITCHC

GW 2

v=0o=GW 2890844526 2890844526 IN IP4 ngw1.a.example.coms=-c=IN IP4 ngw1.a.example.comt=0 0m=audio 3456 RTP/AVP 0a=rtpmap:0 PCMU/8000

Alice'sphone

Copyr

ight

© 2

005-2

007 T

ech-i

nvi

te.c

om

Joël

Rep

iquet

. All

Rig

hts

Res

erve

d.

Proxy 1

NGW 1

SWITCHA

Carol's phone

RFC 3666-4.1 – Successful ISUP PSTN to ISUP PSTN call (3)

F3INVITE sips:[email protected] SIP/2.0Via: SIP/2.0/TLS ss1.a.example.com:5061 ;branch=z9hG4bK2d4790.1Via: SIP/2.0/TLS ngw1.a.example.com:5061 ;branch=z9hG4bKwqwee65;received=192.0.2.103Max-Forwards: 69Record-Route: <sips:ss1.a.example.com;lr>From: <sips:[email protected];user=phone> ;tag=7643kalsTo: <sips:[email protected];user=phone>Call-ID: [email protected]: 1 INVITEContact: <sips:[email protected]>Content-Type: application/sdpContent-Length: 146

SWITCHC

GW 2

v=0o=GW 2890844526 2890844526 IN IP4 ngw1.a.example.coms=-c=IN IP4 ngw1.a.example.comt=0 0m=audio 3456 RTP/AVP 0a=rtpmap:0 PCMU/8000

Alice'sphone

Copyr

ight

© 2

005-2

007 T

ech-i

nvi

te.c

om

Joël

Rep

iquet

. All

Rig

hts

Res

erve

d.

Proxy 1

NGW 1

SWITCHA

Carol's phone

RFC 3666-4.1 – Successful ISUP PSTN to ISUP PSTN call (4)

SWITCHC

GW 2

F4IAMCgPN=314-555-1111,NPI=E.164,NOA=NationalCdPN=444-3333,NPI=Private,NOA=Subscriber

Alice'sphone

Copyr

ight

© 2

005-2

007 T

ech-i

nvi

te.c

om

Joël

Rep

iquet

. All

Rig

hts

Res

erve

d.

SWITCHC

Proxy 1

NGW 1

SWITCHA

RFC 3666-4.1 – Successful ISUP PSTN to ISUP PSTN call (5)

GW 2

F5

ACM

Alice'sphone

Carol's phone

Copyr

ight

© 2

005-2

007 T

ech-i

nvi

te.c

om

Joël

Rep

iquet

. All

Rig

hts

Res

erve

d.

SWITCHC

Proxy 1

NGW 1

SWITCHA

RFC 3666-4.1 – Successful ISUP PSTN to ISUP PSTN call (6)

GW 2

F6SIP/2.0 183 Session ProgressVia: SIP/2.0/TLS ss1.a.example.com:5061 ;branch=z9hG4bK2d4790.1;received=192.0.2.111Via: SIP/2.0/TLS ngw1.a.example.com:5061 ;branch=z9hG4bKlueha2;received=192.0.2.103Record-Route: <sips:ss1.a.example.com;lr>From: <sips:[email protected];user=phone> ;tag=7643kalsTo: <sips:[email protected];user=phone> ;tag=314159Call-ID: [email protected]: 1 INVITEContact: <sips:[email protected]>Content-Type: application/sdpContent-Length: 143

v=0o=GW 987654321 987654321 IN IP4 gw2.a.example.coms=-c=IN IP4 gw2.a.example.comt=0 0m=audio 14918 RTP/AVP 0a=rtpmap:0 PCMU/8000

Alice'sphone

Carol's phone

Copyr

ight

© 2

005-2

007 T

ech-i

nvi

te.c

om

Joël

Rep

iquet

. All

Rig

hts

Res

erve

d.

Proxy 1

NGW 1

SWITCHA

RFC 3666-4.1 – Successful ISUP PSTN to ISUP PSTN call (7)

F7SIP/2.0 183 Session ProgressVia: SIP/2.0/TLS ngw1.a.example.com:5061 ;branch=z9hG4bKlueha2;received=192.0.2.103Record-Route: <sips:ss1.a.example.com;lr>From: <sips:[email protected];user=phone> ;tag=7643kalsTo: <sips:[email protected];user=phone> ;tag=314159Call-ID: [email protected]: 1 INVITEContact: <sips:[email protected]>Content-Type: application/sdpContent-Length: 143

SWITCHC

GW 2

v=0o=GW 987654321 987654321 IN IP4 gw2.a.example.coms=-c=IN IP4 gw2.a.example.comt=0 0m=audio 14918 RTP/AVP 0a=rtpmap:0 PCMU/8000

Alice'sphone

Carol's phone

Copyr

ight

© 2

005-2

007 T

ech-i

nvi

te.c

om

Joël

Rep

iquet

. All

Rig

hts

Res

erve

d.

NGW 1

Proxy 1

SWITCHA

RFC 3666-4.1 – Successful ISUP PSTN to ISUP PSTN call (8)

SWITCHC

GW 2

F8

ACM

Alice'sphone

Carol's phone

Copyr

ight

© 2

005-2

007 T

ech-i

nvi

te.c

om

Joël

Rep

iquet

. All

Rig

hts

Res

erve

d.

SWITCHC

Proxy 1

NGW 1

SWITCHA

RFC 3666-4.1 – Successful ISUP PSTN to ISUP PSTN call (9)

GW 2

One

Way

Voic

e

One

Way

Voic

e

Both Way RTP Media

Alice'sphone

Carol's phone

Copyr

ight

© 2

005-2

007 T

ech-i

nvi

te.c

om

Joël

Rep

iquet

. All

Rig

hts

Res

erve

d.

SWITCHC

Proxy 1

NGW 1

SWITCHA

RFC 3666-4.1 – Successful ISUP PSTN to ISUP PSTN call (10)

GW 2

F9

ANM

Alice'sphone

Carol's phone

Copyr

ight

© 2

005-2

007 T

ech-i

nvi

te.c

om

Joël

Rep

iquet

. All

Rig

hts

Res

erve

d.

SWITCHC

Proxy 1

NGW 1

SWITCHA

RFC 3666-4.1 – Successful ISUP PSTN to ISUP PSTN call (11)

GW 2

F10SIP/2.0 200 OKVia: SIP/2.0/TLS ss1.a.example.com:5061 ;branch=z9hG4bK2d4790.1;received=192.0.2.111Via: SIP/2.0/TLS ngw1.a.example.com:5061 ;branch=z9hG4bKlueha2;received=192.0.2.103Record-Route: <sips:ss1.a.example.com;lr>From: <sips:[email protected];user=phone> ;tag=7643kalsTo: <sips:[email protected];user=phone> ;tag=314159Call-ID: [email protected]: 1 INVITEContact: <sips:[email protected]>Content-Type: application/sdpContent-Length: 143

v=0o=GW 987654321 987654321 IN IP4 gw2.a.example.coms=-c=IN IP4 gw2.a.example.comt=0 0m=audio 14918 RTP/AVP 0a=rtpmap:0 PCMU/8000

Alice'sphone

Carol's phone

Copyr

ight

© 2

005-2

007 T

ech-i

nvi

te.c

om

Joël

Rep

iquet

. All

Rig

hts

Res

erve

d.

Proxy 1

NGW 1

SWITCHA

RFC 3666-4.1 – Successful ISUP PSTN to ISUP PSTN call (12)

F11SIP/2.0 200 OKVia: SIP/2.0/TLS ngw1.a.example.com:5061 ;branch=z9hG4bKlueha2;received=192.0.2.103Record-Route: <sips:ss1.a.example.com;lr>From: <sips:[email protected];user=phone> ;tag=7643kalsTo: <sips:[email protected];user=phone> ;tag=314159Call-ID: [email protected]: 1 INVITEContact: <sips:[email protected]>Content-Type: application/sdpContent-Length: 143

SWITCHC

GW 2

v=0o=GW 987654321 987654321 IN IP4 gw2.a.example.coms=-c=IN IP4 gw2.a.example.comt=0 0m=audio 14918 RTP/AVP 0a=rtpmap:0 PCMU/8000

Alice'sphone

Carol's phone

Copyr

ight

© 2

005-2

007 T

ech-i

nvi

te.c

om

Joël

Rep

iquet

. All

Rig

hts

Res

erve

d.

NGW 1

SWITCHA

RFC 3666-4.1 – Successful ISUP PSTN to ISUP PSTN call (13)

Proxy 1

F13ACK sips:[email protected] SIP/2.0Via: SIP/2.0/TLS ngw1.a.example.com:5061 ;branch=z9hG4bKlueha2Max-Forwards: 70Route: <sips:ss1.a.example.com;lr>From: <sips:[email protected];user=phone> ;tag=7643kalsTo: <sips:[email protected];user=phone> ;tag=314159Call-ID: [email protected]: 1 ACKContent-Length: 0

SWITCHC

GW 2

F12

ANM

Alice'sphone

Carol's phone

Copyr

ight

© 2

005-2

007 T

ech-i

nvi

te.c

om

Joël

Rep

iquet

. All

Rig

hts

Res

erve

d.

Proxy 1

NGW 1

SWITCHA

RFC 3666-4.1 – Successful ISUP PSTN to ISUP PSTN call (14)

F14ACK sips:[email protected] SIP/2.0Via: SIP/2.0/TLS ss1.a.example.com:5061 ;branch=z9hG4bK2d4790.1Via: SIP/2.0/TLS ngw1.a.example.com:5061 ;branch=z9hG4bKlueha2;received=192.0.2.103Max-Forwards: 69From: <sips:[email protected];user=phone> ;tag=7643kalsTo: <sips:[email protected];user=phone> ;tag=314159Call-ID: [email protected]: 1 ACKContent-Length: 0

SWITCHC

GW 2

Alice'sphone

Carol's phone

Copyr

ight

© 2

005-2

007 T

ech-i

nvi

te.c

om

Joël

Rep

iquet

. All

Rig

hts

Res

erve

d.

SWITCHC

Proxy 1

NGW 1

SWITCHA

RFC 3666-4.1 – Successful ISUP PSTN to ISUP PSTN call (15)

GW 2Both Way RTP Media

Both

Way

Voic

e

Both

Way

Voic

e

Alice'sphone

Carol's phone

Copyr

ight

© 2

005-2

007 T

ech-i

nvi

te.c

om

Joël

Rep

iquet

. All

Rig

hts

Res

erve

d.

SWITCHC

Proxy 1

NGW 1

SWITCHA

Carol's phone

RFC 3666-4.1 – Successful ISUP PSTN to ISUP PSTN call (16)

GW 2

F15

RELCauseCode=16 Normal

Alice'sphone

Copyr

ight

© 2

005-2

007 T

ech-i

nvi

te.c

om

Joël

Rep

iquet

. All

Rig

hts

Res

erve

d.

SWITCHC

Proxy 1

NGW 1

SWITCHA

Carol's phone

RFC 3666-4.1 – Successful ISUP PSTN to ISUP PSTN call (17)

GW 2

F16BYE sips:[email protected] SIP/2.0Via: SIP/2.0/TLS gw2.a.example.com:5061 ;branch=z9hG4bKtexx6Max-Forwards: 70Route: <sips:ss1.a.example.com;lr>From: <sips:[email protected];user=phone> ;tag=314159To: <sips:[email protected];user=phone> ;tag=7643kalsCall-ID: [email protected]: 4 BYEContent-Length: 0

F17

RLC

Alice'sphone

Copyr

ight

© 2

005-2

007 T

ech-i

nvi

te.c

om

Joël

Rep

iquet

. All

Rig

hts

Res

erve

d.

Proxy 1

NGW 1

SWITCHA

Carol's phone

RFC 3666-4.1 – Successful ISUP PSTN to ISUP PSTN call (18)

F18BYE sips:[email protected] SIP/2.0Via: SIP/2.0/TLS ss1.a.example.com:5061 ;branch=z9hG4bK2d4790.1Via: SIP/2.0/TLS gw2.a.example.com:5061 ;branch=z9hG4bKtexx6;received=192.0.2.202Max-Forwards: 69From: <sips:[email protected];user=phone> ;tag=314159To: <sips:[email protected];user=phone> ;tag=7643kalsCall-ID: [email protected]: 4 BYEContent-Length: 0

SWITCHC

GW 2

Alice'sphone

Copyr

ight

© 2

005-2

007 T

ech-i

nvi

te.c

om

Joël

Rep

iquet

. All

Rig

hts

Res

erve

d.

NGW 1

SWITCHA

Carol's phone

RFC 3666-4.1 – Successful ISUP PSTN to ISUP PSTN call (19)

Proxy 1

F19SIP/2.0 200 OKVia: SIP/2.0/TLS ss1.a.example.com:5061 ;branch=z9hG4bK2d4790.1;received=192.0.2.111Via: SIP/2.0/TLS gw2.a.example.com:5061 ;branch=z9hG4bKtexx6;received=192.0.2.202From: <sips:[email protected];user=phone> ;tag=314159To: <sips:[email protected];user=phone> ;tag=7643kalsCall-ID: [email protected]: 4 BYEContent-Length: 0

SWITCHC

GW 2

F21

RELCauseCode=16 Normal

Alice'sphone

Copyr

ight

© 2

005-2

007 T

ech-i

nvi

te.c

om

Joël

Rep

iquet

. All

Rig

hts

Res

erve

d.

Proxy 1

NGW 1

Carol's phone

RFC 3666-4.1 – Successful ISUP PSTN to ISUP PSTN call (20)

Alice'sphone

F20SIP/2.0 200 OKVia: SIP/2.0/TLS gw2.a.example.com:5061 ;branch=z9hG4bKtexx6;received=192.0.2.202From: <sips:[email protected];user=phone> ;tag=314159To: <sips:[email protected];user=phone> ;tag=7643kalsCall-ID: [email protected]: 4 BYEContent-Length: 0

SWITCHC

GW 2

SWITCHA

F22

RLC

Copyr

ight

© 2

005-2

007 T

ech-i

nvi

te.c

om

Joël

Rep

iquet

. All

Rig

hts

Res

erve

d.

SWITCHC

Proxy 1

NGW 1

SWITCHA

Carol's phone

RFC 3666-4.1 – Successful ISUP PSTN to ISUP PSTN call (end)

Alice'sphone

GW 2

Copyr

ight

© 2

005-2

007 T

ech-i

nvi

te.c

om

Joël

Rep

iquet

. All

Rig

hts

Res

erve

d.