User Agent Client UAC User Agent Server UAS

  • Slides: 79
Download presentation

User Agent Client (UAC) User Agent Server (UAS)

User Agent Client (UAC) User Agent Server (UAS)

User Agent Server (UAS) User Agent Client (UAC)

User Agent Server (UAS) User Agent Client (UAC)

vs. Logical Physical

vs. Logical Physical

vs. Logical sip: mgreenlee@example. com Physical sip: cctest-lync-01. cclab. internal@claritycontest. com

vs. Logical sip: mgreenlee@example. com Physical sip: cctest-lync-01. cclab. internal@claritycontest. com

Proxy Registrar Location Server

Proxy Registrar Location Server

Request URI

Request URI

INVITE 200 OK Proxy INVITE CANCEL

INVITE 200 OK Proxy INVITE CANCEL

GRUUs Globally Routable User Agent URI Uniquely identifies a specific user agent Routable from

GRUUs Globally Routable User Agent URI Uniquely identifies a specific user agent Routable from anywhere Contains the gruu parameter in the URI

INVITE sip: agent 0007@claritycontest. com SIP/2. 0 From: <sip: mgreenlee@claritycontest. com>; tag=f 2 e

INVITE sip: agent 0007@claritycontest. com SIP/2. 0 From: <sip: mgreenlee@claritycontest. com>; tag=f 2 e 91 c 214 e; epid=99479001 a 4 To: <sip: agent 0007@claritycontest. com> CSeq: 1 INVITE Call-ID: 474 db 87 e 9 ee 44 b 288047254 ebc 8 ce 6 e 7 Via: SIP/2. 0/TLS 192. 168. 100. 163: 49243 Max-Forwards: 70 Contact: <sip: mgreenlee@claritycontest. com; opaque=user: epid: F 0 ky. MXrgc. VG 7 AGi. FOk. X 1 AAAA; gruu> User-Agent: UCCAPI/15. 0. 4517. 1004 OC/15. 0. 4517. 1004 (Microsoft Lync) Supported: ms-dialog-route-set-update Ms-Conversation-ID: Ac 6 O 1+2 jz+e 9 y. LIh. SESa. W 5 HSx. Ax. LNQ== ms-keep-alive: UAC; hop-hop=yes Allow: INVITE, BYE, ACK, CANCEL, INFO, UPDATE, REFER, NOTIFY, BENOTIFY, OPTIONS ms-subnet: 192. 168. 100. 0 Accept-Language: en-US ms-endpoint-location-data: Network. Scope; ms-media-location-type=Intranet

INVITE sip: agent 0007@claritycontest. com SIP/2. 0 From: <sip: mgreenlee@claritycontest. com>; tag=f 2 e

INVITE sip: agent 0007@claritycontest. com SIP/2. 0 From: <sip: mgreenlee@claritycontest. com>; tag=f 2 e 91 c 214 e; epid=99479001 a 4 To: <sip: agent 0007@claritycontest. com> CSeq: 1 INVITE Call-ID: 474 db 87 e 9 ee 44 b 288047254 ebc 8 ce 6 e 7 Via: SIP/2. 0/TLS 192. 168. 100. 163: 49243 Max-Forwards: 70 Contact: <sip: mgreenlee@claritycontest. com; opaque=user: epid: F 0 ky. MXrgc. VG 7 AGi. FOk. X 1 AAAA; gruu> User-Agent: UCCAPI/15. 0. 4517. 1004 OC/15. 0. 4517. 1004 (Microsoft Lync) Supported: ms-dialog-route-set-update Ms-Conversation-ID: Ac 6 O 1+2 jz+e 9 y. LIh. SESa. W 5 HSx. Ax. LNQ== ms-keep-alive: UAC; hop-hop=yes Allow: INVITE, BYE, ACK, CANCEL, INFO, UPDATE, REFER, NOTIFY, BENOTIFY, OPTIONS ms-subnet: 192. 168. 100. 0 Accept-Language: en-US ms-endpoint-location-data: Network. Scope; ms-media-location-type=Intranet

INVITE sip: agent 0007@claritycontest. com SIP/2. 0 From: <sip: mgreenlee@claritycontest. com>; tag=f 2 e

INVITE sip: agent 0007@claritycontest. com SIP/2. 0 From: <sip: mgreenlee@claritycontest. com>; tag=f 2 e 91 c 214 e; epid=99479001 a 4 To: <sip: agent 0007@claritycontest. com> CSeq: 1 INVITE Call-ID: 474 db 87 e 9 ee 44 b 288047254 ebc 8 ce 6 e 7 Via: SIP/2. 0/TLS 192. 168. 100. 163: 49243 Max-Forwards: 70 Contact: <sip: mgreenlee@claritycontest. com; opaque=user: epid: F 0 ky. MXrgc. VG 7 AGi. FOk. X 1 AAAA; gruu> User-Agent: UCCAPI/15. 0. 4517. 1004 OC/15. 0. 4517. 1004 (Microsoft Lync) Supported: ms-dialog-route-set-update Ms-Conversation-ID: Ac 6 O 1+2 jz+e 9 y. LIh. SESa. W 5 HSx. Ax. LNQ== ms-keep-alive: UAC; hop-hop=yes Allow: INVITE, BYE, ACK, CANCEL, INFO, UPDATE, REFER, NOTIFY, BENOTIFY, OPTIONS ms-subnet: 192. 168. 100. 0 Accept-Language: en-US ms-endpoint-location-data: Network. Scope; ms-media-location-type=Intranet

INVITE sip: agent 0007@claritycontest. com SIP/2. 0 From: <sip: mgreenlee@claritycontest. com>; tag=f 2 e

INVITE sip: agent 0007@claritycontest. com SIP/2. 0 From: <sip: mgreenlee@claritycontest. com>; tag=f 2 e 91 c 214 e; epid=99479001 a 4 To: <sip: agent 0007@claritycontest. com> CSeq: 1 INVITE Call-ID: 474 db 87 e 9 ee 44 b 288047254 ebc 8 ce 6 e 7 Via: SIP/2. 0/TLS 192. 168. 100. 163: 49243 Max-Forwards: 70 Contact: <sip: mgreenlee@claritycontest. com; opaque=user: epid: F 0 ky. MXrgc. VG 7 AGi. FOk. X 1 AAAA; gruu> User-Agent: UCCAPI/15. 0. 4517. 1004 OC/15. 0. 4517. 1004 (Microsoft Lync) Supported: ms-dialog-route-set-update Ms-Conversation-ID: Ac 6 O 1+2 jz+e 9 y. LIh. SESa. W 5 HSx. Ax. LNQ== ms-keep-alive: UAC; hop-hop=yes Allow: INVITE, BYE, ACK, CANCEL, INFO, UPDATE, REFER, NOTIFY, BENOTIFY, OPTIONS ms-subnet: 192. 168. 100. 0 Accept-Language: en-US ms-endpoint-location-data: Network. Scope; ms-media-location-type=Intranet

INVITE sip: agent 0007@claritycontest. com SIP/2. 0 From: <sip: mgreenlee@claritycontest. com>; tag=f 2 e

INVITE sip: agent 0007@claritycontest. com SIP/2. 0 From: <sip: mgreenlee@claritycontest. com>; tag=f 2 e 91 c 214 e; epid=99479001 a 4 To: <sip: agent 0007@claritycontest. com> CSeq: 1 INVITE Call-ID: 474 db 87 e 9 ee 44 b 288047254 ebc 8 ce 6 e 7 Via: SIP/2. 0/TLS 192. 168. 100. 163: 49243 Max-Forwards: 70 Contact: <sip: mgreenlee@claritycontest. com; opaque=user: epid: F 0 ky. MXrgc. VG 7 AGi. FOk. X 1 AAAA; gruu> User-Agent: UCCAPI/15. 0. 4517. 1004 OC/15. 0. 4517. 1004 (Microsoft Lync) Supported: ms-dialog-route-set-update Ms-Conversation-ID: Ac 6 O 1+2 jz+e 9 y. LIh. SESa. W 5 HSx. Ax. LNQ== ms-keep-alive: UAC; hop-hop=yes Allow: INVITE, BYE, ACK, CANCEL, INFO, UPDATE, REFER, NOTIFY, BENOTIFY, OPTIONS ms-subnet: 192. 168. 100. 0 Accept-Language: en-US ms-endpoint-location-data: Network. Scope; ms-media-location-type=Intranet

INVITE sip: agent 0007@claritycontest. com SIP/2. 0 From: <sip: mgreenlee@claritycontest. com>; tag=f 2 e

INVITE sip: agent 0007@claritycontest. com SIP/2. 0 From: <sip: mgreenlee@claritycontest. com>; tag=f 2 e 91 c 214 e; epid=99479001 a 4 To: <sip: agent 0007@claritycontest. com> CSeq: 1 INVITE Call-ID: 474 db 87 e 9 ee 44 b 288047254 ebc 8 ce 6 e 7 Via: SIP/2. 0/TLS 192. 168. 100. 163: 49243 Max-Forwards: 70 Contact: <sip: mgreenlee@claritycontest. com; opaque=user: epid: F 0 ky. MXrgc. VG 7 AGi. FOk. X 1 AAAA; gruu> User-Agent: UCCAPI/15. 0. 4517. 1004 OC/15. 0. 4517. 1004 (Microsoft Lync) Supported: ms-dialog-route-set-update Ms-Conversation-ID: Ac 6 O 1+2 jz+e 9 y. LIh. SESa. W 5 HSx. Ax. LNQ== ms-keep-alive: UAC; hop-hop=yes Allow: INVITE, BYE, ACK, CANCEL, INFO, UPDATE, REFER, NOTIFY, BENOTIFY, OPTIONS ms-subnet: 192. 168. 100. 0 Accept-Language: en-US ms-endpoint-location-data: Network. Scope; ms-media-location-type=Intranet

INVITE sip: agent 0007@claritycontest. com SIP/2. 0 From: <sip: mgreenlee@claritycontest. com>; tag=f 2 e

INVITE sip: agent 0007@claritycontest. com SIP/2. 0 From: <sip: mgreenlee@claritycontest. com>; tag=f 2 e 91 c 214 e; epid=99479001 a 4 To: <sip: agent 0007@claritycontest. com> CSeq: 1 INVITE Call-ID: 474 db 87 e 9 ee 44 b 288047254 ebc 8 ce 6 e 7 Via: SIP/2. 0/TLS 192. 168. 100. 163: 49243 Max-Forwards: 70 Contact: <sip: mgreenlee@claritycontest. com; opaque=user: epid: F 0 ky. MXrgc. VG 7 AGi. FOk. X 1 AAAA; gruu> User-Agent: UCCAPI/15. 0. 4517. 1004 OC/15. 0. 4517. 1004 (Microsoft Lync) Supported: ms-dialog-route-set-update Ms-Conversation-ID: Ac 6 O 1+2 jz+e 9 y. LIh. SESa. W 5 HSx. Ax. LNQ== ms-keep-alive: UAC; hop-hop=yes Allow: INVITE, BYE, ACK, CANCEL, INFO, UPDATE, REFER, NOTIFY, BENOTIFY, OPTIONS ms-subnet: 192. 168. 100. 0 Accept-Language: en-US ms-endpoint-location-data: Network. Scope; ms-media-location-type=Intranet

Translation. Service INVITE sip: agent 0007@claritycontest. com SIP/2. 0 From: <sip: mgreenlee@claritycontest. com>; tag=f

Translation. Service INVITE sip: agent 0007@claritycontest. com SIP/2. 0 From: <sip: mgreenlee@claritycontest. com>; tag=f 2 e 91 c 214 e; epid=99479001 a 4 To: <sip: agent 0007@claritycontest. com> CSeq: 1 INVITE Call-ID: 474 db 87 e 9 ee 44 b 288047254 ebc 8 ce 6 e 7 Via: SIP/2. 0/TLS 192. 168. 100. 163: 49243 Max-Forwards: 70 Contact: <sip: mgreenlee@claritycontest. com; opaque=user: epid: F 0 ky. MXrgc. VG 7 AGi. FOk. X 1 AAAA; gruu> User-Agent: UCCAPI/15. 0. 4517. 1004 OC/15. 0. 4517. 1004 (Microsoft Lync) Supported: ms-dialog-route-set-update Ms-Conversation-ID: Ac 6 O 1+2 jz+e 9 y. LIh. SESa. W 5 HSx. Ax. LNQ== ms-keep-alive: UAC; hop-hop=yes Allow: INVITE, BYE, ACK, CANCEL, INFO, UPDATE, REFER, NOTIFY, BENOTIFY, OPTIONS ms-subnet: 192. 168. 100. 0 Accept-Language: en-US ms-endpoint-location-data: Network. Scope; ms-media-location-type=Intranet

User. Services/Inter. Cluster. Routing INVITE sip: agent 0007@claritycontest. com SIP/2. 0 From: <sip: mgreenlee@claritycontest.

User. Services/Inter. Cluster. Routing INVITE sip: agent 0007@claritycontest. com SIP/2. 0 From: <sip: mgreenlee@claritycontest. com>; tag=f 2 e 91 c 214 e; epid=99479001 a 4 To: <sip: agent 0007@claritycontest. com> CSeq: 1 INVITE Call-ID: 474 db 87 e 9 ee 44 b 288047254 ebc 8 ce 6 e 7 Via: SIP/2. 0/TLS 192. 168. 100. 163: 49243 Max-Forwards: 70 Contact: <sip: mgreenlee@claritycontest. com; opaque=user: epid: F 0 ky. MXrgc. VG 7 AGi. FOk. X 1 AAAA; gruu> User-Agent: UCCAPI/15. 0. 4517. 1004 OC/15. 0. 4517. 1004 (Microsoft Lync) Supported: ms-dialog-route-set-update Ms-Conversation-ID: Ac 6 O 1+2 jz+e 9 y. LIh. SESa. W 5 HSx. Ax. LNQ== ms-keep-alive: UAC; hop-hop=yes Allow: INVITE, BYE, ACK, CANCEL, INFO, UPDATE, REFER, NOTIFY, BENOTIFY, OPTIONS ms-subnet: 192. 168. 100. 0 Accept-Language: en-US ms-endpoint-location-data: Network. Scope; ms-media-location-type=Intranet

Inbound. Routing INVITE sip: agent 0007@claritycontest. com SIP/2. 0 From: <sip: mgreenlee@claritycontest. com>; tag=f

Inbound. Routing INVITE sip: agent 0007@claritycontest. com SIP/2. 0 From: <sip: mgreenlee@claritycontest. com>; tag=f 2 e 91 c 214 e; epid=99479001 a 4 To: <sip: agent 0007@claritycontest. com> CSeq: 1 INVITE Call-ID: 474 db 87 e 9 ee 44 b 288047254 ebc 8 ce 6 e 7 Via: SIP/2. 0/TLS 192. 168. 100. 163: 49243 Max-Forwards: 70 Contact: <sip: mgreenlee@claritycontest. com; opaque=user: epid: F 0 ky. MXrgc. VG 7 AGi. FOk. X 1 AAAA; gruu> User-Agent: UCCAPI/15. 0. 4517. 1004 OC/15. 0. 4517. 1004 (Microsoft Lync) Supported: ms-dialog-route-set-update Ms-Conversation-ID: Ac 6 O 1+2 jz+e 9 y. LIh. SESa. W 5 HSx. Ax. LNQ== ms-keep-alive: UAC; hop-hop=yes Allow: INVITE, BYE, ACK, CANCEL, INFO, UPDATE, REFER, NOTIFY, BENOTIFY, OPTIONS ms-subnet: 192. 168. 100. 0 Accept-Language: en-US ms-endpoint-location-data: Network. Scope; ms-media-location-type=Intranet

Inbound. Routing 101 Progress Report SIP/2. 0 101 Progress Report From: "Michael Greenlee"<sip: mgreenlee@claritycontest.

Inbound. Routing 101 Progress Report SIP/2. 0 101 Progress Report From: "Michael Greenlee"<sip: mgreenlee@claritycontest. com>; tag=25 ed 2084 fd; epid=99479001 a 4 To: <sip: agent 0007@claritycontest. com> CSeq: 1 INVITE Call-ID: cfddfdafd 2904102981 a 259 f 506 a 83 ff Authentication-Info: … Content-Length: 0 Via: SIP/2. 0/TLS 192. 168. 100. 163: 49243; ms-received-port=49243; ms-received-cid=2400 ms-diagnostics: 13004; reason="Request was proxied to one or more registered endpoints"; source="cctest-lync-02. cclab. internal"; Count="1"; app. Name="Inbound. Routing" Server: Inbound. Routing/4. 0. 0. 0

INVITE sip: 192. 168. 100. 163: 49526; transport=tls; ms-opaque=1 ee 5 c 33 e

INVITE sip: 192. 168. 100. 163: 49526; transport=tls; ms-opaque=1 ee 5 c 33 e 9 d; ms-received-cid=3 F 200 From: <sip: mgreenlee@claritycontest. com>; tag=f 2 e 91 c 214 e; epid=99479001 a 4 To: sip: agent 0007@claritycontest. com; epid=8 a 00958032 CSeq: 1 INVITE Call-ID: 474 db 87 e 9 ee 44 b 288047254 ebc 8 ce 6 e 7 Record-Route: <sip: cctest-lyncpool-01. cclab. internal: 5061; transport=tls; ms-fe=cctest-lync 02. cclab. internal; opaque=state: T: F: Ci. R 3 f 200; lr; ms-routesig=aamkl. Z 7 Ym. Prs. Cec. Mh. Q 0 J 0_9 c. E 6 QKHMO 9 l. D 1 jf. Ggd. Rl. Nl. GZyr. M 4 NVm. Y 5 g. AA>; tag=990 C 7 A 726842881 A 248 A 9 48 C 69 B 3 Via: SIP/2. 0/TLS 192. 168. 100. 163: 49243 Via: SIP/2. 0/TLS 192. 168. 100. 152: 5061; branch=z 9 h. G 4 b. K 0 C 4264 F 9. 38 B 3 CA 99 D 96 E 73 A 7; branched=TRUE Max-Forwards: 69 Contact: <sip: mgreenlee@claritycontest. com; opaque=user: epid: F 0 ky. MXrgc. VG 7 AGi. FOk. X 1 AAAA; gruu> User-Agent: UCCAPI/15. 0. 4517. 1004 OC/15. 0. 4517. 1004 (Microsoft Lync) Supported: ms-dialog-route-set-update Ms-Conversation-ID: Ac 6 O 1+2 jz+e 9 y. LIh. SESa. W 5 HSx. Ax. LNQ== …

INVITE sip: 192. 168. 100. 163: 49526; transport=tls; ms-opaque=1 ee 5 c 33 e

INVITE sip: 192. 168. 100. 163: 49526; transport=tls; ms-opaque=1 ee 5 c 33 e 9 d; ms-received-cid=3 F 200 From: <sip: mgreenlee@claritycontest. com>; tag=f 2 e 91 c 214 e; epid=99479001 a 4 To: sip: agent 0007@claritycontest. com; epid=8 a 00958032 CSeq: 1 INVITE Call-ID: 474 db 87 e 9 ee 44 b 288047254 ebc 8 ce 6 e 7 Record-Route: <sip: cctest-lyncpool-01. cclab. internal: 5061; transport=tls; ms-fe=cctest-lync 02. cclab. internal; opaque=state: T: F: Ci. R 3 f 200; lr; ms-routesig=aamkl. Z 7 Ym. Prs. Cec. Mh. Q 0 J 0_9 c. E 6 QKHMO 9 l. D 1 jf. Ggd. Rl. Nl. GZyr. M 4 NVm. Y 5 g. AA>; tag=990 C 7 A 726842881 A 248 A 9 48 C 69 B 3 Via: SIP/2. 0/TLS 192. 168. 100. 163: 49243 Via: SIP/2. 0/TLS 192. 168. 100. 152: 5061; branch=z 9 h. G 4 b. K 0 C 4264 F 9. 38 B 3 CA 99 D 96 E 73 A 7; branched=TRUE Max-Forwards: 69 Contact: <sip: mgreenlee@claritycontest. com; opaque=user: epid: F 0 ky. MXrgc. VG 7 AGi. FOk. X 1 AAAA; gruu> User-Agent: UCCAPI/15. 0. 4517. 1004 OC/15. 0. 4517. 1004 (Microsoft Lync) Supported: ms-dialog-route-set-update Ms-Conversation-ID: Ac 6 O 1+2 jz+e 9 y. LIh. SESa. W 5 HSx. Ax. LNQ== …

r: app. Uri="http: //www. microsoft. com/LC/SDK/Samples/Content. Modification"

r: app. Uri="http: //www. microsoft. com/LC/SDK/Samples/Content. Modification"

method. Names="INVITE, MESSAGE"

method. Names="INVITE, MESSAGE"

strict. Route="true"

strict. Route="true"

<r: response. Filter reason. Codes="NONE"/>

<r: response. Filter reason. Codes="NONE"/>

<r: script. Only/>

<r: script. Only/>

sip. Request. Content = Concatenate(sip. Request. Content, " (echo. )");

sip. Request. Content = Concatenate(sip. Request. Content, " (echo. )");

Proxy. Request("");

Proxy. Request("");

Proxy. Request("sip: cctest-ts-03. cclab. internal@claritycontest. com; gruu; opaque=srvr: presencetester: KE_Gakuh. Ul. No. Jitc. GMskw.

Proxy. Request("sip: cctest-ts-03. cclab. internal@claritycontest. com; gruu; opaque=srvr: presencetester: KE_Gakuh. Ul. No. Jitc. GMskw. AA");

Dispatch("Request. Invite. Handler", target. AOR, from. User. AOR );

Dispatch("Request. Invite. Handler", target. AOR, from. User. AOR );

string target. Aor = event. Args. Parameters[0] as string; string source. Aor = event.

string target. Aor = event. Args. Parameters[0] as string; string source. Aor = event. Args. Parameters[1] as string;

Response resp = request. Create. Response(403); srv. Tran. Send. Response(resp);

Response resp = request. Create. Response(403); srv. Tran. Send. Response(resp);

http: //msdn. microsoft. com/en-us/library/office/dn 454964. aspx http: //www. microsoft. com/en-ca/download/details. aspx? id=35456

http: //msdn. microsoft. com/en-us/library/office/dn 454964. aspx http: //www. microsoft. com/en-ca/download/details. aspx? id=35456