80 "ARI AsteriskInfo has undocumented field %s\n",
98 int has_asterisk_id = 0;
100 int has_timestamp = 0;
108 if (!prop_is_valid) {
109 ast_log(
LOG_ERROR,
"ARI AsteriskPing field asterisk_id failed validation\n");
118 if (!prop_is_valid) {
128 if (!prop_is_valid) {
135 "ARI AsteriskPing has undocumented field %s\n",
141 if (!has_asterisk_id) {
142 ast_log(
LOG_ERROR,
"ARI AsteriskPing missing required field asterisk_id\n");
151 if (!has_timestamp) {
181 if (!prop_is_valid) {
191 if (!prop_is_valid) {
201 if (!prop_is_valid) {
211 if (!prop_is_valid) {
221 if (!prop_is_valid) {
231 if (!prop_is_valid) {
238 "ARI BuildInfo has undocumented field %s\n",
286 int has_default_language = 0;
293 has_default_language = 1;
296 if (!prop_is_valid) {
297 ast_log(
LOG_ERROR,
"ARI ConfigInfo field default_language failed validation\n");
305 if (!prop_is_valid) {
306 ast_log(
LOG_ERROR,
"ARI ConfigInfo field max_channels failed validation\n");
314 if (!prop_is_valid) {
323 if (!prop_is_valid) {
324 ast_log(
LOG_ERROR,
"ARI ConfigInfo field max_open_files failed validation\n");
333 if (!prop_is_valid) {
343 if (!prop_is_valid) {
350 "ARI ConfigInfo has undocumented field %s\n",
356 if (!has_default_language) {
357 ast_log(
LOG_ERROR,
"ARI ConfigInfo missing required field default_language\n");
383 int has_attribute = 0;
392 if (!prop_is_valid) {
402 if (!prop_is_valid) {
409 "ARI ConfigTuple has undocumented field %s\n",
415 if (!has_attribute) {
438 int has_configuration = 0;
448 if (!prop_is_valid) {
455 has_configuration = 1;
458 if (!prop_is_valid) {
459 ast_log(
LOG_ERROR,
"ARI LogChannel field configuration failed validation\n");
468 if (!prop_is_valid) {
478 if (!prop_is_valid) {
485 "ARI LogChannel has undocumented field %s\n",
496 if (!has_configuration) {
497 ast_log(
LOG_ERROR,
"ARI LogChannel missing required field configuration\n");
523 int has_description = 0;
526 int has_support_level = 0;
527 int has_use_count = 0;
535 if (!prop_is_valid) {
545 if (!prop_is_valid) {
555 if (!prop_is_valid) {
562 has_support_level = 1;
565 if (!prop_is_valid) {
575 if (!prop_is_valid) {
582 "ARI Module has undocumented field %s\n",
588 if (!has_description) {
603 if (!has_support_level) {
608 if (!has_use_count) {
634 if (!prop_is_valid) {
644 if (!prop_is_valid) {
651 "ARI SetId has undocumented field %s\n",
679 int has_last_reload_time = 0;
680 int has_startup_time = 0;
685 has_last_reload_time = 1;
688 if (!prop_is_valid) {
689 ast_log(
LOG_ERROR,
"ARI StatusInfo field last_reload_time failed validation\n");
695 has_startup_time = 1;
698 if (!prop_is_valid) {
699 ast_log(
LOG_ERROR,
"ARI StatusInfo field startup_time failed validation\n");
705 "ARI StatusInfo has undocumented field %s\n",
711 if (!has_last_reload_time) {
712 ast_log(
LOG_ERROR,
"ARI StatusInfo missing required field last_reload_time\n");
716 if (!has_startup_time) {
733 int has_entity_id = 0;
742 if (!prop_is_valid) {
752 if (!prop_is_valid) {
759 "ARI SystemInfo has undocumented field %s\n",
765 if (!has_entity_id) {
795 if (!prop_is_valid) {
802 "ARI Variable has undocumented field %s\n",
825 int has_channel_ids = 0;
826 int has_resource = 0;
827 int has_technology = 0;
836 if (!prop_is_valid) {
846 if (!prop_is_valid) {
855 if (!prop_is_valid) {
865 if (!prop_is_valid) {
872 "ARI Endpoint has undocumented field %s\n",
878 if (!has_channel_ids) {
888 if (!has_technology) {
915 if (!prop_is_valid) {
925 if (!prop_is_valid) {
935 if (!prop_is_valid) {
944 if (!prop_is_valid) {
951 "ARI TextMessage has undocumented field %s\n",
993 if (!prop_is_valid) {
1003 if (!prop_is_valid) {
1010 "ARI CallerID has undocumented field %s\n",
1038 int has_accountcode = 0;
1040 int has_connected = 0;
1041 int has_creationtime = 0;
1042 int has_dialplan = 0;
1044 int has_language = 0;
1046 int has_protocol_id = 0;
1052 has_accountcode = 1;
1055 if (!prop_is_valid) {
1065 if (!prop_is_valid) {
1074 if (!prop_is_valid) {
1083 if (!prop_is_valid) {
1093 if (!prop_is_valid) {
1100 has_creationtime = 1;
1103 if (!prop_is_valid) {
1113 if (!prop_is_valid) {
1123 if (!prop_is_valid) {
1133 if (!prop_is_valid) {
1143 if (!prop_is_valid) {
1150 has_protocol_id = 1;
1153 if (!prop_is_valid) {
1163 if (!prop_is_valid) {
1172 if (!prop_is_valid) {
1179 "ARI Channel has undocumented field %s\n",
1185 if (!has_accountcode) {
1195 if (!has_connected) {
1200 if (!has_creationtime) {
1205 if (!has_dialplan) {
1215 if (!has_language) {
1225 if (!has_protocol_id) {
1251 "ARI Dialed has undocumented field %s\n",
1269 int has_app_data = 0;
1270 int has_app_name = 0;
1271 int has_context = 0;
1281 if (!prop_is_valid) {
1291 if (!prop_is_valid) {
1301 if (!prop_is_valid) {
1311 if (!prop_is_valid) {
1321 if (!prop_is_valid) {
1328 "ARI DialplanCEP has undocumented field %s\n",
1334 if (!has_app_data) {
1339 if (!has_app_name) {
1371 int has_channel_uniqueid = 0;
1372 int has_local_ssrc = 0;
1373 int has_remote_ssrc = 0;
1374 int has_rxcount = 0;
1375 int has_rxoctetcount = 0;
1376 int has_rxploss = 0;
1377 int has_txcount = 0;
1378 int has_txoctetcount = 0;
1379 int has_txploss = 0;
1384 has_channel_uniqueid = 1;
1387 if (!prop_is_valid) {
1388 ast_log(
LOG_ERROR,
"ARI RTPstat field channel_uniqueid failed validation\n");
1396 if (!prop_is_valid) {
1397 ast_log(
LOG_ERROR,
"ARI RTPstat field local_maxjitter failed validation\n");
1405 if (!prop_is_valid) {
1406 ast_log(
LOG_ERROR,
"ARI RTPstat field local_maxrxploss failed validation\n");
1414 if (!prop_is_valid) {
1415 ast_log(
LOG_ERROR,
"ARI RTPstat field local_minjitter failed validation\n");
1423 if (!prop_is_valid) {
1424 ast_log(
LOG_ERROR,
"ARI RTPstat field local_minrxploss failed validation\n");
1432 if (!prop_is_valid) {
1433 ast_log(
LOG_ERROR,
"ARI RTPstat field local_normdevjitter failed validation\n");
1441 if (!prop_is_valid) {
1442 ast_log(
LOG_ERROR,
"ARI RTPstat field local_normdevrxploss failed validation\n");
1451 if (!prop_is_valid) {
1460 if (!prop_is_valid) {
1461 ast_log(
LOG_ERROR,
"ARI RTPstat field local_stdevjitter failed validation\n");
1469 if (!prop_is_valid) {
1470 ast_log(
LOG_ERROR,
"ARI RTPstat field local_stdevrxploss failed validation\n");
1478 if (!prop_is_valid) {
1487 if (!prop_is_valid) {
1496 if (!prop_is_valid) {
1505 if (!prop_is_valid) {
1506 ast_log(
LOG_ERROR,
"ARI RTPstat field remote_maxjitter failed validation\n");
1514 if (!prop_is_valid) {
1515 ast_log(
LOG_ERROR,
"ARI RTPstat field remote_maxrxploss failed validation\n");
1523 if (!prop_is_valid) {
1524 ast_log(
LOG_ERROR,
"ARI RTPstat field remote_minjitter failed validation\n");
1532 if (!prop_is_valid) {
1533 ast_log(
LOG_ERROR,
"ARI RTPstat field remote_minrxploss failed validation\n");
1541 if (!prop_is_valid) {
1542 ast_log(
LOG_ERROR,
"ARI RTPstat field remote_normdevjitter failed validation\n");
1550 if (!prop_is_valid) {
1551 ast_log(
LOG_ERROR,
"ARI RTPstat field remote_normdevrxploss failed validation\n");
1557 has_remote_ssrc = 1;
1560 if (!prop_is_valid) {
1569 if (!prop_is_valid) {
1570 ast_log(
LOG_ERROR,
"ARI RTPstat field remote_stdevjitter failed validation\n");
1578 if (!prop_is_valid) {
1579 ast_log(
LOG_ERROR,
"ARI RTPstat field remote_stdevrxploss failed validation\n");
1587 if (!prop_is_valid) {
1597 if (!prop_is_valid) {
1606 if (!prop_is_valid) {
1613 has_rxoctetcount = 1;
1616 if (!prop_is_valid) {
1626 if (!prop_is_valid) {
1635 if (!prop_is_valid) {
1645 if (!prop_is_valid) {
1654 if (!prop_is_valid) {
1661 has_txoctetcount = 1;
1664 if (!prop_is_valid) {
1674 if (!prop_is_valid) {
1681 "ARI RTPstat has undocumented field %s\n",
1687 if (!has_channel_uniqueid) {
1688 ast_log(
LOG_ERROR,
"ARI RTPstat missing required field channel_uniqueid\n");
1692 if (!has_local_ssrc) {
1697 if (!has_remote_ssrc) {
1707 if (!has_rxoctetcount) {
1722 if (!has_txoctetcount) {
1744 int has_bridge_class = 0;
1745 int has_bridge_type = 0;
1746 int has_channels = 0;
1747 int has_creationtime = 0;
1748 int has_creator = 0;
1751 int has_technology = 0;
1756 has_bridge_class = 1;
1759 if (!prop_is_valid) {
1766 has_bridge_type = 1;
1769 if (!prop_is_valid) {
1780 if (!prop_is_valid) {
1787 has_creationtime = 1;
1790 if (!prop_is_valid) {
1800 if (!prop_is_valid) {
1810 if (!prop_is_valid) {
1820 if (!prop_is_valid) {
1830 if (!prop_is_valid) {
1839 if (!prop_is_valid) {
1848 if (!prop_is_valid) {
1849 ast_log(
LOG_ERROR,
"ARI Bridge field video_source_id failed validation\n");
1855 "ARI Bridge has undocumented field %s\n",
1861 if (!has_bridge_class) {
1866 if (!has_bridge_type) {
1871 if (!has_channels) {
1876 if (!has_creationtime) {
1896 if (!has_technology) {
1916 int has_target_uri = 0;
1923 if (!prop_is_valid) {
1932 if (!prop_is_valid) {
1933 ast_log(
LOG_ERROR,
"ARI LiveRecording field duration failed validation\n");
1942 if (!prop_is_valid) {
1952 if (!prop_is_valid) {
1961 if (!prop_is_valid) {
1962 ast_log(
LOG_ERROR,
"ARI LiveRecording field silence_duration failed validation\n");
1971 if (!prop_is_valid) {
1980 if (!prop_is_valid) {
1981 ast_log(
LOG_ERROR,
"ARI LiveRecording field talking_duration failed validation\n");
1990 if (!prop_is_valid) {
1991 ast_log(
LOG_ERROR,
"ARI LiveRecording field target_uri failed validation\n");
1997 "ARI LiveRecording has undocumented field %s\n",
2018 if (!has_target_uri) {
2019 ast_log(
LOG_ERROR,
"ARI LiveRecording missing required field target_uri\n");
2044 if (!prop_is_valid) {
2045 ast_log(
LOG_ERROR,
"ARI StoredRecording field format failed validation\n");
2054 if (!prop_is_valid) {
2061 "ARI StoredRecording has undocumented field %s\n",
2090 int has_language = 0;
2098 if (!prop_is_valid) {
2108 if (!prop_is_valid) {
2109 ast_log(
LOG_ERROR,
"ARI FormatLangPair field language failed validation\n");
2115 "ARI FormatLangPair has undocumented field %s\n",
2126 if (!has_language) {
2127 ast_log(
LOG_ERROR,
"ARI FormatLangPair missing required field language\n");
2143 int has_formats = 0;
2153 if (!prop_is_valid) {
2163 if (!prop_is_valid) {
2172 if (!prop_is_valid) {
2179 "ARI Sound has undocumented field %s\n",
2208 int has_media_uri = 0;
2210 int has_target_uri = 0;
2218 if (!prop_is_valid) {
2227 if (!prop_is_valid) {
2237 if (!prop_is_valid) {
2246 if (!prop_is_valid) {
2247 ast_log(
LOG_ERROR,
"ARI Playback field next_media_uri failed validation\n");
2256 if (!prop_is_valid) {
2266 if (!prop_is_valid) {
2273 "ARI Playback has undocumented field %s\n",
2284 if (!has_media_uri) {
2294 if (!has_target_uri) {
2320 if (!prop_is_valid) {
2330 if (!prop_is_valid) {
2337 "ARI DeviceState has undocumented field %s\n",
2366 int has_new_messages = 0;
2367 int has_old_messages = 0;
2375 if (!prop_is_valid) {
2382 has_new_messages = 1;
2385 if (!prop_is_valid) {
2392 has_old_messages = 1;
2395 if (!prop_is_valid) {
2402 "ARI Mailbox has undocumented field %s\n",
2413 if (!has_new_messages) {
2418 if (!has_old_messages) {
2436 int has_application = 0;
2437 int has_timestamp = 0;
2439 int has_channel = 0;
2440 int has_destination = 0;
2447 if (!prop_is_valid) {
2448 ast_log(
LOG_ERROR,
"ARI ApplicationMoveFailed field asterisk_id failed validation\n");
2457 if (!prop_is_valid) {
2458 ast_log(
LOG_ERROR,
"ARI ApplicationMoveFailed field type failed validation\n");
2464 has_application = 1;
2467 if (!prop_is_valid) {
2468 ast_log(
LOG_ERROR,
"ARI ApplicationMoveFailed field application failed validation\n");
2477 if (!prop_is_valid) {
2478 ast_log(
LOG_ERROR,
"ARI ApplicationMoveFailed field timestamp failed validation\n");
2488 if (!prop_is_valid) {
2489 ast_log(
LOG_ERROR,
"ARI ApplicationMoveFailed field args failed validation\n");
2498 if (!prop_is_valid) {
2499 ast_log(
LOG_ERROR,
"ARI ApplicationMoveFailed field channel failed validation\n");
2505 has_destination = 1;
2508 if (!prop_is_valid) {
2509 ast_log(
LOG_ERROR,
"ARI ApplicationMoveFailed field destination failed validation\n");
2515 "ARI ApplicationMoveFailed has undocumented field %s\n",
2522 ast_log(
LOG_ERROR,
"ARI ApplicationMoveFailed missing required field type\n");
2526 if (!has_application) {
2527 ast_log(
LOG_ERROR,
"ARI ApplicationMoveFailed missing required field application\n");
2531 if (!has_timestamp) {
2532 ast_log(
LOG_ERROR,
"ARI ApplicationMoveFailed missing required field timestamp\n");
2537 ast_log(
LOG_ERROR,
"ARI ApplicationMoveFailed missing required field args\n");
2542 ast_log(
LOG_ERROR,
"ARI ApplicationMoveFailed missing required field channel\n");
2546 if (!has_destination) {
2547 ast_log(
LOG_ERROR,
"ARI ApplicationMoveFailed missing required field destination\n");
2564 int has_application = 0;
2565 int has_timestamp = 0;
2572 if (!prop_is_valid) {
2573 ast_log(
LOG_ERROR,
"ARI ApplicationReplaced field asterisk_id failed validation\n");
2582 if (!prop_is_valid) {
2583 ast_log(
LOG_ERROR,
"ARI ApplicationReplaced field type failed validation\n");
2589 has_application = 1;
2592 if (!prop_is_valid) {
2593 ast_log(
LOG_ERROR,
"ARI ApplicationReplaced field application failed validation\n");
2602 if (!prop_is_valid) {
2603 ast_log(
LOG_ERROR,
"ARI ApplicationReplaced field timestamp failed validation\n");
2609 "ARI ApplicationReplaced has undocumented field %s\n",
2616 ast_log(
LOG_ERROR,
"ARI ApplicationReplaced missing required field type\n");
2620 if (!has_application) {
2621 ast_log(
LOG_ERROR,
"ARI ApplicationReplaced missing required field application\n");
2625 if (!has_timestamp) {
2626 ast_log(
LOG_ERROR,
"ARI ApplicationReplaced missing required field timestamp\n");
2643 int has_application = 0;
2644 int has_timestamp = 0;
2645 int has_destination_type = 0;
2646 int has_is_external = 0;
2648 int has_transferer_first_leg = 0;
2649 int has_transferer_second_leg = 0;
2656 if (!prop_is_valid) {
2657 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field asterisk_id failed validation\n");
2666 if (!prop_is_valid) {
2667 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field type failed validation\n");
2673 has_application = 1;
2676 if (!prop_is_valid) {
2677 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field application failed validation\n");
2686 if (!prop_is_valid) {
2687 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field timestamp failed validation\n");
2695 if (!prop_is_valid) {
2696 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field destination_application failed validation\n");
2704 if (!prop_is_valid) {
2705 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field destination_bridge failed validation\n");
2713 if (!prop_is_valid) {
2714 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field destination_link_first_leg failed validation\n");
2722 if (!prop_is_valid) {
2723 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field destination_link_second_leg failed validation\n");
2731 if (!prop_is_valid) {
2732 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field destination_threeway_bridge failed validation\n");
2740 if (!prop_is_valid) {
2741 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field destination_threeway_channel failed validation\n");
2747 has_destination_type = 1;
2750 if (!prop_is_valid) {
2751 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field destination_type failed validation\n");
2757 has_is_external = 1;
2760 if (!prop_is_valid) {
2761 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field is_external failed validation\n");
2769 if (!prop_is_valid) {
2770 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field replace_channel failed validation\n");
2779 if (!prop_is_valid) {
2780 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field result failed validation\n");
2788 if (!prop_is_valid) {
2789 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field transfer_target failed validation\n");
2797 if (!prop_is_valid) {
2798 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field transferee failed validation\n");
2804 has_transferer_first_leg = 1;
2807 if (!prop_is_valid) {
2808 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field transferer_first_leg failed validation\n");
2816 if (!prop_is_valid) {
2817 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field transferer_first_leg_bridge failed validation\n");
2823 has_transferer_second_leg = 1;
2826 if (!prop_is_valid) {
2827 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field transferer_second_leg failed validation\n");
2835 if (!prop_is_valid) {
2836 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field transferer_second_leg_bridge failed validation\n");
2842 "ARI BridgeAttendedTransfer has undocumented field %s\n",
2849 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer missing required field type\n");
2853 if (!has_application) {
2854 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer missing required field application\n");
2858 if (!has_timestamp) {
2859 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer missing required field timestamp\n");
2863 if (!has_destination_type) {
2864 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer missing required field destination_type\n");
2868 if (!has_is_external) {
2869 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer missing required field is_external\n");
2874 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer missing required field result\n");
2878 if (!has_transferer_first_leg) {
2879 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer missing required field transferer_first_leg\n");
2883 if (!has_transferer_second_leg) {
2884 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer missing required field transferer_second_leg\n");
2901 int has_application = 0;
2902 int has_timestamp = 0;
2903 int has_channel = 0;
2904 int has_context = 0;
2906 int has_is_external = 0;
2914 if (!prop_is_valid) {
2915 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer field asterisk_id failed validation\n");
2924 if (!prop_is_valid) {
2925 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer field type failed validation\n");
2931 has_application = 1;
2934 if (!prop_is_valid) {
2935 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer field application failed validation\n");
2944 if (!prop_is_valid) {
2945 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer field timestamp failed validation\n");
2953 if (!prop_is_valid) {
2954 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer field bridge failed validation\n");
2963 if (!prop_is_valid) {
2964 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer field channel failed validation\n");
2973 if (!prop_is_valid) {
2974 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer field context failed validation\n");
2983 if (!prop_is_valid) {
2984 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer field exten failed validation\n");
2990 has_is_external = 1;
2993 if (!prop_is_valid) {
2994 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer field is_external failed validation\n");
3002 if (!prop_is_valid) {
3003 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer field replace_channel failed validation\n");
3012 if (!prop_is_valid) {
3013 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer field result failed validation\n");
3021 if (!prop_is_valid) {
3022 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer field transferee failed validation\n");
3028 "ARI BridgeBlindTransfer has undocumented field %s\n",
3035 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer missing required field type\n");
3039 if (!has_application) {
3040 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer missing required field application\n");
3044 if (!has_timestamp) {
3045 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer missing required field timestamp\n");
3050 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer missing required field channel\n");
3055 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer missing required field context\n");
3060 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer missing required field exten\n");
3064 if (!has_is_external) {
3065 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer missing required field is_external\n");
3070 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer missing required field result\n");
3087 int has_application = 0;
3088 int has_timestamp = 0;
3096 if (!prop_is_valid) {
3097 ast_log(
LOG_ERROR,
"ARI BridgeCreated field asterisk_id failed validation\n");
3106 if (!prop_is_valid) {
3113 has_application = 1;
3116 if (!prop_is_valid) {
3117 ast_log(
LOG_ERROR,
"ARI BridgeCreated field application failed validation\n");
3126 if (!prop_is_valid) {
3127 ast_log(
LOG_ERROR,
"ARI BridgeCreated field timestamp failed validation\n");
3136 if (!prop_is_valid) {
3143 "ARI BridgeCreated has undocumented field %s\n",
3154 if (!has_application) {
3155 ast_log(
LOG_ERROR,
"ARI BridgeCreated missing required field application\n");
3159 if (!has_timestamp) {
3160 ast_log(
LOG_ERROR,
"ARI BridgeCreated missing required field timestamp\n");
3182 int has_application = 0;
3183 int has_timestamp = 0;
3191 if (!prop_is_valid) {
3192 ast_log(
LOG_ERROR,
"ARI BridgeDestroyed field asterisk_id failed validation\n");
3201 if (!prop_is_valid) {
3208 has_application = 1;
3211 if (!prop_is_valid) {
3212 ast_log(
LOG_ERROR,
"ARI BridgeDestroyed field application failed validation\n");
3221 if (!prop_is_valid) {
3222 ast_log(
LOG_ERROR,
"ARI BridgeDestroyed field timestamp failed validation\n");
3231 if (!prop_is_valid) {
3232 ast_log(
LOG_ERROR,
"ARI BridgeDestroyed field bridge failed validation\n");
3238 "ARI BridgeDestroyed has undocumented field %s\n",
3249 if (!has_application) {
3250 ast_log(
LOG_ERROR,
"ARI BridgeDestroyed missing required field application\n");
3254 if (!has_timestamp) {
3255 ast_log(
LOG_ERROR,
"ARI BridgeDestroyed missing required field timestamp\n");
3277 int has_application = 0;
3278 int has_timestamp = 0;
3280 int has_bridge_from = 0;
3287 if (!prop_is_valid) {
3288 ast_log(
LOG_ERROR,
"ARI BridgeMerged field asterisk_id failed validation\n");
3297 if (!prop_is_valid) {
3304 has_application = 1;
3307 if (!prop_is_valid) {
3308 ast_log(
LOG_ERROR,
"ARI BridgeMerged field application failed validation\n");
3317 if (!prop_is_valid) {
3318 ast_log(
LOG_ERROR,
"ARI BridgeMerged field timestamp failed validation\n");
3327 if (!prop_is_valid) {
3334 has_bridge_from = 1;
3337 if (!prop_is_valid) {
3338 ast_log(
LOG_ERROR,
"ARI BridgeMerged field bridge_from failed validation\n");
3344 "ARI BridgeMerged has undocumented field %s\n",
3355 if (!has_application) {
3356 ast_log(
LOG_ERROR,
"ARI BridgeMerged missing required field application\n");
3360 if (!has_timestamp) {
3370 if (!has_bridge_from) {
3371 ast_log(
LOG_ERROR,
"ARI BridgeMerged missing required field bridge_from\n");
3388 int has_application = 0;
3389 int has_timestamp = 0;
3397 if (!prop_is_valid) {
3398 ast_log(
LOG_ERROR,
"ARI BridgeVideoSourceChanged field asterisk_id failed validation\n");
3407 if (!prop_is_valid) {
3408 ast_log(
LOG_ERROR,
"ARI BridgeVideoSourceChanged field type failed validation\n");
3414 has_application = 1;
3417 if (!prop_is_valid) {
3418 ast_log(
LOG_ERROR,
"ARI BridgeVideoSourceChanged field application failed validation\n");
3427 if (!prop_is_valid) {
3428 ast_log(
LOG_ERROR,
"ARI BridgeVideoSourceChanged field timestamp failed validation\n");
3437 if (!prop_is_valid) {
3438 ast_log(
LOG_ERROR,
"ARI BridgeVideoSourceChanged field bridge failed validation\n");
3446 if (!prop_is_valid) {
3447 ast_log(
LOG_ERROR,
"ARI BridgeVideoSourceChanged field old_video_source_id failed validation\n");
3453 "ARI BridgeVideoSourceChanged has undocumented field %s\n",
3460 ast_log(
LOG_ERROR,
"ARI BridgeVideoSourceChanged missing required field type\n");
3464 if (!has_application) {
3465 ast_log(
LOG_ERROR,
"ARI BridgeVideoSourceChanged missing required field application\n");
3469 if (!has_timestamp) {
3470 ast_log(
LOG_ERROR,
"ARI BridgeVideoSourceChanged missing required field timestamp\n");
3475 ast_log(
LOG_ERROR,
"ARI BridgeVideoSourceChanged missing required field bridge\n");
3492 int has_application = 0;
3493 int has_timestamp = 0;
3494 int has_caller_presentation = 0;
3495 int has_caller_presentation_txt = 0;
3496 int has_channel = 0;
3503 if (!prop_is_valid) {
3504 ast_log(
LOG_ERROR,
"ARI ChannelCallerId field asterisk_id failed validation\n");
3513 if (!prop_is_valid) {
3520 has_application = 1;
3523 if (!prop_is_valid) {
3524 ast_log(
LOG_ERROR,
"ARI ChannelCallerId field application failed validation\n");
3533 if (!prop_is_valid) {
3534 ast_log(
LOG_ERROR,
"ARI ChannelCallerId field timestamp failed validation\n");
3540 has_caller_presentation = 1;
3543 if (!prop_is_valid) {
3544 ast_log(
LOG_ERROR,
"ARI ChannelCallerId field caller_presentation failed validation\n");
3550 has_caller_presentation_txt = 1;
3553 if (!prop_is_valid) {
3554 ast_log(
LOG_ERROR,
"ARI ChannelCallerId field caller_presentation_txt failed validation\n");
3563 if (!prop_is_valid) {
3564 ast_log(
LOG_ERROR,
"ARI ChannelCallerId field channel failed validation\n");
3570 "ARI ChannelCallerId has undocumented field %s\n",
3581 if (!has_application) {
3582 ast_log(
LOG_ERROR,
"ARI ChannelCallerId missing required field application\n");
3586 if (!has_timestamp) {
3587 ast_log(
LOG_ERROR,
"ARI ChannelCallerId missing required field timestamp\n");
3591 if (!has_caller_presentation) {
3592 ast_log(
LOG_ERROR,
"ARI ChannelCallerId missing required field caller_presentation\n");
3596 if (!has_caller_presentation_txt) {
3597 ast_log(
LOG_ERROR,
"ARI ChannelCallerId missing required field caller_presentation_txt\n");
3602 ast_log(
LOG_ERROR,
"ARI ChannelCallerId missing required field channel\n");
3619 int has_application = 0;
3620 int has_timestamp = 0;
3621 int has_channel = 0;
3628 if (!prop_is_valid) {
3629 ast_log(
LOG_ERROR,
"ARI ChannelConnectedLine field asterisk_id failed validation\n");
3638 if (!prop_is_valid) {
3639 ast_log(
LOG_ERROR,
"ARI ChannelConnectedLine field type failed validation\n");
3645 has_application = 1;
3648 if (!prop_is_valid) {
3649 ast_log(
LOG_ERROR,
"ARI ChannelConnectedLine field application failed validation\n");
3658 if (!prop_is_valid) {
3659 ast_log(
LOG_ERROR,
"ARI ChannelConnectedLine field timestamp failed validation\n");
3668 if (!prop_is_valid) {
3669 ast_log(
LOG_ERROR,
"ARI ChannelConnectedLine field channel failed validation\n");
3675 "ARI ChannelConnectedLine has undocumented field %s\n",
3682 ast_log(
LOG_ERROR,
"ARI ChannelConnectedLine missing required field type\n");
3686 if (!has_application) {
3687 ast_log(
LOG_ERROR,
"ARI ChannelConnectedLine missing required field application\n");
3691 if (!has_timestamp) {
3692 ast_log(
LOG_ERROR,
"ARI ChannelConnectedLine missing required field timestamp\n");
3697 ast_log(
LOG_ERROR,
"ARI ChannelConnectedLine missing required field channel\n");
3714 int has_application = 0;
3715 int has_timestamp = 0;
3716 int has_channel = 0;
3723 if (!prop_is_valid) {
3724 ast_log(
LOG_ERROR,
"ARI ChannelCreated field asterisk_id failed validation\n");
3733 if (!prop_is_valid) {
3740 has_application = 1;
3743 if (!prop_is_valid) {
3744 ast_log(
LOG_ERROR,
"ARI ChannelCreated field application failed validation\n");
3753 if (!prop_is_valid) {
3754 ast_log(
LOG_ERROR,
"ARI ChannelCreated field timestamp failed validation\n");
3763 if (!prop_is_valid) {
3764 ast_log(
LOG_ERROR,
"ARI ChannelCreated field channel failed validation\n");
3770 "ARI ChannelCreated has undocumented field %s\n",
3781 if (!has_application) {
3782 ast_log(
LOG_ERROR,
"ARI ChannelCreated missing required field application\n");
3786 if (!has_timestamp) {
3787 ast_log(
LOG_ERROR,
"ARI ChannelCreated missing required field timestamp\n");
3809 int has_application = 0;
3810 int has_timestamp = 0;
3812 int has_cause_txt = 0;
3813 int has_channel = 0;
3820 if (!prop_is_valid) {
3821 ast_log(
LOG_ERROR,
"ARI ChannelDestroyed field asterisk_id failed validation\n");
3830 if (!prop_is_valid) {
3837 has_application = 1;
3840 if (!prop_is_valid) {
3841 ast_log(
LOG_ERROR,
"ARI ChannelDestroyed field application failed validation\n");
3850 if (!prop_is_valid) {
3851 ast_log(
LOG_ERROR,
"ARI ChannelDestroyed field timestamp failed validation\n");
3860 if (!prop_is_valid) {
3861 ast_log(
LOG_ERROR,
"ARI ChannelDestroyed field cause failed validation\n");
3870 if (!prop_is_valid) {
3871 ast_log(
LOG_ERROR,
"ARI ChannelDestroyed field cause_txt failed validation\n");
3880 if (!prop_is_valid) {
3881 ast_log(
LOG_ERROR,
"ARI ChannelDestroyed field channel failed validation\n");
3887 "ARI ChannelDestroyed has undocumented field %s\n",
3898 if (!has_application) {
3899 ast_log(
LOG_ERROR,
"ARI ChannelDestroyed missing required field application\n");
3903 if (!has_timestamp) {
3904 ast_log(
LOG_ERROR,
"ARI ChannelDestroyed missing required field timestamp\n");
3913 if (!has_cause_txt) {
3914 ast_log(
LOG_ERROR,
"ARI ChannelDestroyed missing required field cause_txt\n");
3919 ast_log(
LOG_ERROR,
"ARI ChannelDestroyed missing required field channel\n");
3936 int has_application = 0;
3937 int has_timestamp = 0;
3938 int has_channel = 0;
3939 int has_dialplan_app = 0;
3940 int has_dialplan_app_data = 0;
3947 if (!prop_is_valid) {
3948 ast_log(
LOG_ERROR,
"ARI ChannelDialplan field asterisk_id failed validation\n");
3957 if (!prop_is_valid) {
3964 has_application = 1;
3967 if (!prop_is_valid) {
3968 ast_log(
LOG_ERROR,
"ARI ChannelDialplan field application failed validation\n");
3977 if (!prop_is_valid) {
3978 ast_log(
LOG_ERROR,
"ARI ChannelDialplan field timestamp failed validation\n");
3987 if (!prop_is_valid) {
3988 ast_log(
LOG_ERROR,
"ARI ChannelDialplan field channel failed validation\n");
3994 has_dialplan_app = 1;
3997 if (!prop_is_valid) {
3998 ast_log(
LOG_ERROR,
"ARI ChannelDialplan field dialplan_app failed validation\n");
4004 has_dialplan_app_data = 1;
4007 if (!prop_is_valid) {
4008 ast_log(
LOG_ERROR,
"ARI ChannelDialplan field dialplan_app_data failed validation\n");
4014 "ARI ChannelDialplan has undocumented field %s\n",
4025 if (!has_application) {
4026 ast_log(
LOG_ERROR,
"ARI ChannelDialplan missing required field application\n");
4030 if (!has_timestamp) {
4031 ast_log(
LOG_ERROR,
"ARI ChannelDialplan missing required field timestamp\n");
4036 ast_log(
LOG_ERROR,
"ARI ChannelDialplan missing required field channel\n");
4040 if (!has_dialplan_app) {
4041 ast_log(
LOG_ERROR,
"ARI ChannelDialplan missing required field dialplan_app\n");
4045 if (!has_dialplan_app_data) {
4046 ast_log(
LOG_ERROR,
"ARI ChannelDialplan missing required field dialplan_app_data\n");
4063 int has_application = 0;
4064 int has_timestamp = 0;
4065 int has_channel = 0;
4067 int has_duration_ms = 0;
4074 if (!prop_is_valid) {
4075 ast_log(
LOG_ERROR,
"ARI ChannelDtmfReceived field asterisk_id failed validation\n");
4084 if (!prop_is_valid) {
4085 ast_log(
LOG_ERROR,
"ARI ChannelDtmfReceived field type failed validation\n");
4091 has_application = 1;
4094 if (!prop_is_valid) {
4095 ast_log(
LOG_ERROR,
"ARI ChannelDtmfReceived field application failed validation\n");
4104 if (!prop_is_valid) {
4105 ast_log(
LOG_ERROR,
"ARI ChannelDtmfReceived field timestamp failed validation\n");
4114 if (!prop_is_valid) {
4115 ast_log(
LOG_ERROR,
"ARI ChannelDtmfReceived field channel failed validation\n");
4124 if (!prop_is_valid) {
4125 ast_log(
LOG_ERROR,
"ARI ChannelDtmfReceived field digit failed validation\n");
4131 has_duration_ms = 1;
4134 if (!prop_is_valid) {
4135 ast_log(
LOG_ERROR,
"ARI ChannelDtmfReceived field duration_ms failed validation\n");
4141 "ARI ChannelDtmfReceived has undocumented field %s\n",
4148 ast_log(
LOG_ERROR,
"ARI ChannelDtmfReceived missing required field type\n");
4152 if (!has_application) {
4153 ast_log(
LOG_ERROR,
"ARI ChannelDtmfReceived missing required field application\n");
4157 if (!has_timestamp) {
4158 ast_log(
LOG_ERROR,
"ARI ChannelDtmfReceived missing required field timestamp\n");
4163 ast_log(
LOG_ERROR,
"ARI ChannelDtmfReceived missing required field channel\n");
4168 ast_log(
LOG_ERROR,
"ARI ChannelDtmfReceived missing required field digit\n");
4172 if (!has_duration_ms) {
4173 ast_log(
LOG_ERROR,
"ARI ChannelDtmfReceived missing required field duration_ms\n");
4190 int has_application = 0;
4191 int has_timestamp = 0;
4199 if (!prop_is_valid) {
4200 ast_log(
LOG_ERROR,
"ARI ChannelEnteredBridge field asterisk_id failed validation\n");
4209 if (!prop_is_valid) {
4210 ast_log(
LOG_ERROR,
"ARI ChannelEnteredBridge field type failed validation\n");
4216 has_application = 1;
4219 if (!prop_is_valid) {
4220 ast_log(
LOG_ERROR,
"ARI ChannelEnteredBridge field application failed validation\n");
4229 if (!prop_is_valid) {
4230 ast_log(
LOG_ERROR,
"ARI ChannelEnteredBridge field timestamp failed validation\n");
4239 if (!prop_is_valid) {
4240 ast_log(
LOG_ERROR,
"ARI ChannelEnteredBridge field bridge failed validation\n");
4248 if (!prop_is_valid) {
4249 ast_log(
LOG_ERROR,
"ARI ChannelEnteredBridge field channel failed validation\n");
4255 "ARI ChannelEnteredBridge has undocumented field %s\n",
4262 ast_log(
LOG_ERROR,
"ARI ChannelEnteredBridge missing required field type\n");
4266 if (!has_application) {
4267 ast_log(
LOG_ERROR,
"ARI ChannelEnteredBridge missing required field application\n");
4271 if (!has_timestamp) {
4272 ast_log(
LOG_ERROR,
"ARI ChannelEnteredBridge missing required field timestamp\n");
4277 ast_log(
LOG_ERROR,
"ARI ChannelEnteredBridge missing required field bridge\n");
4294 int has_application = 0;
4295 int has_timestamp = 0;
4296 int has_channel = 0;
4303 if (!prop_is_valid) {
4304 ast_log(
LOG_ERROR,
"ARI ChannelHangupRequest field asterisk_id failed validation\n");
4313 if (!prop_is_valid) {
4314 ast_log(
LOG_ERROR,
"ARI ChannelHangupRequest field type failed validation\n");
4320 has_application = 1;
4323 if (!prop_is_valid) {
4324 ast_log(
LOG_ERROR,
"ARI ChannelHangupRequest field application failed validation\n");
4333 if (!prop_is_valid) {
4334 ast_log(
LOG_ERROR,
"ARI ChannelHangupRequest field timestamp failed validation\n");
4342 if (!prop_is_valid) {
4343 ast_log(
LOG_ERROR,
"ARI ChannelHangupRequest field cause failed validation\n");
4352 if (!prop_is_valid) {
4353 ast_log(
LOG_ERROR,
"ARI ChannelHangupRequest field channel failed validation\n");
4361 if (!prop_is_valid) {
4362 ast_log(
LOG_ERROR,
"ARI ChannelHangupRequest field soft failed validation\n");
4368 "ARI ChannelHangupRequest has undocumented field %s\n",
4375 ast_log(
LOG_ERROR,
"ARI ChannelHangupRequest missing required field type\n");
4379 if (!has_application) {
4380 ast_log(
LOG_ERROR,
"ARI ChannelHangupRequest missing required field application\n");
4384 if (!has_timestamp) {
4385 ast_log(
LOG_ERROR,
"ARI ChannelHangupRequest missing required field timestamp\n");
4390 ast_log(
LOG_ERROR,
"ARI ChannelHangupRequest missing required field channel\n");
4407 int has_application = 0;
4408 int has_timestamp = 0;
4409 int has_channel = 0;
4416 if (!prop_is_valid) {
4417 ast_log(
LOG_ERROR,
"ARI ChannelHold field asterisk_id failed validation\n");
4426 if (!prop_is_valid) {
4433 has_application = 1;
4436 if (!prop_is_valid) {
4437 ast_log(
LOG_ERROR,
"ARI ChannelHold field application failed validation\n");
4446 if (!prop_is_valid) {
4456 if (!prop_is_valid) {
4465 if (!prop_is_valid) {
4466 ast_log(
LOG_ERROR,
"ARI ChannelHold field musicclass failed validation\n");
4472 "ARI ChannelHold has undocumented field %s\n",
4483 if (!has_application) {
4484 ast_log(
LOG_ERROR,
"ARI ChannelHold missing required field application\n");
4488 if (!has_timestamp) {
4511 int has_application = 0;
4512 int has_timestamp = 0;
4514 int has_channel = 0;
4521 if (!prop_is_valid) {
4522 ast_log(
LOG_ERROR,
"ARI ChannelLeftBridge field asterisk_id failed validation\n");
4531 if (!prop_is_valid) {
4532 ast_log(
LOG_ERROR,
"ARI ChannelLeftBridge field type failed validation\n");
4538 has_application = 1;
4541 if (!prop_is_valid) {
4542 ast_log(
LOG_ERROR,
"ARI ChannelLeftBridge field application failed validation\n");
4551 if (!prop_is_valid) {
4552 ast_log(
LOG_ERROR,
"ARI ChannelLeftBridge field timestamp failed validation\n");
4561 if (!prop_is_valid) {
4562 ast_log(
LOG_ERROR,
"ARI ChannelLeftBridge field bridge failed validation\n");
4571 if (!prop_is_valid) {
4572 ast_log(
LOG_ERROR,
"ARI ChannelLeftBridge field channel failed validation\n");
4578 "ARI ChannelLeftBridge has undocumented field %s\n",
4589 if (!has_application) {
4590 ast_log(
LOG_ERROR,
"ARI ChannelLeftBridge missing required field application\n");
4594 if (!has_timestamp) {
4595 ast_log(
LOG_ERROR,
"ARI ChannelLeftBridge missing required field timestamp\n");
4600 ast_log(
LOG_ERROR,
"ARI ChannelLeftBridge missing required field bridge\n");
4605 ast_log(
LOG_ERROR,
"ARI ChannelLeftBridge missing required field channel\n");
4622 int has_application = 0;
4623 int has_timestamp = 0;
4624 int has_channel = 0;
4631 if (!prop_is_valid) {
4632 ast_log(
LOG_ERROR,
"ARI ChannelStateChange field asterisk_id failed validation\n");
4641 if (!prop_is_valid) {
4642 ast_log(
LOG_ERROR,
"ARI ChannelStateChange field type failed validation\n");
4648 has_application = 1;
4651 if (!prop_is_valid) {
4652 ast_log(
LOG_ERROR,
"ARI ChannelStateChange field application failed validation\n");
4661 if (!prop_is_valid) {
4662 ast_log(
LOG_ERROR,
"ARI ChannelStateChange field timestamp failed validation\n");
4671 if (!prop_is_valid) {
4672 ast_log(
LOG_ERROR,
"ARI ChannelStateChange field channel failed validation\n");
4678 "ARI ChannelStateChange has undocumented field %s\n",
4685 ast_log(
LOG_ERROR,
"ARI ChannelStateChange missing required field type\n");
4689 if (!has_application) {
4690 ast_log(
LOG_ERROR,
"ARI ChannelStateChange missing required field application\n");
4694 if (!has_timestamp) {
4695 ast_log(
LOG_ERROR,
"ARI ChannelStateChange missing required field timestamp\n");
4700 ast_log(
LOG_ERROR,
"ARI ChannelStateChange missing required field channel\n");
4717 int has_application = 0;
4718 int has_timestamp = 0;
4719 int has_channel = 0;
4720 int has_duration = 0;
4727 if (!prop_is_valid) {
4728 ast_log(
LOG_ERROR,
"ARI ChannelTalkingFinished field asterisk_id failed validation\n");
4737 if (!prop_is_valid) {
4738 ast_log(
LOG_ERROR,
"ARI ChannelTalkingFinished field type failed validation\n");
4744 has_application = 1;
4747 if (!prop_is_valid) {
4748 ast_log(
LOG_ERROR,
"ARI ChannelTalkingFinished field application failed validation\n");
4757 if (!prop_is_valid) {
4758 ast_log(
LOG_ERROR,
"ARI ChannelTalkingFinished field timestamp failed validation\n");
4767 if (!prop_is_valid) {
4768 ast_log(
LOG_ERROR,
"ARI ChannelTalkingFinished field channel failed validation\n");
4777 if (!prop_is_valid) {
4778 ast_log(
LOG_ERROR,
"ARI ChannelTalkingFinished field duration failed validation\n");
4784 "ARI ChannelTalkingFinished has undocumented field %s\n",
4791 ast_log(
LOG_ERROR,
"ARI ChannelTalkingFinished missing required field type\n");
4795 if (!has_application) {
4796 ast_log(
LOG_ERROR,
"ARI ChannelTalkingFinished missing required field application\n");
4800 if (!has_timestamp) {
4801 ast_log(
LOG_ERROR,
"ARI ChannelTalkingFinished missing required field timestamp\n");
4806 ast_log(
LOG_ERROR,
"ARI ChannelTalkingFinished missing required field channel\n");
4810 if (!has_duration) {
4811 ast_log(
LOG_ERROR,
"ARI ChannelTalkingFinished missing required field duration\n");
4828 int has_application = 0;
4829 int has_timestamp = 0;
4830 int has_channel = 0;
4837 if (!prop_is_valid) {
4838 ast_log(
LOG_ERROR,
"ARI ChannelTalkingStarted field asterisk_id failed validation\n");
4847 if (!prop_is_valid) {
4848 ast_log(
LOG_ERROR,
"ARI ChannelTalkingStarted field type failed validation\n");
4854 has_application = 1;
4857 if (!prop_is_valid) {
4858 ast_log(
LOG_ERROR,
"ARI ChannelTalkingStarted field application failed validation\n");
4867 if (!prop_is_valid) {
4868 ast_log(
LOG_ERROR,
"ARI ChannelTalkingStarted field timestamp failed validation\n");
4877 if (!prop_is_valid) {
4878 ast_log(
LOG_ERROR,
"ARI ChannelTalkingStarted field channel failed validation\n");
4884 "ARI ChannelTalkingStarted has undocumented field %s\n",
4891 ast_log(
LOG_ERROR,
"ARI ChannelTalkingStarted missing required field type\n");
4895 if (!has_application) {
4896 ast_log(
LOG_ERROR,
"ARI ChannelTalkingStarted missing required field application\n");
4900 if (!has_timestamp) {
4901 ast_log(
LOG_ERROR,
"ARI ChannelTalkingStarted missing required field timestamp\n");
4906 ast_log(
LOG_ERROR,
"ARI ChannelTalkingStarted missing required field channel\n");
4923 int has_application = 0;
4924 int has_timestamp = 0;
4925 int has_channel = 0;
4932 if (!prop_is_valid) {
4933 ast_log(
LOG_ERROR,
"ARI ChannelToneDetected field asterisk_id failed validation\n");
4942 if (!prop_is_valid) {
4943 ast_log(
LOG_ERROR,
"ARI ChannelToneDetected field type failed validation\n");
4949 has_application = 1;
4952 if (!prop_is_valid) {
4953 ast_log(
LOG_ERROR,
"ARI ChannelToneDetected field application failed validation\n");
4962 if (!prop_is_valid) {
4963 ast_log(
LOG_ERROR,
"ARI ChannelToneDetected field timestamp failed validation\n");
4972 if (!prop_is_valid) {
4973 ast_log(
LOG_ERROR,
"ARI ChannelToneDetected field channel failed validation\n");
4979 "ARI ChannelToneDetected has undocumented field %s\n",
4986 ast_log(
LOG_ERROR,
"ARI ChannelToneDetected missing required field type\n");
4990 if (!has_application) {
4991 ast_log(
LOG_ERROR,
"ARI ChannelToneDetected missing required field application\n");
4995 if (!has_timestamp) {
4996 ast_log(
LOG_ERROR,
"ARI ChannelToneDetected missing required field timestamp\n");
5001 ast_log(
LOG_ERROR,
"ARI ChannelToneDetected missing required field channel\n");
5018 int has_application = 0;
5019 int has_timestamp = 0;
5020 int has_channel = 0;
5027 if (!prop_is_valid) {
5028 ast_log(
LOG_ERROR,
"ARI ChannelUnhold field asterisk_id failed validation\n");
5037 if (!prop_is_valid) {
5044 has_application = 1;
5047 if (!prop_is_valid) {
5048 ast_log(
LOG_ERROR,
"ARI ChannelUnhold field application failed validation\n");
5057 if (!prop_is_valid) {
5058 ast_log(
LOG_ERROR,
"ARI ChannelUnhold field timestamp failed validation\n");
5067 if (!prop_is_valid) {
5074 "ARI ChannelUnhold has undocumented field %s\n",
5085 if (!has_application) {
5086 ast_log(
LOG_ERROR,
"ARI ChannelUnhold missing required field application\n");
5090 if (!has_timestamp) {
5091 ast_log(
LOG_ERROR,
"ARI ChannelUnhold missing required field timestamp\n");
5113 int has_application = 0;
5114 int has_timestamp = 0;
5115 int has_eventname = 0;
5116 int has_userevent = 0;
5123 if (!prop_is_valid) {
5124 ast_log(
LOG_ERROR,
"ARI ChannelUserevent field asterisk_id failed validation\n");
5133 if (!prop_is_valid) {
5140 has_application = 1;
5143 if (!prop_is_valid) {
5144 ast_log(
LOG_ERROR,
"ARI ChannelUserevent field application failed validation\n");
5153 if (!prop_is_valid) {
5154 ast_log(
LOG_ERROR,
"ARI ChannelUserevent field timestamp failed validation\n");
5162 if (!prop_is_valid) {
5163 ast_log(
LOG_ERROR,
"ARI ChannelUserevent field bridge failed validation\n");
5171 if (!prop_is_valid) {
5172 ast_log(
LOG_ERROR,
"ARI ChannelUserevent field channel failed validation\n");
5180 if (!prop_is_valid) {
5181 ast_log(
LOG_ERROR,
"ARI ChannelUserevent field endpoint failed validation\n");
5190 if (!prop_is_valid) {
5191 ast_log(
LOG_ERROR,
"ARI ChannelUserevent field eventname failed validation\n");
5200 if (!prop_is_valid) {
5201 ast_log(
LOG_ERROR,
"ARI ChannelUserevent field userevent failed validation\n");
5207 "ARI ChannelUserevent has undocumented field %s\n",
5218 if (!has_application) {
5219 ast_log(
LOG_ERROR,
"ARI ChannelUserevent missing required field application\n");
5223 if (!has_timestamp) {
5224 ast_log(
LOG_ERROR,
"ARI ChannelUserevent missing required field timestamp\n");
5228 if (!has_eventname) {
5229 ast_log(
LOG_ERROR,
"ARI ChannelUserevent missing required field eventname\n");
5233 if (!has_userevent) {
5234 ast_log(
LOG_ERROR,
"ARI ChannelUserevent missing required field userevent\n");
5251 int has_application = 0;
5252 int has_timestamp = 0;
5254 int has_variable = 0;
5261 if (!prop_is_valid) {
5262 ast_log(
LOG_ERROR,
"ARI ChannelVarset field asterisk_id failed validation\n");
5271 if (!prop_is_valid) {
5278 has_application = 1;
5281 if (!prop_is_valid) {
5282 ast_log(
LOG_ERROR,
"ARI ChannelVarset field application failed validation\n");
5291 if (!prop_is_valid) {
5292 ast_log(
LOG_ERROR,
"ARI ChannelVarset field timestamp failed validation\n");
5300 if (!prop_is_valid) {
5310 if (!prop_is_valid) {
5320 if (!prop_is_valid) {
5321 ast_log(
LOG_ERROR,
"ARI ChannelVarset field variable failed validation\n");
5327 "ARI ChannelVarset has undocumented field %s\n",
5338 if (!has_application) {
5339 ast_log(
LOG_ERROR,
"ARI ChannelVarset missing required field application\n");
5343 if (!has_timestamp) {
5344 ast_log(
LOG_ERROR,
"ARI ChannelVarset missing required field timestamp\n");
5353 if (!has_variable) {
5371 int has_contact_status = 0;
5380 if (!prop_is_valid) {
5387 has_contact_status = 1;
5390 if (!prop_is_valid) {
5391 ast_log(
LOG_ERROR,
"ARI ContactInfo field contact_status failed validation\n");
5399 if (!prop_is_valid) {
5400 ast_log(
LOG_ERROR,
"ARI ContactInfo field roundtrip_usec failed validation\n");
5409 if (!prop_is_valid) {
5416 "ARI ContactInfo has undocumented field %s\n",
5427 if (!has_contact_status) {
5428 ast_log(
LOG_ERROR,
"ARI ContactInfo missing required field contact_status\n");
5450 int has_application = 0;
5451 int has_timestamp = 0;
5452 int has_contact_info = 0;
5453 int has_endpoint = 0;
5460 if (!prop_is_valid) {
5461 ast_log(
LOG_ERROR,
"ARI ContactStatusChange field asterisk_id failed validation\n");
5470 if (!prop_is_valid) {
5471 ast_log(
LOG_ERROR,
"ARI ContactStatusChange field type failed validation\n");
5477 has_application = 1;
5480 if (!prop_is_valid) {
5481 ast_log(
LOG_ERROR,
"ARI ContactStatusChange field application failed validation\n");
5490 if (!prop_is_valid) {
5491 ast_log(
LOG_ERROR,
"ARI ContactStatusChange field timestamp failed validation\n");
5497 has_contact_info = 1;
5500 if (!prop_is_valid) {
5501 ast_log(
LOG_ERROR,
"ARI ContactStatusChange field contact_info failed validation\n");
5510 if (!prop_is_valid) {
5511 ast_log(
LOG_ERROR,
"ARI ContactStatusChange field endpoint failed validation\n");
5517 "ARI ContactStatusChange has undocumented field %s\n",
5524 ast_log(
LOG_ERROR,
"ARI ContactStatusChange missing required field type\n");
5528 if (!has_application) {
5529 ast_log(
LOG_ERROR,
"ARI ContactStatusChange missing required field application\n");
5533 if (!has_timestamp) {
5534 ast_log(
LOG_ERROR,
"ARI ContactStatusChange missing required field timestamp\n");
5538 if (!has_contact_info) {
5539 ast_log(
LOG_ERROR,
"ARI ContactStatusChange missing required field contact_info\n");
5543 if (!has_endpoint) {
5544 ast_log(
LOG_ERROR,
"ARI ContactStatusChange missing required field endpoint\n");
5561 int has_application = 0;
5562 int has_timestamp = 0;
5563 int has_device_state = 0;
5570 if (!prop_is_valid) {
5571 ast_log(
LOG_ERROR,
"ARI DeviceStateChanged field asterisk_id failed validation\n");
5580 if (!prop_is_valid) {
5581 ast_log(
LOG_ERROR,
"ARI DeviceStateChanged field type failed validation\n");
5587 has_application = 1;
5590 if (!prop_is_valid) {
5591 ast_log(
LOG_ERROR,
"ARI DeviceStateChanged field application failed validation\n");
5600 if (!prop_is_valid) {
5601 ast_log(
LOG_ERROR,
"ARI DeviceStateChanged field timestamp failed validation\n");
5607 has_device_state = 1;
5610 if (!prop_is_valid) {
5611 ast_log(
LOG_ERROR,
"ARI DeviceStateChanged field device_state failed validation\n");
5617 "ARI DeviceStateChanged has undocumented field %s\n",
5624 ast_log(
LOG_ERROR,
"ARI DeviceStateChanged missing required field type\n");
5628 if (!has_application) {
5629 ast_log(
LOG_ERROR,
"ARI DeviceStateChanged missing required field application\n");
5633 if (!has_timestamp) {
5634 ast_log(
LOG_ERROR,
"ARI DeviceStateChanged missing required field timestamp\n");
5638 if (!has_device_state) {
5639 ast_log(
LOG_ERROR,
"ARI DeviceStateChanged missing required field device_state\n");
5656 int has_application = 0;
5657 int has_timestamp = 0;
5658 int has_dialstatus = 0;
5666 if (!prop_is_valid) {
5676 if (!prop_is_valid) {
5683 has_application = 1;
5686 if (!prop_is_valid) {
5696 if (!prop_is_valid) {
5705 if (!prop_is_valid) {
5715 if (!prop_is_valid) {
5724 if (!prop_is_valid) {
5733 if (!prop_is_valid) {
5742 if (!prop_is_valid) {
5752 if (!prop_is_valid) {
5759 "ARI Dial has undocumented field %s\n",
5770 if (!has_application) {
5775 if (!has_timestamp) {
5780 if (!has_dialstatus) {
5803 int has_application = 0;
5804 int has_timestamp = 0;
5805 int has_endpoint = 0;
5812 if (!prop_is_valid) {
5813 ast_log(
LOG_ERROR,
"ARI EndpointStateChange field asterisk_id failed validation\n");
5822 if (!prop_is_valid) {
5823 ast_log(
LOG_ERROR,
"ARI EndpointStateChange field type failed validation\n");
5829 has_application = 1;
5832 if (!prop_is_valid) {
5833 ast_log(
LOG_ERROR,
"ARI EndpointStateChange field application failed validation\n");
5842 if (!prop_is_valid) {
5843 ast_log(
LOG_ERROR,
"ARI EndpointStateChange field timestamp failed validation\n");
5852 if (!prop_is_valid) {
5853 ast_log(
LOG_ERROR,
"ARI EndpointStateChange field endpoint failed validation\n");
5859 "ARI EndpointStateChange has undocumented field %s\n",
5866 ast_log(
LOG_ERROR,
"ARI EndpointStateChange missing required field type\n");
5870 if (!has_application) {
5871 ast_log(
LOG_ERROR,
"ARI EndpointStateChange missing required field application\n");
5875 if (!has_timestamp) {
5876 ast_log(
LOG_ERROR,
"ARI EndpointStateChange missing required field timestamp\n");
5880 if (!has_endpoint) {
5881 ast_log(
LOG_ERROR,
"ARI EndpointStateChange missing required field endpoint\n");
5898 int has_application = 0;
5899 int has_timestamp = 0;
5900 const char *discriminator;
5903 if (!discriminator) {
5908 if (strcmp(
"Event", discriminator) == 0) {
5911 if (strcmp(
"ApplicationMoveFailed", discriminator) == 0) {
5914 if (strcmp(
"ApplicationReplaced", discriminator) == 0) {
5917 if (strcmp(
"BridgeAttendedTransfer", discriminator) == 0) {
5920 if (strcmp(
"BridgeBlindTransfer", discriminator) == 0) {
5923 if (strcmp(
"BridgeCreated", discriminator) == 0) {
5926 if (strcmp(
"BridgeDestroyed", discriminator) == 0) {
5929 if (strcmp(
"BridgeMerged", discriminator) == 0) {
5932 if (strcmp(
"BridgeVideoSourceChanged", discriminator) == 0) {
5935 if (strcmp(
"ChannelCallerId", discriminator) == 0) {
5938 if (strcmp(
"ChannelConnectedLine", discriminator) == 0) {
5941 if (strcmp(
"ChannelCreated", discriminator) == 0) {
5944 if (strcmp(
"ChannelDestroyed", discriminator) == 0) {
5947 if (strcmp(
"ChannelDialplan", discriminator) == 0) {
5950 if (strcmp(
"ChannelDtmfReceived", discriminator) == 0) {
5953 if (strcmp(
"ChannelEnteredBridge", discriminator) == 0) {
5956 if (strcmp(
"ChannelHangupRequest", discriminator) == 0) {
5959 if (strcmp(
"ChannelHold", discriminator) == 0) {
5962 if (strcmp(
"ChannelLeftBridge", discriminator) == 0) {
5965 if (strcmp(
"ChannelStateChange", discriminator) == 0) {
5968 if (strcmp(
"ChannelTalkingFinished", discriminator) == 0) {
5971 if (strcmp(
"ChannelTalkingStarted", discriminator) == 0) {
5974 if (strcmp(
"ChannelToneDetected", discriminator) == 0) {
5977 if (strcmp(
"ChannelUnhold", discriminator) == 0) {
5980 if (strcmp(
"ChannelUserevent", discriminator) == 0) {
5983 if (strcmp(
"ChannelVarset", discriminator) == 0) {
5986 if (strcmp(
"ContactStatusChange", discriminator) == 0) {
5989 if (strcmp(
"DeviceStateChanged", discriminator) == 0) {
5992 if (strcmp(
"Dial", discriminator) == 0) {
5995 if (strcmp(
"EndpointStateChange", discriminator) == 0) {
5998 if (strcmp(
"PeerStatusChange", discriminator) == 0) {
6001 if (strcmp(
"PlaybackContinuing", discriminator) == 0) {
6004 if (strcmp(
"PlaybackFinished", discriminator) == 0) {
6007 if (strcmp(
"PlaybackStarted", discriminator) == 0) {
6010 if (strcmp(
"RecordingFailed", discriminator) == 0) {
6013 if (strcmp(
"RecordingFinished", discriminator) == 0) {
6016 if (strcmp(
"RecordingStarted", discriminator) == 0) {
6019 if (strcmp(
"StasisEnd", discriminator) == 0) {
6022 if (strcmp(
"StasisStart", discriminator) == 0) {
6025 if (strcmp(
"TextMessageReceived", discriminator) == 0) {
6039 if (!prop_is_valid) {
6049 if (!prop_is_valid) {
6056 has_application = 1;
6059 if (!prop_is_valid) {
6069 if (!prop_is_valid) {
6076 "ARI Event has undocumented field %s\n",
6087 if (!has_application) {
6092 if (!has_timestamp) {
6110 const char *discriminator;
6113 if (!discriminator) {
6118 if (strcmp(
"Message", discriminator) == 0) {
6121 if (strcmp(
"ApplicationMoveFailed", discriminator) == 0) {
6124 if (strcmp(
"ApplicationReplaced", discriminator) == 0) {
6127 if (strcmp(
"BridgeAttendedTransfer", discriminator) == 0) {
6130 if (strcmp(
"BridgeBlindTransfer", discriminator) == 0) {
6133 if (strcmp(
"BridgeCreated", discriminator) == 0) {
6136 if (strcmp(
"BridgeDestroyed", discriminator) == 0) {
6139 if (strcmp(
"BridgeMerged", discriminator) == 0) {
6142 if (strcmp(
"BridgeVideoSourceChanged", discriminator) == 0) {
6145 if (strcmp(
"ChannelCallerId", discriminator) == 0) {
6148 if (strcmp(
"ChannelConnectedLine", discriminator) == 0) {
6151 if (strcmp(
"ChannelCreated", discriminator) == 0) {
6154 if (strcmp(
"ChannelDestroyed", discriminator) == 0) {
6157 if (strcmp(
"ChannelDialplan", discriminator) == 0) {
6160 if (strcmp(
"ChannelDtmfReceived", discriminator) == 0) {
6163 if (strcmp(
"ChannelEnteredBridge", discriminator) == 0) {
6166 if (strcmp(
"ChannelHangupRequest", discriminator) == 0) {
6169 if (strcmp(
"ChannelHold", discriminator) == 0) {
6172 if (strcmp(
"ChannelLeftBridge", discriminator) == 0) {
6175 if (strcmp(
"ChannelStateChange", discriminator) == 0) {
6178 if (strcmp(
"ChannelTalkingFinished", discriminator) == 0) {
6181 if (strcmp(
"ChannelTalkingStarted", discriminator) == 0) {
6184 if (strcmp(
"ChannelToneDetected", discriminator) == 0) {
6187 if (strcmp(
"ChannelUnhold", discriminator) == 0) {
6190 if (strcmp(
"ChannelUserevent", discriminator) == 0) {
6193 if (strcmp(
"ChannelVarset", discriminator) == 0) {
6196 if (strcmp(
"ContactStatusChange", discriminator) == 0) {
6199 if (strcmp(
"DeviceStateChanged", discriminator) == 0) {
6202 if (strcmp(
"Dial", discriminator) == 0) {
6205 if (strcmp(
"EndpointStateChange", discriminator) == 0) {
6208 if (strcmp(
"Event", discriminator) == 0) {
6211 if (strcmp(
"MissingParams", discriminator) == 0) {
6214 if (strcmp(
"PeerStatusChange", discriminator) == 0) {
6217 if (strcmp(
"PlaybackContinuing", discriminator) == 0) {
6220 if (strcmp(
"PlaybackFinished", discriminator) == 0) {
6223 if (strcmp(
"PlaybackStarted", discriminator) == 0) {
6226 if (strcmp(
"RecordingFailed", discriminator) == 0) {
6229 if (strcmp(
"RecordingFinished", discriminator) == 0) {
6232 if (strcmp(
"RecordingStarted", discriminator) == 0) {
6235 if (strcmp(
"StasisEnd", discriminator) == 0) {
6238 if (strcmp(
"StasisStart", discriminator) == 0) {
6241 if (strcmp(
"TextMessageReceived", discriminator) == 0) {
6255 if (!prop_is_valid) {
6265 if (!prop_is_valid) {
6272 "ARI Message has undocumented field %s\n",
6303 if (!prop_is_valid) {
6304 ast_log(
LOG_ERROR,
"ARI MissingParams field asterisk_id failed validation\n");
6313 if (!prop_is_valid) {
6324 if (!prop_is_valid) {
6331 "ARI MissingParams has undocumented field %s\n",
6359 int has_peer_status = 0;
6366 if (!prop_is_valid) {
6375 if (!prop_is_valid) {
6382 has_peer_status = 1;
6385 if (!prop_is_valid) {
6394 if (!prop_is_valid) {
6403 if (!prop_is_valid) {
6410 "ARI Peer has undocumented field %s\n",
6416 if (!has_peer_status) {
6434 int has_application = 0;
6435 int has_timestamp = 0;
6436 int has_endpoint = 0;
6444 if (!prop_is_valid) {
6445 ast_log(
LOG_ERROR,
"ARI PeerStatusChange field asterisk_id failed validation\n");
6454 if (!prop_is_valid) {
6461 has_application = 1;
6464 if (!prop_is_valid) {
6465 ast_log(
LOG_ERROR,
"ARI PeerStatusChange field application failed validation\n");
6474 if (!prop_is_valid) {
6475 ast_log(
LOG_ERROR,
"ARI PeerStatusChange field timestamp failed validation\n");
6484 if (!prop_is_valid) {
6485 ast_log(
LOG_ERROR,
"ARI PeerStatusChange field endpoint failed validation\n");
6494 if (!prop_is_valid) {
6501 "ARI PeerStatusChange has undocumented field %s\n",
6512 if (!has_application) {
6513 ast_log(
LOG_ERROR,
"ARI PeerStatusChange missing required field application\n");
6517 if (!has_timestamp) {
6518 ast_log(
LOG_ERROR,
"ARI PeerStatusChange missing required field timestamp\n");
6522 if (!has_endpoint) {
6523 ast_log(
LOG_ERROR,
"ARI PeerStatusChange missing required field endpoint\n");
6545 int has_application = 0;
6546 int has_timestamp = 0;
6547 int has_playback = 0;
6554 if (!prop_is_valid) {
6555 ast_log(
LOG_ERROR,
"ARI PlaybackContinuing field asterisk_id failed validation\n");
6564 if (!prop_is_valid) {
6565 ast_log(
LOG_ERROR,
"ARI PlaybackContinuing field type failed validation\n");
6571 has_application = 1;
6574 if (!prop_is_valid) {
6575 ast_log(
LOG_ERROR,
"ARI PlaybackContinuing field application failed validation\n");
6584 if (!prop_is_valid) {
6585 ast_log(
LOG_ERROR,
"ARI PlaybackContinuing field timestamp failed validation\n");
6594 if (!prop_is_valid) {
6595 ast_log(
LOG_ERROR,
"ARI PlaybackContinuing field playback failed validation\n");
6601 "ARI PlaybackContinuing has undocumented field %s\n",
6608 ast_log(
LOG_ERROR,
"ARI PlaybackContinuing missing required field type\n");
6612 if (!has_application) {
6613 ast_log(
LOG_ERROR,
"ARI PlaybackContinuing missing required field application\n");
6617 if (!has_timestamp) {
6618 ast_log(
LOG_ERROR,
"ARI PlaybackContinuing missing required field timestamp\n");
6622 if (!has_playback) {
6623 ast_log(
LOG_ERROR,
"ARI PlaybackContinuing missing required field playback\n");
6640 int has_application = 0;
6641 int has_timestamp = 0;
6642 int has_playback = 0;
6649 if (!prop_is_valid) {
6650 ast_log(
LOG_ERROR,
"ARI PlaybackFinished field asterisk_id failed validation\n");
6659 if (!prop_is_valid) {
6666 has_application = 1;
6669 if (!prop_is_valid) {
6670 ast_log(
LOG_ERROR,
"ARI PlaybackFinished field application failed validation\n");
6679 if (!prop_is_valid) {
6680 ast_log(
LOG_ERROR,
"ARI PlaybackFinished field timestamp failed validation\n");
6689 if (!prop_is_valid) {
6690 ast_log(
LOG_ERROR,
"ARI PlaybackFinished field playback failed validation\n");
6696 "ARI PlaybackFinished has undocumented field %s\n",
6707 if (!has_application) {
6708 ast_log(
LOG_ERROR,
"ARI PlaybackFinished missing required field application\n");
6712 if (!has_timestamp) {
6713 ast_log(
LOG_ERROR,
"ARI PlaybackFinished missing required field timestamp\n");
6717 if (!has_playback) {
6718 ast_log(
LOG_ERROR,
"ARI PlaybackFinished missing required field playback\n");
6735 int has_application = 0;
6736 int has_timestamp = 0;
6737 int has_playback = 0;
6744 if (!prop_is_valid) {
6745 ast_log(
LOG_ERROR,
"ARI PlaybackStarted field asterisk_id failed validation\n");
6754 if (!prop_is_valid) {
6761 has_application = 1;
6764 if (!prop_is_valid) {
6765 ast_log(
LOG_ERROR,
"ARI PlaybackStarted field application failed validation\n");
6774 if (!prop_is_valid) {
6775 ast_log(
LOG_ERROR,
"ARI PlaybackStarted field timestamp failed validation\n");
6784 if (!prop_is_valid) {
6785 ast_log(
LOG_ERROR,
"ARI PlaybackStarted field playback failed validation\n");
6791 "ARI PlaybackStarted has undocumented field %s\n",
6802 if (!has_application) {
6803 ast_log(
LOG_ERROR,
"ARI PlaybackStarted missing required field application\n");
6807 if (!has_timestamp) {
6808 ast_log(
LOG_ERROR,
"ARI PlaybackStarted missing required field timestamp\n");
6812 if (!has_playback) {
6813 ast_log(
LOG_ERROR,
"ARI PlaybackStarted missing required field playback\n");
6830 int has_application = 0;
6831 int has_timestamp = 0;
6832 int has_recording = 0;
6839 if (!prop_is_valid) {
6840 ast_log(
LOG_ERROR,
"ARI RecordingFailed field asterisk_id failed validation\n");
6849 if (!prop_is_valid) {
6856 has_application = 1;
6859 if (!prop_is_valid) {
6860 ast_log(
LOG_ERROR,
"ARI RecordingFailed field application failed validation\n");
6869 if (!prop_is_valid) {
6870 ast_log(
LOG_ERROR,
"ARI RecordingFailed field timestamp failed validation\n");
6879 if (!prop_is_valid) {
6880 ast_log(
LOG_ERROR,
"ARI RecordingFailed field recording failed validation\n");
6886 "ARI RecordingFailed has undocumented field %s\n",
6897 if (!has_application) {
6898 ast_log(
LOG_ERROR,
"ARI RecordingFailed missing required field application\n");
6902 if (!has_timestamp) {
6903 ast_log(
LOG_ERROR,
"ARI RecordingFailed missing required field timestamp\n");
6907 if (!has_recording) {
6908 ast_log(
LOG_ERROR,
"ARI RecordingFailed missing required field recording\n");
6925 int has_application = 0;
6926 int has_timestamp = 0;
6927 int has_recording = 0;
6934 if (!prop_is_valid) {
6935 ast_log(
LOG_ERROR,
"ARI RecordingFinished field asterisk_id failed validation\n");
6944 if (!prop_is_valid) {
6945 ast_log(
LOG_ERROR,
"ARI RecordingFinished field type failed validation\n");
6951 has_application = 1;
6954 if (!prop_is_valid) {
6955 ast_log(
LOG_ERROR,
"ARI RecordingFinished field application failed validation\n");
6964 if (!prop_is_valid) {
6965 ast_log(
LOG_ERROR,
"ARI RecordingFinished field timestamp failed validation\n");
6974 if (!prop_is_valid) {
6975 ast_log(
LOG_ERROR,
"ARI RecordingFinished field recording failed validation\n");
6981 "ARI RecordingFinished has undocumented field %s\n",
6992 if (!has_application) {
6993 ast_log(
LOG_ERROR,
"ARI RecordingFinished missing required field application\n");
6997 if (!has_timestamp) {
6998 ast_log(
LOG_ERROR,
"ARI RecordingFinished missing required field timestamp\n");
7002 if (!has_recording) {
7003 ast_log(
LOG_ERROR,
"ARI RecordingFinished missing required field recording\n");
7020 int has_application = 0;
7021 int has_timestamp = 0;
7022 int has_recording = 0;
7029 if (!prop_is_valid) {
7030 ast_log(
LOG_ERROR,
"ARI RecordingStarted field asterisk_id failed validation\n");
7039 if (!prop_is_valid) {
7046 has_application = 1;
7049 if (!prop_is_valid) {
7050 ast_log(
LOG_ERROR,
"ARI RecordingStarted field application failed validation\n");
7059 if (!prop_is_valid) {
7060 ast_log(
LOG_ERROR,
"ARI RecordingStarted field timestamp failed validation\n");
7069 if (!prop_is_valid) {
7070 ast_log(
LOG_ERROR,
"ARI RecordingStarted field recording failed validation\n");
7076 "ARI RecordingStarted has undocumented field %s\n",
7087 if (!has_application) {
7088 ast_log(
LOG_ERROR,
"ARI RecordingStarted missing required field application\n");
7092 if (!has_timestamp) {
7093 ast_log(
LOG_ERROR,
"ARI RecordingStarted missing required field timestamp\n");
7097 if (!has_recording) {
7098 ast_log(
LOG_ERROR,
"ARI RecordingStarted missing required field recording\n");
7115 int has_application = 0;
7116 int has_timestamp = 0;
7117 int has_channel = 0;
7124 if (!prop_is_valid) {
7134 if (!prop_is_valid) {
7141 has_application = 1;
7144 if (!prop_is_valid) {
7154 if (!prop_is_valid) {
7164 if (!prop_is_valid) {
7171 "ARI StasisEnd has undocumented field %s\n",
7182 if (!has_application) {
7187 if (!has_timestamp) {
7210 int has_application = 0;
7211 int has_timestamp = 0;
7213 int has_channel = 0;
7220 if (!prop_is_valid) {
7221 ast_log(
LOG_ERROR,
"ARI StasisStart field asterisk_id failed validation\n");
7230 if (!prop_is_valid) {
7237 has_application = 1;
7240 if (!prop_is_valid) {
7241 ast_log(
LOG_ERROR,
"ARI StasisStart field application failed validation\n");
7250 if (!prop_is_valid) {
7261 if (!prop_is_valid) {
7271 if (!prop_is_valid) {
7280 if (!prop_is_valid) {
7281 ast_log(
LOG_ERROR,
"ARI StasisStart field replace_channel failed validation\n");
7287 "ARI StasisStart has undocumented field %s\n",
7298 if (!has_application) {
7299 ast_log(
LOG_ERROR,
"ARI StasisStart missing required field application\n");
7303 if (!has_timestamp) {
7331 int has_application = 0;
7332 int has_timestamp = 0;
7333 int has_message = 0;
7340 if (!prop_is_valid) {
7341 ast_log(
LOG_ERROR,
"ARI TextMessageReceived field asterisk_id failed validation\n");
7350 if (!prop_is_valid) {
7351 ast_log(
LOG_ERROR,
"ARI TextMessageReceived field type failed validation\n");
7357 has_application = 1;
7360 if (!prop_is_valid) {
7361 ast_log(
LOG_ERROR,
"ARI TextMessageReceived field application failed validation\n");
7370 if (!prop_is_valid) {
7371 ast_log(
LOG_ERROR,
"ARI TextMessageReceived field timestamp failed validation\n");
7379 if (!prop_is_valid) {
7380 ast_log(
LOG_ERROR,
"ARI TextMessageReceived field endpoint failed validation\n");
7389 if (!prop_is_valid) {
7390 ast_log(
LOG_ERROR,
"ARI TextMessageReceived field message failed validation\n");
7396 "ARI TextMessageReceived has undocumented field %s\n",
7403 ast_log(
LOG_ERROR,
"ARI TextMessageReceived missing required field type\n");
7407 if (!has_application) {
7408 ast_log(
LOG_ERROR,
"ARI TextMessageReceived missing required field application\n");
7412 if (!has_timestamp) {
7413 ast_log(
LOG_ERROR,
"ARI TextMessageReceived missing required field timestamp\n");
7418 ast_log(
LOG_ERROR,
"ARI TextMessageReceived missing required field message\n");
7434 int has_bridge_ids = 0;
7435 int has_channel_ids = 0;
7436 int has_device_names = 0;
7437 int has_endpoint_ids = 0;
7438 int has_events_allowed = 0;
7439 int has_events_disallowed = 0;
7449 if (!prop_is_valid) {
7450 ast_log(
LOG_ERROR,
"ARI Application field bridge_ids failed validation\n");
7456 has_channel_ids = 1;
7460 if (!prop_is_valid) {
7461 ast_log(
LOG_ERROR,
"ARI Application field channel_ids failed validation\n");
7467 has_device_names = 1;
7471 if (!prop_is_valid) {
7472 ast_log(
LOG_ERROR,
"ARI Application field device_names failed validation\n");
7478 has_endpoint_ids = 1;
7482 if (!prop_is_valid) {
7483 ast_log(
LOG_ERROR,
"ARI Application field endpoint_ids failed validation\n");
7489 has_events_allowed = 1;
7493 if (!prop_is_valid) {
7494 ast_log(
LOG_ERROR,
"ARI Application field events_allowed failed validation\n");
7500 has_events_disallowed = 1;
7504 if (!prop_is_valid) {
7505 ast_log(
LOG_ERROR,
"ARI Application field events_disallowed failed validation\n");
7514 if (!prop_is_valid) {
7521 "ARI Application has undocumented field %s\n",
7527 if (!has_bridge_ids) {
7532 if (!has_channel_ids) {
7533 ast_log(
LOG_ERROR,
"ARI Application missing required field channel_ids\n");
7537 if (!has_device_names) {
7538 ast_log(
LOG_ERROR,
"ARI Application missing required field device_names\n");
7542 if (!has_endpoint_ids) {
7543 ast_log(
LOG_ERROR,
"ARI Application missing required field endpoint_ids\n");
7547 if (!has_events_allowed) {
7548 ast_log(
LOG_ERROR,
"ARI Application missing required field events_allowed\n");
7552 if (!has_events_disallowed) {
7553 ast_log(
LOG_ERROR,
"ARI Application missing required field events_disallowed\n");
ari_validator ast_ari_validate_set_id_fn(void)
Function pointer to ast_ari_validate_set_id().
ari_validator ast_ari_validate_config_info_fn(void)
Function pointer to ast_ari_validate_config_info().
ari_validator ast_ari_validate_sound_fn(void)
Function pointer to ast_ari_validate_sound().
int ast_ari_validate_missing_params(struct ast_json *json)
Validator for MissingParams.
int ast_ari_validate_variable(struct ast_json *json)
Validator for Variable.
ari_validator ast_ari_validate_live_recording_fn(void)
Function pointer to ast_ari_validate_live_recording().
int ast_ari_validate_application_replaced(struct ast_json *json)
Validator for ApplicationReplaced.
int ast_ari_validate_log_channel(struct ast_json *json)
Validator for LogChannel.
ari_validator ast_ari_validate_peer_fn(void)
Function pointer to ast_ari_validate_peer().
ari_validator ast_ari_validate_channel_talking_started_fn(void)
Function pointer to ast_ari_validate_channel_talking_started().
ari_validator ast_ari_validate_asterisk_ping_fn(void)
Function pointer to ast_ari_validate_asterisk_ping().
ari_validator ast_ari_validate_application_fn(void)
Function pointer to ast_ari_validate_application().
ari_validator ast_ari_validate_application_replaced_fn(void)
Function pointer to ast_ari_validate_application_replaced().
int ast_ari_validate_text_message_received(struct ast_json *json)
Validator for TextMessageReceived.
ari_validator ast_ari_validate_channel_dtmf_received_fn(void)
Function pointer to ast_ari_validate_channel_dtmf_received().
ari_validator ast_ari_validate_contact_status_change_fn(void)
Function pointer to ast_ari_validate_contact_status_change().
ari_validator ast_ari_validate_bridge_destroyed_fn(void)
Function pointer to ast_ari_validate_bridge_destroyed().
int ast_ari_validate_playback_finished(struct ast_json *json)
Validator for PlaybackFinished.
ari_validator ast_ari_validate_build_info_fn(void)
Function pointer to ast_ari_validate_build_info().
ari_validator ast_ari_validate_recording_started_fn(void)
Function pointer to ast_ari_validate_recording_started().
ari_validator ast_ari_validate_contact_info_fn(void)
Function pointer to ast_ari_validate_contact_info().
int ast_ari_validate_text_message(struct ast_json *json)
Validator for TextMessage.
int ast_ari_validate_bridge_blind_transfer(struct ast_json *json)
Validator for BridgeBlindTransfer.
int ast_ari_validate_channel_destroyed(struct ast_json *json)
Validator for ChannelDestroyed.
ari_validator ast_ari_validate_playback_started_fn(void)
Function pointer to ast_ari_validate_playback_started().
int ast_ari_validate_endpoint_state_change(struct ast_json *json)
Validator for EndpointStateChange.
int ast_ari_validate_playback(struct ast_json *json)
Validator for Playback.
ari_validator ast_ari_validate_playback_continuing_fn(void)
Function pointer to ast_ari_validate_playback_continuing().
int ast_ari_validate_channel_tone_detected(struct ast_json *json)
Validator for ChannelToneDetected.
ari_validator ast_ari_validate_stasis_end_fn(void)
Function pointer to ast_ari_validate_stasis_end().
ari_validator ast_ari_validate_variable_fn(void)
Function pointer to ast_ari_validate_variable().
ari_validator ast_ari_validate_channel_left_bridge_fn(void)
Function pointer to ast_ari_validate_channel_left_bridge().
int ast_ari_validate_application(struct ast_json *json)
Validator for Application.
int ast_ari_validate_dialed(struct ast_json *json)
Validator for Dialed.
int ast_ari_validate_live_recording(struct ast_json *json)
Validator for LiveRecording.
ari_validator ast_ari_validate_stored_recording_fn(void)
Function pointer to ast_ari_validate_stored_recording().
ari_validator ast_ari_validate_channel_userevent_fn(void)
Function pointer to ast_ari_validate_channel_userevent().
ari_validator ast_ari_validate_channel_created_fn(void)
Function pointer to ast_ari_validate_channel_created().
int ast_ari_validate_module(struct ast_json *json)
Validator for Module.
int ast_ari_validate_stasis_start(struct ast_json *json)
Validator for StasisStart.
ari_validator ast_ari_validate_channel_talking_finished_fn(void)
Function pointer to ast_ari_validate_channel_talking_finished().
int ast_ari_validate_mailbox(struct ast_json *json)
Validator for Mailbox.
ari_validator ast_ari_validate_playback_finished_fn(void)
Function pointer to ast_ari_validate_playback_finished().
ari_validator ast_ari_validate_channel_tone_detected_fn(void)
Function pointer to ast_ari_validate_channel_tone_detected().
int ast_ari_validate_channel_hangup_request(struct ast_json *json)
Validator for ChannelHangupRequest.
int ast_ari_validate_bridge(struct ast_json *json)
Validator for Bridge.
int ast_ari_validate_message(struct ast_json *json)
Validator for Message.
ari_validator ast_ari_validate_dialed_fn(void)
Function pointer to ast_ari_validate_dialed().
int ast_ari_validate_contact_info(struct ast_json *json)
Validator for ContactInfo.
int ast_ari_validate_dialplan_cep(struct ast_json *json)
Validator for DialplanCEP.
int ast_ari_validate_set_id(struct ast_json *json)
Validator for SetId.
ari_validator ast_ari_validate_channel_varset_fn(void)
Function pointer to ast_ari_validate_channel_varset().
ari_validator ast_ari_validate_playback_fn(void)
Function pointer to ast_ari_validate_playback().
ari_validator ast_ari_validate_system_info_fn(void)
Function pointer to ast_ari_validate_system_info().
ari_validator ast_ari_validate_caller_id_fn(void)
Function pointer to ast_ari_validate_caller_id().
int ast_ari_validate_stasis_end(struct ast_json *json)
Validator for StasisEnd.
ari_validator ast_ari_validate_dialplan_cep_fn(void)
Function pointer to ast_ari_validate_dialplan_cep().
int ast_ari_validate_playback_started(struct ast_json *json)
Validator for PlaybackStarted.
ari_validator ast_ari_validate_bridge_blind_transfer_fn(void)
Function pointer to ast_ari_validate_bridge_blind_transfer().
int ast_ari_validate_bridge_attended_transfer(struct ast_json *json)
Validator for BridgeAttendedTransfer.
int ast_ari_validate_channel_dialplan(struct ast_json *json)
Validator for ChannelDialplan.
int ast_ari_validate_channel_state_change(struct ast_json *json)
Validator for ChannelStateChange.
ari_validator ast_ari_validate_bridge_attended_transfer_fn(void)
Function pointer to ast_ari_validate_bridge_attended_transfer().
int ast_ari_validate_channel_talking_finished(struct ast_json *json)
Validator for ChannelTalkingFinished.
ari_validator ast_ari_validate_missing_params_fn(void)
Function pointer to ast_ari_validate_missing_params().
int ast_ari_validate_channel_dtmf_received(struct ast_json *json)
Validator for ChannelDtmfReceived.
ari_validator ast_ari_validate_config_tuple_fn(void)
Function pointer to ast_ari_validate_config_tuple().
int ast_ari_validate_peer_status_change(struct ast_json *json)
Validator for PeerStatusChange.
int ast_ari_validate_bridge_created(struct ast_json *json)
Validator for BridgeCreated.
ari_validator ast_ari_validate_dial_fn(void)
Function pointer to ast_ari_validate_dial().
ari_validator ast_ari_validate_bridge_fn(void)
Function pointer to ast_ari_validate_bridge().
ari_validator ast_ari_validate_event_fn(void)
Function pointer to ast_ari_validate_event().
int ast_ari_validate_application_move_failed(struct ast_json *json)
Validator for ApplicationMoveFailed.
ari_validator ast_ari_validate_message_fn(void)
Function pointer to ast_ari_validate_message().
int ast_ari_validate_asterisk_info(struct ast_json *json)
Validator for AsteriskInfo.
int ast_ari_validate_channel_varset(struct ast_json *json)
Validator for ChannelVarset.
int ast_ari_validate_asterisk_ping(struct ast_json *json)
Validator for AsteriskPing.
ari_validator ast_ari_validate_recording_finished_fn(void)
Function pointer to ast_ari_validate_recording_finished().
int ast_ari_validate_stored_recording(struct ast_json *json)
Validator for StoredRecording.
int ast_ari_validate_bridge_destroyed(struct ast_json *json)
Validator for BridgeDestroyed.
ari_validator ast_ari_validate_mailbox_fn(void)
Function pointer to ast_ari_validate_mailbox().
ari_validator ast_ari_validate_status_info_fn(void)
Function pointer to ast_ari_validate_status_info().
int ast_ari_validate_format_lang_pair(struct ast_json *json)
Validator for FormatLangPair.
int ast_ari_validate_caller_id(struct ast_json *json)
Validator for CallerID.
int ast_ari_validate_endpoint(struct ast_json *json)
Validator for Endpoint.
int ast_ari_validate_status_info(struct ast_json *json)
Validator for StatusInfo.
ari_validator ast_ari_validate_log_channel_fn(void)
Function pointer to ast_ari_validate_log_channel().
ari_validator ast_ari_validate_rtpstat_fn(void)
Function pointer to ast_ari_validate_rtpstat().
int ast_ari_validate_playback_continuing(struct ast_json *json)
Validator for PlaybackContinuing.
int ast_ari_validate_channel_caller_id(struct ast_json *json)
Validator for ChannelCallerId.
ari_validator ast_ari_validate_peer_status_change_fn(void)
Function pointer to ast_ari_validate_peer_status_change().
ari_validator ast_ari_validate_text_message_fn(void)
Function pointer to ast_ari_validate_text_message().
ari_validator ast_ari_validate_stasis_start_fn(void)
Function pointer to ast_ari_validate_stasis_start().
int ast_ari_validate_recording_finished(struct ast_json *json)
Validator for RecordingFinished.
ari_validator ast_ari_validate_channel_connected_line_fn(void)
Function pointer to ast_ari_validate_channel_connected_line().
ari_validator ast_ari_validate_channel_dialplan_fn(void)
Function pointer to ast_ari_validate_channel_dialplan().
ari_validator ast_ari_validate_text_message_received_fn(void)
Function pointer to ast_ari_validate_text_message_received().
int ast_ari_validate_device_state(struct ast_json *json)
Validator for DeviceState.
int ast_ari_validate_channel_left_bridge(struct ast_json *json)
Validator for ChannelLeftBridge.
int ast_ari_validate_device_state_changed(struct ast_json *json)
Validator for DeviceStateChanged.
int ast_ari_validate_channel_entered_bridge(struct ast_json *json)
Validator for ChannelEnteredBridge.
ari_validator ast_ari_validate_recording_failed_fn(void)
Function pointer to ast_ari_validate_recording_failed().
int ast_ari_validate_channel_unhold(struct ast_json *json)
Validator for ChannelUnhold.
ari_validator ast_ari_validate_device_state_fn(void)
Function pointer to ast_ari_validate_device_state().
ari_validator ast_ari_validate_bridge_video_source_changed_fn(void)
Function pointer to ast_ari_validate_bridge_video_source_changed().
int ast_ari_validate_event(struct ast_json *json)
Validator for Event.
int ast_ari_validate_bridge_video_source_changed(struct ast_json *json)
Validator for BridgeVideoSourceChanged.
int ast_ari_validate_system_info(struct ast_json *json)
Validator for SystemInfo.
ari_validator ast_ari_validate_channel_hold_fn(void)
Function pointer to ast_ari_validate_channel_hold().
int ast_ari_validate_recording_started(struct ast_json *json)
Validator for RecordingStarted.
int ast_ari_validate_channel(struct ast_json *json)
Validator for Channel.
ari_validator ast_ari_validate_module_fn(void)
Function pointer to ast_ari_validate_module().
int ast_ari_validate_build_info(struct ast_json *json)
Validator for BuildInfo.
int ast_ari_validate_rtpstat(struct ast_json *json)
Validator for RTPstat.
int ast_ari_validate_recording_failed(struct ast_json *json)
Validator for RecordingFailed.
int ast_ari_validate_contact_status_change(struct ast_json *json)
Validator for ContactStatusChange.
ari_validator ast_ari_validate_channel_caller_id_fn(void)
Function pointer to ast_ari_validate_channel_caller_id().
ari_validator ast_ari_validate_channel_state_change_fn(void)
Function pointer to ast_ari_validate_channel_state_change().
ari_validator ast_ari_validate_format_lang_pair_fn(void)
Function pointer to ast_ari_validate_format_lang_pair().
ari_validator ast_ari_validate_application_move_failed_fn(void)
Function pointer to ast_ari_validate_application_move_failed().
int ast_ari_validate_config_info(struct ast_json *json)
Validator for ConfigInfo.
ari_validator ast_ari_validate_channel_entered_bridge_fn(void)
Function pointer to ast_ari_validate_channel_entered_bridge().
ari_validator ast_ari_validate_channel_destroyed_fn(void)
Function pointer to ast_ari_validate_channel_destroyed().
ari_validator ast_ari_validate_endpoint_state_change_fn(void)
Function pointer to ast_ari_validate_endpoint_state_change().
ari_validator ast_ari_validate_channel_hangup_request_fn(void)
Function pointer to ast_ari_validate_channel_hangup_request().
int ast_ari_validate_config_tuple(struct ast_json *json)
Validator for ConfigTuple.
int ast_ari_validate_sound(struct ast_json *json)
Validator for Sound.
int ast_ari_validate_dial(struct ast_json *json)
Validator for Dial.
int ast_ari_validate_channel_created(struct ast_json *json)
Validator for ChannelCreated.
ari_validator ast_ari_validate_device_state_changed_fn(void)
Function pointer to ast_ari_validate_device_state_changed().
int ast_ari_validate_channel_userevent(struct ast_json *json)
Validator for ChannelUserevent.
int ast_ari_validate_bridge_merged(struct ast_json *json)
Validator for BridgeMerged.
int ast_ari_validate_channel_talking_started(struct ast_json *json)
Validator for ChannelTalkingStarted.
ari_validator ast_ari_validate_channel_unhold_fn(void)
Function pointer to ast_ari_validate_channel_unhold().
int ast_ari_validate_peer(struct ast_json *json)
Validator for Peer.
int ast_ari_validate_channel_connected_line(struct ast_json *json)
Validator for ChannelConnectedLine.
ari_validator ast_ari_validate_bridge_merged_fn(void)
Function pointer to ast_ari_validate_bridge_merged().
ari_validator ast_ari_validate_channel_fn(void)
Function pointer to ast_ari_validate_channel().
ari_validator ast_ari_validate_endpoint_fn(void)
Function pointer to ast_ari_validate_endpoint().
ari_validator ast_ari_validate_bridge_created_fn(void)
Function pointer to ast_ari_validate_bridge_created().
ari_validator ast_ari_validate_asterisk_info_fn(void)
Function pointer to ast_ari_validate_asterisk_info().
int ast_ari_validate_channel_hold(struct ast_json *json)
Validator for ChannelHold.
Generated file - Build validators for ARI model objects.
int ast_ari_validate_object(struct ast_json *json)
Validator for native Swagger object.
int ast_ari_validate_int(struct ast_json *json)
Validator for native Swagger int.
int ast_ari_validate_long(struct ast_json *json)
Validator for native Swagger long.
int ast_ari_validate_string(struct ast_json *json)
Validator for native Swagger string.
int ast_ari_validate_boolean(struct ast_json *json)
Validator for native Swagger boolean.
int ast_ari_validate_double(struct ast_json *json)
Validator for native Swagger double.
int ast_ari_validate_date(struct ast_json *json)
Validator for native Swagger date.
int ast_ari_validate_list(struct ast_json *json, int(*fn)(struct ast_json *))
Validator for a Swagger List[]/JSON array.
int(* ari_validator)(struct ast_json *json)
Function type for validator functions. Allows for.
static int has_priority(void)
Check whether we were set to high(er) priority.
Asterisk main include file. File version handling, generic pbx functions.
Support for logging to various files, console and syslog Configuration in file logger....
struct ast_json * ast_json_object_iter_value(struct ast_json_iter *iter)
Get the value from an iterator.
struct ast_json_iter * ast_json_object_iter_next(struct ast_json *object, struct ast_json_iter *iter)
Get the next iterator.
struct ast_json_iter * ast_json_object_iter(struct ast_json *object)
Get an iterator pointing to the first field in a JSON object.
const char * ast_json_string_get(const struct ast_json *string)
Get the value of a JSON string.
const char * ast_json_object_iter_key(struct ast_json_iter *iter)
Get the key from an iterator.
struct ast_json * ast_json_object_get(struct ast_json *object, const char *key)
Get a field from a JSON object.
Asterisk module definitions.
Iterator for JSON object key/values.
Abstract JSON element (object, array, string, int, ...).