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 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581
|
<pre>Network Working Group B. Foster
Request for Comments: 3660 F. Andreasen
Updates: <a href="./rfc2705">2705</a> Cisco Systems
Category: Informational December 2003
<span class="h1">Basic Media Gateway Control Protocol (MGCP) Packages</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) The Internet Society (2003). All Rights Reserved.
IESG Note
This document is being published for the information of the
community. It describes a non-IETF protocol that is currently being
deployed in a number of products. Implementers should be aware of
<a href="./rfc3525">RFC 3525</a> [<a href="#ref-37" title=""Gateway Control Protocol Version 1"">37</a>], which was developed in the IETF Megaco Working Group
and the ITU-T SG16, and is considered by the IETF and ITU-T to be the
standards-based (including reviewed security considerations) way to
meet the needs that MGCP was designed to address. The IETF Megaco
Working Group and the ITU-T Study Group 16 are developing extensions
to <a href="./rfc3525">RFC 3525</a> [<a href="#ref-37" title=""Gateway Control Protocol Version 1"">37</a>] that for functions of the type in addressed in this
document.
Abstract
This document provides a basic set of Media Gateway Control Protocol
(MGCP) packages. The generic, line, trunk, handset, RTP, DTMF (Dual
Tone Multifrequency), announcement server and script packages are
updates of packages from <a href="./rfc2705">RFC 2705</a> with additional explanation and in
some cases new versions of these packages. In addition to these,
five new packages are defined here. These are the signal list,
resource reservation, media format, supplementary services and digit
map extension packages.
<span class="grey">Foster & Andreasen Informational [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
Table of Contents
<a href="#section-1">1</a>. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-2">2</a>
<a href="#section-1.1">1.1</a>. List of Packages . . . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-1.2">1.2</a>. Changes to Existing <a href="./rfc2705">RFC 2705</a> Packages. . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-1.2.1">1.2.1</a>. Change in Signal Types . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-1.2.2">1.2.2</a>. Operation Complete and Operation Failure . . . . <a href="#page-3">3</a>
<a href="#section-1.2.3">1.2.3</a>. Package Versions . . . . . . . . . . . . . . . . <a href="#page-4">4</a>
1.2.4. Event Definitions, Aliases and Interoperability
Issues . . . . . . . . . . . . . . . . . . . . . <a href="#page-4">4</a>
<a href="#section-1.2.5">1.2.5</a>. New Events . . . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-1.3">1.3</a>. New Packages and Excluded Packages . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-2">2</a>. Packages . . . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-2.1">2.1</a>. Generic Media Package. . . . . . . . . . . . . . . . . . <a href="#page-7">7</a>
<a href="#section-2.2">2.2</a>. DTMF Package . . . . . . . . . . . . . . . . . . . . . . <a href="#page-11">11</a>
<a href="#section-2.3">2.3</a>. Trunk Package. . . . . . . . . . . . . . . . . . . . . . <a href="#page-16">16</a>
<a href="#section-2.4">2.4</a>. Line Package . . . . . . . . . . . . . . . . . . . . . . <a href="#page-24">24</a>
<a href="#section-2.5">2.5</a>. Handset Emulation Package. . . . . . . . . . . . . . . . <a href="#page-33">33</a>
<a href="#section-2.6">2.6</a>. Supplementary Services Tone Package. . . . . . . . . . . <a href="#page-36">36</a>
<a href="#section-2.7">2.7</a>. Digit Map Extension. . . . . . . . . . . . . . . . . . . <a href="#page-37">37</a>
<a href="#section-2.8">2.8</a>. Signal List Package. . . . . . . . . . . . . . . . . . . <a href="#page-38">38</a>
<a href="#section-2.9">2.9</a>. Media Format Parameter Package . . . . . . . . . . . . . <a href="#page-39">39</a>
<a href="#section-2.10">2.10</a>. RTP Package. . . . . . . . . . . . . . . . . . . . . . . <a href="#page-43">43</a>
<a href="#section-2.11">2.11</a>. Resource Reservation Package . . . . . . . . . . . . . . <a href="#page-48">48</a>
<a href="#section-2.11.1">2.11.1</a>. Description. . . . . . . . . . . . . . . . . . . <a href="#page-48">48</a>
<a href="#section-2.11.2">2.11.2</a>. Parameter Encoding . . . . . . . . . . . . . . . <a href="#page-52">52</a>
<a href="#section-2.11.3">2.11.3</a>. Events . . . . . . . . . . . . . . . . . . . . . <a href="#page-53">53</a>
<a href="#section-2.12">2.12</a>. Announcement Server Package. . . . . . . . . . . . . . . <a href="#page-55">55</a>
<a href="#section-2.13">2.13</a>. Script Package . . . . . . . . . . . . . . . . . . . . . <a href="#page-56">56</a>
<a href="#section-3">3</a>. IANA Considerations. . . . . . . . . . . . . . . . . . . . . . <a href="#page-59">59</a>
<a href="#section-4">4</a>. Security Considerations. . . . . . . . . . . . . . . . . . . . <a href="#page-59">59</a>
<a href="#section-5">5</a>. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-59">59</a>
<a href="#section-6">6</a>. References . . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-60">60</a>
<a href="#section-6.1">6.1</a>. Normative References . . . . . . . . . . . . . . . . . . <a href="#page-60">60</a>
<a href="#section-6.2">6.2</a>. Informative References . . . . . . . . . . . . . . . . . <a href="#page-62">62</a>
<a href="#section-7">7</a>. Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . <a href="#page-63">63</a>
<a href="#section-8">8</a>. Full Copyright Statement . . . . . . . . . . . . . . . . . . . <a href="#page-64">64</a>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
This document provides a basic set of Media Gateway Control Protocol
(MGCP) packages. The generic, line, trunk, handset, RTP, DTMF,
announcement server and script packages are updates of packages from
<a href="./rfc2705">RFC 2705</a> [<a href="#ref-38" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">38</a>] with additional explanation and in some cases new
versions of these packages. In addition to these, five new packages
are defined here. These are the signal list, resource reservation,
media format, supplementary services and digit map extension
packages.
<span class="grey">Foster & Andreasen Informational [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a> [<a href="#ref-31" title=""Key words for use in RFCs to Indicate Requirement Levels"">31</a>].
<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</a>. List of Packages</span>
The basic set of packages specified in this document is for use with
MGCP 1.0 as defined in [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>]. Included are the following packages:
-------------------------------------------
| Package | Name |
|-------------------------------------------|
| Generic Media Package | G |
| DTMF package | D |
| Trunk Package | T |
| Line Package | L |
| Handset Package | H |
| Supplementary Services Package | SST |
| Digit Map Extension | DM1 |
| Signal List Package | SL |
| Media Format Package | FM |
| RTP Package | R |
| Resource Reservation Package | RES |
| Announcement Server Package | A |
| Script Package | Script |
-------------------------------------------
<span class="h3"><a class="selflink" id="section-1.2" href="#section-1.2">1.2</a>. Changes to Existing <a href="./rfc2705">RFC 2705</a> Packages</span>
<span class="h4"><a class="selflink" id="section-1.2.1" href="#section-1.2.1">1.2.1</a>. Change in signal types</span>
MGCP 1.0, as defined in <a href="./rfc2705">RFC 2705</a> [<a href="#ref-38" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">38</a>] (and now updated in [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>]),
provided some additional clarification on the meaning of On-Off (OO)
signals compared to earlier versions of MGCP. This lead to some
inconsistency in some of the signal definitions in the accompanying
packages in <a href="./rfc2705">RFC 2705</a> [<a href="#ref-38" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">38</a>]. This has been corrected in the packages
that are included here by changing some of the signals from type On-
Off to type Time-Out (TO).
<span class="h4"><a class="selflink" id="section-1.2.2" href="#section-1.2.2">1.2.2</a>. Operation Complete and Operation Failure</span>
Another change made to improve consistency and interoperability was
to add the "operation complete" and "operation failure" events in
packages where there are TO signals defined, but where the "operation
complete" and "operation failure" events were not previously included
as part of the package. By definition, all packages that contain
<span class="grey">Foster & Andreasen Informational [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
Time-Out type signals now contain the "operation failure" ("of") and
"operation complete" ("oc") events as defined in [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>], irrespective of
whether they are provided as part of the package description or not.
If a package without Time-Out signals contains definitions for the
"oc" and "of" events, the event definitions provided in the package
may over-ride those indicated here. Such practice is however
discouraged and is purely allowed to avoid potential backwards
compatibility problems.
It is considered good practice to explicitly mention that the "oc"
and "of" events are supported in accordance with their default
definitions. If no definition is included in the package, the
default syntax and semantics are assumed.
Please refer to [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>] for additional details on these events.
<span class="h4"><a class="selflink" id="section-1.2.3" href="#section-1.2.3">1.2.3</a>. Package Versions</span>
The generic, line, trunk, handset, RTP, DTMF, announcement server and
script packages included in this document are new versions of
packages that were previously contained in <a href="./rfc2705">RFC 2705</a> [<a href="#ref-38" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">38</a>]. The
updated base MGCP 1.0 specification [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>] provides an optional
capability of auditing package versions. Any gateway that implements
versioned packages SHOULD also implement this option.
<span class="h4"><a class="selflink" id="section-1.2.4" href="#section-1.2.4">1.2.4</a>. Event Definitions, Aliases and Interoperability Issues</span>
Some event definitions or clarifications of previous event
definitions have also been added in order to improve
interoperability.
In some cases, events have aliases either in the same or in other
packages and a recommendation has been made for the use of alternates
by Call Agents for future implementations. For maximum
interoperability, gateways MUST still implement these events (in fact
they MUST always implement all of the events, signals, etc. in a
package).
Some events that were previously defined require specific
provisioning in both the gateway and the Call Agent in order to allow
for interoperability. In those cases, a warning to that affect has
been included.
<span class="grey">Foster & Andreasen Informational [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
<span class="h4"><a class="selflink" id="section-1.2.5" href="#section-1.2.5">1.2.5</a>. New Events</span>
In some cases, new events have been added to existing packages. Any
changes to existing packages of course have resulted in the package
version number being updated from unversioned (version 0) to version
1.
<span class="h3"><a class="selflink" id="section-1.3" href="#section-1.3">1.3</a>. New Packages and Excluded Packages</span>
Two packages from <a href="./rfc2705">RFC 2705</a> [<a href="#ref-38" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">38</a>] have not been included. These are
the "MF" and the "NAS" packages. These packages are still valid as
are all unversioned (version 0) packages defined in <a href="./rfc2705">RFC 2705</a> [<a href="#ref-38" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">38</a>].
The reason these packages were not included are:
* The original MF package had no defined way to outpulse MF
digits so that MF CAS is now provided by other packages (i.e.,
the "MS", "MO" and "MD" packages) in a separate document.
* The "N" package, as defined in <a href="./rfc2705">RFC 2705</a> [<a href="#ref-38" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">38</a>], was incomplete.
A new MGCP "NAS" package has been developed and provided in a
separate document.
New packages have also been included beyond what was included in <a href="./rfc2705">RFC</a>
<a href="./rfc2705">2705</a> [<a href="#ref-38" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">38</a>]. These are the signal list, resource reservation, media
format, supplementary services and digit map extension packages. The
Resource Reservation ("RES") and Media Format ("FM") packages in
particular are different from other packages in this document in that
they contain new LocalConnectionOptions. This is allowed by the new
extension rules in [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>]. Future packages of this type MUST use a
packages prefix in front of local connection options ("<package-
name>/<Local Connection Option>") so as to avoid name-space problems.
However because of the timing of the arrival of these packages
relative to updating MGCP 1.0, this was not done for the "RES" and
"FM" packages. The resulting new local connection options have been
registered with IANA. For future cases where a package prefix is
included, only the package name needs to be registered.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Packages</span>
For those packages that involve MGCP events, the terms "signal" and
"event" are used to differentiate a request from a Call Agent to a
Media Gateway to apply an event ("signal"), from the request for the
detection of an "event" that occurs on the Media Gateway and is
"Notified" to the Call Agent.
<span class="grey">Foster & Andreasen Informational [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
For packages that involve events and signals, the tables contain five
columns:
Symbol: the (package) unique symbol used to identify the event.
Definition: a short description of the event.
R: an x appears in this column if the event can be requested by
the Call Agent. Alternatively, one or more of the following
symbols may appear. An "S" is included if the event-state may be
audited. A "C" indicates that the event can be detected on a
connection, and a "P" indicates the event is persistent.
S: if nothing appears in this column for an event, then the event
cannot be signaled by the Call Agent. Otherwise, the following
symbols identify the type of event:
* OO On/Off signal
* TO Time-Out signal.
* BR Brief signal.
In addition, a "C" will be included if the signal can be generated
on a connection.
Duration: specifies the default duration of TO signals. If a
duration is left unspecified, then the default timeout will be
assumed to be infinite, unless explicitly noted in the description
of the signal. A duration may also be declared as being variable
in a case where signals involve complex sequencing (e.g., scripts
or digit out-pulsing) where the amount of time may vary with
either processing time or the signaling environment.
Default time-out values may be over-ridden by the Call Agent for any
Time-Out event defined in this document (with the exception of those
that have a default value of "variable") by a "to" signal parameter
which specifies the timeout value in milliseconds (see [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>]). The
following example indicates a timeout value of 20 seconds:
S: sst/cw(to=20000)
As indicated in [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>]: by default, a supplied time-out value MAY be
rounded to the nearest non-zero value divisible by 1000, i.e., whole
second. However, individual signal definitions within a package may
define other rounding rules.
<span class="grey">Foster & Andreasen Informational [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
Note that Time-Out signals that involve other parameters still allow
the use of the "to" signal parameter e.g.:
S: T/sit(1,to=3000)
The order of the "to" parameter relative to the other parameters is
not important.
Note: as per [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>], On-Off (OO) signals are parameterized with "+"
(meaning turn on) or "-" (meaning turn off). If the parameter is
missing, the default is to turn on the signal. Unlike Time-Out
signals, On-Off signals do not stop when an event occurs.
Other than the "to" parameter for Time-out (TO) signals and the "+"
and "-" for On-Off (OO) signals, signals and events in the packages
in this document do not have parameters unless explicitly indicated
in the description of the event for that package.
In some of the signal definitions below, specific tone definitions
are provided even though actual frequencies may vary from country to
country.
<span class="h3"><a class="selflink" id="section-2.1" href="#section-2.1">2.1</a>. Generic Media Package</span>
Package Name: G
Version: 1
The generic media package groups the events and signals that can be
observed on several types of endpoints, such as trunk gateway
endpoints, access gateway endpoints or residential gateway endpoints.
---------------------------------------------------------------
| Symbol | Definition | R | S Duration |
|---------------------------------------------------------------|
| cf | Confirm Tone | | BR |
| cg | Congestion Tone | | TO infinite |
| ft | Fax Tone | x | |
| it | Intercept Tone | | TO infinite |
| ld | Long Duration Connection | C | |
| mt | Modem Tone | x | |
| oc | Operation Complete | x | |
| of | Operation Failure | x | |
| pat(###) | Pattern Detected | x | OO |
| pt | Preemption Tone | | TO infinite |
| rbk(...) | Ringback | | TO,C 180 seconds|
| rt | Ringback Tone | | TO,C 180 seconds|
---------------------------------------------------------------
<span class="grey">Foster & Andreasen Informational [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
New events added to this package from the previously unversioned
package: "oc"
Changes: "it" and "pt" signals changed from OO to TO.
Note that default time-out values may be over-ridden by the Call
Agent for any Time-Out signal defined in this package by a "to"
signal parameter. Refer to <a href="#section-2">section 2</a> of this document, as well as
[<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>] for details.
The events and signals are defined as follows:
Confirmation Tone (cf):
This is also referred to as "positive indication tone" in ITU-T
E.182. In North America, Confirmation Tone uses the same
frequencies and levels as dial tone (350 and 440 Hertz) but with a
cadence of 0.1 second on, 0.1 second off, repeated three times.
See GR-506-CORE [<a href="#ref-7" title=""LSSGR: Signaling for Analog Interfaces"">7</a>] <a href="#section-17.2.4">Section 17.2.4</a>. It is considered an error to
try and play confirmation tone on a phone that is on-hook and an
error MUST consequently be returned when such attempts are made
(error code 402 - phone on-hook).
Congestion Tone (cg):
Refer to ITU-T E.180 [<a href="#ref-8" title=""Technical Characteristics of Tones for the Telephone Service"">8</a>] and E.182 [<a href="#ref-10" title=""Applications of Tones and Recorded Announcements in Telephone Services"">10</a>]. This maps to re-order
tone in North America (refer to GR-506-CORE [<a href="#ref-7" title=""LSSGR: Signaling for Analog Interfaces"">7</a>] <a href="#section-17.2.7">Section 17.2.7</a>).
Fax Tone (ft):
The fax tone event is generated whenever a fax call is detected by
the presence of V.21 fax preamble. The fax tone event SHOULD also
be generated when the T.30 CNG tone is detected. See ITU-T
Recommendations T.30 [<a href="#ref-21" title=""Procedure for document facsimile transmission in the general switched telephone network"">21</a>] and V.21 [<a href="#ref-22" title=""300 bits per second duplex modem standardized for use in the general switched telephone network"">22</a>].
Intercept Tone(it):
This is a country specific tone as defined in ITU-T E.180
Supplement 2 [<a href="#ref-9" title=""Various Tones Used in National Networks"">9</a>].
Long Duration Connection (ld):
The "long duration connection" is detected when a connection has
been established for more than a provisioned amount of time. The
default value is 1 hour.
This event is detected on a connection. When no connection is
specified as part of the request, the event applies to all
connections for the endpoint, regardless of when the connections
are created. The "all connections" wildcard (see [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>]) may also be
used for this case, and is in fact preferred for consistency. In
<span class="grey">Foster & Andreasen Informational [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
either case, the name of the connection on which the event was
detected will be included when the event is observed, e.g.:
G/ld@0A3F58
Modem Tone (mt):
Indicates V.25 Answer tone (ANS) with or without phase reversals
or V.8 Modified Answer Tone (ANSam) tone with or without phase
reversals. Note that this implies the presence of a data call.
Also note that despite the name of the event, devices other than
modems may generate such tones, e.g., a fax machine.
Operation Complete (oc):
The standard definition of operation complete [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>].
Operation Failure (of):
The standard definition of operation failure [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>].
Pattern Detected (pat(###)):
This event requires special provisioning that needs to be agreed
on between the Call Agent and media gateway in order to ensure
interoperability. It is retained in order to maintain backwards
compatibility with version 0 of the "G" package. This event MUST
be parameterized with a decimal numeric value from 0 to 999
specifying the pattern to detect. When reported, the pattern is
also included as a parameter.
Preemption Tone (pt):
This is a country specific tone and is defined in ITU-T E.180
Supplement 2 [<a href="#ref-9" title=""Various Tones Used in National Networks"">9</a>].
Ringback (rbk(connectionID)):
This is an alias for "rt@connectionID" and is included here for
backwards compatibility only. It is recommended that Call Agents
use "rt@connectionID" instead of "rbk(connectionID)" for ring-back
over a connection for new implementations. Although the ringback
signal is applied on a connection, the "rbk" signal does not
support the "@connection" syntax. When the signal is requested,
it MUST be parameterized with a connection-ID or a connection-ID
wildcard as specified in [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>].
Ringback Tone (rt):
Refer to ITU-T E.180 [<a href="#ref-8" title=""Technical Characteristics of Tones for the Telephone Service"">8</a>] and ITU-T E.182 [<a href="#ref-10" title=""Applications of Tones and Recorded Announcements in Telephone Services"">10</a>]. Also referred to
as ringing tone - a tone advising the caller that a connection has
been made and that a calling signal is being applied to the called
party or service point. In North America, this tone is a
combination of two AC tones with frequencies of 440 and 480 Hertz
and levels of -19 dBm each, to give a combined level of -16 dBm.
<span class="grey">Foster & Andreasen Informational [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
The cadence for Audible Ring Tone is 2 seconds on, followed by 4
seconds off. See GR-506-CORE [<a href="#ref-7" title=""LSSGR: Signaling for Analog Interfaces"">7</a>] - LSSGR: SIGNALING, <a href="#section-17.2.5">Section</a>
<a href="#section-17.2.5">17.2.5</a>.
This signal can be applied directly to an endpoint or
alternatively on a connection using the syntax "rt@connectionID".
When the ringback signal is applied to an endpoint, it is
considered an error to try and play ringback tone if the endpoint
is considered on-hook, and an error MUST consequently be returned
when such attempts are made (error code 402 - phone on-hook).
When the ringback signal is applied to a connection, no such check
is to be made.
Note that as specified in [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>], signals requested on a connection
MUST be played regardless of the connection mode. For example, in
a call-waiting situation, ringback tone may be played on a
connection in "inactive" mode.
<span class="grey">Foster & Andreasen Informational [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
<span class="h3"><a class="selflink" id="section-2.2" href="#section-2.2">2.2</a>. DTMF package</span>
Package name: D
Version: 1
--------------------------------------------------------------
| Symbol | Definition | R | S Duration |
|--------------------------------------------------------------|
| 0 | DTMF 0 | x | BR |
| 1 | DTMF 1 | x | BR |
| 2 | DTMF 2 | x | BR |
| 3 | DTMF 3 | x | BR |
| 4 | DTMF 4 | x | BR |
| 5 | DTMF 5 | x | BR |
| 6 | DTMF 6 | x | BR |
| 7 | DTMF 7 | x | BR |
| 8 | DTMF 8 | x | BR |
| 9 | DTMF 9 | x | BR |
| # | DTMF # | x | BR |
| * | DTMF * | x | BR |
| A | DTMF A | x | BR |
| B | DTMF B | x | BR |
| C | DTMF C | x | BR |
| D | DTMF D | x | BR |
| DD(..) | DTMF Tone Duration | x | TO 3 seconds |
| DO(..) | DTMF OO Signal | | OO |
| L | Long Duration Indicator | x | |
| oc | Operation Complete | x | |
| of | Operation Failure | x | |
| T | Interdigit Timer | x | TO 16 seconds |
| X | DTMF Tones Wildcard, | x | |
| | match any digit 0-9 | | |
--------------------------------------------------------------
Changes from the previous version of the package: events "dd", "do",
"oc" were added.
Note that DTMF tones including the DTMF tones wildcard can use the
eventRange notation defined in [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>] when requesting events, e.g.,
"D/[0-9](N)".
Note that default time-out values may be over-ridden by the Call
Agent for any Time-Out signal defined in this package by a "to"
signal parameter. Refer to <a href="#section-2">section 2</a> of this document, as well as
[<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>] for details.
<span class="grey">Foster & Andreasen Informational [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
The events are defined as follows:
DTMF tones (0-9,#,*,A,B,C,D):
Detection and generation of DTMF tones is described in GR-506-CORE
[<a href="#ref-7" title=""LSSGR: Signaling for Analog Interfaces"">7</a>] - LSSGR: SIGNALING, <a href="#section-15">Section 15</a>. Note that it is considered an
error to try and play DTMF tones on a phone that is on-hook and an
error MUST consequently be returned when such attempts are made
(error code 402 - phone on-hook). The event codes can be
specified in a digit map. When requested as a signal, as per
GR-506-CORE [<a href="#ref-7" title=""LSSGR: Signaling for Analog Interfaces"">7</a>], section 15, a minimum tone duration of 50 ms will
be followed by a minimum interdigit silence period of 45 ms, i.e.,
if requested in a signal list such as "S: sl/s(d/5,d/6,d/7)", then
interdigit timing requirements will be satisfied.
Note that some types of endpoints, such as announcement endpoints,
MAY allow detection and/or generation of a DTMF tone over a
connection. However, this requires consistent provisioning
between the Call Agent and announcement server (it is not required
in order to be compliant with the DTMF package).
DTMF Tone Duration (dd(dg=<tone>,to=<time>,su=<TrueOrFalse>)):
This event can be used to indicate if/when the specified <tone>
has a duration greater than the <time> value indicated (and is
reported once the duration is exceeded). The parameters can be
supplied in any order. The value of <tone> can be any of the DTMF
tone symbols (without including the package name) specified in the
DTMF package (including X in the case of events, but not signals).
If this parameter is absent, any DTMF tone that occurs will be
reported. The parameter <time> is in milli-seconds and may be
rounded to the nearest 10 ms by the gateway. The minimum value of
<time> that can be requested when requesting an event is 40 ms.
When requesting a signal, the minimum value of <time> that can be
requested is 50 ms. The maximum value of <time> that can be
requested for either an event or a signal is 60000 ms. If the
"to=<time>" parameter is absent when requested as an event, the
event will report the full duration (up to 60000 ms) of the tone
when the tone is completed. When reported as an ObservedEvent,
both parameters are always supplied. In this case, <tone> is the
actual tone detected and <time> is either:
* The <time> specified in the request (possibly rounded), or
* If the request did not contain a "to=<time>" parameter, the
full duration of the tone.
The parameter "su" MAY be included when this is requested as an
event (but is not reported). This parameter is used to indicate
whether or not the DTMF digits requested should be suppressed
<span class="grey">Foster & Andreasen Informational [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
in-band when it is requested. Possible values are "true",
indicating that in-band DTMF should be suppressed and "false"
indicating that DTMF should continue to be passed in-band. The
default value of the parameter, if missing, is "false". The "su"
parameter MUST NOT be included when requesting "D/dd" as a signal.
When used as a signal, "dd" provides the ability to generate a
DTMF tone as a TO signal. When applied as a signal, an additional
50 ms of silence will be tacked onto the end before the operation
complete occurs, i.e., "S: dd(dg=5,to=2500)" will play the DTMF
tone for the number "5" for 2.5 seconds, followed by 50 ms of
silence period. The operation complete (if requested) will be
notified after the silence interval occurs. Any value from 50 ms
to 60000 ms can be requested. Gateways generating or detecting
the tone may round off the requested time to the nearest 10 ms.
The "dd" event can be used in place of the "long duration" event
in order to detect a digit pressed for longer than 2 seconds. For
example, in order to detect if a user presses the long "#" for
longer than 2 seconds, a request could be made with the
RequestedEvents line "R: d/dd(N)(dg=#,to=2000)". The resulting
ObservedEvents line would be "O: d/dd(dg=#,to=2000)".
Suppose instead, that the RequestedEvents line contains
R: d/[0-9*#],d/dd
Suppose the user then pushes the "#" for 2.5 seconds. In this
case, two events will be notified:
O: d/#
when the "#" key is first pressed, and
O: d/dd(dg=#,to=2500)
when the "#" key is finally released.
DTMF OO Signal (do(dg=<tone>,<on-or-off>)):
This signal is used to generate a DTMF tone as an on-off signal.
The <tone> parameter is any of the symbols for a specific tone in
the DTMF package (i.e., "0" to "9", "A", "B", "C", "D", "*", or
"#"). The <on-or-off> indicator is "+" for on and "-" for off as
per [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>]. The <tone> parameter MUST be supplied, otherwise a
return code of 538 - "Event/signal parameter error" will be
provided in the response. If the <on-or-off> parameter is
missing, the default is to turn the signal on as usual (i.e., "+"
is the default). The order of the parameters is not significant
<span class="grey">Foster & Andreasen Informational [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
since "+" and "-" are reserved characters and are easily
distinguished from the <tone> parameter.
Long Duration Indicator (l):
The "long duration indicator" is observed when a DTMF signal is
produced for a duration larger than two seconds. In this case,
the gateway will detect two successive events: first, when the
signal has been recognized, the DTMF signal, and then, 2 seconds
later, the long duration signal.
Operation Complete (oc):
This is the standard definition of operation complete [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>].
Operation Failure (of):
This is the standard definition of operation failure [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>].
Timer (t):
Timer T can be used as an event or as a time-out (TO) signal. As
a signal, its only behavior is the normal characteristics of a
"TO" signal as defined in [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>] (i.e., if no event occurs before the
time-out, an operation complete event will be generated).
As an event, Timer T is a digit input timer that can be used in
two ways:
* When timer T is used with the accumulate according to digit
map action, the timer is not started until the first DTMF
tone is entered, and the timer is restarted after each new
DTMF tone is entered until either a digit map match or
mismatch occurs. In this case, timer T functions as an
inter-digit timer as illustrated by:
R: D/[0-9T](D)
* When timer T is used without the "accumulate according to
digit map" action, the timer is started immediately and
simply cancelled (but not restarted) as soon as a DTMF tone
is entered. In this case, timer T can be used as an inter-
digit timer when overlap sending is used, as in:
R: D/[0-9](N), D/T(N)
When used with the "accumulate according to digit map" action,
timer T takes on one of two values, T-partial or T-critical. When
at least one more symbol is required for the "current dial string"
to match any one of the patterns in the digit map, timer T takes
on the value T-partial, corresponding to partial dial timing. If
a timer is all that is required to produce a match, timer T takes
<span class="grey">Foster & Andreasen Informational [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
on the value T-critical corresponding to critical dial timing.
When timer T is used without the "accumulate according to digit
map" action, timer T takes on the value T-critical. The default
value for T-partial is 16 seconds and the default value for
T-critical is 4 seconds. The provisioning process may alter both
of these. If timer T is not used, then inter-digit timing will
not be performed.
The following examples illustrate this. Consider the digit map:
(xxxxxxx|x11T)
and assume that DTMF and the timer T is accumulated according to
digit map. At the first DTMF input, say "4", timer T is started
with a value of T-partial since at least one more symbol is
required. If "1" is then input, it leads to a restart of timer T
with a value of T-partial again. If "1" is now input again, we
have a current dial string of "411" and a timer is now all that is
required to produce a match. Hence timer T is now restarted with
value T-critical.
Finally, consider the following subtle examples (all assuming DTMF
and timer T being accumulated according to digit map):
The digit map
(1[2-3T].)
will match immediately on the input "1" since zero or more matches
of the range are specified.
The digit map
(1[2-3].T)
and an input of "1" will lead to timer T being set to T-critical.
A digit map of
(1[2-3]T.)
and an input of "1" will lead to timer T being set to T-partial.
Furthermore, upon subsequent input of "2" or "3" a perfect match
will be triggered immediately since timer T is completely
irrelevant.
<span class="grey">Foster & Andreasen Informational [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
DTMF Tones Wildcard (X):
The DTMF tones wildcard matches any DTMF digit between 0 and 9.
The actual event code generated will however be the event code for
the digit detected. The DTMF tones wildcard is often used to
detect DTMF input to be matched against a digit map.
<span class="h3"><a class="selflink" id="section-2.3" href="#section-2.3">2.3</a>. Trunk Package</span>
Package Name: T
Version: 1
----------------------------------------------------------------
| Symbol | Definition | R | S Duration |
|----------------------------------------------------------------|
| as | Answer Supervision | x | BR |
| bl | Blocking | | BR |
| bz | Busy | | TO 30 sec. |
| co1 | Continuity Tone (go tone, | x | TO 3 sec. |
| | or return tone) | | |
| co2 | Continuity Test (go tone, | x | TO 3 sec. |
| | or return tone in dual tone | | |
| | procedures) | | |
| ct(...) | Continuity Transponder | | OO |
| lb | Loopback | | OO |
| nm | New Milliwatt Tone | x | TO 3 sec |
| mm | Newest Milliwatt Tone | x | TO 3 sec |
| oc | Operation Complete | x | |
| of | Operation Failure | x | |
| om | Old Milliwatt Tone | x | TO 3 sec |
| pst | Permanent Signal Tone | | TO infinite |
| qt | Quiet Termination | | TO infinite |
| ro | Reorder Tone | x | TO 30 sec. |
| sit(#) | Special Information Tone | x | TO 2 sec. |
| | | | (see notes) |
| tl | Test Line | x | TO infinite |
| tp(###) | Test Pattern | x | TO 3 sec |
| zz | No Circuit | x | TO 2 sec |
----------------------------------------------------------------
New events added to this package from the previously unversioned
package: "bz", "ct", "mm", "oc", "pst", "qt", "sit", and "tp".
Changes in event types: "co1", "co2", "nm", "om", "tl", "zz" signals
changed from OO to TO; "as" and "bl" changed from OO to BR.
<span class="grey">Foster & Andreasen Informational [Page 16]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-17" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
Note that default time-out values may be over-ridden by the Call
Agent for any Time-Out signal defined in this package by a "to"
signal parameter. Refer to <a href="#section-2">section 2</a> of this document, as well as
[<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>] for details.
The definition of the trunk package events are as follows:
Answer Supervision (as):
This event is used to indicate the occurrence answer supervision.
In most cases, it is a result of a steady off-hook in response to
a call request. This event is included for backwards
compatibility with the previous version of the package. The
preferred alternative is to use the "answer" event in the
appropriate CAS packages [<a href="#ref-34" title=""MGCP CAS Packages"">34</a>] (Note: check the details on the use
of "answer" in the particular CAS package; in most cases "answer"
as an event is an indication of a steady off-hook regardless of
whether or not it is an indication of answer supervision). For
details on when answer supervision is appropriate refer to [<a href="#ref-5" title=""Notes on the Network"">5</a>].
Blocking (bl):
This event is used to indicate an incoming off-hook for the
purposes of blocking a one-way trunk in CAS trunks. This event is
included for backwards compatibility with the previous version of
the package. The preferred alternative is the "block" event in
the appropriate CAS packages [<a href="#ref-34" title=""MGCP CAS Packages"">34</a>].
Busy Tone (bz):
Refer to ITU-T E.180 [<a href="#ref-8" title=""Technical Characteristics of Tones for the Telephone Service"">8</a>]. In North America, station Busy is a
combination of two AC tones with frequencies of 480 and 620 Hertz
and levels of -24 dBm each, to give a combined level of -21 dBm.
The cadence for Station Busy Tone is 0.5 seconds on, followed by
0.5 seconds off, then repeating. See GR-506-CORE [<a href="#ref-7" title=""LSSGR: Signaling for Analog Interfaces"">7</a>]- LSSGR:
SIGNALING, <a href="#section-17.2.6">Section 17.2.6</a>.
Continuity Tone (co1):
A tone at 2010 Hz (see section 3.1.1.3 of [<a href="#ref-2" title=""LSSGR: Switching System Generic Requirements for Call Control Using the Integrated Services Digital Network User Part (ISDNUP)"">2</a>]). When generated as
a signal, the frequency of the tone must be within + or - 8 Hz,
while the frequency of the tone corresponding to the event must be
within + or - 30 Hz.
Continuity Test (co2):
A tone at 1780 Hz (see section 3.1.1.3 of [<a href="#ref-2" title=""LSSGR: Switching System Generic Requirements for Call Control Using the Integrated Services Digital Network User Part (ISDNUP)"">2</a>]). When generated as
a signal, the frequency of the tone must be within + or - 20 Hz,
while the frequency of the tone corresponding to the event must be
within + or - 30 Hz.
In continuity testing the tone corresponding to the signal at the
originating gateway is referred to as the "go" tone, and the tone
<span class="grey">Foster & Andreasen Informational [Page 17]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-18" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
corresponding to the event at that same gateway is referred to as
the "return" or "check" tone.
Note that generation and notification of continuity tones are done
as per continuity test requirements as defined in ITU-T Q.724 [<a href="#ref-3" title=""Telephone User Part Signaling Procedures"">3</a>],
as well as by Bellcore GR-317-CORE [<a href="#ref-2" title=""LSSGR: Switching System Generic Requirements for Call Control Using the Integrated Services Digital Network User Part (ISDNUP)"">2</a>] specifications, i.e., the
semantics of notification of the return tone is more than that the
tone was received, but is an indication that the test has passed.
Details are provided in the following paragraphs.
The continuity tones represented by co1 and co2 are used when the
Call Agent wants to initiate a continuity test. There are two
types of tests, single tone and dual tone; In the case of the dual
tone, either tone can be sent and the opposite received depending
on the trunk interconnections (4-wire or 2-wire) as indicated
below:
Originating Terminating
============ ===========
4w -------------- 1780 Hz -----------> 2w
<------------- 2010 Hz ------------ (transponder)
2w -------------- 2010 Hz -----------> 2w/4w
<------------- 1780 Hz ------------ (transponder)
4w -------------- 2010 Hz -----------> 4w
<------------- 2010 Hz ------------ (loopback)
The Call agent is expected to know, through provisioning
information, which test should be applied to a given endpoint. As
an example, for a 4-wire to 2-wire connection, the Call Agent
might send a request like the following to an originating gateway:
RQNT 1234 ds/ds1-1/17@tgw2.example.net
X: AB123FE0
S: t/co1
R: t/co2,t/oc,t/of
On a terminating side of a trunk, the call agent may request a
continuity test connection (connection mode "conttest") to the
terminating gateway as follows:
CRCX 3001 ds/ds1-2/4@tgw34.example.net
C: 3748ABC364
M: conttest
<span class="grey">Foster & Andreasen Informational [Page 18]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-19" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
Alternatively, rather than using a connection mode, the "T/ct"
signal can be used (see description of this signal further below):
RQNT 3001 ds/ds1-2/4@tgw34.example.net
X: 1233472
S: t/ct(in=co1,out=co2,+)
The originating gateway would send the requested "go" tone, and
would look for the appropriate "return tone". Once the return
tone is received, the originating gateway removes the go tone and
checks to see that the return tone has been removed within the
specified performance limits (i.e., GR-246-CORE, T1.113.4, Annex B
[<a href="#ref-23" title=""Telcordia Technologies Specification of Signaling System Number 7"">23</a>]). When it detects that the test is successful, the gateway
will send a notification of the return tone event (Note that
notification of the return tone event therefore must not be sent
prior to detection of the removal of the return tone).
The "T/co1" and "T/co2" signals are TO signals so that an
operation complete event will occur when the signal times out. If
a timeout value other than the default is desired, the "to"
parameter may be used (e.g., "S: T/co1(to=2000)").
If the gateway detects the failure of the continuity test prior to
the timeout, an operation failure event will be generated.
Otherwise, the failure of the continuity test is determined by the
failure to receive the return tone event before the timeout occurs
(operation complete event). As with TO signals in general,
operation complete and operation fail events are parameterized
with the name of the signal.
In the example above where the go tone is "co1" and the return
tone is "co2":
* A notification of the "co2" event indicates success (i.e.,
"O: t/co2").
* A notification of the operation failure event indicates
failure prior to timeout (i.e., "O: t/of(t/co1)").
* A notification of the operation complete event indicates
that the return tone was not received properly prior to the
occurrence of the timeout (i.e., "O: t/oc(t/co2)").
On a terminating end of a trunk, either a "loopback" connection
(single tone test) or "conttest" connection (dual tone test) is
made (or alternatively the "T/lb" or "T/ct" signals are
requested). It is up to the termination end to make sure that the
return tone is removed as soon as the go tone disappears. The
<span class="grey">Foster & Andreasen Informational [Page 19]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-20" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
Call Agent requests the removal of "contest" or "loopback"
connections (or "T/lb" or "T/ct" signals) at a termination end
when the results of the continuity test are obtained.
When "conttest" is used, the endpoint is provisioned as to which
transponder test is being performed (2010 Hz received and 1780 Hz
sent or vice versa). In the case of the corresponding "T/ct"
signal, the Call Agent can specify which tone is received and sent
as parameters.
Note that continuity tones in the trunk package are only ever sent
to the telephony endpoint. For network-based continuity, there
are continuity tones available in the RTP ("R") package. Although
a transponder (dual tone) test can be done, a single tone test is
generally sufficient in the case of continuity testing across an
IP network.
Continuity Transponder(ct(in=<tone-in>,out=<tone-out>, <+ or ->)):
This signal is used to provide transponder functionality
independent of the connection mode, i.e., this is an alternative
way to provide the same functionality as the "conttest" connection
mode. The parameters can be provided in any order. The <tone-in>
and <tone-out> parameters can have values "co1" or "co2",
corresponding to the 2010 Hz and 1780 Hz tones associated with
those symbols. If one of the tones is "co1", then the other must
be "co2" and vice versa (i.e., <tone-in> and <tone-out> must have
different values; if loopback is required, then the "lb" signal in
this package or "loopback" connection mode should be used).
On detecting <tone-in>, <tone-out> will be generated in return.
The tone corresponding to <tone-out> will continue to be generated
until either:
* The signal is explicitly turned off (e.g., "S: t/ct(-)") or
* Removal of the <tone-in> tone is detected.
Note that while the signal is active (regardless of whether a tone
is active or not), media from the endpoint will not be forwarded
to or from the packet network (i.e., the continuity transponder
signal must be explicitly turned off by the Call Agent in order to
resume passing media between the packet network and the endpoint).
Loopback (lb):
This signal is used to provide loopback functionality independent
of the connection mode, i.e., this is an alternative way to
provide the same functionality as "loopback" connection mode.
<span class="grey">Foster & Andreasen Informational [Page 20]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-21" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
Note that while the loop-back signal is active (regardless of
whether a tone is active or not), media from the endpoint will not
be forwarded to or from the packet network (i.e., the loopback
signal must be explicitly turned off by the Call Agent in order to
resume passing media between the packet network and the endpoint).
New Milliwatt Tone (nm):
1004 Hz tone - refer to [<a href="#ref-4" title=""OAM&P - Terminating Test Line Access and Capabilities"">4</a>] and section 8.2.5 of [<a href="#ref-5" title=""Notes on the Network"">5</a>].
Newest Milliwatt Tone (mm):
1013.8 Hz - refer to [<a href="#ref-4" title=""OAM&P - Terminating Test Line Access and Capabilities"">4</a>].
Operation Complete (oc):
This is the standard definition of operation complete [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>].
Operation Failure (of):
This is the standard definition of operation failure [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>].
Old Milliwatt Tone (om):
1000 Hz tone - refer to [<a href="#ref-4" title=""OAM&P - Terminating Test Line Access and Capabilities"">4</a>] and section 8.2.5 of [<a href="#ref-5" title=""Notes on the Network"">5</a>].
Permanent Signal Tone (pst):
In North America, this tone is applied to a busy line
verify/operator interrupt under specific circumstances as
described in [<a href="#ref-17" title=""LSSGR: Verification Connections FSD 25-05-0903"">17</a>].
Quiet Termination (qt):
Quiet Termination is used in a 102 trunk test. Reference <a href="#section-6.20.5">section</a>
<a href="#section-6.20.5">6.20.5</a> [<a href="#ref-5" title=""Notes on the Network"">5</a>] as well as [<a href="#ref-4" title=""OAM&P - Terminating Test Line Access and Capabilities"">4</a>].
Reorder Tone(ro):
This maps to congestion tone in the ITU-T E.182 specification. In
North America, reorder tone is a combination of two AC tones with
frequencies of 480 and 620 Hertz and levels of -24 dBm each, to
give a combined level of -21 dBm. The cadence for reorder tone is
0.25 seconds on, followed by 0.25 seconds off, repeating
continuously (until time-out). See GR-506-CORE [<a href="#ref-7" title=""LSSGR: Signaling for Analog Interfaces"">7</a>], <a href="#section-17.2.7">Section</a>
<a href="#section-17.2.7">17.2.7</a>.
Special Information Tone(sit(#)):
As described in ITU-T E.180 [<a href="#ref-8" title=""Technical Characteristics of Tones for the Telephone Service"">8</a>], the special information tone
consists of a tone period in which 3 tones are produced followed
by a silent period of 1 second (total TO period of approximately 2
seconds). When used as a signal, it MUST be parameterized with a
parameter value from 1 to 7, with the following meaning as defined
in SR-2275, section 6.21.2 of [<a href="#ref-5" title=""Notes on the Network"">5</a>].
<span class="grey">Foster & Andreasen Informational [Page 21]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-22" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
-------------------------------------------
| sit(1) | RO' | reorder SIT, intra-LATA |
| sit(2) | RO" | reorder SIT, inter-LATA |
| sit(3) | NC' | no circuit SIT, intra-LATA |
| sit(4) | NC" | no circuit SIT, inter-LATA |
| sit(5) | IC | intercept SIT |
| sit(6) | VC | vacant code SIT |
| sit(7) | IO | ineffective other SIT |
-------------------------------------------
When requested as an event, the event MUST be parameterized with a
decimal number from 1 to 7 to indicate which tone the gateway is
required to detect. The resulting notification also includes the
parameter. Other countries may have one or more special
information tones with country specific definitions (refer to
ITU-T E.180 supp. 2 [<a href="#ref-9" title=""Various Tones Used in National Networks"">9</a>]). In this case, special information tone
1 as defined in [<a href="#ref-9" title=""Various Tones Used in National Networks"">9</a>] is sit(1), special information tone 2 is
sit(2) etc.
As an example, the Call Agent might make a request such as:
RQNT 1234 ds/ds1-1/17@tgw2.example.net
X: AB123FE0
R: t/sit(N)(2)
If the tone is detected, the resulting notification might appear
as follows:
NTFY 3002 ds/ds1-3/6@gw-o.whatever.net MGCP 1.0
X: AB123FE0
O: t/sit(2)
Test Line (tl):
105 Test Line test progress tone (2225 Hz + or - 25 Hz at -10
dBm0). Refer to section 8.2.5 of [<a href="#ref-5" title=""Notes on the Network"">5</a>].
Test Pattern (tp(###)):
The tp(###) signal inserts the pattern ### continuously into the
channel until the timeout period expires. The parameter is
provided as a decimal number from 0 to 255. If the parameter is
omitted, the default value is decimal 95.
In RequestedEvents, the parameter MAY be supplied to indicate what
pattern the Call Agent wishes the gateway to detect. If the
parameter is omitted, the value 95 is assumed. The pattern MUST
be returned in the ObservedEvent (even if the parameter was not
requested).
<span class="grey">Foster & Andreasen Informational [Page 22]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-23" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
A typical use for the test pattern signal is for the test line 108
(digital loopback) test (refer to section 8.2.5 of [<a href="#ref-5" title=""Notes on the Network"">5</a>]). At the
termination side of a trunk, the Call Agent would request a
connection in "loopback" mode, which would do a digital loopback.
On the origination side of the trunk, the Call Agent would request
that the test pattern be injected into the digital channel, and
would check to see that the pattern was returned within the
timeout period. As an example, the Call Agent would make the
following request on the origination side:
RQNT 1234 ds/ds1-1/17@tgw2.example.net
X: AB123FE0
S: t/tp
R: t/tp, t/oc, t/of
In this case the Call Agent will either receive:
* An ObservedEvent indicating that the test has passed (i.e.,
"O:t/op(95)") or
* An ObservedEvent indicating that the timeout occurred before
the pattern was received (i.e., "O:t/oc(t/tp)"), indicating
that the test failed. Of course an operation failure would
indicate failure as well.
No Circuit (zz):
This is an alias for Special Information Tone 2, i.e., "sit(2)".
<span class="grey">Foster & Andreasen Informational [Page 23]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-24" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
<span class="h3"><a class="selflink" id="section-2.4" href="#section-2.4">2.4</a>. Line Package</span>
Package Name: L
Version: 1
----------------------------------------------------------------
|Symbol | Definition | R | S Duration |
|----------------------------------------------------------------|
|adsi(string) | ADSI Display | | BR |
|aw | Answer Tone | x | OO |
|bz | Busy Tone | | TO 30 sec. |
|ci(ti,nu,na) | Caller-id | | BR |
|dl | Dial Tone | | TO 16 sec. |
|e | Error Tone | x | TO 2 sec. |
|hd | Off-hook Transition | S | |
|hf | Flash-hook | x | |
|ht | On Hold Tone | | OO |
|hu | On-hook Transition | S | |
|lsa | Line Side Answer Sup. | | OO |
|mwi | Message Waiting ind. | | TO 16 sec. |
|nbz | Network busy | x | TO infinite |
|oc | Operation Complete | x | |
|of | Operation Failure | x | |
|osi | Network Disconnect | | TO 900 ms |
|ot | Off-hook Warning Tone | | TO infinite |
|p | Prompt Tone | x | BR |
|rg | Ringing | | TO 180 sec. |
|r0, r1, r2, | Distinctive Ringing | | TO 180 sec. |
|r3, r4, r5, | | | |
|r6 or r7 | | | |
|ro | Reorder Tone | | TO 30 sec. |
|rs | Ringsplash | | BR |
|s(###) | Distinctive Tone Pattern | x | BR |
|sit(#) | Special Information Tone | | TO 2 sec. |
| | | | (see notes) |
|sl | Stutter Dial Tone | | TO 16 sec. |
|v | Alerting Tone | | OO |
|vmwi | Visual Message | | OO |
| | Waiting Indicator | | |
|wt | Call Waiting Tone | | TO 12 sec |
|wt1, wt2, | Alternative Call | | TO 12 sec |
|wt3, wt4 | Waiting Tones | | (see notes) |
|y | Recorder Warning Tone | | TO infinite |
|z | Calling Card Service Tone| | BR |
----------------------------------------------------------------
New events added to this package from the previously unversioned
package: "ht", "osi", and "lsa".
<span class="grey">Foster & Andreasen Informational [Page 24]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-25" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
Changes in event types: signals "y", "z", changed from OO to TO and
BR respectively. Ringing tones were extended to allow for a ring
repetition signal parameter.
Note that default time-out values may be over-ridden by the Call
Agent for any Time-Out signal defined in this package by a "to"
signal parameter. Refer to <a href="#section-2">section 2</a> of this document, as well as
[<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>] for details.
The description of events and signals in the line package are as
follows:
ADSI Display (adsi):
This signal is included here to maintain compatibility with the
previous version of this package. The signal is not well-defined
and its use is discouraged.
Answer Tone (aw):
This event is included here to maintain compatibility with the
previous version of this package. The event is not well-defined
and its use is discouraged.
Busy Tone (bz):
Refer to ITU-T E.180 [<a href="#ref-8" title=""Technical Characteristics of Tones for the Telephone Service"">8</a>]. In North America, station Busy is a
combination of two AC tones with frequencies of 480 and 620 Hertz
and levels of -24 dBm each, to give a combined level of -21 dBm.
The cadence for Station Busy Tone is 0.5 seconds on followed by
0.5 seconds off, repeating. See GR-506-CORE [<a href="#ref-7" title=""LSSGR: Signaling for Analog Interfaces"">7</a>], Section 17.2.6.
It is considered an error to try and play busy tone on a phone
that is on-hook and an error MUST consequently be returned when
such attempts are made (error code 402 - phone on-hook).
Caller-id (ci(time, number, name)):
See GR-1188 [<a href="#ref-24" title=""LSSGR: CLASS Feature: Calling Name Delivery Generic Requirements (FSD 01-02-1070)"">24</a>], GR-30-CORE [<a href="#ref-14" title=""LSSGR Voiceband Data Transmission Interface"">14</a>], and GR-31 [<a href="#ref-25" title=""LSSGR: CLASS Feature: Calling Number Delivery (FSD 01-02-1051)"">25</a>]. For backwards
compatibility, each of the three fields are optional, but each of
the commas will always be included. In accordance with the
general MGCP grammar, it is RECOMMENDED to always include all
three fields - an empty quoted string can then be used in lieu of
omitting a parameter:
The time parameter is coded as "MM/DD/HH/MM", where MM is a two-
digit decimal value for a Month between 01 and 12, DD is a two-
digit value for a Day between 01 and 31, and Hour and Minute are
two-digit values coded according to military local time, e.g., 00
is midnight, 01 is 1 a.m., and 13 is 1 p.m. (Note: two digits
MUST always be provided for each of the values of month, day,
hour, minutes e.g., the month of January is indicated by the two
digits "01" rather than just "1").
<span class="grey">Foster & Andreasen Informational [Page 25]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-26" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
The number parameter is coded as an ASCII character string of
decimal digits that identify the calling line number. White
spaces are permitted if the string is quoted, but they will be
ignored. If a quoted-string is provided, the string itself is
UTF-8 encoded (<a href="./rfc2279">RFC 2279</a>) as usual for signal parameters.
The name parameter is coded as a string of ASCII characters that
identify the calling line name. White spaces are permitted if the
string is quoted. If a quoted-string is provided, the string
itself is UTF-8 encoded (<a href="./rfc2279">RFC 2279</a>).
A "P" in the number or name field is used to indicate a private
number or name, and an "O" is used to indicate an unavailable
number or name. Other letters MAY be used to provide additional
clarification as per provider or vendor specifications.
The following example illustrates the use of the caller-id signal:
S: l/ci(09/14/17/26, "555 1212", "John Doe")
An example indicating that the name and number are private:
S: l/ci(09/14/17/26,P,P)
Dial Tone (dl):
Refer to the ITU-T E.180 [<a href="#ref-8" title=""Technical Characteristics of Tones for the Telephone Service"">8</a>] specification. In North America,
dial tone is a combination of two continuous AC tones with
frequencies of 350 and 440 Hertz and levels of -13dBm each, to
give a combined level of -10 dBm. See GR-506-CORE [<a href="#ref-7" title=""LSSGR: Signaling for Analog Interfaces"">7</a>] - LSSGR:
SIGNALING, <a href="#section-17.2.1">Section 17.2.1</a>. It is considered an error to try and
play dial-tone on a phone that is on-hook and an error MUST
consequently be returned when such attempts are made (error code
402 - phone on-hook).
Error Tone (e):
This tone is maintained for backwards compatibility. The tone is
not well defined and its use is discouraged.
Off-hook Transition (hd):
See GR-506-CORE [<a href="#ref-7" title=""LSSGR: Signaling for Analog Interfaces"">7</a>], Section 12. It is considered an error to try
and request off-hook on a phone that is off-hook and an error MUST
consequently be returned when such attempts are made (error code
401 - phone off-hook).
<span class="grey">Foster & Andreasen Informational [Page 26]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-27" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
Flash Hook (hf):
See GR-506-CORE [<a href="#ref-7" title=""LSSGR: Signaling for Analog Interfaces"">7</a>], Section 12. It is considered an error to try
and request flash hook on a phone that is on-hook and an error
MUST consequently be returned when such attempts are made (error
code 402 - phone on-hook).
Tone On Hold (ht):
A tone used to reassure a calling subscriber who has been placed
on "hold". Refer to ITU-T E.182 [<a href="#ref-10" title=""Applications of Tones and Recorded Announcements in Telephone Services"">10</a>].
On-hook Transition (hu):
See GR-506-CORE [<a href="#ref-7" title=""LSSGR: Signaling for Analog Interfaces"">7</a>], Section 12. The timing for the on-hook
signal is for flash response enabled, unless provisioned
otherwise. It is considered an error to try and request flash
hook on a phone that is on-hook and an error MUST consequently be
returned when such attempts are made (error code 402 - phone on-
hook).
Line Side Answer Supervision (lsa):
This provides Reverse Loop Current Feed (RLCF) on the line (refer
to GR-506-CORE [<a href="#ref-7" title=""LSSGR: Signaling for Analog Interfaces"">7</a>]) and is a way of indicating that the called
party has answered for some line-side equipment.
Message Waiting Indicator (mwi):
Message Waiting indicator tone uses the same frequencies and
levels as dial tone (350 and 440 Hertz at -13dBm each), but with a
cadence of 0.1 second on, 0.1 second off, repeated 10 times,
followed by steady application of dial tone. See GR-506-CORE [<a href="#ref-7" title=""LSSGR: Signaling for Analog Interfaces"">7</a>],
Section 17.2.3. It is considered an error to try and play
message-waiting indicator on a phone that is on-hook and an error
MUST consequently be returned when such attempts are made (error
code 402 - phone on-hook).
Network Busy (nbz):
This is included here to maintain compatibility with the previous
version of this package. The "nbz" signal is an alias for re-
order tone signal("ro"). Future Call Agent implementations that
require a network busy signal should use the "ro" signal. It is
also recommended that future Call Agents not request to be
notified of the "nbz" event (a network busy event is generally not
required in a line package; hence, "ro" is only a signal, not an
event).
Operation Complete (oc):
This is the standard definition of operation complete [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>].
Operation Failure (of):
This is the standard definition of operation failure [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>].
<span class="grey">Foster & Andreasen Informational [Page 27]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-28" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
Network Disconnect (osi):
Network Disconnect indicates that the far-end party has
disconnected. The signal that is sent on the line is provisioned
in the media gateway since it may vary from country to country.
In North America, this signal is an open switch interval which
results in a Loop Current Feed Open Signal (LCFO) being applied to
the line (refer to GR-506-CORE [<a href="#ref-7" title=""LSSGR: Signaling for Analog Interfaces"">7</a>], see also See GR-505-CORE [<a href="#ref-6" title=""Call Processing"">6</a>],
Section 4.5.2.1). The default time-out value for this signal is
900 ms.
Off-hook Warning Tone (ot):
Off-hook warning tone, also known as receiver Off-Hook Tone (ROH
Tone). This is the irritating noise a telephone makes when it is
not hung up correctly. In North America, ROH Tone is generated by
combining four tones at frequencies of 1400 Hertz, 2060 Hertz,
2450 Hertz and 2600 Hertz, at a cadence of 0.1 second on, 0.1
second off, then repeating. GR-506-CORE [<a href="#ref-7" title=""LSSGR: Signaling for Analog Interfaces"">7</a>], Section 17.2.8
contains details about required power levels. It is considered an
error to try and play off-hook warning tone on a phone that is
on-hook, and an error MUST consequently be returned when such
attempts are made (error code 402 - phone on-hook).
Prompt Tone (p):
The definition of the prompt tone and its use may be found in
requirement GR-220 [<a href="#ref-20" title=""Class Feature: Screen Editing (FSD 30-28-0000)"">20</a>]. The tone in GR-220 (requirement "R3-170"
or GR-220) is a 300 ms burst of a 400 Hz tone.
Ringing (rg):
See GR-506-CORE [<a href="#ref-7" title=""LSSGR: Signaling for Analog Interfaces"">7</a>], Section 14. The provisioning process may
define the ringing cadence. The ringing signal may be
parameterized with the signal parameter "rep" which specifies the
maximum number of ringing cycles (repetitions) to apply. The
value for "rep" is specified in decimal and can have any value
from 1 to 255. The following will apply the ringing signal for up
to 6 ringing cycles:
S: l/rg(rep=6)
If the "rep" parameter is specified, the signal times-out when the
number of repetitions are completed (i.e., an operation complete
event can be requested and will occur at the end of the
timeout/number of rings).
If the "rep" parameter is supplied, then any timeout ("to") value
that is included will be ignored, i.e.:
S: l/rg(rep=6,to=12000)
<span class="grey">Foster & Andreasen Informational [Page 28]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-29" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
will be treated the same as the previous example where the
parameter "to=12000" was not included. Of course, if the "to"
parameter is included without the "rep", it will be acted upon
i.e.:
S: l/rg(to=12000)
will ring for 12 seconds.
It is considered an error to try and ring a phone that is off-hook
and an error MUST consequently be returned when such attempts are
made (error code 401 - phone off-hook).
Distinctive Ringing (r0, r1, r2, r3, r4, r5, r6 or r7):
See GR-506-CORE [<a href="#ref-7" title=""LSSGR: Signaling for Analog Interfaces"">7</a>], Section 14. Default values for r1 to r5 are
as defined for distinctive ringing pattern 1 to 5 in GR-506-CORE
[<a href="#ref-7" title=""LSSGR: Signaling for Analog Interfaces"">7</a>]. The default values for r0, r6 and r7 are normal ringing
(i.e., the same cadence "rg"). The provisioning process may
define the ringing cadence for each of these signals. The
distinctive ringing signals may be parameterized with the signal
parameter "rep" which specifies the maximum number of ringing
cycles (repetitions) to apply. The value for "rep" is specified
in decimal and can have any value from 1 to 255.
The following will apply the ringing signal for up to 6 ringing
cycles:
S: l/r1(rep=6)
If the "rep" parameter is specified, the signal times-out when the
number of repetitions are completed (i.e., an operation complete
event can be requested and will occur at the end of the
timeout/number of rings)
If the "rep" parameter is supplied, then any timeout ("to") value
that is included will be ignored, i.e.:
S: l/r1(rep=6,to=12000)
will be treated the same as the previous example where the
parameter "to=12000" was not included. Of course, if the "to"
parameter is included without the "rep", it will be acted upon
i.e.:
S: l/r1(to=12000)
will ring for 12 seconds.
<span class="grey">Foster & Andreasen Informational [Page 29]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-30" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
It is considered an error to try and ring a phone that is off-hook
and an error MUST consequently be returned when such attempts are
made (error code 401 - phone off-hook).
Reorder Tone (ro):
This maps to congestion tone in the ITU-T E.182 [<a href="#ref-10" title=""Applications of Tones and Recorded Announcements in Telephone Services"">10</a>]
specification. In North America, reorder tone is a combination of
two AC tones with frequencies of 480 and 620 Hertz, and levels of
-24 dBm each, to give a combined level of -21 dBm. The cadence
for reorder tone is 0.25 seconds on, followed by 0.25 seconds off,
repeating continuously.
Ringsplash (rs):
Also known as "Reminder ring", this tone is a burst of ringing
that may be applied to the physical forwarding line (when idle) to
indicate that a call has been forwarded and to remind the user
that a Call Forward sub-feature is active. In the US, it is
defined to be a 0.5(-0,+0.1) second burst of power ringing (see
[<a href="#ref-11" title=" Issue 1">11</a>]).
Distinctive Tone Pattern (s(###)):
This is used to signal or detect a tone pattern defined by the
parameter where the parameter may have a value from 0 to 999.
When specified as an event, the parameter MUST be included. The
parameter will also be included when the event is reported. This
event (the definition of tones associated with each parameter
value) requires special provisioning in the Call Agent and gateway
to insure interoperability. This signal is included here to
maintain compatibility with the previous version of this package.
Special Information Tone(sit(#)):
As described in ITU-T E.180 [<a href="#ref-8" title=""Technical Characteristics of Tones for the Telephone Service"">8</a>], the special information tone
consists of a tone period in which 3 tones are produced, followed
by a silent period of 1 second (total TO period of approximately 2
seconds). It MAY be parameterized with a parameter value from 1
to 7, with the following meaning as defined in SR-2275, <a href="#section-6.21.2">section</a>
<a href="#section-6.21.2">6.21.2</a> [<a href="#ref-5" title=""Notes on the Network"">5</a>]:
-------------------------------------------
| sit(1) | RO' | reorder SIT, intra-LATA |
| sit(2) | RO" | reorder SIT, inter-LATA |
| sit(3) | NC' | no circuit SIT, intra-LATA |
| sit(4) | NC" | no circuit SIT, inter-LATA |
| sit(5) | IC | intercept SIT |
| sit(6) | VC | vacant code SIT |
| sit(7) | IO | ineffective other SIT |
-------------------------------------------
<span class="grey">Foster & Andreasen Informational [Page 30]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-31" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
If the parameter is left out, the NC' SIT tone that corresponds to
the signal "L/sit(3)" is assumed.
Other countries may have one or more special information tones
with country specific definitions (refer to ITU-T E.180 supp. 2
[<a href="#ref-9" title=""Various Tones Used in National Networks"">9</a>]). In this case, special information tone 1 as defined in [<a href="#ref-9" title=""Various Tones Used in National Networks"">9</a>]
is sit(1), special information tone 2 is sit(2) etc.
Stutter Dial Tone (sl):
Stutter Dial Tone (also called Recall Dial Tone in GR-506-CORE [<a href="#ref-7" title=""LSSGR: Signaling for Analog Interfaces"">7</a>]
and "special dial tone" in ITU-T E.182 [<a href="#ref-10" title=""Applications of Tones and Recorded Announcements in Telephone Services"">10</a>]) is used to confirm
some action and request additional input from the user. An
example application is to cancel call-waiting, prior to entering a
destination address.
The stutter dial tone signal may be parameterized with the signal
parameter "del", which will specify a delay in milliseconds to
apply between the confirmation tone and the dial tone. The
parameter can have any value from 0 to 10000 ms, rounded to the
nearest non-zero value divisible by 100 (i.e., tenth of a second).
The following will apply stutter dial tone with a delay of 1.5
seconds between the confirmation tone and the dial tone:
S: l/sl(del=1500)
It is considered an error to try and play stutter dial tone on a
phone that is on-hook and an error MUST consequently be returned
when such attempts are made (error code 402 - phone on-hook).
Alerting Tone (v):
A 440 Hz Tone of a 2 second duration, followed by a 1/2 second of
tone every 10 seconds. This event is included for backwards
compatibility with the previous version of the package.
Visual Message Waiting Indicator (vmwi):
The transmission of the VMWI messages will conform to the
requirements in [<a href="#ref-13" title=""LSSGR: Visual Message Waiting Indicator Generic Requirements (FSD 01-02-2000)"">13</a>] and the CPE guidelines in [<a href="#ref-12" title=""CPE Compatibility Considerations for the Voiceband Data Transmission Interface"">12</a>]. Refer also
to <a href="#section-6.6">section 6.6</a> of GR-30-CORE [<a href="#ref-14" title=""LSSGR Voiceband Data Transmission Interface"">14</a>]. VMWI messages will only be
sent from the gateway to the attached equipment when the line is
idle. If new messages arrive while the line is busy, the VMWI
indicator message will be delayed until the line goes back to the
idle state. After the gateway restarts, the state of the signal
will be "off", and hence the Call Agent MUST refresh the CPE's
visual indicator if it is supposed to be "on".
<span class="grey">Foster & Andreasen Informational [Page 31]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-32" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
Alternative Call Waiting Tones (wt, wt1, .., wt4):
Refer to ITU-T E.180 [<a href="#ref-8" title=""Technical Characteristics of Tones for the Telephone Service"">8</a>]. For North American tone definitions,
refer to GR-506-CORE [<a href="#ref-7" title=""LSSGR: Signaling for Analog Interfaces"">7</a>], Section 14.2. "wt" and "wt1" are both
aliases for the default Call Waiting tone, which in North America,
is a 440-Hz tone applied for 300 plus or minus 50 ms. The tone is
then repeated once after 10 seconds.
These signals are timeout signals with a default timeout value of
12 seconds, which allows the tone to be played twice with a single
request (refer to GR-571-CORE [<a href="#ref-16" title=""LSSGR: Call Waiting, FSD 01-02-1201"">16</a>]). However, there are cases
(Requirement R3-73 of GR-575-CORE [<a href="#ref-18" title="Issue 01">18</a>]), in which only a single
tone is required. In that case, the Call Agent may make the
request with a shorter timeout period to eliminate the second tone
(e.g., "S: wt(to=2000)" - which stops the signal after 2 seconds
so that the second tone will not occur).
Signals wt2, wt3 and wt4 are alternates that are used for
distinctive call-waiting tone patterns (refer to GR-506-CORE,
<a href="#section-14.2">Section 14.2</a> [<a href="#ref-7" title=""LSSGR: Signaling for Analog Interfaces"">7</a>]. It is considered an error to try and apply
call-waiting tone on a phone that is on-hook and an error MUST
consequently be returned when such attempts are made (error code
402 - phone on-hook).
Recorder Warning Tone(y):
Refer to ITU-T E.180 [<a href="#ref-8" title=""Technical Characteristics of Tones for the Telephone Service"">8</a>] - also Bellcore document SR-2275 [<a href="#ref-5" title=""Notes on the Network"">5</a>]
<a href="#section-6.20">section 6.20</a>. When recording equipment is used, this tone is
connected to the line to inform the distant party that the
conversation is being recorded - typical value used is a 1400 Hz
Tone of a 0.5 second duration every 15 seconds.
Calling Card Service Tone(z):
This tone is used to inform the customer that credit card
information must be keyed in. Typically, it consists of 60 ms of
941 + 1477 Hz (the DTMF #digit) and 940 ms of 350 + 440 Hz (dial
tone), decaying exponentially with a time constant of 200 ms.
Refer to Bellcore document SR-2275 [<a href="#ref-5" title=""Notes on the Network"">5</a>], section 6.20.
<span class="grey">Foster & Andreasen Informational [Page 32]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-33" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
<span class="h3"><a class="selflink" id="section-2.5" href="#section-2.5">2.5</a>. Handset Emulation Package</span>
Package Name: H
Version: 1
----------------------------------------------------------------
|Symbol | Definition | R | S Duration |
|----------------------------------------------------------------|
|adsi(string) | ADSI Display | x | BR |
|aw | Answer Tone | x | OO |
|bz | Busy Tone | x | TO 30 sec. |
|ci(ti,nu,na) | Caller-id | x | BR |
|dl | Dial Tone | x | TO 16 sec. |
|e | Error Tone | x | TO 2 sec. |
|hd | Off-hook Transition | S | BR |
|hu | On-hook Transition | S | BR |
|hf | Flash Hook | x | BR |
|ht | Tone On Hold | x | OO |
|lsa | Line Side Answer Sup. | x | OO |
|mwi | Message Waiting Ind. | x | TO 16 sec. |
|nbz | Network Busy | x | TO infinite |
|oc | Operation Complete | x | |
|ot | Off-hook Warning Tone | x | TO infinite |
|of | Operation Failure | x | |
|osi | Network Disconnect | x | TO 900 ms |
|p | Prompt Tone | x | BR |
|rg | Ringing | x | TO 180 sec. |
|r0, r1, r2, | Distinctive Ringing | x | TO 180 sec. |
|r3, r4, r5, | | | |
|r6 or r7 | | | |
|ro | Reorder Tone | x | TO 30 sec. |
|rs | Ringsplash | x | BR |
|s(###) | Distinctive Tone Pattern | x | BR |
|sit(#) | Sit Tone | x | TO 2 sec. |
|sl | Stutter Dial Tone | x | TO 16 sec. |
|v | Alerting Tone | x | OO |
|vmwi | Vis. Message Waiting Ind.| x | OO |
|wt | Call Waiting tone | x | TO 12 sec. |
|wt1, wt2, | Alternative Call | x | TO 12 sec |
|wt3, wt4 | Waiting Tones | | (see notes) |
|y | Recorder Warning Tone | x | TO infinite |
|z | Calling Card Serv. Tone | x | BR |
----------------------------------------------------------------
The handset emulation package is similar to the line package except
that events such as "off-hook" can be signaled as well as detected.
<span class="grey">Foster & Andreasen Informational [Page 33]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-34" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
Changes from the original package - are the same changes as were made
for the line package, plus "hu" and "hd" signal types were changed
from OO to BR.
Event definitions are the same as for the line package with the
following exceptions:
ASDI:
When requested as an event by the Call Agent, the event is not
parameterized. However, the parameter is included when the event
is reported.
Caller-id:
When requested as an event by the Call Agent, the event MUST not
be parameterized. However, parameters are included when the event
is reported i.e.:
O: l/ci(09/14/17/26,"555 1212","John Doe")
Line Side Answer Supervision:
When requested as an event by the Call Agent, it indicates when
the reverse loop current feed (RLCF) was turned on and off. The
event is not parameterized when it is requested. However, a
parameter is included when it is reported i.e.:
O: l/lsa(+) to indicate RLCF was turned on
O: l/lsa(-) to indicate RLCF was turned off
Ringing (rg):
When requested as an event, the Call Agent may optionally include
the rep parameter indicating a request to report after some number
of rings e.g.:
RQNT 1234 aaln/1@rgw2.example.net
X: AB123FE0
R: h/rg(N)(rep=3)
The resulting notification after the number of rings is detected
includes the parameter again:
NTFY 3002 ds/ds1-3/6@gw-o.whatever.net MGCP 1.0
X: AB123FE0
O: h/rg(rep=3)
If the parameter is not included in the request, it is also not
included in the report. In that case, the event is reported as
soon as ringing is detected.
<span class="grey">Foster & Andreasen Informational [Page 34]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-35" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
Distinctive Ringing (r0, r1, r2, r3, r4, r5, r6 or r7):
As with the "rg" event, if the "rep" parameter is included when
one of these is requested as an event, it is also reported. If it
is not requested with the parameter, then the parameter is also
not included in the report. In that case, the event is reported
as soon as ringing with the requested cadence is detected.
Stutter Dial Tone (sl):
Stutter Dial Tone MUST not be parameterized when requested as an
event. However, the "del" parameter is reported.
RQNT 1234 aaln/1@rgw2.example.net
X: AB123FE0
R: h/sl
The resulting notification indicates the delay between the
confirmation tone and the dial tone:
NTFY 3002 ds/ds1-3/6@gw-o.whatever.net MGCP 1.0
X: AB123FE0
O: h/sl(del=1500)
As with the signal, the report indicates the delay rounded to the
nearest 100 ms.
Visual Message Waiting:
When requested as an event by the Call Agent, it indicates when
the visual message waiting indicator was turned on and off. The
event is not parameterized when it is requested. However, a
parameter is included when it is reported i.e.:
O: l/vmwi(+) to indicate message waiting turned on
O: l/vmwi(-) to indicate message waiting turned off
Note that:
* All TO signals in the handset package can include a "to"
parameter when requested as a signal.
* However, requests to be notified about these events MUST NOT
include the "to" parameter, i.e., the "to" parameter is not
valid in RequestedEvents.
<span class="grey">Foster & Andreasen Informational [Page 35]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-36" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
<span class="h3"><a class="selflink" id="section-2.6" href="#section-2.6">2.6</a>. Supplementary Services Tone Package</span>
Package Name: SST
Version: 0
---------------------------------------------------------------
|Symbol | Definition | R | S Duration |
|---------------------------------------------------------------|
|cd | Conference Depart | | BR |
|cj | Conference Join | | BR |
|cm | Comfort Tone | | TO infinite |
|cw | Caller Waiting Tone | | TO 30 sec. |
|ht | On Hold Tone | | OO |
|ni | Negative Indication | | TO infinite |
|nu | Number Unobtainable | | TO infinite |
|oc | Operation Complete | x | |
|of | Operation Failure | x | |
|pr | Pay Phone Recognition | | BR |
|pt | Pay Tone | | BR |
----------------------------------------------------------------
Note that default time-out values may be over-ridden by the Call
Agent for any Time-Out signal defined in this package by a "to"
signal parameter. Refer to <a href="#section-2">section 2</a> of this document, as well as
[<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>] for details.
The events in this package are defined as follows:
Conference Depart(cd):
Tone used to indicate that a participant has left a conference
call. The tone characteristics are left to the specific gateway
implementation.
Conference Join (cj):
Tone used to indicate that a party has joined a conference call.
The tone characteristics are left to the specific gateway
implementation.
Comfort Tone (cm):
Comfort Tone is used to indicate that the call is being processed
and that the caller should wait. Refer to ITU-T E.182 [<a href="#ref-10" title=""Applications of Tones and Recorded Announcements in Telephone Services"">10</a>].
Caller Waiting Tone (cw):
Not to be confused with a call-waiting tone, this is a tone
advising a caller that a called station, though busy, has a call
waiting service active. Refer to ITU-T E.182 [<a href="#ref-10" title=""Applications of Tones and Recorded Announcements in Telephone Services"">10</a>].
<span class="grey">Foster & Andreasen Informational [Page 36]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-37" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
Tone on-hold (ht):
A tone used to reassure a calling subscriber who has been placed
on "hold". Refer to ITU-T E.182 [<a href="#ref-10" title=""Applications of Tones and Recorded Announcements in Telephone Services"">10</a>].
Negative Indication (ni):
A tone advising a subscriber that the request for service cannot
be accepted. Refer to ITU-T E.182 [<a href="#ref-10" title=""Applications of Tones and Recorded Announcements in Telephone Services"">10</a>]. For North America, this
maps to the re-order tone (see GR-506-CORE [<a href="#ref-7" title=""LSSGR: Signaling for Analog Interfaces"">7</a>], Section 17.2.7).
Number Unobtainable Tone (nu):
Refer to ITU-T E.180, supplement 2 [<a href="#ref-9" title=""Various Tones Used in National Networks"">9</a>]. This is also referred to
as "vacant tone" and maps to a "re-order tone" in North America
(see GR-506-CORE [<a href="#ref-7" title=""LSSGR: Signaling for Analog Interfaces"">7</a>], Section 17.2.7).
Operation Complete (oc):
The standard definition of operation complete [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>].
Operation Failure (of):
The standard definition of operation failure [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>].
Pay Phone Recognition (pr):
A tone advising an operator that the endpoint is identified as a
payphone. Refer to ITU-T E.182 [<a href="#ref-10" title=""Applications of Tones and Recorded Announcements in Telephone Services"">10</a>].
Pay Tone (pt):
A tone indicating that payment is required. Refer to ITU-T E.182
[<a href="#ref-10" title=""Applications of Tones and Recorded Announcements in Telephone Services"">10</a>].
<span class="h3"><a class="selflink" id="section-2.7" href="#section-2.7">2.7</a>. Digit Map Extension</span>
Package Name: dm1 ("dm" followed by the number "1")
Version: 0
Extension Digit Map Letters: P
This package defines an Extension Digit Map Letter that is used to
override the shortest possible match behavior for a given entry in a
digit map (see [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>]). The letter "P" (for partial match override), at
the end of a digit map entry, instructs the gateway to only consider
that entry a match if the current dial string does not partially
match another entry. For example, given the digit map
([3-7]11|123xxxxxxx|[1-7]xxxxxxP|8xxxP)
and a current dial string of "1234567", we would not consider this a
match (as the rules in [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>] would otherwise imply); however a current
dial string of "411" would be considered a match as usual. A current
dial string of "8234" would be considered a match since there is no
other partial match.
<span class="grey">Foster & Andreasen Informational [Page 37]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-38" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
Note that the digit map letter "P" is not an event, but simply a
syntactic and semantic digit map extension. Thus, the "P" is not
included in the list of requested or observed events.
Support for this package is strongly RECOMMENDED.
<span class="h3"><a class="selflink" id="section-2.8" href="#section-2.8">2.8</a>. Signal List Package</span>
Package Name: SL
Version: 0
---------------------------------------------------------
| Symbol | Definition | R | S Duration |
|---------------------------------------------------------|
| oc | Operation Complete | x | |
| of | Operation Failure | x | |
| s(list) | Signal List | | TO variable |
---------------------------------------------------------
Operation Complete (oc):
This is the standard definition of operation complete from [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>].
Operation Failure (of):
This is the standard definition of operation failure from [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>].
Signal List(s(<list>)):
The <list> contains a comma-separated list of signals to be played
out. Each of the signals in <list> MUST be either of type BR or
type TO. Semantically, the signal list is still treated as a
single parameterized signal of type Time-Out though. The signals
in the list are played to completion one after the other in the
left to right order specified. The package for each signal in the
list must be specified. For example, to play out the DTMF digits
123456:
S: sl/s(d/1,d/2,d/3,d/4,d/5,d/6)
This will result in the DTMF digits 1, 2, 3, 4, 5 and 6 being
played out in order.
It is illegal to include an OO signal as one of the signals in the
list or to request recursive definitions (signal lists within
signal lists). If this or any other unsupported signal is
included, error code 538 (event/signal parameter error) MUST be
returned by the gateway.
<span class="grey">Foster & Andreasen Informational [Page 38]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-39" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
Note that as the gateway plays the ordered list of signals, if it
encounters a TO signal with an infinite timeout, it will continue
to play that signal until the Signal List signal is stopped (i.e.,
other signals later in the list will never be played).
If the operation complete ("oc") event is requested, it will be
detected once, when the last signal in the list has been played
out (regardless of whether there are any TO signals in the list).
The operation complete event will only report the signal list name
itself, i.e., without the parameters supplied as in:
O: sl/oc(sl/s)
Should any of the signals in the signal list result in an error,
an operation failure event for the Signal List signal MUST be
generated. Only the signal list name will be included, thus it is
not possible to determine which of the signals in the signal list
actually failed.
Note that if an event occurs while the "SL/S" signal is playing,
the "SL/S" signal is stopped in the following manner:
* If the signal in the list that was playing at the time the
event occurred is of type BR, then the BR signal will be
played to completion and no other signals in the list will
be played.
* If the signal in the list that was playing at the time the
event occurred is of type TO, then the TO signal will stop
immediately and no other signals in the list will be played.
<span class="h3"><a class="selflink" id="section-2.9" href="#section-2.9">2.9</a>. Media Format Parameter Package</span>
Package Name: FM
Version: 0
This package provides support for the media format parameter Local
Connection Option (LCO). The media format parameter LCO is similar
to the "fmtp" attribute in SDP [<a href="#ref-15" title=""SDP: Session Description Protocol"">15</a>] and is applicable to all of the
same media formats that the corresponding SDP fmtp attribute could be
used with (i.e., media format parameters for any media format MIME
type). The media format parameter is encoded as the keyword "fmtp"
or "o-fmtp", followed by a colon and a quoted string beginning with
the media format name (MIME subtype only) followed by a space,
followed by the media format parameters associated with that media
format. For simplicity, we will use the terms "codec" and "media
<span class="grey">Foster & Andreasen Informational [Page 39]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-40" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
format" interchangeably in the following. Multiple formats may be
indicated by either repeating the "fmtp" local connection option
multiple times, such as:
L:a:codec1;codec2, fmtp:"codec1 formatX", fmtp:"codec2 formatY"
or alternatively by having a single "fmtp" keyword followed by a
colon, and a semi-colon separated list of quoted strings for each
media format parameter, as in:
L:a:codec1;codec2, fmtp:"codec1 formatX";"codec2 formatY"
The two formats may be mixed.
If it is possible for the same codec to be requested with and without
the special "fmtp" format, the following could result:
L:a:codec1;codec1, fmtp:"codec1 formatX"
However, it would not be clear if the fmtp parameter was to be
applied to the first or the second occurrence of the codec. The
problem with that is, that codec ordering is important (i.e., codecs
are listed in preferred order), and the above syntax does not provide
a way to indicate if "formatX" is preferred (i.e., associated with
the first "codec1") or not (i.e., associated with the second
"codec1"). In order to resolve this dilemma, when the same codec is
requested with multiple formats, the codec name in the "fmtp" format
string is followed by a colon and an <order>, where <order> is a
number from one to N for N occurrences of the same codec in the codec
list i.e.:
L:a:codec1;codec1, fmtp:"codec1:2 formatX"
indicates that "formatX" is associated with the second instance of
"codec1" in the "a:codec1;codec1" list. If an invalid instance
number is supplied (e.g., instance 3 where there are only two
instances), then error code 524 - inconsistency in local connection
options will be returned.
Pre-pending "fmtp" with the string "o-" (i.e., "o-fmtp") indicates
that the format is optional. In that case, the gateway may decide
not to use the fmtp parameter specified, or only use it in part.
If the "fmtp" in an LCO is not optional (i.e., does not have "o-" in
front of it), and the LCO value is either not recognized or not
supported, then the associated codec is considered "not supported".
<span class="grey">Foster & Andreasen Informational [Page 40]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-41" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
When auditing capabilities, the "fmtp" local connection option MUST
be returned with a semi-colon separated list of supported formats
and/or multiple independent "fmtp" parameters as in:
A: a:telephone-event, fmtp:"telephone-event 0-15,32-35",...
A: a:PCMU;G729, fmtp:"PCMU foo";"PCMU bar", fmtp:"G729 foobar",...
One example uses the media format parameter LCO in conjunction with
the media format "telephone-event", as defined in <a href="./rfc2833">RFC 2833</a> [<a href="#ref-33" title=""RTP Payload for DTMF Digits, Telephony Tones and Telephony Signals"">33</a>]. If
the media format "telephone-event" is used without the "fmtp" media
format parameter, the DTMF digits (telephone events 0-15 from <a href="./rfc2833">RFC</a>
<a href="./rfc2833">2833</a> [<a href="#ref-33" title=""RTP Payload for DTMF Digits, Telephony Tones and Telephony Signals"">33</a>]) are assumed - such practice is however discouraged. On
the other hand, the media format parameter LCO MAY be used to specify
the exact set of events that are being requested via <a href="./rfc2833">RFC 2833</a> [<a href="#ref-33" title=""RTP Payload for DTMF Digits, Telephony Tones and Telephony Signals"">33</a>].
Example:
L: a:PCMU;telephone-event,fmtp:"telephone-event 16"
indicates that if telephone events are supported at all, then this
request is specifically for event 16.
In another case, the Call Agent may indicate that some format
parameters are "required", while others are optional. In the example
below, telephone events 0-15 are a "must", while telephone events 16,
70 and 71 are optional.
L: a:PCMU;telephone-event, o-fmtp:"telephone-event 16,70,71",
fmtp:"telephone-event 0-15"
If the gateway cannot support telephone events 0-15, it MUST NOT
include the "telephone-event" media format in the SDP in its
response. On the other hand, if it can support those telephone
events, it SHOULD indicate support for those events, as well as any
of the events 16, 70 and 71 that it supports.
If a request is made to audit the capabilities of an endpoint, and
the endpoint supports the "telephone event" media format with events
"0-16", then the audit would include the following:
A: a:telephone-event, fmtp: "telephone-event 0-16"
Another example is the use of redundancy with <a href="./rfc2198">RFC 2198</a> [<a href="#ref-32" title=""RTP Payload for Redundant Audio Data"">32</a>]. Again,
the format of the fmtp string is similar to that used in the SDP
except that the literal string ("red" in this case) is used rather
than the payload type:
L: a:G729;pcmu;red,fmtp:"red pcmu/g729"
<span class="grey">Foster & Andreasen Informational [Page 41]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-42" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
The corresponding media description in the SDP as part of the
connection request acknowledgment might look like:
m=audio 12345 RTP/AVP 98 18 0
a=rtpmap:98 red/8000/1
a=fmtp:98 0/18
If we combine both telephone events and redundancy, an example local
connection option might look as follows (carriage return added for
formatting reasons here):
L: a:G729;pcmu;red;telephone-event,fmtp:"red pcmu/g729",
fmtp: "telephone-event 16"
Note that we again specify the literal string for the encoding method
rather than its payload type. This is a general principle that
should be used with this LocalConnectionOption.
The corresponding SDP might appear as follows:
m=audio 12345 RTP/AVP 97 98 18 0
a=rtpmap:97 red/8000/1
a=fmtp:97 0/18
a=rtpmap:98 telephone event
a=fmtp:98 16
Note that the fmtp LCO may be used in any situation where the
corresponding SDP attribute may be used. An example of a local
connection option that involves a media type other than audio and a
"foobar" fmtp parameter:
L: a:image/tiff, fmtp:"tiff foobar"
Note that normally local connection options that are associated with
a package should have the package prefix included as per the package
extension rules in [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>]. The "fmtp" and "o-fmtp" LCO in the "FM"
package are an exception. The package prefix is not included in the
case of the "fmtp" and "o-fmtp" local connection options because they
were created before the extension rules in [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>] were defined.
These two LocalConnectionOptions have been registered with IANA.
<span class="grey">Foster & Andreasen Informational [Page 42]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-43" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
<span class="h3"><a class="selflink" id="section-2.10" href="#section-2.10">2.10</a>. RTP Package</span>
Package Name: R
Version: 1
-------------------------------------------------------------
| Symbol | Definition | R | S Duration |
|-------------------------------------------------------------|
| co1 | Continuity Tone (single | C | TO,C 3 sec. |
| | or return tone) | | |
| co2 | Continuity Test (go tone, | C | TO,C 3 sec. |
| | in dual tone procedures) | | |
| iu(..) | ICMP Unreachable | C | |
| | Received | | |
| ji(..) | Jitter Buffer Size Changed | C | |
| ma | Media Start | C | |
| oc | Operation Complete | x | |
| of | Operation Failure | x | |
| pl(..) | Packet Loss Exceeded | C | |
| qa | Quality Alert | C | |
| rto(..) | RTP/RTCP Timeout | C | |
| sr | Sampling Rate Changed | C | |
| uc | Used Codec Changed | C | |
-------------------------------------------------------------
Changes in event types: "co1" and "co2" signals changed from OO to
TO.
New events added to this package from the previously unversioned
package: "iu", "rto", "ma".
Note that default time-out values may be over-ridden by the Call
Agent for any Time-Out signal defined in this package by a "to"
signal parameter. Refer to <a href="#section-2">section 2</a> of this document, as well as
[<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>] for details.
The events in this package all refer to media streams (connections),
i.e., they cannot be detected on an endpoint. Furthermore, with the
exception of the "iu" event, which is defined for any type of media,
all other events in this package are defined for RTP media streams
only (i.e., if they are used on connections that do not use RTP, the
behavior is not defined).
Signals requested (e.g., "co1" and "co2") must indicate the
connection ID (e.g., "S: r/co1@connectionID"). An event may be
requested for all existing connections using the "*" wildcard for the
connectionID as described in [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>].
<span class="grey">Foster & Andreasen Informational [Page 43]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-44" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
Example:
R: r/uc@* (request to detect uc on all connections) or
R: r/uc@connectionID (request to detect uc only on a specific
connection)
An event detected on a connection will include the connectionID,
e.g.:
O: r/uc@connectionID(15)
Continuity tones (co1 and co2):
These are the same as the events defined in the Trunk package,
except in this case, they are only played over a network
connection and the connectionID MUST be supplied (e.g., "s:
r/co1@connectionID"). They can be used in conjunction with the
Network LoopBack (netwloop) or Network Continuity Test (netwtest)
modes to test the continuity of an RTP circuit. However, in the
case of testing IP continuity, a one-tone test is sufficient i.e.,
generating and detecting "co1" at one end, with connection mode in
network loopback mode at the other end. Note that the test can
also be done using telephone events rather than tones, i.e., event
167 in <a href="./rfc2833">RFC 2833</a> [<a href="#ref-33" title=""RTP Payload for DTMF Digits, Telephony Tones and Telephony Signals"">33</a>] corresponds to "co1". In this case,
connection requests are made with local connection options such
as:
L: a:PCMU;telephone-event,fmtp:"telephone-event 167"
in order to request support for telephone event 167. If both ends
support the event, then the network loopback proceeds as usual,
except that telephone events corresponding to the co1 tone are
sent, as opposed to the co1 tone itself.
ICMP Unreachable Received (iu):
This event indicates that some number of ICMP unreachable packets
[<a href="#ref-19" title=""Internet Control Message Protocol"">19</a>] was received for this connection since an RQNT was received
requesting this event. This notification indicates that packets
that were sent by the gateway on this connection either did not
arrive at their destination or were not accepted (e.g., the port
was closed). When this event is requested, a single parameter
with a decimal number from 1 to 255 may be included to indicate
the number of ICMP un-reachable packets that must occur before the
event is notified. If no parameter is supplied, with the request
then a default value of 3 is assumed. This is a one-shot event in
that once the event occurs, a further request is required in order
to re-initiate counting.
<span class="grey">Foster & Andreasen Informational [Page 44]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-45" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
The observed event is parameterized with two parameters:
* The first parameter is the number of ICMP unreachable
packets received (i.e., the same value that was included in
the request - or the value 3, if the requested event was not
parameterized)
* The second parameter is the error code indicated in the ICMP
unreachable packet, e.g.:
0 = net unreachable;
1 = host unreachable;
2 = protocol unreachable;
3 = port unreachable;
4 = fragmentation needed and DF set;
5 = source route failed.
etc.
An example of a request might be as follows:
RQNT 2001 ds/ds1-3/6@gw-o.whatever.net MGCP 1.0
X: 0123456789B0
R: r/iu@364823(N)(5)
In this case, a notify will occur if 5 ICMP port unreachable
packets are received as a result of RTP and/or RTCP packets being
sent from this gateway on the connection with connection ID
364823.
The resulting NTFY with observed events might be as follows:
NTFY 3002 ds/ds1-3/6@gw-o.whatever.net MGCP 1.0
X: 0123456789B0
O: r/iu@364823(5,3)
The first parameter indicates 5 ICMP unreachable packets were
received since the RQNT with this request was sent. The second
parameter ("3") specifies the reason, which in this case, is "port
unreachable".
<span class="grey">Foster & Andreasen Informational [Page 45]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-46" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
Jitter Buffer Size Changed (ji):
This event is only included here to maintain compatibility with
the previous version of this package. This event is used to
indicate that the gateway has made an adjustment to the depth of
the jitter buffer. The syntax for requesting notification is
"ji", which tells the media gateway that the controller wants
notification of any jitter buffer size changes. The syntax for
notification from the media gateway to the controller is
"JI(####)", where the #### is a decimal number from 1 to 65536,
indicating the new size of the jitter buffer in milliseconds.
Media Start (ma):
The media start event occurs on a connection when the first valid
RTP media packet is received on the connection. This event can be
used to synchronize a local signal, e.g., ringback, with the
arrival of media from the other party.
The event is detected on a connection. If no connection is
specified, the event applies to all connections for the endpoint,
regardless of when the connections are created (i.e., if a
connection is not specified, the event will occur when the first
valid RTP packet arrives on any one of the connections on that
endpoint).
Operation complete (oc):
This is the standard definition of operation complete [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>].
Operation failure (of):
This is the standard definition of operation failure [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>].
Packet Loss Exceeded (pl):
Packet loss rate exceeds the threshold of the specified decimal
number (with a range of 1 to 100,000) of packets per 100,000
packets, where the packet loss number is indicated in parenthesis.
For example, PL(10) is a drop rate of 10 in 100,000 packets. This
event is requested with a parameter indicating at what packet loss
rate the Call Agent wishes to be reported. If the packet loss
exceeds that value, the event is reported with that same
parameter. The event is only reported once when the packet loss
threshold is exceeded. Once reported, a following request will
re-initiate packet loss measurements and report when the threshold
is exceeded again.
Quality alert (qa):
The packet loss rate or the combination of delay and jitter
exceeding a quality threshold. The quality thresholds for delay,
jitter and packet loss rate are provisioned values.
<span class="grey">Foster & Andreasen Informational [Page 46]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-47" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
RTP/RTCP Timeout (rto(<timeout>,st=<start-time>)):
This event indicates that neither RTP nor RTCP packets have been
received on this connection for a period of time equal to the
<timeout> value (in seconds). The timeout value can be supplied
as a decimal number from 1 to 65535 in the parameter when the
request is made. The <timeout> parameter will be supplied in
ObservedEvents when the event is reported - it then simply repeats
the value used. If an RTP or RTCP packet is received before the
timer expires, then the timer is reset and re-started. The event
will only be generated if the timer expires without an RTP or RTCP
packet arriving on the specified connection during the specified
period of time. Note that if the event is requested without the
<timeout> parameter, then a default timeout of 60 seconds is
assumed. The <timeout> value will still be reported in
ObservedEvents, even if no timeout value was indicated in the
request (the default value will be indicated in that case). This
is a one-shot event in that once the event occurs, a further
request is required in order to re-initialize the timer.
Another optional <start-time> parameter may also be included.
This is used to indicate when the timer starts. It can have one
of the following values:
* "im" for immediate i.e., the timer starts as soon as the
request is received. This is the default.
* "ra" to indicate that the timer should start only after an
RTCP packet has been received from the other end (i.e., the
timer will be initiated when the first RTCP packet is
received after the request is made). Note that in the case
where the other end does not support RTCP, the timer will
never be initiated.
Note that either the <timeout> or <start-time> may be included in
the request, but only the <timeout> value is included in the
report.
An example of a request might be as follows:
RQNT 2001 ds/ds1-3/6@gw-o.whatever.net MGCP 1.0
X: 0123456789B0
R: r/rto@364823(N)(120,st=im)
In this case, a notify will occur if there is a period of time
when no RTP or RTCP packets have been received on connection
364823 for 120 seconds.
<span class="grey">Foster & Andreasen Informational [Page 47]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-48" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
The resulting NTFY with observed events would be as follows:
NTFY 3002 ds/ds1-3/6@gw-o.whatever.net MGCP 1.0
X: 0123456789B0
O: r/rto@364823(120)
Sampling Rate Changed (sr):
This event is only included here to maintain compatibility with
the previous version of this package. This event indicates that
the packetization period changed to some decimal number in
milliseconds enclosed in parenthesis, as in SR(20).
Used Codec Changed (uc):
This event is only included here to maintain compatibility with
the previous version of this package. This event is requested
without a parameter, but when reported, the hexadecimal payload
type is enclosed in parenthesis, as in UC(8), to indicate the
codec was changed to PCM A-law. Codec Numbers are specified in
<a href="./rfc3551">RFC 3551</a> [<a href="#ref-26" title=""RTP Profile for Audio and Video Conferences with Minimal Control"">26</a>], or in a new definition of the audio profiles for
RTP that replaces this RFC.
<span class="h3"><a class="selflink" id="section-2.11" href="#section-2.11">2.11</a>. Resource Reservation Package</span>
Package Name: RES
Version: 0
<span class="h4"><a class="selflink" id="section-2.11.1" href="#section-2.11.1">2.11.1</a>. Description</span>
The "RES" package provides local connection option support for
resource reservations as well as an event to indicate reservation
loss.
A number of LocalConnectionOption parameters are used in doing
resource reservations: "reservation request", "reservation
direction", "reservation confirmation" and "resource sharing".
Reservation Request LocalConnectionOption: The gateways can be
instructed to perform a reservation on a given connection using RSVP.
When a reservation is needed, the Call Agent will specify the
reservation profile that should be used, which is either "controlled
load" or "guaranteed service". The absence of reservation can be
indicated by asking for the "best effort" service, which is the
default value for this parameter.
Whether or not RSVP will be done is dependent on whether the
reservation request LocalConnectionOption parameter has been included
in a connection request for this connection (with either "controlled
load" or "guaranteed service" indicated). If a modify connection
<span class="grey">Foster & Andreasen Informational [Page 48]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-49" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
(MDCX) request requires a change in the reservation and the
"reservation request" parameter is not included in the
LocalConnectionOptions, but was included in the
LocalConnectionOptions for a previous connection request for that
connection, then the "reservation request" value defaults to its
previously saved value for that connection. If a modify connection
(MDCX) request explicitly contains a "reservation request",
indicating a request for "best effort" for a connection that has an
existing reservation, the existing reservation will be torn down.
Reservation Direction LocalConnectionOption:
When reservation has been requested on a connection, the gateway
will examine the reservation direction LocalConnectionOption
parameter to determine the direction that the reservations require
and do the following:
* Start emitting RSVP "PATH" messages if the reservation
direction LocalConnectionOptions parameter specified "send-
only" or "send-receive".
* Start emitting RSVP "RESV" messages as soon as it receives
"PATH" messages if the reservation direction parameter
specified "receive-only" or "send-receive".
If an RSVP reservation is requested, but the reservation direction
LocalConnectionOption parameter is missing, the reservation
direction defaults to the previously saved value of the
reservation direction parameter for that connection. If there was
no previous reservation direction parameter for that connection,
the value is deduced from the connection mode. That is:
* Start emitting RSVP "PATH" messages if the connection is in
"send-only", "send-receive", "conference", "network loop
back" or "network continuity test" mode (if a remote
connection descriptor has been received).
* Start emitting RSVP "RESV" messages as soon as it receives
"PATH" messages if the connection is in "receive-only",
"send-receive", "conference", "network loop back" or
"network continuity test" mode.
Reservation Confirmation LocalConnectionOption:
Another LocalConnectionOption parameter for RSVP reservations is
the reservation confirmation parameter, which determines what the
resource reservation pre-condition (see [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>]) is for acknowledging
a successful connection request:
<span class="grey">Foster & Andreasen Informational [Page 49]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-50" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
* If the reservation confirmation parameter is set to "none",
the gateway will "Ack" the connection request without
waiting for reservation completion. This is the default
behavior.
* If the "reservation confirmation" parameter is set to
"send-only", the gateway will "Ack" when the PATH message
has been sent and the corresponding RESV is received to
indicate successful reservation in the send direction.
* If the "reservation confirmation" parameter is set to
"receive-only", the gateway will "Ack" when reservation
confirm for a reservation has been received.
* If the reservation confirmation parameter is set to "send-
receive", the gateway will "Ack" only after the PATH message
has been sent and the corresponding RESV has been received
for send direction, and reservation confirm has been
received for the receive direction.
Note that:
Values "receive-only" and "send-receive" are triggers for the
gateway to request reservation confirm (RESVCONF) when it sends
out the RESV.
Pre-conditions SHOULD only be added for the direction(s) for which
resource reservations have been requested. If a direction is
added as a pre-condition, and that direction was not requested in
the resource reservation, the direction MUST simply be ignored as
a pre-condition.
In this approach, resource reservation success is the pre-
condition to final acknowledgement of the connection request. If
the reservation fails, the connection request also fails (error
code 404 - insufficient bandwidth) - as will any other part of the
transaction, e.g., a notification request included as part of the
connection request. A typical example of this would be a request
to ring the phone and look for off-hook, included with the
connection request. If the reservation fails, the phone will not
ring. Similarly, if the phone is already off-hook, the command
fails and there will be no resource reservation.
A provisional response SHOULD be provided if confirmation is
expected to occur outside the normal retry timers and in fact a
provisional response MUST be provided if the reservation
confirmation parameter has value "send-receive" (without a
provisional response, SDP information cannot be returned until the
<span class="grey">Foster & Andreasen Informational [Page 50]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-51" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
final "Ack" which will not occur until the reservation is
complete. This can result in a deadlock since the SDP information
typically needs to be passed to the other end in order for it to
initiate the RSVP PATH message in the other direction). The SDP
information and connectionID MUST be included in both the
provisional response and the final response. Note that in order
to ensure rapid detection of a lost final response, final
responses issued after provisional responses for a transaction
SHALL be acknowledged, i.e., they SHALL include an empty
"ResponseAck" parameter in the final response (see [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>]).
If the transaction time is outside the expected bounds (time
T-HIST - see the section on provisional responses in [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>]), error
code 406 (transaction timeout) SHOULD be returned.
Also note that if the reservation confirmation parameter is
omitted, the value of the reservation confirmation parameter
defaults to its previously saved value. If there is no previously
saved value for the reservation confirmation parameter, or the
reservation confirmation parameter has the value "none", then
successful resource reservation is not a pre-condition to
providing an acknowledgement to the connection request (i.e., the
gateway can "Ack" right away without waiting for the reservation
to complete and a provisional response will not be necessary).
Resource Sharing LocalConnectionOption:
It may be possible to share network resources across multiple
connections. An example is a call-waiting scenario, where only
one connection will ever be active at a time. In a 3-way calling
scenario with a similar set of connections, sharing is not
possible. Only the Call Agent knows what may be possible,
depending on the feature that is being invoked.
In order to allow the Call Agent to indicate that sharing is
possible, a resource sharing LocalConnectionOption parameter is
introduced. This parameter can have one of the following values:
* A value "$" can be specified where $ refers to "this
connection". This value is used when doing a create
connection and indicates the intent to share resources with
this connection.
* A connection ID can be specified which indicates that this
is a request to share resources with the connection having
this connection ID (allowing multiple connections to share
resources with the connection indicated).
<span class="grey">Foster & Andreasen Informational [Page 51]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-52" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
* The value can be empty, which indicates a request to no
longer share the resources of this connection with other
connections.
In the case of a CRCX, the default value for the resource sharing
local connection option is empty, and for an MDCX, the default
value is its current value.
The RSVP filters will be deduced from the characteristics of the
connection. The RSVP resource profiles will be deduced from the
connection's bandwidth and packetization period.
Note that if RSVP is used with PacketCable Dynamic Quality of Service
[<a href="#ref-35" title="Dynamic Quality if Service Specification">35</a>], then the parameters in NCS [<a href="#ref-36">36</a>] would be used instead of the
reservation direction, confirmation and reservation sharing
parameters described here.
<span class="h4"><a class="selflink" id="section-2.11.2" href="#section-2.11.2">2.11.2</a>. Parameter Encoding</span>
The Local Connection Options for the "RES" package consist of the
following:
* The resource reservation parameter, encoded as the keyword "r",
followed by a colon and the value "g" (guaranteed service),
"cl" (controlled load) or "be" (best effort).
* The reservation direction parameter, encoded as the keyword
"r-dir" followed by a colon and the value "sendonly",
"recvonly" or "sendrecv".
* The reservation confirmation parameter, encoded as the keyword
"r-cnf" followed by a colon and the value "none", "sendonly",
"recvonly" or "sendrecv".
* The resource sharing parameter, encoded as the keyword "r-sh"
followed by a colon and either:
* The wild-card character "$" indicating this connection,
indicating future plans to share resources with this
connection, or
* A connection ID, indicating a request to share resources
with the connection having the specified connection ID
(and all other connections sharing resources with that
connection), or
<span class="grey">Foster & Andreasen Informational [Page 52]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-53" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
* An empty value (i.e., "r-sh:" with no value indicated),
indicating a request to no longer share the resources of
this connection with other connections
Note that normally local connection options that are associated with
a package have the package prefix included as per the package
extension rules in [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>]. The local connection options in the "RES"
package are exceptions. The package prefix is not included in the
case of the "RES" package because it was created before the extension
rules in [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>] were defined.
<span class="h4"><a class="selflink" id="section-2.11.3" href="#section-2.11.3">2.11.3</a>. Events</span>
The following events are included as part of the resource reservation
package:
------------------------------------------------------
| Symbol | Definition | R | S Duration |
|------------------------------------------------------|
| re | Resource Error | C | |
| rl | Resource Lost | C | |
------------------------------------------------------
Resource Error (re):
This is an indication that an error in the resource reservation
occurred during the life of the connection. This event is not
requested with a parameter, but is reported with a parameter (see
possible values below). This event may or may not indicate the
permanent loss of the reservation (i.e., any error associated with
the reservation whether permanent or temporary will be reported).
If requested on an endpoint (without specifying the connection
ID), the request refers to all present and future connections on
that endpoint. When reported, the connectionID is always supplied
along with a reason for the error indicated as a parameter. One
of the following possible reasons for loss MUST be included as the
parameter when the event is reported:
- "resverr" is used to indicate that a ResvErr message was
received.
- "patherr" is used to indicate that a PathErr message was
received.
- "other"
In addition to a parameter indicating one of the reasons above,
additional information on the type of error MAY be included as a
second parameter in the form of a quoted string.
<span class="grey">Foster & Andreasen Informational [Page 53]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-54" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
Example report might include:
O: res/rl@0A3F58(resverr)
or
O: res/rl@0A3F58(resverr, "some additional commentary")
Note that this event will not be reported if an error occurs while
a resource reservation is initially being set up (i.e., the event
was only reported as a result of an error that occurred after the
reservation was set up).
Resource Lost (rl):
Loss of reservation during the life of a connection can be
reported by using the "rl" event. This event is not requested
with a parameter, but is reported with a parameter (see below for
possible values). If requested on an endpoint (without specifying
the connection ID), the request refers to all present and future
connections on that endpoint.
When reported, the connectionID is always supplied along with a
reason for the loss indicated as a parameter. One of the
following possible reasons for loss MUST be supplied as the
parameter when the event is reported:
- "resvtear" indicating that the reservation loss was
indicated by ResvTear message.
- "pathtear" indicating that the reservation loss was
indicated by PathTear message.
- "other"
In addition to a parameter indicating one of the reasons above,
additional information on the type of error MAY be included as a
second parameter in the form of a quoted string.
Example report might include:
O: res/rl@0A3F58(ResvTear)
or
O: res/rl@0A3F58(ResvTear, "some other commentary")
<span class="grey">Foster & Andreasen Informational [Page 54]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-55" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
Note that this event will not be reported if an error occurs while
a resource reservation is initially being set up (i.e., the event
is only reported if the reservation was lost after it was
initially set up).
<span class="h3"><a class="selflink" id="section-2.12" href="#section-2.12">2.12</a>. Announcement Server Package</span>
Package Name: A
Version: 1
---------------------------------------------------------------
| Symbol | Definition | R | S Duration |
|---------------------------------------------------------------|
| ann(url) | Play an Announcement | | TO, C variable |
| oc | Operation Complete | x | |
| of | Operation Failure | x | |
---------------------------------------------------------------
Changes from the previous version: change to conform to standard
reporting of operation failure and operation complete events.
The announcement signal is qualified by a URL name:
S: ann(http://scripts.example.net/all-lines-busy.au)
The URL name MAY be followed by a list of initial parameters,
separated by commas. However, standard parameters are not included
as part of this package definition (Note: use of additional
parameters is optional and would result in a proprietary interface).
The gateway SHOULD support one or more standard URL schemes such as:
* file, http, ftp (<a href="./rfc1738">RFC 1738</a> [<a href="#ref-28" title=""Uniform Resource Locators (URL)"">28</a>]), which indicate where the audio
file is located (where to load the file from before playing the
audio file on the gateway).
* RTSP URL (<a href="./rfc2326#section-3.2">section 3.2 of RFC 2326</a> [<a href="#ref-29" title=""Real Time Streaming Protocol (RTSP)"">29</a>]), which in this case
allows the media gateway to directly initiate playing of the
announcement via an RTSP server.
The pre-condition for a successful response (return code of "200") is
correct syntax and capability (support is available for this
request). Standard MGCP return codes apply in the case of failure.
Further indications of failure are provided in the operation failure
event as a comment after the name of the failed event in the form of
a quoted string.
<span class="grey">Foster & Andreasen Informational [Page 55]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-56" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
If the announcement cannot be played out for a reason determined
after a successful response to the request has been provided, an
operation failure event will be returned. The failure MAY be
explained by some commentary (in the form of a quoted string), as in:
O: a/of(a/ann,"file not found")
The "operation complete" event will be detected when the announcement
is played out.
O: a/oc(a/ann)
<span class="h3"><a class="selflink" id="section-2.13" href="#section-2.13">2.13</a>. Script Package</span>
Package Name: Script
Version: 1
-----------------------------------------------------------------
| Symbol | Definition | R | S | Duration |
|-----------------------------------------------------------------|
| ir(..) | Intermediate Results/Req.| x | BR | |
| java(url,...) | Load & Run java script | | TO | variable |
| oc | operation complete | x | | |
| of | operation failure | x | | |
| perl(url,...) | Load & Run perl script | | TO | variable |
| tcl(url,...) | Load & Run TCL script | | TO | variable |
| vxml(url,...) | Load & Run VXML doc. | | TO | variable |
| xml(url,...) | Load & Run XML script | | TO | variable |
-----------------------------------------------------------------
Changes from the previous version of the package: "vxml" was added as
a language type for loading and running VXML documents; change to
conform with standard reporting of operation failure and operation
complete events; addition of "ir" event.
The current definition defines keywords for the most common
languages. More languages may be defined in later versions of this
package.
The "signal" specifying the scripting language is parameterized with
a URL indicating the location of the script. The URL parameter MAY
be optionally followed by a comma-separated list of arguments as
initial parameters to use in running the script. URL schemes may
include file ftp, or http schemes with syntax according to <a href="./rfc2396">RFC 2396</a>
[<a href="#ref-30" title=""Uniform Resource Identifiers (URI): Generic Syntax"">30</a>]. As an example:
S: script/vxml(ftp://ftp.example.net/credit-card.vxml,arg1,arg2,
...,argn)
<span class="grey">Foster & Andreasen Informational [Page 56]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-57" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
The argument list "arg1,arg2,...,argn" is passed to the
script/document as a list of initial parameters.
The pre-condition for a successful response (return code of "200") is
correct syntax and capability (support is available for this
request). Standard MGCP return codes apply in the case of failure.
Some further (non-application/script specific) failure indications
MAY be provided in the operation failure event as a comment in the
form of a quoted string following the name of the failed event.
Example
O: script/of(script/vxml,"file not found")
The script produces an output, which consists of one or several text
strings, separated by commas. This provides the return-status of the
script as well as return parameters (if there are any)
O: script/oc(script/vxml,return-status=<status>,
name1=value1,name2=value2,...)
where <status> can have one of the values "success" or "failure".
This is then followed by output parameters as a comma-separated list
of name-value pairs.
Intermediate Result/Request (ir(<params>)):
This provides a way for:
* The script to inform the Call Agent of intermediate results
(e.g., a case where it is important because of timing
concerns to inform the Call Agent prior to operation
complete).
* The script to request some information from the Call Agent.
* The Call Agent to inform the script of some event or
information that may be important for the operation of the
script (in this case "ir" is used as a signal).
Parameters (i.e., <params>) SHOULD be a comma-separated list of
name-value pairs e.g., ir(name1=value1,name2=value2,..). The Call
Agent MAY include event parameters when it requests this event, in
which case, the MGCP syntax requirements require that the action
be specified (e.g., "R: ir(N)(nam1=value1,name2=value2,..)").
If the Call Agent requests "ir" as a signal, at least one
parameter MUST be provided.
<span class="grey">Foster & Andreasen Informational [Page 57]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-58" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
When requesting the "ir" signal, the Call Agent MUST also repeat
the original script signal. This is in order to be consistent
with the semantics of TO signals in MGCP (i.e., if the original
"script" signal is not included, then the signal/script will be
stopped). The only problem with this is that there is a possible
race condition in which a request to send an "ir" signal could
occur just as the script stopped. In order to avoid this
confusion, the following is RECOMMENDED: when the script signal is
included with an "ir" signal, include a parameter (of the script
signal) to indicate that this is not a new instance of the script
i.e., if there is no script executing at the present time do not
start executing a new one.
The "ir" signal is only associated with an executing script. If
none are running when a request for the event/signal is made, or
if a new script request is not included with the request, then the
"ir" signal/event will not be executed (i.e., the "ir" event with
its parameters is passed to an existing script for parsing and
execution and is considered opaque as far as MGCP as concerned.
If no such script exists, response code "800" will be returned,
indicating that the script is not executing).
The following response code is associated with this package:
Code Text Explanation
800 Script not Request for "ir" signal or event
Executing but no script is executing at the
time the request was received.
Note that package specific error codes include the package name
following the error code. For example, if error code 800 occurs
in response to a request with a transaction ID of 1001, it would
be sent as:
800 1001 /SCRIPT
<span class="grey">Foster & Andreasen Informational [Page 58]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-59" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. IANA Considerations</span>
The following packages and their versions have been registered with
IANA as per the instructions in [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>].
Package Title Name Version
------------- ---- -------
Announcement A 1
DTMF D 1
Digit Map Extension DM1 0
Media Format FM 0
Generic G 1
Handset H 1
Line L 1
RTP R 1
Resource Reservation RES 0
Script SCRIPT 1
Supplementary Tones SST 0
Signal List SL 0
Trunk T 1
The following extension digit map letter has been registered with
IANA:
Package Letter
------- ------
DM1 P
The following Local Connections have been registered with IANA:
Field Name
------- -----
Media Format fmtp
Reservation Confirmation r-cnf
Reservation Direction r-dir
Resource Sharing r-sh
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Security Considerations</span>
The MGCP packages contained in this document do not require any
further security considerations beyond those indicated in the base
MGCP specification [<a href="#ref-1" title=""Media Gateway Control Protocol (MGCP) Version 1.0"">1</a>].
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Acknowledgements</span>
Special thanks are due to the authors of the original MGCP 1.0
specification: Mauricio Arango, Andrew Dugan, Isaac Elliott,
Christian Huitema, and Scott Picket.
<span class="grey">Foster & Andreasen Informational [Page 59]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-60" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
Thanks also to the reviewers of this document, including but not
limited to: Jerry Kamitses, Sonus Networks; Dave Auerbach, Dan Wing,
Cisco Systems; Ed Guy, EMC Software; Martin Wakley, Nortel Networks.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. References</span>
<span class="h3"><a class="selflink" id="section-6.1" href="#section-6.1">6.1</a>. Normative References</span>
[<a id="ref-1">1</a>] Andreasen, F. and B. Foster, "Media Gateway Control Protocol
(MGCP) Version 1.0", <a href="./rfc3435">RFC 3435</a>, January 2003.
[<a id="ref-2">2</a>] Bellcore, "LSSGR: Switching System Generic Requirements for Call
Control Using the Integrated Services Digital Network User Part
(ISDNUP)", GR-317-CORE, Issue 2, December 1997.
[<a id="ref-3">3</a>] ITU-T, "Telephone User Part Signaling Procedures", ITU-T Q.724,
November 1988.
[<a id="ref-4">4</a>] ANSI, "OAM&P - Terminating Test Line Access and Capabilities",
T1.207-2000.
[<a id="ref-5">5</a>] Bellcore, "Notes on the Network", Special Report SR-2275, Issue
3, December 1997.
[<a id="ref-6">6</a>] Bellcore, "Call Processing" GR-505-CORE, Issue 1, December 1997.
[<a id="ref-7">7</a>] Bellcore, "LSSGR: Signaling for Analog Interfaces", GR-506-CORE,
Issue 1, June 1996.
[<a id="ref-8">8</a>] ITU-T, "Technical Characteristics of Tones for the Telephone
Service", ITU-T E.180, March 1998.
[<a id="ref-9">9</a>] ITU-T, "Various Tones Used in National Networks", ITU-T E.180,
Supplement 2, January 1994.
[<a id="ref-10">10</a>] ITU-T, "Applications of Tones and Recorded Announcements in
Telephone Services", ITU-T E.182, March 1998.
[<a id="ref-11">11</a>] Bellcore, "Call Forwarding Sub-Features FSD-01-02-1450, GR-586,
Issue 1, June 2000.
[<a id="ref-12">12</a>] Bellcore, "CPE Compatibility Considerations for the Voiceband
Data Transmission Interface", SR-TSV-002476, December 1992.
[<a id="ref-13">13</a>] Bellcore, "LSSGR: Visual Message Waiting Indicator Generic
Requirements (FSD 01-02-2000)", GR-1401, Issue 01, June 2000.
<span class="grey">Foster & Andreasen Informational [Page 60]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-61" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
[<a id="ref-14">14</a>] Bellcore, "LSSGR Voiceband Data Transmission Interface", <a href="#section-6.6">Section</a>
<a href="#section-6.6">6.6</a>, GR-30-CORE, Issue 02, December 1998.
[<a id="ref-15">15</a>] Handley, M. and V. Jacobson, "SDP: Session Description
Protocol", <a href="./rfc2327">RFC 2327</a>, April 1998.
[<a id="ref-16">16</a>] Bellcore, "LSSGR: Call Waiting, FSD 01-02-1201", GR-571, Issue
01, June 2000.
[<a id="ref-17">17</a>] Bellcore, "LSSGR: Verification Connections FSD 25-05-0903", GR-
531-CORE, Issue 1, June 2000.
[<a id="ref-18">18</a>] Bellcore, " LSSGR: CLASS Feature: Calling Identity Delivery on
Call Waiting, FSD 01-02-1090, GR-575, Issue 01, June 2000.
[<a id="ref-19">19</a>] Postel, J., "Internet Control Message Protocol", STD 5, <a href="./rfc792">RFC 792</a>,
September 1981.
[<a id="ref-20">20</a>] Bellcore, "Class Feature: Screen Editing (FSD 30-28-0000)", GR-
220, Issue 2, April 2002.
[<a id="ref-21">21</a>] ITU-T, "Procedure for document facsimile transmission in the
general switched telephone network", ITU-T T.30, April 1999.
[<a id="ref-22">22</a>] ITU-T, "300 bits per second duplex modem standardized for use in
the general switched telephone network", ITU-T V.21, November
1988.
[<a id="ref-23">23</a>] Telcordia Technologies, "Telcordia Technologies Specification of
Signaling System Number 7", GR-246-CORE, Issue 7, December 2002.
[<a id="ref-24">24</a>] Telcordia Technologies, "LSSGR: CLASS Feature: Calling Name
Delivery Generic Requirements (FSD 01-02-1070)", GR-1188, Issue
02, December 2000.
[<a id="ref-25">25</a>] Telcordia Technologies, "LSSGR: CLASS Feature: Calling Number
Delivery (FSD 01-02-1051)", GR-31, Issue 01, June 2000.
[<a id="ref-26">26</a>] Schulzrinne, H. and S. Casner, "RTP Profile for Audio and Video
Conferences with Minimal Control", <a href="./rfc3551">RFC 3551</a>, July 2003.
[<a id="ref-27">27</a>] Braden, R., Ed., Zhang, L., Berson, S., Herzog, S. and S. Jamin,
"Resource ReSerVation Protocol (RSVP) -- Version 1 Functional
Specification", <a href="./rfc2205">RFC 2205</a>, September 1997.
[<a id="ref-28">28</a>] Berners-Lee, T., Masinter, L. and M. McCahill, Eds., "Uniform
Resource Locators (URL)", <a href="./rfc1738">RFC 1738</a>, December 1994.
<span class="grey">Foster & Andreasen Informational [Page 61]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-62" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
[<a id="ref-29">29</a>] Schulzrinne, H., Rao, A. and R. Lanphier, "Real Time Streaming
Protocol (RTSP)", <a href="./rfc2326">RFC 2326</a>, April 1998.
[<a id="ref-30">30</a>] Berners-Lee, T., Fielding, R. and L. Masinter, "Uniform Resource
Identifiers (URI): Generic Syntax", <a href="./rfc2396">RFC 2396</a>, August 1998.
[<a id="ref-31">31</a>] Bradner, S., "Key words for use in RFCs to Indicate Requirement
Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>, March 1997.
<span class="h3"><a class="selflink" id="section-6.2" href="#section-6.2">6.2</a>. Informative References</span>
[<a id="ref-32">32</a>] Perkins, C., Kouvelas, I., Hodson, O., Hardman, V., Handley, M.,
Bolot, J.C., Vega-Garcia, A. and S. Fosse-Parisis, "RTP Payload
for Redundant Audio Data", <a href="./rfc2198">RFC 2198</a>, September 1997.
[<a id="ref-33">33</a>] Schulzrinne, H. and S. Petrack, "RTP Payload for DTMF Digits,
Telephony Tones and Telephony Signals", <a href="./rfc2833">RFC 2833</a>, May 2000.
[<a id="ref-34">34</a>] Foster, B., "MGCP CAS Packages", <a href="./rfc3064">RFC 3064</a>, February 2001.
[<a id="ref-35">35</a>] PacketCableTM, Dynamic Quality if Service Specification,
<a href="http://www.packetcable.com/downloads/specs/PKT-SP-DQOS-I07-030815.pdf">http://www.packetcable.com/downloads/specs/PKT-SP-DQOS-I07-</a>
<a href="http://www.packetcable.com/downloads/specs/PKT-SP-DQOS-I07-030815.pdf">030815.pdf</a>
[<a id="ref-36">36</a>] PacketCableTM Network-Based Call Signaling Protocol
<a href="http://www.packetcable.com/downloads/specs/PKT-SP-EC-MGCP-I08-030728.pdf">http://www.packetcable.com/downloads/specs/PKT-SP-EC-MGCP-I08-</a>
<a href="http://www.packetcable.com/downloads/specs/PKT-SP-EC-MGCP-I08-030728.pdf">030728.pdf</a>
[<a id="ref-37">37</a>] Groves, C., Pantaleo, M., Anderson, T. and T. Taylor, Eds.,
"Gateway Control Protocol Version 1", <a href="./rfc3525">RFC 3525</a>, June 2003.
[<a id="ref-38">38</a>] Arango, M., Dugan, A., Elliott, I., Huitema, C. and S. Pickett,
"Media Gateway Control Protocol (MGCP) Version 1.0", <a href="./rfc2705">RFC 2705</a>,
October 1999.
<span class="grey">Foster & Andreasen Informational [Page 62]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-63" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Authors' Addresses</span>
Bill Foster
Cisco Systems
Phone: +1 250 758 9418
EMail: bfoster@cisco.com
Flemming Andreasen
Cisco Systems
Edison, NJ 08837
EMail: fandreas@cisco.com
<span class="grey">Foster & Andreasen Informational [Page 63]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-64" ></span>
<span class="grey"><a href="./rfc3660">RFC 3660</a> Basic MGCP Packages December 2003</span>
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. Full Copyright Statement</span>
Copyright (C) The Internet Society (2003). All Rights Reserved.
This document and translations of it may be copied and furnished to
others, and derivative works that comment on or otherwise explain it
or assist in its implementation may be prepared, copied, published
and distributed, in whole or in part, without restriction of any
kind, provided that the above copyright notice and this paragraph are
included on all such copies and derivative works. However, this
document itself may not be modified in any way, such as by removing
the copyright notice or references to the Internet Society or other
Internet organizations, except as needed for the purpose of
developing Internet standards in which case the procedures for
copyrights defined in the Internet Standards process must be
followed, or as required to translate it into languages other than
English.
The limited permissions granted above are perpetual and will not be
revoked by the Internet Society or its successors or assignees.
This document and the information contained herein is provided on an
"AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Acknowledgement
Funding for the RFC Editor function is currently provided by the
Internet Society.
Foster & Andreasen Informational [Page 64]
</pre>
|