1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397
|
<pre>Network Working Group T. Melanchuk, Ed.
Request for Comments: 5567 Rain Willow Communications
Category: Informational June 2009
<span class="h1">An Architectural Framework for Media Server Control</span>
Status of This Memo
This memo provides information for the Internet community. It does
not specify an Internet standard of any kind. Distribution of this
memo is unlimited.
Copyright Notice
Copyright (c) 2009 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and the IETF Trust's Legal
Provisions Relating to IETF Documents in effect on the date of
publication of this document (<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>).
Please review these documents carefully, as they describe your rights
and restrictions with respect to this document.
This document may contain material from IETF Documents or IETF
Contributions published or made publicly available before November
10, 2008. The person(s) controlling the copyright in some of this
material may not have granted the IETF Trust the right to allow
modifications of such material outside the IETF Standards Process.
Without obtaining an adequate license from the person(s) controlling
the copyright in such materials, this document may not be modified
outside the IETF Standards Process, and derivative works of it may
not be created outside the IETF Standards Process, except to format
it for publication as an RFC or to translate it into languages other
than English.
Abstract
This document describes an architectural framework for Media Server
control. The primary focus will be to define logical entities that
exist within the context of Media Server control, and define the
appropriate naming conventions and interactions between them.
<span class="grey">Melanchuk Informational [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc5567">RFC 5567</a> Mediactrl Architecture June 2009</span>
Table of Contents
<a href="#section-1">1</a>. Introduction ....................................................<a href="#page-2">2</a>
<a href="#section-2">2</a>. Terminology .....................................................<a href="#page-3">3</a>
<a href="#section-3">3</a>. Architecture Overview ...........................................<a href="#page-4">4</a>
<a href="#section-4">4</a>. SIP Usage .......................................................<a href="#page-7">7</a>
<a href="#section-5">5</a>. Media Control for IVR Services .................................<a href="#page-10">10</a>
<a href="#section-5.1">5.1</a>. Basic IVR Services ........................................<a href="#page-11">11</a>
<a href="#section-5.2">5.2</a>. IVR Services with Mid-Call Controls .......................<a href="#page-11">11</a>
<a href="#section-5.3">5.3</a>. Advanced IVR Services .....................................<a href="#page-11">11</a>
<a href="#section-6">6</a>. Media Control for Conferencing Services ........................<a href="#page-12">12</a>
<a href="#section-6.1">6.1</a>. Creating a New Conference .................................<a href="#page-14">14</a>
<a href="#section-6.2">6.2</a>. Adding a Participant to a Conference ......................<a href="#page-14">14</a>
<a href="#section-6.3">6.3</a>. Media Controls ............................................<a href="#page-15">15</a>
<a href="#section-6.4">6.4</a>. Floor Control .............................................<a href="#page-16">16</a>
<a href="#section-7">7</a>. Security Considerations ........................................<a href="#page-21">21</a>
<a href="#section-8">8</a>. Acknowledgments ................................................<a href="#page-22">22</a>
<a href="#section-9">9</a>. Contributors ...................................................<a href="#page-22">22</a>
<a href="#section-10">10</a>. Informative References ........................................<a href="#page-23">23</a>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
Application Servers host one or more instances of a communications
application. Media Servers provide real-time media processing
functions. This document presents the core architectural framework
to allow Application Servers to control Media Servers. An overview
of the architecture describing the core logical entities and their
interactions is presented in <a href="#section-3">Section 3</a>. The requirements for Media
Server control are defined in [<a href="./rfc5167" title=""Media Server Control Protocol Requirements"">RFC5167</a>].
The Session Initiation Protocol (SIP) [<a href="./rfc3261" title=""SIP: Session Initiation Protocol"">RFC3261</a>] is used as the
session establishment protocol within this architecture. Application
Servers use it both to terminate media streams on Media Servers and
to create and manage control channels for Media Server control
between themselves and Media Servers. The detailed model for Media
Server control together with a description of SIP usage is presented
in <a href="#section-4">Section 4</a>.
Several services are described using the framework defined in this
document. Use cases for Interactive Voice Response (IVR) services
are described in <a href="#section-5">Section 5</a>, and conferencing use cases are described
in <a href="#section-6">Section 6</a>.
<span class="grey">Melanchuk Informational [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc5567">RFC 5567</a> Mediactrl Architecture June 2009</span>
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Terminology</span>
The following terms are defined for use in this document in the
context of Media Server control:
Application Server (AS): A functional entity that hosts one or more
instances of a communication application. The application server
may include the conference policy server, the focus, and the
conference notification server, as defined in [<a href="./rfc4353" title=""A Framework for Conferencing with the Session Initiation Protocol (SIP)"">RFC4353</a>]. Also, it
may include communication applications that use IVR or
announcement services.
Media Functions: Functions available on a Media Server that are used
to supply media services to the AS. Some examples are Dual-Tone
Multi-Frequency (DTMF) detection, mixing, transcoding, playing
announcement, recording, etc.
Media Resource Broker (MRB): A logical entity that is responsible
for both the collection of appropriate published Media Server (MS)
information and supplying of appropriate MS information to
consuming entities. The MRB is an optional entity and will be
discussed in a separate document.
Media Server (MS): The media server includes the mixer as defined in
[<a href="./rfc4353" title=""A Framework for Conferencing with the Session Initiation Protocol (SIP)"">RFC4353</a>]. The media server plays announcements, it processes
media streams for functions like DTMF detection and transcoding.
The media server may also record media streams for supporting IVR
functions like announcing conference participants. In the
architecture for the 3GPP IP Multimedia Subsystem (IMS) a Media
Server is referred to as a Media Resource Function (MRF).
Media Services: Application service requiring media functions such
as Interactive Voice Response (IVR) or media conferencing.
Media Session: From the Session Description Protocol (SDP)
specification [<a href="./rfc4566" title=""SDP: Session Description Protocol"">RFC4566</a>]: "A multimedia session is a set of
multimedia senders and receivers and the data streams flowing from
senders to receivers. A multimedia conference is an example of a
multimedia session."
MS Control Channel: A reliable transport connection between the AS
and MS used to exchange MS Control PDUs. Implementations must
support the Transport Control Protocol (TCP) [<a href="./rfc0793" title=""Transmission Control Protocol"">RFC0793</a>] and may
support the Stream Control Transmission Protocol (SCTP) [<a href="./rfc4960" title=""Stream Control Transmission Protocol"">RFC4960</a>].
Implementations must support TLS [<a href="./rfc5246" title=""The Transport Layer Security (TLS) Protocol Version 1.2"">RFC5246</a>] as a transport-level
security mechanism although its use in deployments is optional.
<span class="grey">Melanchuk Informational [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc5567">RFC 5567</a> Mediactrl Architecture June 2009</span>
MS Control Dialog: A SIP dialog that is used for establishing a
control channel between the user agent (UA) and the MS.
MS Control Protocol: The protocol used for by an AS to control an
MS. The MS Control Protocol assumes a reliable underlying
transport protocol for the MS Control Channel.
MS Media Dialog: A SIP dialog between the AS and MS that is used for
establishing media sessions between a user device such as a SIP
phone and the MS.
The definitions for AS, MS, and MRB above are taken from [<a href="./rfc5167" title=""Media Server Control Protocol Requirements"">RFC5167</a>].
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Architecture Overview</span>
A Media Server (MS) is a network device that processes media streams.
Examples of media processing functionality may include:
o Control of the Real-Time Protocol (RTP) [<a href="./rfc3550" title=""RTP: A Transport Protocol for Real-Time Applications"">RFC3550</a>] streams using
the Extended RTP Profile for Real-time Transport Control Protocol
(RTCP)-Based Feedback (RTP/AVPF) [<a href="./rfc4585" title=""Extended RTP Profile for Real-time Transport Control Protocol (RTCP)-Based Feedback (RTP/AVPF)"">RFC4585</a>].
o Mixing of incoming media streams.
o Media stream source (for multimedia announcements).
o Media stream processing (e.g., transcoding, DTMF detection).
o Media stream sink (for multimedia recordings).
An MS supplies one or more media processing functionalities, which
may include others than those illustrated above, to an Application
Server (AS). An AS is able to send a particular call to a suitable
MS, either through discovery of the capabilities that a specific MS
provides or through the use of a Media Resource Broker.
The type of processing that a Media Server performs on media streams
is specified and controlled by an Application Server. Application
Servers are logical entities that are capable of running one or more
instances of a communications application. Examples of Application
Servers that may interact with a Media Server are an AS acting as a
Conference 'Focus' as defined in [<a href="./rfc4353" title=""A Framework for Conferencing with the Session Initiation Protocol (SIP)"">RFC4353</a>], or an IVR application
using a Media Server to play announcements and detect DTMF key
presses.
Application servers use SIP to establish control channels between
themselves and MSs. An MS Control Channel implements a reliable
transport protocol that is used to carry the MS Control Protocol. A
<span class="grey">Melanchuk Informational [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc5567">RFC 5567</a> Mediactrl Architecture June 2009</span>
SIP dialog used to establish a control channel is referred to as an
MS Control Dialog.
Application Servers terminate SIP [<a href="./rfc3261" title=""SIP: Session Initiation Protocol"">RFC3261</a>] signaling from SIP User
Agents and may terminate other signaling outside the scope of this
document. They use SIP Third Party Call Control [<a href="./rfc3725" title=""Best Current Practices for Third Party Call Control (3pcc) in the Session Initiation Protocol (SIP)"">RFC3725</a>] (3PCC) to
establish, maintain, and tear down media streams from those SIP UAs
to a Media Server. A SIP dialog used by an AS to establish a media
session on an MS is referred to as an MS Media Dialog.
Media streams go directly between SIP User Agents and Media Servers.
Media Servers support multiple types of media. Common supported RTP
media types include audio and video, but others such as text and the
Binary Floor Control Protocol (BFCP) [<a href="./rfc4583" title=""Session Description Protocol (SDP) Format for Binary Floor Control Protocol (BFCP) Streams"">RFC4583</a>] are also possible.
This basic architecture, showing session establishment signaling
between a single AS and MS is shown in Figure 1 below.
+-------------+ +--------------+
| | SIP (MS Control Dialog) | |
| Application |<----------------------->| Media |
| Server | | Server |
| |<----------------------->| |
+-------------+ SIP (MS Media Dialog) +--------------+
^ ^
\ | RTP/SRTP
\ | audio/
\ | video/etc)
\ |
\ v
\ +--------------+
\ SIP | |
+-------------->| SIP |
| User Agent |
| |
+--------------+
Figure 1: Basic Signaling Architecture
The architecture must support a many-to-many relationship between
Application Servers and Media Servers. In real world deployments, an
Application Server may interact with multiple Media Servers and/or a
Media Server may be controlled by more than one Application Server.
Application Servers can use the SIP URI as described in [<a href="./rfc4240" title=""Basic Network Media Services with SIP"">RFC4240</a>] to
request basic functions from Media Servers. Basic functions are
characterized as requiring no mid-call interactions between the AS
and MS. Examples of these functions are simple announcement-playing
<span class="grey">Melanchuk Informational [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc5567">RFC 5567</a> Mediactrl Architecture June 2009</span>
or basic conference-mixing where the AS does not need to explicitly
control the mixing.
Most services however have interactions between the AS and MS during
a call or conference. The type of interactions can be generalized as
follows:
o commands from an AS to an MS to request the application or
configuration of a function. The request may apply to a single
media stream, multiple media streams associated with multiple SIP
dialogs, or to properties of a conference mix.
o responses from an MS to an AS reporting on the status of
particular commands.
o notifications from an MS to an AS that report results from
commands or notify changes to subscribed status.
Commands, responses, and notifications are transported using one or
more dedicated control channels between the Application Server and
the Media Server. Dedicated control channels provide reliable,
sequenced, peer-to-peer transport for Media Server control
interactions. Implementations must support the Transport Control
Protocol (TCP) [<a href="./rfc0793" title=""Transmission Control Protocol"">RFC0793</a>] and may support the Stream Control
Transmission Protocol (SCTP) [<a href="./rfc4960" title=""Stream Control Transmission Protocol"">RFC4960</a>]. Because MS control requires
sequenced reliable delivery of messages, unreliable protocols such as
the User Datagram Protocol (UDP) are not suitable. Implementations
must support TLS [<a href="./rfc5246" title=""The Transport Layer Security (TLS) Protocol Version 1.2"">RFC5246</a>] as a transport-level security mechanism
although its use in deployments is optional. A dedicated control
channel is shown in Figure 2 below.
<span class="grey">Melanchuk Informational [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc5567">RFC 5567</a> Mediactrl Architecture June 2009</span>
+-------------+ +--------------+
| | | |
| Application | MS ctrl channel | Media |
| Server |<------------------->| Server |
| | | |
+-------------+ +--------------+
^ ^ ^
RTP/SRTP | | |
(audio/ | | |
video/etc) | | |
| | v
+---|-v-------+
+-|---v-------+ |
+-|-----------+ | |
| | | |
| SIP | | |
| User Agent | |-+
| |-+
+-------------+
Figure 2: Media Server Control Architecture
Both Application Servers and Media Servers may interact with other
servers for specific purposes beyond the scope of this document. For
example, Application Servers will often communicate with other
infrastructure components that are usually based on deployment
requirements with links to back-office data stores and applications.
Media Servers will often retrieve announcements from external file
servers. Also, many Media Servers support IVR dialog services using
VoiceXML [<a href="#ref-W3C.REC-voicexml20-20040316">W3C.REC-voicexml20-20040316</a>]. In this case, the MS
interacts with other servers using HTTP during standard VoiceXML
processing. VoiceXML Media Servers may also interact with speech
engines (for example, using the Media Resource Control Protocol
version 2 (MRCPv2)) for speech recognition and generation purposes.
Some specific types of interactions between Application and Media
servers are also out of scope for this document. MS resource
reservation is one such interaction. Also, any interactions between
Application Servers, or between Media Servers, are also out of scope.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. SIP Usage</span>
The Session Initiation Protocol (SIP) [<a href="./rfc3261" title=""SIP: Session Initiation Protocol"">RFC3261</a>] was developed by the
IETF for the purposes of initiating, managing, and terminating
multimedia sessions. The popularity of SIP has grown dramatically
since its inception and is now the primary Voice over IP (VoIP)
protocol. This includes being selected as the basis for
architectures such as the IP Multimedia Subsystem (IMS) in 3GPP and
<span class="grey">Melanchuk Informational [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc5567">RFC 5567</a> Mediactrl Architecture June 2009</span>
included in many of the early live deployments of VoIP-related
systems. Media servers are not a new concept in IP telephony
networks and there have been numerous signaling protocols and
techniques proposed for their control. The most popular techniques
to date have used a combination of SIP and various markup languages
to convey media service requests and responses.
As discussed in <a href="#section-3">Section 3</a> and illustrated in Figure 1, the logical
architecture described by this document involves interactions between
an Application Server (AS) and a Media Server (MS). The SIP
interactions can be broken into "MS media dialogs" that are used
between an AS and an MS to establish media sessions between an
endpoint and a Media Server, and "MS control dialogs" that are used
to establish and maintain MS control channels.
SIP is the primary signaling protocol for session signaling and is
used for all media sessions directed towards a Media Server as
described in this document. Media Servers may support other
signaling protocols but this type of interaction is not considered
here. Application Servers may terminate non-SIP signaling protocols
but must gateway those requests to SIP when interacting with a Media
Server.
SIP will also be used for the creation, management, and termination
of the dedicated MS control channel(s). Control channel(s) provide
reliable sequenced delivery of MS Control Protocol messages. The
Application and Media Servers use the SDP attributes defined in
[<a href="./rfc4145" title=""TCP-Based Media Transport in the Session Description Protocol (SDP)"">RFC4145</a>] to allow SIP negotiation of the control channel. A control
channel is closed when SIP terminates the corresponding MS control
dialog. Further details and example flows are provided in the SIP
Control Framework [<a href="#ref-SIP-CTRL-FW">SIP-CTRL-FW</a>]. The SIP Control Framework also
includes basic control message semantics corresponding to the types
of interactions identified in <a href="#section-3">Section 3</a>. It uses the concept of
"packages" to allow domain-specific protocols to be defined using the
Extensible Markup Language (XML) [<a href="#ref-W3C.REC-xml-20060816">W3C.REC-xml-20060816</a>] format. The
MS Control Protocol is made up of one or more packages for the SIP
Control Framework.
Using SIP for both media and control dialogs provides a number of
inherent benefits over other potential techniques. These include:
1. The use of SIP location and rendezvous capabilities, as defined
in [<a href="./rfc3263" title=""Session Initiation Protocol (SIP): Locating SIP Servers"">RFC3263</a>]. This provides core mechanisms for routing a SIP
request based on techniques such as DNS SRV and NAPTR records.
The SIP infrastructure makes heavy use of such techniques.
2. The security and identity properties of SIP; for example, using
TLS for reliably and securely connecting to another SIP-based
<span class="grey">Melanchuk Informational [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc5567">RFC 5567</a> Mediactrl Architecture June 2009</span>
entity. The SIP protocol has a number of identity mechanisms
that can be used. [<a href="./rfc3261" title=""SIP: Session Initiation Protocol"">RFC3261</a>] provides an intra-domain digest-
based mechanism and [<a href="./rfc4474" title=""Enhancements for Authenticated Identity Management in the Session Initiation Protocol (SIP)"">RFC4474</a>] defines a certificate-based inter-
domain identity mechanism. SIP with S/MIME provides the ability
to secure payloads using encrypted and signed certificate
techniques.
3. SIP has extremely powerful and dynamic media-negotiation
properties as defined in [<a href="./rfc3261" title=""SIP: Session Initiation Protocol"">RFC3261</a>] and [<a href="./rfc3264" title=""An Offer/Answer Model with Session Description Protocol (SDP)"">RFC3264</a>].
4. The ability to select an appropriate SIP entity based on
capability sets as discussed in [<a href="./rfc3840" title=""Indicating User Agent Capabilities in the Session Initiation Protocol (SIP)"">RFC3840</a>]. This provides a
powerful function that allows Media Servers to convey a specific
capability set. An AS is then free to select an appropriate MS
based on its requirements.
5. Using SIP also provides consistency with IETF protocols and
usages. SIP was intended to be used for the creation and
management of media sessions, and this provides a correct usage
of the protocol.
As mentioned previously in this section, media services using SIP are
fairly well understood. Some previous proposals suggested using the
SIP INFO [<a href="./rfc2976" title=""The SIP INFO Method"">RFC2976</a>] method as the transport vehicle between the AS and
MS. Using SIP INFO in this way is not advised for a number of
reasons, which include:
o INFO is an opaque request with no specific semantics. A SIP
endpoint that receives an INFO request does not know what to do
with it based on SIP signaling.
o SIP INFO was not created to carry generic session control
information along the signaling path, and it should only really be
used for optional application information, e.g., carrying mid-call
Public Switched Telephone Network (PSTN) signaling messages
between PSTN gateways.
o SIP INFO traverses the signaling path, which is an inefficient use
for control messages that can be routed directly between the AS
and MS.
o [<a href="./rfc3261" title=""SIP: Session Initiation Protocol"">RFC3261</a>] contains rules when using an unreliable protocol such as
UDP. When a packet reaches a size close to the Maximum
Transmission Unit (MTU), the protocol should be changed to TCP.
This type of operation is not ideal when constantly dealing with
large payloads such as XML-formatted MS control messages.
<span class="grey">Melanchuk Informational [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc5567">RFC 5567</a> Mediactrl Architecture June 2009</span>
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Media Control for IVR Services</span>
One of the functions of a Media Server is to assist an Application
Server that is implementing IVR services by performing media
processing functions on media streams. Although "IVR" is somewhat
generic terminology, the scope of media functions provided by an MS
addresses the needs for user interaction dialogs. These functions
include media transcoding, basic announcements, user input detection
(via DTMF or speech), and media recording.
A particular IVR or user dialog application typically requires the
use of several specific media functions, as described above. The
range and complexity of IVR dialogs can vary significantly, from a
simple single announcement play-back to complex voice mail
applications.
As previously discussed, an AS uses SIP [<a href="./rfc3261" title=""SIP: Session Initiation Protocol"">RFC3261</a>] and SDP [<a href="./rfc4566" title=""SDP: Session Description Protocol"">RFC4566</a>]
to establish and configure media sessions to a Media Server. An AS
uses the MS control channel, established using SIP, to invoke IVR
requests and to receive responses and notifications. This topology
is shown in Figure 3 below.
+-------------+ SIP +-------------+
| Application |<---------------------------->| Media |
| Server | (media & MS Control dialogs) | Server |
| | | |
| | MS Control Protocol (IVR) | |
| |<---------------------------->| (IVR media |
| (App logic) | (CtrlChannel) | functions) |
+-------------+ +-------------+
^ ^^
\ || R
\ || T
\ || P
\ || /
\ || S
\ || R
\ || T
\ || P
\ vv
\ call signaling +-----------+
---------------------------->| User |
(e.g., SIP) | Equipment |
+-----------+
Figure 3: IVR Topology
<span class="grey">Melanchuk Informational [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc5567">RFC 5567</a> Mediactrl Architecture June 2009</span>
The variety in complexity of Application Server IVR services requires
support for different levels of media functions from the Media Server
as described in the following sub-sections.
<span class="h3"><a class="selflink" id="section-5.1" href="#section-5.1">5.1</a>. Basic IVR Services</span>
For simple basic announcement requests, the MS control channel, as
depicted in Figure 3 above, is not required. Simple announcement
requests may be invoked on the Media Server using the SIP URI
mechanism defined in [<a href="./rfc4240" title=""Basic Network Media Services with SIP"">RFC4240</a>]. This interface allows no digit
detection or collection of user input and no mid-call dialog control.
However, many applications only require basic media services, and the
processing burden on the Media Server to support more complex
interactions with the AS would not be needed in that case.
<span class="h3"><a class="selflink" id="section-5.2" href="#section-5.2">5.2</a>. IVR Services with Mid-Call Controls</span>
For more complex IVR dialogs, which require mid-call interaction and
control between the Application Server and the Media Server, the MS
control channel (as shown in Figure 3 above) is used to invoke
specific media functions on the Media Server. These functions
include, but are not limited to, complex announcements with barge-in
facility, user-input detection and reporting (e.g., DTMF) to an
Application Server, DTMF and voice-activity controlled recordings,
etc. Composite services, such as play-collect and play-record, are
also addressed by this model.
Mid-call control also allows Application Servers to subscribe to IVR-
related events and for the Media Server to notify the AS when these
events occur. Examples of such events are announcement completion
events, record completion events, and reporting of collected DTMF
digits.
<span class="h3"><a class="selflink" id="section-5.3" href="#section-5.3">5.3</a>. Advanced IVR Services</span>
Although IVR services with mid-call control, as described above,
provide a comprehensive set of media functions expected from a Media
Server, the advanced IVR services model allows a higher level of
abstraction describing application logic, as provided by VoiceXML, to
be executed on the Media Server. Invocation of VoiceXML IVR dialogs
may be via the "Prompt and Collect" mechanism of [<a href="./rfc4240" title=""Basic Network Media Services with SIP"">RFC4240</a>].
Additionally, the IVR control protocol can be extended to allow
VoiceXML requests to also be invoked over the MS control channel.
VoiceXML IVR services invoked on the Media Server may require an HTTP
interface (not shown in Figure 3) between the Media Server and one or
more back-end servers that host or generate VoiceXML documents. The
back-end server(s) may or may not be physically separate from the
Application Server.
<span class="grey">Melanchuk Informational [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc5567">RFC 5567</a> Mediactrl Architecture June 2009</span>
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Media Control for Conferencing Services</span>
[<a id="ref-RFC4353">RFC4353</a>] describes the overall architecture and protocol components
needed for multipoint conferencing using SIP. The framework for
centralized conferencing [<a href="./rfc5239" title=""A Framework for Centralized Conferencing"">RFC5239</a>] extends the framework to include a
protocol between the user and the conferencing server. [<a href="./rfc4353" title=""A Framework for Conferencing with the Session Initiation Protocol (SIP)"">RFC4353</a>]
describes the conferencing server decomposition but leaves the
specifics open.
This section describes the decomposition and discusses the
functionality of the decomposed functional units. The conferencing
factory and the conference focus are part of the Application Server
described in this document.
An Application Server uses SIP Third Party Call Control [<a href="./rfc3725" title=""Best Current Practices for Third Party Call Control (3pcc) in the Session Initiation Protocol (SIP)"">RFC3725</a>] to
establish media sessions from SIP user agents to a Media Server. The
same mechanism is used by the Application Server as described in this
section to add/remove participants to/from a conference, as well as
to handle the involved media streams set up on a per-user basis.
Since the XCON framework has been conceived as protocol-agnostic when
talking about the Call Signaling Protocol used by users to join a
conference, an XCON-compliant Application Server will have to take
care of gatewaying non-SIP signaling negotiations. This is in order
to set up and make available valid SIP media sessions between itself
and the Media Server, while still keeping the non-SIP interaction
with the user in a transparent way.
<span class="grey">Melanchuk Informational [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc5567">RFC 5567</a> Mediactrl Architecture June 2009</span>
+------------+ +------------+
| | SIP (2m+1c) | |
| Application|-------------| Media |
| Server | | Server |
| (Focus) |-------------| (Mixer) |
| | CtrlChannel | |
+------------+ +------------+
| \ .. .
| \\ RTP... .
| \\ .. .
| H.323 \\ ... .
SIP | \\ ... .RTP
| ..\ .
| ... \\ .
| ... \\ .
| .. \\ .
| ... \\ .
| .. \ .
+-----------+ +-----------+
|Participant| |Participant|
+-----------+ +-----------+
Figure 4: Conference Topology
To complement the functionality provided by 3PCC and by the XCON
control protocol, the Application Server makes use of a dedicated
Media Server control channel in order to set up and manage media
conferences on the Media Server. Figure 4 shows the signaling and
media paths for a two-participant conference. The three SIP dialogs
between the AS and MS establish one control session (1c) and two
media sessions (2m) from the participants (one originally signaled
using H.323 and then gatewayed into SIP and one signaled directly in
SIP).
As a conference focus, the Application Server is responsible for
setting up and managing a media conference on the Media Servers, in
order to make sure that all the media streams provided in a
conference are available to its participants. This is achieved by
using the services of one or more mixer entities (as described in <a href="./rfc4353">RFC</a>
<a href="./rfc4353">4353</a>), whose role as part of the Media Server is described in this
section. Services required by the Application Server include, but
are not limited to, means to set up, handle, and destroy a new media
conference, adding and removing participants from a conference,
managing media streams in a conference, controlling the layout and
the mixing configuration for each involved media, allowing per-user
custom media profiles, and so on.
<span class="grey">Melanchuk Informational [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc5567">RFC 5567</a> Mediactrl Architecture June 2009</span>
As a mixer entity, in such a multimedia conferencing scenario, the
Media Server receives a set of media streams of the same type (after
transcoding if needed) and then takes care of combining the received
media in a type-specific manner, redistributing the result to each
authorized participant. The way each media stream is combined, as
well as the media-related policies, is properly configured and
handled by the Application Server by means of a dedicated MS control
channel.
To summarize, the AS needs to be able to manage Media Servers at a
conference and participant level.
<span class="h3"><a class="selflink" id="section-6.1" href="#section-6.1">6.1</a>. Creating a New Conference</span>
When a new conference is created, as a result of a previous
conference scheduling or of the first participant dialing in to a
specified URI, the Application Server must take care of appropriately
creating a media conference on the Media Server. It does so by
sending an explicit request to the Media Server. This can be by
means of an MS control channel message. This request may contain
detailed information upon the desired settings and policies for the
conference (e.g., the media to involve, the mixing configuration for
them, the relevant identifiers, etc.). The Media Server validates
such a request and takes care of allocating the needed resources to
set up the media conference.
Application Servers may use mechanisms other than sending requests
over the control channel to establish conferences on a Media Server,
and then subsequently use the control channel to control the
conference. Examples of other mechanisms to create a conference
include using the Request-URI mechanism of [<a href="./rfc4240" title=""Basic Network Media Services with SIP"">RFC4240</a>] or the
procedures defined in [<a href="./rfc4579" title=""Session Initiation Protocol (SIP) Call Control - Conferencing for User Agents"">RFC4579</a>].
Once done, the MS informs the Application Server about the result of
the request. Each conference will be referred to by a specific
identifier, which both the Application Server and the Media Server
will include in subsequent transactions related to the same
conference (e.g., to modify the settings of an extant conference).
<span class="h3"><a class="selflink" id="section-6.2" href="#section-6.2">6.2</a>. Adding a Participant to a Conference</span>
As stated before, an Application Server uses SIP 3PCC to establish
media sessions from SIP user agents to a Media Server. The URI that
the AS uses in the INVITE to the MS may be one associated with the
conference on the MS. More likely however, the media sessions are
first established to the Media Server using a URI for the Media
Server and then subsequently joined to the conference using the MS
<span class="grey">Melanchuk Informational [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc5567">RFC 5567</a> Mediactrl Architecture June 2009</span>
Control Protocol. This allows IVR dialogs to be performed prior to
joining the conference.
The AS as a 3PCC correlates the media session negotiation between the
UA and the MS, in order to appropriately establish all the needed
media streams based on the conference policies.
<span class="h3"><a class="selflink" id="section-6.3" href="#section-6.3">6.3</a>. Media Controls</span>
The XCON Common Data Model [<a href="#ref-XCON-DM" title=""Conference Information Data Model for Centralized Conferencing (XCON)"">XCON-DM</a>] currently defines some basic
media-related controls, which conference-aware participants can take
advantage of in several ways, e.g., by means of an XCON conference
control protocol or IVR dialogs. These controls include the
possibility to modify the participants' own volume for audio in the
conference, configure the desired layout for incoming video streams,
mute/unmute oneself, and pause/unpause one's own video stream. Such
controls are exploited by conference-aware participants through the
use of dedicated conference control protocol requests to the
Application Server. The Application Server takes care of validating
such requests and translates them into the Media Server Control
Protocol, before forwarding them over the MS Control Channel to the
MS. According to the directives provided by the Application Server,
the Media Server manipulates the involved media streams accordingly.
+------------+ +------------+
| | 'Include audio | |
| Application| sent by user X | Media |
| Server | in conf Y mix' | Server |
| (Focus) |----------------->| (Mixer) |
| | (MS CtrlChn) | |
+------^-----+ +------------+
| ..
| ...
| 'Unmute me' ... RTP
| (XCON) ...
| ...
| ...
+-----------+ ...
|Participant|...
+-----------+
Figure 5: Conferencing Example: Unmuting A Participant
The Media Server may need to inform the AS of events like in-band
DTMF tones during the conference.
<span class="grey">Melanchuk Informational [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc5567">RFC 5567</a> Mediactrl Architecture June 2009</span>
<span class="h3"><a class="selflink" id="section-6.4" href="#section-6.4">6.4</a>. Floor Control</span>
The XCON framework introduces "floor control" functionality as an
enhancement upon [<a href="./rfc4575" title=""A Session Initiation Protocol (SIP) Event Package for Conference State"">RFC4575</a>]. Floor control is a means to manage joint
or exclusive access to shared resources in a (multiparty)
conferencing environment. Floor control is not a mandatory mechanism
for a conferencing system implementation, but it provides advanced
media input control features for conference-aware participants. Such
a mechanism allows for coordinated and moderated access to any set of
resources provided by the conferencing system. To do so, a so-called
floor is associated to a set of resources, thus representing for
participants the right to access and manipulate the related resources
themselves. In order to take advantage of the floor control
functionality, a specific protocol, the Binary Floor Control
Protocol, has been specified [<a href="./rfc4582" title=""The Binary Floor Control Protocol (BFCP)"">RFC4582</a>]. [<a href="./rfc4583" title=""Session Description Protocol (SDP) Format for Binary Floor Control Protocol (BFCP) Streams"">RFC4583</a>] provides a way for
SIP UAs to set up a BFCP connection towards the Floor Control Server
and exploit floor control by means of a Connection-Oriented Media
(COMEDIA) [<a href="./rfc4145" title=""TCP-Based Media Transport in the Session Description Protocol (SDP)"">RFC4145</a>] negotiation.
In the context of the AS-MS interaction, floor control constitutes a
further means to control participants' media streams. A typical
example is a floor associated with the right to access the shared
audio channel in a conference. A participant who is granted such a
floor is granted by the conferencing system the right to talk, which
means that its audio frames are included by the MS in the overall
audio conference mix. Similarly, when the floor is revoked, the
participant is muted in the conference, and its audio is excluded
from the final mix.
The BFCP defines a Floor Control Server (FCS) and the floor chair.
It is clear that the floor chair making decisions about floor
requests is part of the application logic. This implies that when
the role of floor chair in a conference is automated, it will
normally be part of the AS.
The example makes it clear that there can be a direct or indirect
interaction between the Floor Control Server and the Media Server, in
order to correctly bind each floor to its related set of media
resources. Besides, a similar interaction is needed between the
Floor Control Server and the Application Server as well, since the
latter must be aware of all the associations between floors and
resources, in order to opportunely orchestrate the related bindings
with the element responsible for such resources (e.g., the Media
Server when talking about audio and/or video streams) and the
operations upon them (e.g., mute/unmute a participant in a
conference). For this reason, the Floor Control Server can be co-
<span class="grey">Melanchuk Informational [Page 16]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-17" ></span>
<span class="grey"><a href="./rfc5567">RFC 5567</a> Mediactrl Architecture June 2009</span>
located with either the Media Server or the Application Server, as
long as both elements are allowed to interact with the Floor Control
Server by means of some kind of protocol.
In the following text, both the approaches will be described in order
to better explain the interactions between the involved components in
both the topologies.
When the AS and the FCS are co-located, the scenario is quite
straightforward. In fact, it can be considered as a variation of the
case depicted in Figure 5. The only relevant difference is that in
this case the action the AS commands on the control channel is
triggered by a change in the floor control status instead of a
specific control requested by a participant himself. The sequence
diagram in Figure 6 describes the interaction between the involved
parties in a typical scenario. It assumes that a BFCP connection
between the UA and the FCS (which we assume is co-located with the
AS) has already been negotiated and established, and that the UA has
been made aware of all the relevant identifiers and floors-resources-
associations (e.g., by means of [<a href="./rfc4583" title=""Session Description Protocol (SDP) Format for Binary Floor Control Protocol (BFCP) Streams"">RFC4583</a>]). It also assumes that the
AS has previously configured the media mixing on the MS using the MS
control channel. Every frame the UA might be sending on the related
media stream is currently being dropped by the MS, since the UA still
isn't authorized to use the resource. For a SIP UA, this state could
be consequent to a 'sendonly' field associated to the media stream in
a re-INVITE originated by the MS. It is worth pointing out that the
AS has to make sure that no user media control mechanisms, such as
mentioned in the previous sub-section, can override the floor
control.
<span class="grey">Melanchuk Informational [Page 17]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-18" ></span>
<span class="grey"><a href="./rfc5567">RFC 5567</a> Mediactrl Architecture June 2009</span>
UA AS MS
(Floor Participant) (FCS)
| | |
|<===================== One-way RTP stream ======================|
| | |
| FloorRequest(BFCP) | |
|------------------------------------>| |
| | |
| FloorRequestStatus[PENDING](BFCP) | |
|<------------------------------------| |
| |--+ apply |
| | | policies |
| |<-+ to request |
| | |
| FloorRequestStatus[ACCEPTED](BFCP) | |
|<------------------------------------| |
| | |
. . .
. . .
| | |
| FloorRequestStatus[GRANTED](BFCP) | |
|<------------------------------------| |
| | 'Unmute UA' (CtrlChn) |
| |------------------------->|
| | |
|<==================== Bidirectional RTP stream ================>|
| | |
. . .
. . .
Figure 6: Conferencing Example: Floor Control Call Flow
A UA, which also acts as a floor participant, sends a "FloorRequest"
to the floor control server (FCS, which is co-located with the AS),
stating his will to be granted the floor associated with the audio
stream in the conference. The AS answers the UA with a
"FloorRequestStatus" message with a PENDING status, meaning that a
decision on the request has not been made yet. The AS, according to
the BFCP policies for this conference, makes a decision on the
request, i.e., accepting it. Note that this decision might be
relayed to another participant in case he has previously been
assigned as chair of the floor. Assuming the request has been
accepted, the AS notifies the UA about the decision with a new
"FloorRequestStatus", this time with an ACCEPTED status in it. The
ACCEPTED status of course only means that the request has been
accepted, which doesn't mean the floor has been granted yet. Once
the queue management in the FCS, according to the specified
algorithms for scheduling, states that the floor request previously
<span class="grey">Melanchuk Informational [Page 18]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-19" ></span>
<span class="grey"><a href="./rfc5567">RFC 5567</a> Mediactrl Architecture June 2009</span>
made by the UA can be granted, the AS sends a new
"FloorRequestStatus" to the UA with a GRANTED status, and takes care
of unmuting the participant in the conference by sending a directive
to the MS through the control channel. Once the UA receives the
notification stating his request has been granted, he can start
sending its media, aware of the fact that now his media stream won't
be dropped by the MS. In case the session has been previously
updated with a 'sendonly' associated to the media stream, the MS must
originate a further re-INVITE stating that the media stream flow is
now bidirectional ('sendrecv').
As mentioned before, this scenario envisages an automated floor chair
role, where it's the AS, according to some policies, which makes
decisions on floor requests. The case of a chair role performed by a
real person is exactly the same, with the difference that the
incoming request is not directly handled by the AS according to its
policies, but it is instead forwarded to the floor control
participant that the chair UA is exploiting. The decision on the
request is then communicated by the chair UA to the AS-FCS by means
of a 'ChairAction' message.
The rest of this section will instead explore the other scenario,
which assumes that the interaction between AS-FCS happens through the
MS control channel. This scenario is compliant with the H.248.19
document related to conferencing in 3GPP. The following sequence
diagram describes the interaction between the involved parties in the
same use-case scenario that has been explored for the previous
topology: consequently, the diagram makes exactly the same
assumptions that have been made for the previously described
scenario. This means that the scenario again assumes that a BFCP
connection between the UA and the FCS has already been negotiated and
established, and that the UA has been made aware of all the relevant
identifiers and floors-resources-associations. It also assumes that
the AS has previously configured the media mixing on the MS using the
MS control channel. This time it includes identifying the BFCP-
moderated resources, establishing basic policies and instructions
about chair identifiers for each resource, and subscribing to events
of interest, because the FCS is not co-located with the AS anymore.
Additionally, a BFCP session has been established between the AS
(which in this scenario acts as a floor chair) and the FCS (MS).
Every frame the UA might be sending on the related media stream is
currently being dropped by the MS, since the UA still isn't
authorized to use the resource. For a SIP UA, this state could be
consequent to a 'sendonly' field associated to the media stream in a
re-INVITE originated by the MS. Again, it is worth pointing out that
the AS has to make sure that no user media control mechanisms, such
as mentioned in the previous sub-section, can override the floor
control.
<span class="grey">Melanchuk Informational [Page 19]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-20" ></span>
<span class="grey"><a href="./rfc5567">RFC 5567</a> Mediactrl Architecture June 2009</span>
UA AS MS
(Floor Participant) (Floor Chair) (FCS)
| | |
|<===================== One-way RTP stream ======================|
| | |
| FloorRequest(BFCP) | |
|--------------------------------------------------------------->|
| | |
| | FloorRequestStatus[PENDING](BFCP) |
|<---------------------------------------------------------------|
| | FloorRequestStatus[PENDING](BFCP) |
| |<-----------------------------------|
| | |
| | ChairAction[ACCEPTED] (BFCP) |
| |----------------------------------->|
| | ChairActionAck (BFCP) |
| |<-----------------------------------|
| | |
| | FloorRequestStatus[ACCEPTED](BFCP) |
|<---------------------------------------------------------------|
| | |
. . .
. . .
| | |
| | FloorRequestStatus[GRANTED](BFCP) |
|<---------------------------------------------------------------|
| | 'Floor has been granted' (CtrlChn) |
| |<-----------------------------------|
| | |
|<==================== Bidirectional RTP stream ================>|
| | |
. . .
. . .
Figure 7: Conferencing Example: Floor Control Call Flow
A UA, which also acts as a floor participant, sends a "FloorRequest"
to the floor control server (FCS, which is co-located with the MS),
stating his will to be granted the floor associated with the audio
stream in the conference. The MS answers the UA with a
"FloorRequestStatus" message with a PENDING status, meaning that a
decision on the request has not been made yet. It then notifies the
AS, which in this example handles the floor chair role, about the new
request by forwarding there the received request. The AS, according
to the BFCP policies for this conference, makes a decision on the
request, i.e., accepting it. It informs the MS about its decision
through a BFCP "ChairAction" message. The MS then acknowledges the
'ChairAction' message and then notifies the UA about the decision
<span class="grey">Melanchuk Informational [Page 20]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-21" ></span>
<span class="grey"><a href="./rfc5567">RFC 5567</a> Mediactrl Architecture June 2009</span>
with a new "FloorRequestStatus", this time with an ACCEPTED status in
it. The ACCEPTED status of course only means that the request has
been accepted, which doesn't mean the floor has been granted yet.
Once the queue management in the MS, according to the specified
algorithms for scheduling, states that the floor request previously
made by the UA can be granted, the MS sends a new
"FloorRequestStatus" to the UA with a GRANTED status, and takes care
of unmuting the participant in the conference. Once the UA receives
the notification stating his request has been granted, he can start
sending its media, aware of the fact that now his media stream won't
be dropped by the MS. In case the session has been previously
updated with a 'sendonly' associated to the media stream, the MS must
originate a further re-INVITE stating that the media stream flow is
now bidirectional ('sendrecv').
This scenario envisages an automated floor chair role, where it's the
AS, according to some policies, which makes decisions on floor
requests. Again, the case of a chair role performed by a real person
is exactly the same, with the difference that the incoming request is
not forwarded to the AS but to the floor control participant that the
chair UA is exploiting. The decision on the request is communicated
by means of a 'ChairAction' message in the same way.
Another typical scenario is a BFCP-moderated conference with no chair
to manage floor requests. In such a scenario, the MS has to take
care of incoming requests according to some predefined policies,
e.g., always accepting new requests. In this case, no decisions are
required by external entities, since all are instantly decided by
means of policies in the MS.
As stated before, the case of the FCS co-located with the AS is much
simpler to understand and exploit. When the AS has full control upon
the FCS, including its queue management, the AS directly instructs
the MS according to the floor status changes, e.g., by instructing
the MS through the control channel to unmute a participant who has
been granted the floor associated to the audio media stream.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Security Considerations</span>
This document describes the architectural framework to be used for
Media Server control. Its focus is the interactions between
Application Servers and Media Servers. User agents interact with
Application Servers by means of signaling protocols such as SIP.
These interactions are beyond the scope of this document.
Application Servers are responsible for utilizing the security
mechanisms of their signaling protocols, combined with application-
specific policy, to ensure they grant service only to authorized
users. Media interactions between user agents and Media Servers are
<span class="grey">Melanchuk Informational [Page 21]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-22" ></span>
<span class="grey"><a href="./rfc5567">RFC 5567</a> Mediactrl Architecture June 2009</span>
also outside the scope of this document. Those interactions are at
the behest of Application Servers, which must ensure that appropriate
security mechanisms are used. For example, if the MS is acting as
the FCS, then the BFCP connection between the user agent and the MS
is established to the MS by the AS using SIP and the SDP mechanisms
described in [<a href="./rfc4583" title=""Session Description Protocol (SDP) Format for Binary Floor Control Protocol (BFCP) Streams"">RFC4583</a>]. BFCP [<a href="./rfc4582" title=""The Binary Floor Control Protocol (BFCP)"">RFC4582</a>] strongly imposes the use of
TLS for BFCP.
Media Servers are valuable network resources and need to be protected
against unauthorized access. Application Servers use SIP and related
standards both to establish control channels to Media Servers and to
establish media sessions, including BFCP sessions, between an MS and
end users. Media servers use the security mechanisms of SIP to
authenticate requests from Application servers and to ensure the
integrity of those requests. Leveraging the security mechanisms of
SIP ensures that only authorized Application Servers are allowed to
establish sessions to an MS and to access MS resources through those
sessions.
Control channels between an AS and MS carry the MS control protocol,
which affects both the service seen by end users and the resources
used on a Media Server. TLS [<a href="./rfc5246" title=""The Transport Layer Security (TLS) Protocol Version 1.2"">RFC5246</a>] must be implemented as the
transport-level security mechanism for control channels to guarantee
the integrity of MS control interactions.
The resources of an MS can be shared by more than one AS. Media
Servers must prevent one AS from accessing and manipulating the
resources that have been assigned to another AS. This may be
achieved by an MS associating ownership of a resource to the AS that
originally allocates it, and then insuring that future requests
involving that resource correlate to the AS that owns and is
responsible for it.
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. Acknowledgments</span>
The authors would like to thank Spencer Dawkins for detailed reviews
and comments, Gary Munson for suggestions, and Xiao Wang for review
and feedback.
<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a>. Contributors</span>
This document is a product of the Media Control Architecture Design
Team. In addition to the editor, the following individuals
constituted the design team and made substantial textual
contributions to this document:
<span class="grey">Melanchuk Informational [Page 22]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-23" ></span>
<span class="grey"><a href="./rfc5567">RFC 5567</a> Mediactrl Architecture June 2009</span>
Chris Boulton: cboulton@ubiquity.net
Martin Dolly: mdolly@att.com
Roni Even: roni.even@polycom.co.il
Lorenzo Miniero: lorenzo.miniero@unina.it
Adnan Saleem: Adnan.Saleem@radisys.com
<span class="h2"><a class="selflink" id="section-10" href="#section-10">10</a>. Informative References</span>
[<a id="ref-RFC0793">RFC0793</a>] Postel, J., "Transmission Control Protocol", STD 7,
<a href="./rfc793">RFC 793</a>, September 1981.
[<a id="ref-RFC2976">RFC2976</a>] Donovan, S., "The SIP INFO Method", <a href="./rfc2976">RFC 2976</a>,
October 2000.
[<a id="ref-RFC3261">RFC3261</a>] Rosenberg, J., Schulzrinne, H., Camarillo, G., Johnston,
A., Peterson, J., Sparks, R., Handley, M., and E.
Schooler, "SIP: Session Initiation Protocol", <a href="./rfc3261">RFC 3261</a>,
June 2002.
[<a id="ref-RFC3263">RFC3263</a>] Rosenberg, J. and H. Schulzrinne, "Session Initiation
Protocol (SIP): Locating SIP Servers", <a href="./rfc3263">RFC 3263</a>,
June 2002.
[<a id="ref-RFC3264">RFC3264</a>] Rosenberg, J. and H. Schulzrinne, "An Offer/Answer Model
with Session Description Protocol (SDP)", <a href="./rfc3264">RFC 3264</a>,
June 2002.
[<a id="ref-RFC3550">RFC3550</a>] Schulzrinne, H., Casner, S., Frederick, R., and V.
Jacobson, "RTP: A Transport Protocol for Real-Time
Applications", STD 64, <a href="./rfc3550">RFC 3550</a>, July 2003.
[<a id="ref-RFC3725">RFC3725</a>] Rosenberg, J., Peterson, J., Schulzrinne, H., and G.
Camarillo, "Best Current Practices for Third Party Call
Control (3pcc) in the Session Initiation Protocol (SIP)",
<a href="https://www.rfc-editor.org/bcp/bcp85">BCP 85</a>, <a href="./rfc3725">RFC 3725</a>, April 2004.
[<a id="ref-RFC3840">RFC3840</a>] Rosenberg, J., Schulzrinne, H., and P. Kyzivat,
"Indicating User Agent Capabilities in the Session
Initiation Protocol (SIP)", <a href="./rfc3840">RFC 3840</a>, August 2004.
[<a id="ref-RFC4145">RFC4145</a>] Yon, D. and G. Camarillo, "TCP-Based Media Transport in
the Session Description Protocol (SDP)", <a href="./rfc4145">RFC 4145</a>,
September 2005.
<span class="grey">Melanchuk Informational [Page 23]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-24" ></span>
<span class="grey"><a href="./rfc5567">RFC 5567</a> Mediactrl Architecture June 2009</span>
[<a id="ref-RFC4240">RFC4240</a>] Burger, E., Van Dyke, J., and A. Spitzer, "Basic Network
Media Services with SIP", <a href="./rfc4240">RFC 4240</a>, December 2005.
[<a id="ref-RFC4353">RFC4353</a>] Rosenberg, J., "A Framework for Conferencing with the
Session Initiation Protocol (SIP)", <a href="./rfc4353">RFC 4353</a>,
February 2006.
[<a id="ref-RFC4474">RFC4474</a>] Peterson, J. and C. Jennings, "Enhancements for
Authenticated Identity Management in the Session
Initiation Protocol (SIP)", <a href="./rfc4474">RFC 4474</a>, August 2006.
[<a id="ref-RFC4566">RFC4566</a>] Handley, M., Jacobson, V., and C. Perkins, "SDP: Session
Description Protocol", <a href="./rfc4566">RFC 4566</a>, July 2006.
[<a id="ref-RFC4575">RFC4575</a>] Rosenberg, J., Schulzrinne, H., and O. Levin, "A Session
Initiation Protocol (SIP) Event Package for Conference
State", <a href="./rfc4575">RFC 4575</a>, August 2006.
[<a id="ref-RFC4579">RFC4579</a>] Johnston, A. and O. Levin, "Session Initiation Protocol
(SIP) Call Control - Conferencing for User Agents",
<a href="https://www.rfc-editor.org/bcp/bcp119">BCP 119</a>, <a href="./rfc4579">RFC 4579</a>, August 2006.
[<a id="ref-RFC4582">RFC4582</a>] Camarillo, G., Ott, J., and K. Drage, "The Binary Floor
Control Protocol (BFCP)", <a href="./rfc4582">RFC 4582</a>, November 2006.
[<a id="ref-RFC4583">RFC4583</a>] Camarillo, G., "Session Description Protocol (SDP) Format
for Binary Floor Control Protocol (BFCP) Streams",
<a href="./rfc4583">RFC 4583</a>, November 2006.
[<a id="ref-RFC4585">RFC4585</a>] Ott, J., Wenger, S., Sato, N., Burmeister, C., and J. Rey,
"Extended RTP Profile for Real-time Transport Control
Protocol (RTCP)-Based Feedback (RTP/AVPF)", <a href="./rfc4585">RFC 4585</a>,
July 2006.
[<a id="ref-RFC4960">RFC4960</a>] Stewart, R., "Stream Control Transmission Protocol",
<a href="./rfc4960">RFC 4960</a>, September 2007.
[<a id="ref-RFC5167">RFC5167</a>] Dolly, M. and R. Even, "Media Server Control Protocol
Requirements", <a href="./rfc5167">RFC 5167</a>, March 2008.
[<a id="ref-RFC5239">RFC5239</a>] Barnes, M., Boulton, C., and O. Levin, "A Framework for
Centralized Conferencing", <a href="./rfc5239">RFC 5239</a>, June 2008.
[<a id="ref-RFC5246">RFC5246</a>] Dierks, T. and E. Rescorla, "The Transport Layer Security
(TLS) Protocol Version 1.2", <a href="./rfc5246">RFC 5246</a>, August 2008.
<span class="grey">Melanchuk Informational [Page 24]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-25" ></span>
<span class="grey"><a href="./rfc5567">RFC 5567</a> Mediactrl Architecture June 2009</span>
[<a id="ref-SIP-CTRL-FW">SIP-CTRL-FW</a>]
Boulton, C., Melanchuk, T., and S. McGlashan, "Media
Control Channel Framework", Work in Progress,
February 2009.
[<a id="ref-W3C.REC-voicexml20-20040316">W3C.REC-voicexml20-20040316</a>]
Carter, J., Tryphonas, S., Danielsen, P., Burnett, D.,
Rehor, K., McGlashan, S., Ferrans, J., Porter, B., Lucas,
B., and A. Hunt, "Voice Extensible Markup Language
(VoiceXML) Version 2.0", World Wide Web Consortium
Recommendation REC-voicexml20-20040316, March 2004,
<<a href="http://www.w3.org/TR/2004/REC-voicexml20-20040316">http://www.w3.org/TR/2004/REC-voicexml20-20040316</a>>.
[<a id="ref-W3C.REC-xml-20060816">W3C.REC-xml-20060816</a>]
Sperberg-McQueen, C., Paoli, J., Bray, T., Maler, E., and
F. Yergeau, "Extensible Markup Language (XML) 1.0 (Fourth
Edition)", World Wide Web Consortium Recommendation REC-
xml-20060816, August 2006,
<<a href="http://www.w3.org/TR/2006/REC-xml-20060816">http://www.w3.org/TR/2006/REC-xml-20060816</a>>.
[<a id="ref-XCON-DM">XCON-DM</a>] Novo, O., Camarillo, G., Morgan, D., and J. Urpalainen,
"Conference Information Data Model for Centralized
Conferencing (XCON)", Work in Progress, April 2009.
Author's Address
Tim Melanchuk (editor)
Rain Willow Communications
EMail: tim.melanchuk@gmail.com
Melanchuk Informational [Page 25]
</pre>
|