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;
1051 has_accountcode = 1;
1054 if (!prop_is_valid) {
1064 if (!prop_is_valid) {
1073 if (!prop_is_valid) {
1083 if (!prop_is_valid) {
1090 has_creationtime = 1;
1093 if (!prop_is_valid) {
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 "ARI Channel has undocumented field %s\n",
1156 if (!has_accountcode) {
1166 if (!has_connected) {
1171 if (!has_creationtime) {
1176 if (!has_dialplan) {
1186 if (!has_language) {
1217 "ARI Dialed has undocumented field %s\n",
1235 int has_app_data = 0;
1236 int has_app_name = 0;
1237 int has_context = 0;
1247 if (!prop_is_valid) {
1257 if (!prop_is_valid) {
1267 if (!prop_is_valid) {
1277 if (!prop_is_valid) {
1287 if (!prop_is_valid) {
1294 "ARI DialplanCEP has undocumented field %s\n",
1300 if (!has_app_data) {
1305 if (!has_app_name) {
1320 if (!has_priority) {
1337 int has_channel_uniqueid = 0;
1338 int has_local_ssrc = 0;
1339 int has_remote_ssrc = 0;
1340 int has_rxcount = 0;
1341 int has_rxoctetcount = 0;
1342 int has_rxploss = 0;
1343 int has_txcount = 0;
1344 int has_txoctetcount = 0;
1345 int has_txploss = 0;
1350 has_channel_uniqueid = 1;
1353 if (!prop_is_valid) {
1354 ast_log(
LOG_ERROR,
"ARI RTPstat field channel_uniqueid failed validation\n");
1362 if (!prop_is_valid) {
1363 ast_log(
LOG_ERROR,
"ARI RTPstat field local_maxjitter failed validation\n");
1371 if (!prop_is_valid) {
1372 ast_log(
LOG_ERROR,
"ARI RTPstat field local_maxrxploss failed validation\n");
1380 if (!prop_is_valid) {
1381 ast_log(
LOG_ERROR,
"ARI RTPstat field local_minjitter failed validation\n");
1389 if (!prop_is_valid) {
1390 ast_log(
LOG_ERROR,
"ARI RTPstat field local_minrxploss failed validation\n");
1398 if (!prop_is_valid) {
1399 ast_log(
LOG_ERROR,
"ARI RTPstat field local_normdevjitter failed validation\n");
1407 if (!prop_is_valid) {
1408 ast_log(
LOG_ERROR,
"ARI RTPstat field local_normdevrxploss failed validation\n");
1417 if (!prop_is_valid) {
1426 if (!prop_is_valid) {
1427 ast_log(
LOG_ERROR,
"ARI RTPstat field local_stdevjitter failed validation\n");
1435 if (!prop_is_valid) {
1436 ast_log(
LOG_ERROR,
"ARI RTPstat field local_stdevrxploss failed validation\n");
1444 if (!prop_is_valid) {
1453 if (!prop_is_valid) {
1462 if (!prop_is_valid) {
1471 if (!prop_is_valid) {
1472 ast_log(
LOG_ERROR,
"ARI RTPstat field remote_maxjitter failed validation\n");
1480 if (!prop_is_valid) {
1481 ast_log(
LOG_ERROR,
"ARI RTPstat field remote_maxrxploss failed validation\n");
1489 if (!prop_is_valid) {
1490 ast_log(
LOG_ERROR,
"ARI RTPstat field remote_minjitter failed validation\n");
1498 if (!prop_is_valid) {
1499 ast_log(
LOG_ERROR,
"ARI RTPstat field remote_minrxploss failed validation\n");
1507 if (!prop_is_valid) {
1508 ast_log(
LOG_ERROR,
"ARI RTPstat field remote_normdevjitter failed validation\n");
1516 if (!prop_is_valid) {
1517 ast_log(
LOG_ERROR,
"ARI RTPstat field remote_normdevrxploss failed validation\n");
1523 has_remote_ssrc = 1;
1526 if (!prop_is_valid) {
1535 if (!prop_is_valid) {
1536 ast_log(
LOG_ERROR,
"ARI RTPstat field remote_stdevjitter failed validation\n");
1544 if (!prop_is_valid) {
1545 ast_log(
LOG_ERROR,
"ARI RTPstat field remote_stdevrxploss failed validation\n");
1553 if (!prop_is_valid) {
1563 if (!prop_is_valid) {
1572 if (!prop_is_valid) {
1579 has_rxoctetcount = 1;
1582 if (!prop_is_valid) {
1592 if (!prop_is_valid) {
1601 if (!prop_is_valid) {
1611 if (!prop_is_valid) {
1620 if (!prop_is_valid) {
1627 has_txoctetcount = 1;
1630 if (!prop_is_valid) {
1640 if (!prop_is_valid) {
1647 "ARI RTPstat has undocumented field %s\n",
1653 if (!has_channel_uniqueid) {
1654 ast_log(
LOG_ERROR,
"ARI RTPstat missing required field channel_uniqueid\n");
1658 if (!has_local_ssrc) {
1663 if (!has_remote_ssrc) {
1673 if (!has_rxoctetcount) {
1688 if (!has_txoctetcount) {
1710 int has_bridge_class = 0;
1711 int has_bridge_type = 0;
1712 int has_channels = 0;
1713 int has_creationtime = 0;
1714 int has_creator = 0;
1717 int has_technology = 0;
1722 has_bridge_class = 1;
1725 if (!prop_is_valid) {
1732 has_bridge_type = 1;
1735 if (!prop_is_valid) {
1746 if (!prop_is_valid) {
1753 has_creationtime = 1;
1756 if (!prop_is_valid) {
1766 if (!prop_is_valid) {
1776 if (!prop_is_valid) {
1786 if (!prop_is_valid) {
1796 if (!prop_is_valid) {
1805 if (!prop_is_valid) {
1814 if (!prop_is_valid) {
1815 ast_log(
LOG_ERROR,
"ARI Bridge field video_source_id failed validation\n");
1821 "ARI Bridge has undocumented field %s\n",
1827 if (!has_bridge_class) {
1832 if (!has_bridge_type) {
1837 if (!has_channels) {
1842 if (!has_creationtime) {
1862 if (!has_technology) {
1882 int has_target_uri = 0;
1889 if (!prop_is_valid) {
1898 if (!prop_is_valid) {
1899 ast_log(
LOG_ERROR,
"ARI LiveRecording field duration failed validation\n");
1908 if (!prop_is_valid) {
1918 if (!prop_is_valid) {
1927 if (!prop_is_valid) {
1928 ast_log(
LOG_ERROR,
"ARI LiveRecording field silence_duration failed validation\n");
1937 if (!prop_is_valid) {
1946 if (!prop_is_valid) {
1947 ast_log(
LOG_ERROR,
"ARI LiveRecording field talking_duration failed validation\n");
1956 if (!prop_is_valid) {
1957 ast_log(
LOG_ERROR,
"ARI LiveRecording field target_uri failed validation\n");
1963 "ARI LiveRecording has undocumented field %s\n",
1984 if (!has_target_uri) {
1985 ast_log(
LOG_ERROR,
"ARI LiveRecording missing required field target_uri\n");
2010 if (!prop_is_valid) {
2011 ast_log(
LOG_ERROR,
"ARI StoredRecording field format failed validation\n");
2020 if (!prop_is_valid) {
2027 "ARI StoredRecording has undocumented field %s\n",
2056 int has_language = 0;
2064 if (!prop_is_valid) {
2074 if (!prop_is_valid) {
2075 ast_log(
LOG_ERROR,
"ARI FormatLangPair field language failed validation\n");
2081 "ARI FormatLangPair has undocumented field %s\n",
2092 if (!has_language) {
2093 ast_log(
LOG_ERROR,
"ARI FormatLangPair missing required field language\n");
2109 int has_formats = 0;
2119 if (!prop_is_valid) {
2129 if (!prop_is_valid) {
2138 if (!prop_is_valid) {
2145 "ARI Sound has undocumented field %s\n",
2174 int has_media_uri = 0;
2176 int has_target_uri = 0;
2184 if (!prop_is_valid) {
2193 if (!prop_is_valid) {
2203 if (!prop_is_valid) {
2212 if (!prop_is_valid) {
2213 ast_log(
LOG_ERROR,
"ARI Playback field next_media_uri failed validation\n");
2222 if (!prop_is_valid) {
2232 if (!prop_is_valid) {
2239 "ARI Playback has undocumented field %s\n",
2250 if (!has_media_uri) {
2260 if (!has_target_uri) {
2286 if (!prop_is_valid) {
2296 if (!prop_is_valid) {
2303 "ARI DeviceState has undocumented field %s\n",
2332 int has_new_messages = 0;
2333 int has_old_messages = 0;
2341 if (!prop_is_valid) {
2348 has_new_messages = 1;
2351 if (!prop_is_valid) {
2358 has_old_messages = 1;
2361 if (!prop_is_valid) {
2368 "ARI Mailbox has undocumented field %s\n",
2379 if (!has_new_messages) {
2384 if (!has_old_messages) {
2402 int has_application = 0;
2403 int has_timestamp = 0;
2405 int has_channel = 0;
2406 int has_destination = 0;
2413 if (!prop_is_valid) {
2414 ast_log(
LOG_ERROR,
"ARI ApplicationMoveFailed field asterisk_id failed validation\n");
2423 if (!prop_is_valid) {
2424 ast_log(
LOG_ERROR,
"ARI ApplicationMoveFailed field type failed validation\n");
2430 has_application = 1;
2433 if (!prop_is_valid) {
2434 ast_log(
LOG_ERROR,
"ARI ApplicationMoveFailed field application failed validation\n");
2443 if (!prop_is_valid) {
2444 ast_log(
LOG_ERROR,
"ARI ApplicationMoveFailed field timestamp failed validation\n");
2454 if (!prop_is_valid) {
2455 ast_log(
LOG_ERROR,
"ARI ApplicationMoveFailed field args failed validation\n");
2464 if (!prop_is_valid) {
2465 ast_log(
LOG_ERROR,
"ARI ApplicationMoveFailed field channel failed validation\n");
2471 has_destination = 1;
2474 if (!prop_is_valid) {
2475 ast_log(
LOG_ERROR,
"ARI ApplicationMoveFailed field destination failed validation\n");
2481 "ARI ApplicationMoveFailed has undocumented field %s\n",
2488 ast_log(
LOG_ERROR,
"ARI ApplicationMoveFailed missing required field type\n");
2492 if (!has_application) {
2493 ast_log(
LOG_ERROR,
"ARI ApplicationMoveFailed missing required field application\n");
2497 if (!has_timestamp) {
2498 ast_log(
LOG_ERROR,
"ARI ApplicationMoveFailed missing required field timestamp\n");
2503 ast_log(
LOG_ERROR,
"ARI ApplicationMoveFailed missing required field args\n");
2508 ast_log(
LOG_ERROR,
"ARI ApplicationMoveFailed missing required field channel\n");
2512 if (!has_destination) {
2513 ast_log(
LOG_ERROR,
"ARI ApplicationMoveFailed missing required field destination\n");
2530 int has_application = 0;
2531 int has_timestamp = 0;
2538 if (!prop_is_valid) {
2539 ast_log(
LOG_ERROR,
"ARI ApplicationReplaced field asterisk_id failed validation\n");
2548 if (!prop_is_valid) {
2549 ast_log(
LOG_ERROR,
"ARI ApplicationReplaced field type failed validation\n");
2555 has_application = 1;
2558 if (!prop_is_valid) {
2559 ast_log(
LOG_ERROR,
"ARI ApplicationReplaced field application failed validation\n");
2568 if (!prop_is_valid) {
2569 ast_log(
LOG_ERROR,
"ARI ApplicationReplaced field timestamp failed validation\n");
2575 "ARI ApplicationReplaced has undocumented field %s\n",
2582 ast_log(
LOG_ERROR,
"ARI ApplicationReplaced missing required field type\n");
2586 if (!has_application) {
2587 ast_log(
LOG_ERROR,
"ARI ApplicationReplaced missing required field application\n");
2591 if (!has_timestamp) {
2592 ast_log(
LOG_ERROR,
"ARI ApplicationReplaced missing required field timestamp\n");
2609 int has_application = 0;
2610 int has_timestamp = 0;
2611 int has_destination_type = 0;
2612 int has_is_external = 0;
2614 int has_transferer_first_leg = 0;
2615 int has_transferer_second_leg = 0;
2622 if (!prop_is_valid) {
2623 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field asterisk_id failed validation\n");
2632 if (!prop_is_valid) {
2633 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field type failed validation\n");
2639 has_application = 1;
2642 if (!prop_is_valid) {
2643 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field application failed validation\n");
2652 if (!prop_is_valid) {
2653 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field timestamp failed validation\n");
2661 if (!prop_is_valid) {
2662 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field destination_application failed validation\n");
2670 if (!prop_is_valid) {
2671 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field destination_bridge failed validation\n");
2679 if (!prop_is_valid) {
2680 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field destination_link_first_leg failed validation\n");
2688 if (!prop_is_valid) {
2689 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field destination_link_second_leg failed validation\n");
2697 if (!prop_is_valid) {
2698 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field destination_threeway_bridge failed validation\n");
2706 if (!prop_is_valid) {
2707 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field destination_threeway_channel failed validation\n");
2713 has_destination_type = 1;
2716 if (!prop_is_valid) {
2717 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field destination_type failed validation\n");
2723 has_is_external = 1;
2726 if (!prop_is_valid) {
2727 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field is_external failed validation\n");
2735 if (!prop_is_valid) {
2736 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field replace_channel failed validation\n");
2745 if (!prop_is_valid) {
2746 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field result failed validation\n");
2754 if (!prop_is_valid) {
2755 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field transfer_target failed validation\n");
2763 if (!prop_is_valid) {
2764 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field transferee failed validation\n");
2770 has_transferer_first_leg = 1;
2773 if (!prop_is_valid) {
2774 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field transferer_first_leg failed validation\n");
2782 if (!prop_is_valid) {
2783 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field transferer_first_leg_bridge failed validation\n");
2789 has_transferer_second_leg = 1;
2792 if (!prop_is_valid) {
2793 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field transferer_second_leg failed validation\n");
2801 if (!prop_is_valid) {
2802 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer field transferer_second_leg_bridge failed validation\n");
2808 "ARI BridgeAttendedTransfer has undocumented field %s\n",
2815 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer missing required field type\n");
2819 if (!has_application) {
2820 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer missing required field application\n");
2824 if (!has_timestamp) {
2825 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer missing required field timestamp\n");
2829 if (!has_destination_type) {
2830 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer missing required field destination_type\n");
2834 if (!has_is_external) {
2835 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer missing required field is_external\n");
2840 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer missing required field result\n");
2844 if (!has_transferer_first_leg) {
2845 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer missing required field transferer_first_leg\n");
2849 if (!has_transferer_second_leg) {
2850 ast_log(
LOG_ERROR,
"ARI BridgeAttendedTransfer missing required field transferer_second_leg\n");
2867 int has_application = 0;
2868 int has_timestamp = 0;
2869 int has_channel = 0;
2870 int has_context = 0;
2872 int has_is_external = 0;
2880 if (!prop_is_valid) {
2881 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer field asterisk_id failed validation\n");
2890 if (!prop_is_valid) {
2891 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer field type failed validation\n");
2897 has_application = 1;
2900 if (!prop_is_valid) {
2901 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer field application failed validation\n");
2910 if (!prop_is_valid) {
2911 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer field timestamp failed validation\n");
2919 if (!prop_is_valid) {
2920 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer field bridge failed validation\n");
2929 if (!prop_is_valid) {
2930 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer field channel failed validation\n");
2939 if (!prop_is_valid) {
2940 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer field context failed validation\n");
2949 if (!prop_is_valid) {
2950 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer field exten failed validation\n");
2956 has_is_external = 1;
2959 if (!prop_is_valid) {
2960 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer field is_external failed validation\n");
2968 if (!prop_is_valid) {
2969 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer field replace_channel failed validation\n");
2978 if (!prop_is_valid) {
2979 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer field result failed validation\n");
2987 if (!prop_is_valid) {
2988 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer field transferee failed validation\n");
2994 "ARI BridgeBlindTransfer has undocumented field %s\n",
3001 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer missing required field type\n");
3005 if (!has_application) {
3006 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer missing required field application\n");
3010 if (!has_timestamp) {
3011 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer missing required field timestamp\n");
3016 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer missing required field channel\n");
3021 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer missing required field context\n");
3026 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer missing required field exten\n");
3030 if (!has_is_external) {
3031 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer missing required field is_external\n");
3036 ast_log(
LOG_ERROR,
"ARI BridgeBlindTransfer missing required field result\n");
3053 int has_application = 0;
3054 int has_timestamp = 0;
3062 if (!prop_is_valid) {
3063 ast_log(
LOG_ERROR,
"ARI BridgeCreated field asterisk_id failed validation\n");
3072 if (!prop_is_valid) {
3079 has_application = 1;
3082 if (!prop_is_valid) {
3083 ast_log(
LOG_ERROR,
"ARI BridgeCreated field application failed validation\n");
3092 if (!prop_is_valid) {
3093 ast_log(
LOG_ERROR,
"ARI BridgeCreated field timestamp failed validation\n");
3102 if (!prop_is_valid) {
3109 "ARI BridgeCreated has undocumented field %s\n",
3120 if (!has_application) {
3121 ast_log(
LOG_ERROR,
"ARI BridgeCreated missing required field application\n");
3125 if (!has_timestamp) {
3126 ast_log(
LOG_ERROR,
"ARI BridgeCreated missing required field timestamp\n");
3148 int has_application = 0;
3149 int has_timestamp = 0;
3157 if (!prop_is_valid) {
3158 ast_log(
LOG_ERROR,
"ARI BridgeDestroyed field asterisk_id failed validation\n");
3167 if (!prop_is_valid) {
3174 has_application = 1;
3177 if (!prop_is_valid) {
3178 ast_log(
LOG_ERROR,
"ARI BridgeDestroyed field application failed validation\n");
3187 if (!prop_is_valid) {
3188 ast_log(
LOG_ERROR,
"ARI BridgeDestroyed field timestamp failed validation\n");
3197 if (!prop_is_valid) {
3198 ast_log(
LOG_ERROR,
"ARI BridgeDestroyed field bridge failed validation\n");
3204 "ARI BridgeDestroyed has undocumented field %s\n",
3215 if (!has_application) {
3216 ast_log(
LOG_ERROR,
"ARI BridgeDestroyed missing required field application\n");
3220 if (!has_timestamp) {
3221 ast_log(
LOG_ERROR,
"ARI BridgeDestroyed missing required field timestamp\n");
3243 int has_application = 0;
3244 int has_timestamp = 0;
3246 int has_bridge_from = 0;
3253 if (!prop_is_valid) {
3254 ast_log(
LOG_ERROR,
"ARI BridgeMerged field asterisk_id failed validation\n");
3263 if (!prop_is_valid) {
3270 has_application = 1;
3273 if (!prop_is_valid) {
3274 ast_log(
LOG_ERROR,
"ARI BridgeMerged field application failed validation\n");
3283 if (!prop_is_valid) {
3284 ast_log(
LOG_ERROR,
"ARI BridgeMerged field timestamp failed validation\n");
3293 if (!prop_is_valid) {
3300 has_bridge_from = 1;
3303 if (!prop_is_valid) {
3304 ast_log(
LOG_ERROR,
"ARI BridgeMerged field bridge_from failed validation\n");
3310 "ARI BridgeMerged has undocumented field %s\n",
3321 if (!has_application) {
3322 ast_log(
LOG_ERROR,
"ARI BridgeMerged missing required field application\n");
3326 if (!has_timestamp) {
3336 if (!has_bridge_from) {
3337 ast_log(
LOG_ERROR,
"ARI BridgeMerged missing required field bridge_from\n");
3354 int has_application = 0;
3355 int has_timestamp = 0;
3363 if (!prop_is_valid) {
3364 ast_log(
LOG_ERROR,
"ARI BridgeVideoSourceChanged field asterisk_id failed validation\n");
3373 if (!prop_is_valid) {
3374 ast_log(
LOG_ERROR,
"ARI BridgeVideoSourceChanged field type failed validation\n");
3380 has_application = 1;
3383 if (!prop_is_valid) {
3384 ast_log(
LOG_ERROR,
"ARI BridgeVideoSourceChanged field application failed validation\n");
3393 if (!prop_is_valid) {
3394 ast_log(
LOG_ERROR,
"ARI BridgeVideoSourceChanged field timestamp failed validation\n");
3403 if (!prop_is_valid) {
3404 ast_log(
LOG_ERROR,
"ARI BridgeVideoSourceChanged field bridge failed validation\n");
3412 if (!prop_is_valid) {
3413 ast_log(
LOG_ERROR,
"ARI BridgeVideoSourceChanged field old_video_source_id failed validation\n");
3419 "ARI BridgeVideoSourceChanged has undocumented field %s\n",
3426 ast_log(
LOG_ERROR,
"ARI BridgeVideoSourceChanged missing required field type\n");
3430 if (!has_application) {
3431 ast_log(
LOG_ERROR,
"ARI BridgeVideoSourceChanged missing required field application\n");
3435 if (!has_timestamp) {
3436 ast_log(
LOG_ERROR,
"ARI BridgeVideoSourceChanged missing required field timestamp\n");
3441 ast_log(
LOG_ERROR,
"ARI BridgeVideoSourceChanged missing required field bridge\n");
3458 int has_application = 0;
3459 int has_timestamp = 0;
3460 int has_caller_presentation = 0;
3461 int has_caller_presentation_txt = 0;
3462 int has_channel = 0;
3469 if (!prop_is_valid) {
3470 ast_log(
LOG_ERROR,
"ARI ChannelCallerId field asterisk_id failed validation\n");
3479 if (!prop_is_valid) {
3486 has_application = 1;
3489 if (!prop_is_valid) {
3490 ast_log(
LOG_ERROR,
"ARI ChannelCallerId field application failed validation\n");
3499 if (!prop_is_valid) {
3500 ast_log(
LOG_ERROR,
"ARI ChannelCallerId field timestamp failed validation\n");
3506 has_caller_presentation = 1;
3509 if (!prop_is_valid) {
3510 ast_log(
LOG_ERROR,
"ARI ChannelCallerId field caller_presentation failed validation\n");
3516 has_caller_presentation_txt = 1;
3519 if (!prop_is_valid) {
3520 ast_log(
LOG_ERROR,
"ARI ChannelCallerId field caller_presentation_txt failed validation\n");
3529 if (!prop_is_valid) {
3530 ast_log(
LOG_ERROR,
"ARI ChannelCallerId field channel failed validation\n");
3536 "ARI ChannelCallerId has undocumented field %s\n",
3547 if (!has_application) {
3548 ast_log(
LOG_ERROR,
"ARI ChannelCallerId missing required field application\n");
3552 if (!has_timestamp) {
3553 ast_log(
LOG_ERROR,
"ARI ChannelCallerId missing required field timestamp\n");
3557 if (!has_caller_presentation) {
3558 ast_log(
LOG_ERROR,
"ARI ChannelCallerId missing required field caller_presentation\n");
3562 if (!has_caller_presentation_txt) {
3563 ast_log(
LOG_ERROR,
"ARI ChannelCallerId missing required field caller_presentation_txt\n");
3568 ast_log(
LOG_ERROR,
"ARI ChannelCallerId missing required field channel\n");
3585 int has_application = 0;
3586 int has_timestamp = 0;
3587 int has_channel = 0;
3594 if (!prop_is_valid) {
3595 ast_log(
LOG_ERROR,
"ARI ChannelConnectedLine field asterisk_id failed validation\n");
3604 if (!prop_is_valid) {
3605 ast_log(
LOG_ERROR,
"ARI ChannelConnectedLine field type failed validation\n");
3611 has_application = 1;
3614 if (!prop_is_valid) {
3615 ast_log(
LOG_ERROR,
"ARI ChannelConnectedLine field application failed validation\n");
3624 if (!prop_is_valid) {
3625 ast_log(
LOG_ERROR,
"ARI ChannelConnectedLine field timestamp failed validation\n");
3634 if (!prop_is_valid) {
3635 ast_log(
LOG_ERROR,
"ARI ChannelConnectedLine field channel failed validation\n");
3641 "ARI ChannelConnectedLine has undocumented field %s\n",
3648 ast_log(
LOG_ERROR,
"ARI ChannelConnectedLine missing required field type\n");
3652 if (!has_application) {
3653 ast_log(
LOG_ERROR,
"ARI ChannelConnectedLine missing required field application\n");
3657 if (!has_timestamp) {
3658 ast_log(
LOG_ERROR,
"ARI ChannelConnectedLine missing required field timestamp\n");
3663 ast_log(
LOG_ERROR,
"ARI ChannelConnectedLine missing required field channel\n");
3680 int has_application = 0;
3681 int has_timestamp = 0;
3682 int has_channel = 0;
3689 if (!prop_is_valid) {
3690 ast_log(
LOG_ERROR,
"ARI ChannelCreated field asterisk_id failed validation\n");
3699 if (!prop_is_valid) {
3706 has_application = 1;
3709 if (!prop_is_valid) {
3710 ast_log(
LOG_ERROR,
"ARI ChannelCreated field application failed validation\n");
3719 if (!prop_is_valid) {
3720 ast_log(
LOG_ERROR,
"ARI ChannelCreated field timestamp failed validation\n");
3729 if (!prop_is_valid) {
3730 ast_log(
LOG_ERROR,
"ARI ChannelCreated field channel failed validation\n");
3736 "ARI ChannelCreated has undocumented field %s\n",
3747 if (!has_application) {
3748 ast_log(
LOG_ERROR,
"ARI ChannelCreated missing required field application\n");
3752 if (!has_timestamp) {
3753 ast_log(
LOG_ERROR,
"ARI ChannelCreated missing required field timestamp\n");
3775 int has_application = 0;
3776 int has_timestamp = 0;
3778 int has_cause_txt = 0;
3779 int has_channel = 0;
3786 if (!prop_is_valid) {
3787 ast_log(
LOG_ERROR,
"ARI ChannelDestroyed field asterisk_id failed validation\n");
3796 if (!prop_is_valid) {
3803 has_application = 1;
3806 if (!prop_is_valid) {
3807 ast_log(
LOG_ERROR,
"ARI ChannelDestroyed field application failed validation\n");
3816 if (!prop_is_valid) {
3817 ast_log(
LOG_ERROR,
"ARI ChannelDestroyed field timestamp failed validation\n");
3826 if (!prop_is_valid) {
3827 ast_log(
LOG_ERROR,
"ARI ChannelDestroyed field cause failed validation\n");
3836 if (!prop_is_valid) {
3837 ast_log(
LOG_ERROR,
"ARI ChannelDestroyed field cause_txt failed validation\n");
3846 if (!prop_is_valid) {
3847 ast_log(
LOG_ERROR,
"ARI ChannelDestroyed field channel failed validation\n");
3853 "ARI ChannelDestroyed has undocumented field %s\n",
3864 if (!has_application) {
3865 ast_log(
LOG_ERROR,
"ARI ChannelDestroyed missing required field application\n");
3869 if (!has_timestamp) {
3870 ast_log(
LOG_ERROR,
"ARI ChannelDestroyed missing required field timestamp\n");
3879 if (!has_cause_txt) {
3880 ast_log(
LOG_ERROR,
"ARI ChannelDestroyed missing required field cause_txt\n");
3885 ast_log(
LOG_ERROR,
"ARI ChannelDestroyed missing required field channel\n");
3902 int has_application = 0;
3903 int has_timestamp = 0;
3904 int has_channel = 0;
3905 int has_dialplan_app = 0;
3906 int has_dialplan_app_data = 0;
3913 if (!prop_is_valid) {
3914 ast_log(
LOG_ERROR,
"ARI ChannelDialplan field asterisk_id failed validation\n");
3923 if (!prop_is_valid) {
3930 has_application = 1;
3933 if (!prop_is_valid) {
3934 ast_log(
LOG_ERROR,
"ARI ChannelDialplan field application failed validation\n");
3943 if (!prop_is_valid) {
3944 ast_log(
LOG_ERROR,
"ARI ChannelDialplan field timestamp failed validation\n");
3953 if (!prop_is_valid) {
3954 ast_log(
LOG_ERROR,
"ARI ChannelDialplan field channel failed validation\n");
3960 has_dialplan_app = 1;
3963 if (!prop_is_valid) {
3964 ast_log(
LOG_ERROR,
"ARI ChannelDialplan field dialplan_app failed validation\n");
3970 has_dialplan_app_data = 1;
3973 if (!prop_is_valid) {
3974 ast_log(
LOG_ERROR,
"ARI ChannelDialplan field dialplan_app_data failed validation\n");
3980 "ARI ChannelDialplan has undocumented field %s\n",
3991 if (!has_application) {
3992 ast_log(
LOG_ERROR,
"ARI ChannelDialplan missing required field application\n");
3996 if (!has_timestamp) {
3997 ast_log(
LOG_ERROR,
"ARI ChannelDialplan missing required field timestamp\n");
4002 ast_log(
LOG_ERROR,
"ARI ChannelDialplan missing required field channel\n");
4006 if (!has_dialplan_app) {
4007 ast_log(
LOG_ERROR,
"ARI ChannelDialplan missing required field dialplan_app\n");
4011 if (!has_dialplan_app_data) {
4012 ast_log(
LOG_ERROR,
"ARI ChannelDialplan missing required field dialplan_app_data\n");
4029 int has_application = 0;
4030 int has_timestamp = 0;
4031 int has_channel = 0;
4033 int has_duration_ms = 0;
4040 if (!prop_is_valid) {
4041 ast_log(
LOG_ERROR,
"ARI ChannelDtmfReceived field asterisk_id failed validation\n");
4050 if (!prop_is_valid) {
4051 ast_log(
LOG_ERROR,
"ARI ChannelDtmfReceived field type failed validation\n");
4057 has_application = 1;
4060 if (!prop_is_valid) {
4061 ast_log(
LOG_ERROR,
"ARI ChannelDtmfReceived field application failed validation\n");
4070 if (!prop_is_valid) {
4071 ast_log(
LOG_ERROR,
"ARI ChannelDtmfReceived field timestamp failed validation\n");
4080 if (!prop_is_valid) {
4081 ast_log(
LOG_ERROR,
"ARI ChannelDtmfReceived field channel failed validation\n");
4090 if (!prop_is_valid) {
4091 ast_log(
LOG_ERROR,
"ARI ChannelDtmfReceived field digit failed validation\n");
4097 has_duration_ms = 1;
4100 if (!prop_is_valid) {
4101 ast_log(
LOG_ERROR,
"ARI ChannelDtmfReceived field duration_ms failed validation\n");
4107 "ARI ChannelDtmfReceived has undocumented field %s\n",
4114 ast_log(
LOG_ERROR,
"ARI ChannelDtmfReceived missing required field type\n");
4118 if (!has_application) {
4119 ast_log(
LOG_ERROR,
"ARI ChannelDtmfReceived missing required field application\n");
4123 if (!has_timestamp) {
4124 ast_log(
LOG_ERROR,
"ARI ChannelDtmfReceived missing required field timestamp\n");
4129 ast_log(
LOG_ERROR,
"ARI ChannelDtmfReceived missing required field channel\n");
4134 ast_log(
LOG_ERROR,
"ARI ChannelDtmfReceived missing required field digit\n");
4138 if (!has_duration_ms) {
4139 ast_log(
LOG_ERROR,
"ARI ChannelDtmfReceived missing required field duration_ms\n");
4156 int has_application = 0;
4157 int has_timestamp = 0;
4165 if (!prop_is_valid) {
4166 ast_log(
LOG_ERROR,
"ARI ChannelEnteredBridge field asterisk_id failed validation\n");
4175 if (!prop_is_valid) {
4176 ast_log(
LOG_ERROR,
"ARI ChannelEnteredBridge field type failed validation\n");
4182 has_application = 1;
4185 if (!prop_is_valid) {
4186 ast_log(
LOG_ERROR,
"ARI ChannelEnteredBridge field application failed validation\n");
4195 if (!prop_is_valid) {
4196 ast_log(
LOG_ERROR,
"ARI ChannelEnteredBridge field timestamp failed validation\n");
4205 if (!prop_is_valid) {
4206 ast_log(
LOG_ERROR,
"ARI ChannelEnteredBridge field bridge failed validation\n");
4214 if (!prop_is_valid) {
4215 ast_log(
LOG_ERROR,
"ARI ChannelEnteredBridge field channel failed validation\n");
4221 "ARI ChannelEnteredBridge has undocumented field %s\n",
4228 ast_log(
LOG_ERROR,
"ARI ChannelEnteredBridge missing required field type\n");
4232 if (!has_application) {
4233 ast_log(
LOG_ERROR,
"ARI ChannelEnteredBridge missing required field application\n");
4237 if (!has_timestamp) {
4238 ast_log(
LOG_ERROR,
"ARI ChannelEnteredBridge missing required field timestamp\n");
4243 ast_log(
LOG_ERROR,
"ARI ChannelEnteredBridge missing required field bridge\n");
4260 int has_application = 0;
4261 int has_timestamp = 0;
4262 int has_channel = 0;
4269 if (!prop_is_valid) {
4270 ast_log(
LOG_ERROR,
"ARI ChannelHangupRequest field asterisk_id failed validation\n");
4279 if (!prop_is_valid) {
4280 ast_log(
LOG_ERROR,
"ARI ChannelHangupRequest field type failed validation\n");
4286 has_application = 1;
4289 if (!prop_is_valid) {
4290 ast_log(
LOG_ERROR,
"ARI ChannelHangupRequest field application failed validation\n");
4299 if (!prop_is_valid) {
4300 ast_log(
LOG_ERROR,
"ARI ChannelHangupRequest field timestamp failed validation\n");
4308 if (!prop_is_valid) {
4309 ast_log(
LOG_ERROR,
"ARI ChannelHangupRequest field cause failed validation\n");
4318 if (!prop_is_valid) {
4319 ast_log(
LOG_ERROR,
"ARI ChannelHangupRequest field channel failed validation\n");
4327 if (!prop_is_valid) {
4328 ast_log(
LOG_ERROR,
"ARI ChannelHangupRequest field soft failed validation\n");
4334 "ARI ChannelHangupRequest has undocumented field %s\n",
4341 ast_log(
LOG_ERROR,
"ARI ChannelHangupRequest missing required field type\n");
4345 if (!has_application) {
4346 ast_log(
LOG_ERROR,
"ARI ChannelHangupRequest missing required field application\n");
4350 if (!has_timestamp) {
4351 ast_log(
LOG_ERROR,
"ARI ChannelHangupRequest missing required field timestamp\n");
4356 ast_log(
LOG_ERROR,
"ARI ChannelHangupRequest missing required field channel\n");
4373 int has_application = 0;
4374 int has_timestamp = 0;
4375 int has_channel = 0;
4382 if (!prop_is_valid) {
4383 ast_log(
LOG_ERROR,
"ARI ChannelHold field asterisk_id failed validation\n");
4392 if (!prop_is_valid) {
4399 has_application = 1;
4402 if (!prop_is_valid) {
4403 ast_log(
LOG_ERROR,
"ARI ChannelHold field application failed validation\n");
4412 if (!prop_is_valid) {
4422 if (!prop_is_valid) {
4431 if (!prop_is_valid) {
4432 ast_log(
LOG_ERROR,
"ARI ChannelHold field musicclass failed validation\n");
4438 "ARI ChannelHold has undocumented field %s\n",
4449 if (!has_application) {
4450 ast_log(
LOG_ERROR,
"ARI ChannelHold missing required field application\n");
4454 if (!has_timestamp) {
4477 int has_application = 0;
4478 int has_timestamp = 0;
4480 int has_channel = 0;
4487 if (!prop_is_valid) {
4488 ast_log(
LOG_ERROR,
"ARI ChannelLeftBridge field asterisk_id failed validation\n");
4497 if (!prop_is_valid) {
4498 ast_log(
LOG_ERROR,
"ARI ChannelLeftBridge field type failed validation\n");
4504 has_application = 1;
4507 if (!prop_is_valid) {
4508 ast_log(
LOG_ERROR,
"ARI ChannelLeftBridge field application failed validation\n");
4517 if (!prop_is_valid) {
4518 ast_log(
LOG_ERROR,
"ARI ChannelLeftBridge field timestamp failed validation\n");
4527 if (!prop_is_valid) {
4528 ast_log(
LOG_ERROR,
"ARI ChannelLeftBridge field bridge failed validation\n");
4537 if (!prop_is_valid) {
4538 ast_log(
LOG_ERROR,
"ARI ChannelLeftBridge field channel failed validation\n");
4544 "ARI ChannelLeftBridge has undocumented field %s\n",
4555 if (!has_application) {
4556 ast_log(
LOG_ERROR,
"ARI ChannelLeftBridge missing required field application\n");
4560 if (!has_timestamp) {
4561 ast_log(
LOG_ERROR,
"ARI ChannelLeftBridge missing required field timestamp\n");
4566 ast_log(
LOG_ERROR,
"ARI ChannelLeftBridge missing required field bridge\n");
4571 ast_log(
LOG_ERROR,
"ARI ChannelLeftBridge missing required field channel\n");
4588 int has_application = 0;
4589 int has_timestamp = 0;
4590 int has_channel = 0;
4597 if (!prop_is_valid) {
4598 ast_log(
LOG_ERROR,
"ARI ChannelStateChange field asterisk_id failed validation\n");
4607 if (!prop_is_valid) {
4608 ast_log(
LOG_ERROR,
"ARI ChannelStateChange field type failed validation\n");
4614 has_application = 1;
4617 if (!prop_is_valid) {
4618 ast_log(
LOG_ERROR,
"ARI ChannelStateChange field application failed validation\n");
4627 if (!prop_is_valid) {
4628 ast_log(
LOG_ERROR,
"ARI ChannelStateChange field timestamp failed validation\n");
4637 if (!prop_is_valid) {
4638 ast_log(
LOG_ERROR,
"ARI ChannelStateChange field channel failed validation\n");
4644 "ARI ChannelStateChange has undocumented field %s\n",
4651 ast_log(
LOG_ERROR,
"ARI ChannelStateChange missing required field type\n");
4655 if (!has_application) {
4656 ast_log(
LOG_ERROR,
"ARI ChannelStateChange missing required field application\n");
4660 if (!has_timestamp) {
4661 ast_log(
LOG_ERROR,
"ARI ChannelStateChange missing required field timestamp\n");
4666 ast_log(
LOG_ERROR,
"ARI ChannelStateChange missing required field channel\n");
4683 int has_application = 0;
4684 int has_timestamp = 0;
4685 int has_channel = 0;
4686 int has_duration = 0;
4693 if (!prop_is_valid) {
4694 ast_log(
LOG_ERROR,
"ARI ChannelTalkingFinished field asterisk_id failed validation\n");
4703 if (!prop_is_valid) {
4704 ast_log(
LOG_ERROR,
"ARI ChannelTalkingFinished field type failed validation\n");
4710 has_application = 1;
4713 if (!prop_is_valid) {
4714 ast_log(
LOG_ERROR,
"ARI ChannelTalkingFinished field application failed validation\n");
4723 if (!prop_is_valid) {
4724 ast_log(
LOG_ERROR,
"ARI ChannelTalkingFinished field timestamp failed validation\n");
4733 if (!prop_is_valid) {
4734 ast_log(
LOG_ERROR,
"ARI ChannelTalkingFinished field channel failed validation\n");
4743 if (!prop_is_valid) {
4744 ast_log(
LOG_ERROR,
"ARI ChannelTalkingFinished field duration failed validation\n");
4750 "ARI ChannelTalkingFinished has undocumented field %s\n",
4757 ast_log(
LOG_ERROR,
"ARI ChannelTalkingFinished missing required field type\n");
4761 if (!has_application) {
4762 ast_log(
LOG_ERROR,
"ARI ChannelTalkingFinished missing required field application\n");
4766 if (!has_timestamp) {
4767 ast_log(
LOG_ERROR,
"ARI ChannelTalkingFinished missing required field timestamp\n");
4772 ast_log(
LOG_ERROR,
"ARI ChannelTalkingFinished missing required field channel\n");
4776 if (!has_duration) {
4777 ast_log(
LOG_ERROR,
"ARI ChannelTalkingFinished missing required field duration\n");
4794 int has_application = 0;
4795 int has_timestamp = 0;
4796 int has_channel = 0;
4803 if (!prop_is_valid) {
4804 ast_log(
LOG_ERROR,
"ARI ChannelTalkingStarted field asterisk_id failed validation\n");
4813 if (!prop_is_valid) {
4814 ast_log(
LOG_ERROR,
"ARI ChannelTalkingStarted field type failed validation\n");
4820 has_application = 1;
4823 if (!prop_is_valid) {
4824 ast_log(
LOG_ERROR,
"ARI ChannelTalkingStarted field application failed validation\n");
4833 if (!prop_is_valid) {
4834 ast_log(
LOG_ERROR,
"ARI ChannelTalkingStarted field timestamp failed validation\n");
4843 if (!prop_is_valid) {
4844 ast_log(
LOG_ERROR,
"ARI ChannelTalkingStarted field channel failed validation\n");
4850 "ARI ChannelTalkingStarted has undocumented field %s\n",
4857 ast_log(
LOG_ERROR,
"ARI ChannelTalkingStarted missing required field type\n");
4861 if (!has_application) {
4862 ast_log(
LOG_ERROR,
"ARI ChannelTalkingStarted missing required field application\n");
4866 if (!has_timestamp) {
4867 ast_log(
LOG_ERROR,
"ARI ChannelTalkingStarted missing required field timestamp\n");
4872 ast_log(
LOG_ERROR,
"ARI ChannelTalkingStarted missing required field channel\n");
4889 int has_application = 0;
4890 int has_timestamp = 0;
4891 int has_channel = 0;
4898 if (!prop_is_valid) {
4899 ast_log(
LOG_ERROR,
"ARI ChannelUnhold field asterisk_id failed validation\n");
4908 if (!prop_is_valid) {
4915 has_application = 1;
4918 if (!prop_is_valid) {
4919 ast_log(
LOG_ERROR,
"ARI ChannelUnhold field application failed validation\n");
4928 if (!prop_is_valid) {
4929 ast_log(
LOG_ERROR,
"ARI ChannelUnhold field timestamp failed validation\n");
4938 if (!prop_is_valid) {
4945 "ARI ChannelUnhold has undocumented field %s\n",
4956 if (!has_application) {
4957 ast_log(
LOG_ERROR,
"ARI ChannelUnhold missing required field application\n");
4961 if (!has_timestamp) {
4962 ast_log(
LOG_ERROR,
"ARI ChannelUnhold missing required field timestamp\n");
4984 int has_application = 0;
4985 int has_timestamp = 0;
4986 int has_eventname = 0;
4987 int has_userevent = 0;
4994 if (!prop_is_valid) {
4995 ast_log(
LOG_ERROR,
"ARI ChannelUserevent field asterisk_id failed validation\n");
5004 if (!prop_is_valid) {
5011 has_application = 1;
5014 if (!prop_is_valid) {
5015 ast_log(
LOG_ERROR,
"ARI ChannelUserevent field application failed validation\n");
5024 if (!prop_is_valid) {
5025 ast_log(
LOG_ERROR,
"ARI ChannelUserevent field timestamp failed validation\n");
5033 if (!prop_is_valid) {
5034 ast_log(
LOG_ERROR,
"ARI ChannelUserevent field bridge failed validation\n");
5042 if (!prop_is_valid) {
5043 ast_log(
LOG_ERROR,
"ARI ChannelUserevent field channel failed validation\n");
5051 if (!prop_is_valid) {
5052 ast_log(
LOG_ERROR,
"ARI ChannelUserevent field endpoint failed validation\n");
5061 if (!prop_is_valid) {
5062 ast_log(
LOG_ERROR,
"ARI ChannelUserevent field eventname failed validation\n");
5071 if (!prop_is_valid) {
5072 ast_log(
LOG_ERROR,
"ARI ChannelUserevent field userevent failed validation\n");
5078 "ARI ChannelUserevent has undocumented field %s\n",
5089 if (!has_application) {
5090 ast_log(
LOG_ERROR,
"ARI ChannelUserevent missing required field application\n");
5094 if (!has_timestamp) {
5095 ast_log(
LOG_ERROR,
"ARI ChannelUserevent missing required field timestamp\n");
5099 if (!has_eventname) {
5100 ast_log(
LOG_ERROR,
"ARI ChannelUserevent missing required field eventname\n");
5104 if (!has_userevent) {
5105 ast_log(
LOG_ERROR,
"ARI ChannelUserevent missing required field userevent\n");
5122 int has_application = 0;
5123 int has_timestamp = 0;
5125 int has_variable = 0;
5132 if (!prop_is_valid) {
5133 ast_log(
LOG_ERROR,
"ARI ChannelVarset field asterisk_id failed validation\n");
5142 if (!prop_is_valid) {
5149 has_application = 1;
5152 if (!prop_is_valid) {
5153 ast_log(
LOG_ERROR,
"ARI ChannelVarset field application failed validation\n");
5162 if (!prop_is_valid) {
5163 ast_log(
LOG_ERROR,
"ARI ChannelVarset field timestamp failed validation\n");
5171 if (!prop_is_valid) {
5181 if (!prop_is_valid) {
5191 if (!prop_is_valid) {
5192 ast_log(
LOG_ERROR,
"ARI ChannelVarset field variable failed validation\n");
5198 "ARI ChannelVarset has undocumented field %s\n",
5209 if (!has_application) {
5210 ast_log(
LOG_ERROR,
"ARI ChannelVarset missing required field application\n");
5214 if (!has_timestamp) {
5215 ast_log(
LOG_ERROR,
"ARI ChannelVarset missing required field timestamp\n");
5224 if (!has_variable) {
5242 int has_contact_status = 0;
5251 if (!prop_is_valid) {
5258 has_contact_status = 1;
5261 if (!prop_is_valid) {
5262 ast_log(
LOG_ERROR,
"ARI ContactInfo field contact_status failed validation\n");
5270 if (!prop_is_valid) {
5271 ast_log(
LOG_ERROR,
"ARI ContactInfo field roundtrip_usec failed validation\n");
5280 if (!prop_is_valid) {
5287 "ARI ContactInfo has undocumented field %s\n",
5298 if (!has_contact_status) {
5299 ast_log(
LOG_ERROR,
"ARI ContactInfo missing required field contact_status\n");
5321 int has_application = 0;
5322 int has_timestamp = 0;
5323 int has_contact_info = 0;
5324 int has_endpoint = 0;
5331 if (!prop_is_valid) {
5332 ast_log(
LOG_ERROR,
"ARI ContactStatusChange field asterisk_id failed validation\n");
5341 if (!prop_is_valid) {
5342 ast_log(
LOG_ERROR,
"ARI ContactStatusChange field type failed validation\n");
5348 has_application = 1;
5351 if (!prop_is_valid) {
5352 ast_log(
LOG_ERROR,
"ARI ContactStatusChange field application failed validation\n");
5361 if (!prop_is_valid) {
5362 ast_log(
LOG_ERROR,
"ARI ContactStatusChange field timestamp failed validation\n");
5368 has_contact_info = 1;
5371 if (!prop_is_valid) {
5372 ast_log(
LOG_ERROR,
"ARI ContactStatusChange field contact_info failed validation\n");
5381 if (!prop_is_valid) {
5382 ast_log(
LOG_ERROR,
"ARI ContactStatusChange field endpoint failed validation\n");
5388 "ARI ContactStatusChange has undocumented field %s\n",
5395 ast_log(
LOG_ERROR,
"ARI ContactStatusChange missing required field type\n");
5399 if (!has_application) {
5400 ast_log(
LOG_ERROR,
"ARI ContactStatusChange missing required field application\n");
5404 if (!has_timestamp) {
5405 ast_log(
LOG_ERROR,
"ARI ContactStatusChange missing required field timestamp\n");
5409 if (!has_contact_info) {
5410 ast_log(
LOG_ERROR,
"ARI ContactStatusChange missing required field contact_info\n");
5414 if (!has_endpoint) {
5415 ast_log(
LOG_ERROR,
"ARI ContactStatusChange missing required field endpoint\n");
5432 int has_application = 0;
5433 int has_timestamp = 0;
5434 int has_device_state = 0;
5441 if (!prop_is_valid) {
5442 ast_log(
LOG_ERROR,
"ARI DeviceStateChanged field asterisk_id failed validation\n");
5451 if (!prop_is_valid) {
5452 ast_log(
LOG_ERROR,
"ARI DeviceStateChanged field type failed validation\n");
5458 has_application = 1;
5461 if (!prop_is_valid) {
5462 ast_log(
LOG_ERROR,
"ARI DeviceStateChanged field application failed validation\n");
5471 if (!prop_is_valid) {
5472 ast_log(
LOG_ERROR,
"ARI DeviceStateChanged field timestamp failed validation\n");
5478 has_device_state = 1;
5481 if (!prop_is_valid) {
5482 ast_log(
LOG_ERROR,
"ARI DeviceStateChanged field device_state failed validation\n");
5488 "ARI DeviceStateChanged has undocumented field %s\n",
5495 ast_log(
LOG_ERROR,
"ARI DeviceStateChanged missing required field type\n");
5499 if (!has_application) {
5500 ast_log(
LOG_ERROR,
"ARI DeviceStateChanged missing required field application\n");
5504 if (!has_timestamp) {
5505 ast_log(
LOG_ERROR,
"ARI DeviceStateChanged missing required field timestamp\n");
5509 if (!has_device_state) {
5510 ast_log(
LOG_ERROR,
"ARI DeviceStateChanged missing required field device_state\n");
5527 int has_application = 0;
5528 int has_timestamp = 0;
5529 int has_dialstatus = 0;
5537 if (!prop_is_valid) {
5547 if (!prop_is_valid) {
5554 has_application = 1;
5557 if (!prop_is_valid) {
5567 if (!prop_is_valid) {
5576 if (!prop_is_valid) {
5586 if (!prop_is_valid) {
5595 if (!prop_is_valid) {
5604 if (!prop_is_valid) {
5613 if (!prop_is_valid) {
5623 if (!prop_is_valid) {
5630 "ARI Dial has undocumented field %s\n",
5641 if (!has_application) {
5646 if (!has_timestamp) {
5651 if (!has_dialstatus) {
5674 int has_application = 0;
5675 int has_timestamp = 0;
5676 int has_endpoint = 0;
5683 if (!prop_is_valid) {
5684 ast_log(
LOG_ERROR,
"ARI EndpointStateChange field asterisk_id failed validation\n");
5693 if (!prop_is_valid) {
5694 ast_log(
LOG_ERROR,
"ARI EndpointStateChange field type failed validation\n");
5700 has_application = 1;
5703 if (!prop_is_valid) {
5704 ast_log(
LOG_ERROR,
"ARI EndpointStateChange field application failed validation\n");
5713 if (!prop_is_valid) {
5714 ast_log(
LOG_ERROR,
"ARI EndpointStateChange field timestamp failed validation\n");
5723 if (!prop_is_valid) {
5724 ast_log(
LOG_ERROR,
"ARI EndpointStateChange field endpoint failed validation\n");
5730 "ARI EndpointStateChange has undocumented field %s\n",
5737 ast_log(
LOG_ERROR,
"ARI EndpointStateChange missing required field type\n");
5741 if (!has_application) {
5742 ast_log(
LOG_ERROR,
"ARI EndpointStateChange missing required field application\n");
5746 if (!has_timestamp) {
5747 ast_log(
LOG_ERROR,
"ARI EndpointStateChange missing required field timestamp\n");
5751 if (!has_endpoint) {
5752 ast_log(
LOG_ERROR,
"ARI EndpointStateChange missing required field endpoint\n");
5769 int has_application = 0;
5770 int has_timestamp = 0;
5771 const char *discriminator;
5774 if (!discriminator) {
5779 if (strcmp(
"Event", discriminator) == 0) {
5782 if (strcmp(
"ApplicationMoveFailed", discriminator) == 0) {
5785 if (strcmp(
"ApplicationReplaced", discriminator) == 0) {
5788 if (strcmp(
"BridgeAttendedTransfer", discriminator) == 0) {
5791 if (strcmp(
"BridgeBlindTransfer", discriminator) == 0) {
5794 if (strcmp(
"BridgeCreated", discriminator) == 0) {
5797 if (strcmp(
"BridgeDestroyed", discriminator) == 0) {
5800 if (strcmp(
"BridgeMerged", discriminator) == 0) {
5803 if (strcmp(
"BridgeVideoSourceChanged", discriminator) == 0) {
5806 if (strcmp(
"ChannelCallerId", discriminator) == 0) {
5809 if (strcmp(
"ChannelConnectedLine", discriminator) == 0) {
5812 if (strcmp(
"ChannelCreated", discriminator) == 0) {
5815 if (strcmp(
"ChannelDestroyed", discriminator) == 0) {
5818 if (strcmp(
"ChannelDialplan", discriminator) == 0) {
5821 if (strcmp(
"ChannelDtmfReceived", discriminator) == 0) {
5824 if (strcmp(
"ChannelEnteredBridge", discriminator) == 0) {
5827 if (strcmp(
"ChannelHangupRequest", discriminator) == 0) {
5830 if (strcmp(
"ChannelHold", discriminator) == 0) {
5833 if (strcmp(
"ChannelLeftBridge", discriminator) == 0) {
5836 if (strcmp(
"ChannelStateChange", discriminator) == 0) {
5839 if (strcmp(
"ChannelTalkingFinished", discriminator) == 0) {
5842 if (strcmp(
"ChannelTalkingStarted", discriminator) == 0) {
5845 if (strcmp(
"ChannelUnhold", discriminator) == 0) {
5848 if (strcmp(
"ChannelUserevent", discriminator) == 0) {
5851 if (strcmp(
"ChannelVarset", discriminator) == 0) {
5854 if (strcmp(
"ContactStatusChange", discriminator) == 0) {
5857 if (strcmp(
"DeviceStateChanged", discriminator) == 0) {
5860 if (strcmp(
"Dial", discriminator) == 0) {
5863 if (strcmp(
"EndpointStateChange", discriminator) == 0) {
5866 if (strcmp(
"PeerStatusChange", discriminator) == 0) {
5869 if (strcmp(
"PlaybackContinuing", discriminator) == 0) {
5872 if (strcmp(
"PlaybackFinished", discriminator) == 0) {
5875 if (strcmp(
"PlaybackStarted", discriminator) == 0) {
5878 if (strcmp(
"RecordingFailed", discriminator) == 0) {
5881 if (strcmp(
"RecordingFinished", discriminator) == 0) {
5884 if (strcmp(
"RecordingStarted", discriminator) == 0) {
5887 if (strcmp(
"StasisEnd", discriminator) == 0) {
5890 if (strcmp(
"StasisStart", discriminator) == 0) {
5893 if (strcmp(
"TextMessageReceived", discriminator) == 0) {
5907 if (!prop_is_valid) {
5917 if (!prop_is_valid) {
5924 has_application = 1;
5927 if (!prop_is_valid) {
5937 if (!prop_is_valid) {
5944 "ARI Event has undocumented field %s\n",
5955 if (!has_application) {
5960 if (!has_timestamp) {
5978 const char *discriminator;
5981 if (!discriminator) {
5986 if (strcmp(
"Message", discriminator) == 0) {
5989 if (strcmp(
"ApplicationMoveFailed", discriminator) == 0) {
5992 if (strcmp(
"ApplicationReplaced", discriminator) == 0) {
5995 if (strcmp(
"BridgeAttendedTransfer", discriminator) == 0) {
5998 if (strcmp(
"BridgeBlindTransfer", discriminator) == 0) {
6001 if (strcmp(
"BridgeCreated", discriminator) == 0) {
6004 if (strcmp(
"BridgeDestroyed", discriminator) == 0) {
6007 if (strcmp(
"BridgeMerged", discriminator) == 0) {
6010 if (strcmp(
"BridgeVideoSourceChanged", discriminator) == 0) {
6013 if (strcmp(
"ChannelCallerId", discriminator) == 0) {
6016 if (strcmp(
"ChannelConnectedLine", discriminator) == 0) {
6019 if (strcmp(
"ChannelCreated", discriminator) == 0) {
6022 if (strcmp(
"ChannelDestroyed", discriminator) == 0) {
6025 if (strcmp(
"ChannelDialplan", discriminator) == 0) {
6028 if (strcmp(
"ChannelDtmfReceived", discriminator) == 0) {
6031 if (strcmp(
"ChannelEnteredBridge", discriminator) == 0) {
6034 if (strcmp(
"ChannelHangupRequest", discriminator) == 0) {
6037 if (strcmp(
"ChannelHold", discriminator) == 0) {
6040 if (strcmp(
"ChannelLeftBridge", discriminator) == 0) {
6043 if (strcmp(
"ChannelStateChange", discriminator) == 0) {
6046 if (strcmp(
"ChannelTalkingFinished", discriminator) == 0) {
6049 if (strcmp(
"ChannelTalkingStarted", discriminator) == 0) {
6052 if (strcmp(
"ChannelUnhold", discriminator) == 0) {
6055 if (strcmp(
"ChannelUserevent", discriminator) == 0) {
6058 if (strcmp(
"ChannelVarset", discriminator) == 0) {
6061 if (strcmp(
"ContactStatusChange", discriminator) == 0) {
6064 if (strcmp(
"DeviceStateChanged", discriminator) == 0) {
6067 if (strcmp(
"Dial", discriminator) == 0) {
6070 if (strcmp(
"EndpointStateChange", discriminator) == 0) {
6073 if (strcmp(
"Event", discriminator) == 0) {
6076 if (strcmp(
"MissingParams", discriminator) == 0) {
6079 if (strcmp(
"PeerStatusChange", discriminator) == 0) {
6082 if (strcmp(
"PlaybackContinuing", discriminator) == 0) {
6085 if (strcmp(
"PlaybackFinished", discriminator) == 0) {
6088 if (strcmp(
"PlaybackStarted", discriminator) == 0) {
6091 if (strcmp(
"RecordingFailed", discriminator) == 0) {
6094 if (strcmp(
"RecordingFinished", discriminator) == 0) {
6097 if (strcmp(
"RecordingStarted", discriminator) == 0) {
6100 if (strcmp(
"StasisEnd", discriminator) == 0) {
6103 if (strcmp(
"StasisStart", discriminator) == 0) {
6106 if (strcmp(
"TextMessageReceived", discriminator) == 0) {
6120 if (!prop_is_valid) {
6130 if (!prop_is_valid) {
6137 "ARI Message has undocumented field %s\n",
6168 if (!prop_is_valid) {
6169 ast_log(
LOG_ERROR,
"ARI MissingParams field asterisk_id failed validation\n");
6178 if (!prop_is_valid) {
6189 if (!prop_is_valid) {
6196 "ARI MissingParams has undocumented field %s\n",
6224 int has_peer_status = 0;
6231 if (!prop_is_valid) {
6240 if (!prop_is_valid) {
6247 has_peer_status = 1;
6250 if (!prop_is_valid) {
6259 if (!prop_is_valid) {
6268 if (!prop_is_valid) {
6275 "ARI Peer has undocumented field %s\n",
6281 if (!has_peer_status) {
6299 int has_application = 0;
6300 int has_timestamp = 0;
6301 int has_endpoint = 0;
6309 if (!prop_is_valid) {
6310 ast_log(
LOG_ERROR,
"ARI PeerStatusChange field asterisk_id failed validation\n");
6319 if (!prop_is_valid) {
6326 has_application = 1;
6329 if (!prop_is_valid) {
6330 ast_log(
LOG_ERROR,
"ARI PeerStatusChange field application failed validation\n");
6339 if (!prop_is_valid) {
6340 ast_log(
LOG_ERROR,
"ARI PeerStatusChange field timestamp failed validation\n");
6349 if (!prop_is_valid) {
6350 ast_log(
LOG_ERROR,
"ARI PeerStatusChange field endpoint failed validation\n");
6359 if (!prop_is_valid) {
6366 "ARI PeerStatusChange has undocumented field %s\n",
6377 if (!has_application) {
6378 ast_log(
LOG_ERROR,
"ARI PeerStatusChange missing required field application\n");
6382 if (!has_timestamp) {
6383 ast_log(
LOG_ERROR,
"ARI PeerStatusChange missing required field timestamp\n");
6387 if (!has_endpoint) {
6388 ast_log(
LOG_ERROR,
"ARI PeerStatusChange missing required field endpoint\n");
6410 int has_application = 0;
6411 int has_timestamp = 0;
6412 int has_playback = 0;
6419 if (!prop_is_valid) {
6420 ast_log(
LOG_ERROR,
"ARI PlaybackContinuing field asterisk_id failed validation\n");
6429 if (!prop_is_valid) {
6430 ast_log(
LOG_ERROR,
"ARI PlaybackContinuing field type failed validation\n");
6436 has_application = 1;
6439 if (!prop_is_valid) {
6440 ast_log(
LOG_ERROR,
"ARI PlaybackContinuing field application failed validation\n");
6449 if (!prop_is_valid) {
6450 ast_log(
LOG_ERROR,
"ARI PlaybackContinuing field timestamp failed validation\n");
6459 if (!prop_is_valid) {
6460 ast_log(
LOG_ERROR,
"ARI PlaybackContinuing field playback failed validation\n");
6466 "ARI PlaybackContinuing has undocumented field %s\n",
6473 ast_log(
LOG_ERROR,
"ARI PlaybackContinuing missing required field type\n");
6477 if (!has_application) {
6478 ast_log(
LOG_ERROR,
"ARI PlaybackContinuing missing required field application\n");
6482 if (!has_timestamp) {
6483 ast_log(
LOG_ERROR,
"ARI PlaybackContinuing missing required field timestamp\n");
6487 if (!has_playback) {
6488 ast_log(
LOG_ERROR,
"ARI PlaybackContinuing missing required field playback\n");
6505 int has_application = 0;
6506 int has_timestamp = 0;
6507 int has_playback = 0;
6514 if (!prop_is_valid) {
6515 ast_log(
LOG_ERROR,
"ARI PlaybackFinished field asterisk_id failed validation\n");
6524 if (!prop_is_valid) {
6531 has_application = 1;
6534 if (!prop_is_valid) {
6535 ast_log(
LOG_ERROR,
"ARI PlaybackFinished field application failed validation\n");
6544 if (!prop_is_valid) {
6545 ast_log(
LOG_ERROR,
"ARI PlaybackFinished field timestamp failed validation\n");
6554 if (!prop_is_valid) {
6555 ast_log(
LOG_ERROR,
"ARI PlaybackFinished field playback failed validation\n");
6561 "ARI PlaybackFinished has undocumented field %s\n",
6572 if (!has_application) {
6573 ast_log(
LOG_ERROR,
"ARI PlaybackFinished missing required field application\n");
6577 if (!has_timestamp) {
6578 ast_log(
LOG_ERROR,
"ARI PlaybackFinished missing required field timestamp\n");
6582 if (!has_playback) {
6583 ast_log(
LOG_ERROR,
"ARI PlaybackFinished missing required field playback\n");
6600 int has_application = 0;
6601 int has_timestamp = 0;
6602 int has_playback = 0;
6609 if (!prop_is_valid) {
6610 ast_log(
LOG_ERROR,
"ARI PlaybackStarted field asterisk_id failed validation\n");
6619 if (!prop_is_valid) {
6626 has_application = 1;
6629 if (!prop_is_valid) {
6630 ast_log(
LOG_ERROR,
"ARI PlaybackStarted field application failed validation\n");
6639 if (!prop_is_valid) {
6640 ast_log(
LOG_ERROR,
"ARI PlaybackStarted field timestamp failed validation\n");
6649 if (!prop_is_valid) {
6650 ast_log(
LOG_ERROR,
"ARI PlaybackStarted field playback failed validation\n");
6656 "ARI PlaybackStarted has undocumented field %s\n",
6667 if (!has_application) {
6668 ast_log(
LOG_ERROR,
"ARI PlaybackStarted missing required field application\n");
6672 if (!has_timestamp) {
6673 ast_log(
LOG_ERROR,
"ARI PlaybackStarted missing required field timestamp\n");
6677 if (!has_playback) {
6678 ast_log(
LOG_ERROR,
"ARI PlaybackStarted missing required field playback\n");
6695 int has_application = 0;
6696 int has_timestamp = 0;
6697 int has_recording = 0;
6704 if (!prop_is_valid) {
6705 ast_log(
LOG_ERROR,
"ARI RecordingFailed field asterisk_id failed validation\n");
6714 if (!prop_is_valid) {
6721 has_application = 1;
6724 if (!prop_is_valid) {
6725 ast_log(
LOG_ERROR,
"ARI RecordingFailed field application failed validation\n");
6734 if (!prop_is_valid) {
6735 ast_log(
LOG_ERROR,
"ARI RecordingFailed field timestamp failed validation\n");
6744 if (!prop_is_valid) {
6745 ast_log(
LOG_ERROR,
"ARI RecordingFailed field recording failed validation\n");
6751 "ARI RecordingFailed has undocumented field %s\n",
6762 if (!has_application) {
6763 ast_log(
LOG_ERROR,
"ARI RecordingFailed missing required field application\n");
6767 if (!has_timestamp) {
6768 ast_log(
LOG_ERROR,
"ARI RecordingFailed missing required field timestamp\n");
6772 if (!has_recording) {
6773 ast_log(
LOG_ERROR,
"ARI RecordingFailed missing required field recording\n");
6790 int has_application = 0;
6791 int has_timestamp = 0;
6792 int has_recording = 0;
6799 if (!prop_is_valid) {
6800 ast_log(
LOG_ERROR,
"ARI RecordingFinished field asterisk_id failed validation\n");
6809 if (!prop_is_valid) {
6810 ast_log(
LOG_ERROR,
"ARI RecordingFinished field type failed validation\n");
6816 has_application = 1;
6819 if (!prop_is_valid) {
6820 ast_log(
LOG_ERROR,
"ARI RecordingFinished field application failed validation\n");
6829 if (!prop_is_valid) {
6830 ast_log(
LOG_ERROR,
"ARI RecordingFinished field timestamp failed validation\n");
6839 if (!prop_is_valid) {
6840 ast_log(
LOG_ERROR,
"ARI RecordingFinished field recording failed validation\n");
6846 "ARI RecordingFinished has undocumented field %s\n",
6857 if (!has_application) {
6858 ast_log(
LOG_ERROR,
"ARI RecordingFinished missing required field application\n");
6862 if (!has_timestamp) {
6863 ast_log(
LOG_ERROR,
"ARI RecordingFinished missing required field timestamp\n");
6867 if (!has_recording) {
6868 ast_log(
LOG_ERROR,
"ARI RecordingFinished missing required field recording\n");
6885 int has_application = 0;
6886 int has_timestamp = 0;
6887 int has_recording = 0;
6894 if (!prop_is_valid) {
6895 ast_log(
LOG_ERROR,
"ARI RecordingStarted field asterisk_id failed validation\n");
6904 if (!prop_is_valid) {
6911 has_application = 1;
6914 if (!prop_is_valid) {
6915 ast_log(
LOG_ERROR,
"ARI RecordingStarted field application failed validation\n");
6924 if (!prop_is_valid) {
6925 ast_log(
LOG_ERROR,
"ARI RecordingStarted field timestamp failed validation\n");
6934 if (!prop_is_valid) {
6935 ast_log(
LOG_ERROR,
"ARI RecordingStarted field recording failed validation\n");
6941 "ARI RecordingStarted has undocumented field %s\n",
6952 if (!has_application) {
6953 ast_log(
LOG_ERROR,
"ARI RecordingStarted missing required field application\n");
6957 if (!has_timestamp) {
6958 ast_log(
LOG_ERROR,
"ARI RecordingStarted missing required field timestamp\n");
6962 if (!has_recording) {
6963 ast_log(
LOG_ERROR,
"ARI RecordingStarted missing required field recording\n");
6980 int has_application = 0;
6981 int has_timestamp = 0;
6982 int has_channel = 0;
6989 if (!prop_is_valid) {
6999 if (!prop_is_valid) {
7006 has_application = 1;
7009 if (!prop_is_valid) {
7019 if (!prop_is_valid) {
7029 if (!prop_is_valid) {
7036 "ARI StasisEnd has undocumented field %s\n",
7047 if (!has_application) {
7052 if (!has_timestamp) {
7075 int has_application = 0;
7076 int has_timestamp = 0;
7078 int has_channel = 0;
7085 if (!prop_is_valid) {
7086 ast_log(
LOG_ERROR,
"ARI StasisStart field asterisk_id failed validation\n");
7095 if (!prop_is_valid) {
7102 has_application = 1;
7105 if (!prop_is_valid) {
7106 ast_log(
LOG_ERROR,
"ARI StasisStart field application failed validation\n");
7115 if (!prop_is_valid) {
7126 if (!prop_is_valid) {
7136 if (!prop_is_valid) {
7145 if (!prop_is_valid) {
7146 ast_log(
LOG_ERROR,
"ARI StasisStart field replace_channel failed validation\n");
7152 "ARI StasisStart has undocumented field %s\n",
7163 if (!has_application) {
7164 ast_log(
LOG_ERROR,
"ARI StasisStart missing required field application\n");
7168 if (!has_timestamp) {
7196 int has_application = 0;
7197 int has_timestamp = 0;
7198 int has_message = 0;
7205 if (!prop_is_valid) {
7206 ast_log(
LOG_ERROR,
"ARI TextMessageReceived field asterisk_id failed validation\n");
7215 if (!prop_is_valid) {
7216 ast_log(
LOG_ERROR,
"ARI TextMessageReceived field type failed validation\n");
7222 has_application = 1;
7225 if (!prop_is_valid) {
7226 ast_log(
LOG_ERROR,
"ARI TextMessageReceived field application failed validation\n");
7235 if (!prop_is_valid) {
7236 ast_log(
LOG_ERROR,
"ARI TextMessageReceived field timestamp failed validation\n");
7244 if (!prop_is_valid) {
7245 ast_log(
LOG_ERROR,
"ARI TextMessageReceived field endpoint failed validation\n");
7254 if (!prop_is_valid) {
7255 ast_log(
LOG_ERROR,
"ARI TextMessageReceived field message failed validation\n");
7261 "ARI TextMessageReceived has undocumented field %s\n",
7268 ast_log(
LOG_ERROR,
"ARI TextMessageReceived missing required field type\n");
7272 if (!has_application) {
7273 ast_log(
LOG_ERROR,
"ARI TextMessageReceived missing required field application\n");
7277 if (!has_timestamp) {
7278 ast_log(
LOG_ERROR,
"ARI TextMessageReceived missing required field timestamp\n");
7283 ast_log(
LOG_ERROR,
"ARI TextMessageReceived missing required field message\n");
7299 int has_bridge_ids = 0;
7300 int has_channel_ids = 0;
7301 int has_device_names = 0;
7302 int has_endpoint_ids = 0;
7303 int has_events_allowed = 0;
7304 int has_events_disallowed = 0;
7314 if (!prop_is_valid) {
7315 ast_log(
LOG_ERROR,
"ARI Application field bridge_ids failed validation\n");
7321 has_channel_ids = 1;
7325 if (!prop_is_valid) {
7326 ast_log(
LOG_ERROR,
"ARI Application field channel_ids failed validation\n");
7332 has_device_names = 1;
7336 if (!prop_is_valid) {
7337 ast_log(
LOG_ERROR,
"ARI Application field device_names failed validation\n");
7343 has_endpoint_ids = 1;
7347 if (!prop_is_valid) {
7348 ast_log(
LOG_ERROR,
"ARI Application field endpoint_ids failed validation\n");
7354 has_events_allowed = 1;
7358 if (!prop_is_valid) {
7359 ast_log(
LOG_ERROR,
"ARI Application field events_allowed failed validation\n");
7365 has_events_disallowed = 1;
7369 if (!prop_is_valid) {
7370 ast_log(
LOG_ERROR,
"ARI Application field events_disallowed failed validation\n");
7379 if (!prop_is_valid) {
7386 "ARI Application has undocumented field %s\n",
7392 if (!has_bridge_ids) {
7397 if (!has_channel_ids) {
7398 ast_log(
LOG_ERROR,
"ARI Application missing required field channel_ids\n");
7402 if (!has_device_names) {
7403 ast_log(
LOG_ERROR,
"ARI Application missing required field device_names\n");
7407 if (!has_endpoint_ids) {
7408 ast_log(
LOG_ERROR,
"ARI Application missing required field endpoint_ids\n");
7412 if (!has_events_allowed) {
7413 ast_log(
LOG_ERROR,
"ARI Application missing required field events_allowed\n");
7417 if (!has_events_disallowed) {
7418 ast_log(
LOG_ERROR,
"ARI Application missing required field events_disallowed\n");
ari_validator ast_ari_validate_live_recording_fn(void)
Function pointer to ast_ari_validate_live_recording().
int ast_ari_validate_status_info(struct ast_json *json)
Validator for StatusInfo.
ari_validator ast_ari_validate_dialplan_cep_fn(void)
Function pointer to ast_ari_validate_dialplan_cep().
ari_validator ast_ari_validate_mailbox_fn(void)
Function pointer to ast_ari_validate_mailbox().
int ast_ari_validate_variable(struct ast_json *json)
Validator for Variable.
int ast_ari_validate_event(struct ast_json *json)
Validator for Event.
ari_validator ast_ari_validate_rtpstat_fn(void)
Function pointer to ast_ari_validate_rtpstat().
int ast_ari_validate_text_message_received(struct ast_json *json)
Validator for TextMessageReceived.
int ast_ari_validate_config_info(struct ast_json *json)
Validator for ConfigInfo.
Asterisk main include file. File version handling, generic pbx functions.
int ast_ari_validate_peer_status_change(struct ast_json *json)
Validator for PeerStatusChange.
ari_validator ast_ari_validate_asterisk_ping_fn(void)
Function pointer to ast_ari_validate_asterisk_ping().
ari_validator ast_ari_validate_playback_fn(void)
Function pointer to ast_ari_validate_playback().
ari_validator ast_ari_validate_caller_id_fn(void)
Function pointer to ast_ari_validate_caller_id().
ari_validator ast_ari_validate_recording_finished_fn(void)
Function pointer to ast_ari_validate_recording_finished().
ari_validator ast_ari_validate_channel_talking_started_fn(void)
Function pointer to ast_ari_validate_channel_talking_started().
int ast_ari_validate_channel_state_change(struct ast_json *json)
Validator for ChannelStateChange.
ari_validator ast_ari_validate_module_fn(void)
Function pointer to ast_ari_validate_module().
int ast_ari_validate_recording_started(struct ast_json *json)
Validator for RecordingStarted.
int ast_ari_validate_endpoint_state_change(struct ast_json *json)
Validator for EndpointStateChange.
int ast_ari_validate_channel_connected_line(struct ast_json *json)
Validator for ChannelConnectedLine.
int ast_ari_validate_bridge_blind_transfer(struct ast_json *json)
Validator for BridgeBlindTransfer.
int(* ari_validator)(struct ast_json *json)
Function type for validator functions. Allows for.
ari_validator ast_ari_validate_config_tuple_fn(void)
Function pointer to ast_ari_validate_config_tuple().
ari_validator ast_ari_validate_set_id_fn(void)
Function pointer to ast_ari_validate_set_id().
int ast_ari_validate_channel_userevent(struct ast_json *json)
Validator for ChannelUserevent.
ari_validator ast_ari_validate_channel_state_change_fn(void)
Function pointer to ast_ari_validate_channel_state_change().
ari_validator ast_ari_validate_channel_dialplan_fn(void)
Function pointer to ast_ari_validate_channel_dialplan().
ari_validator ast_ari_validate_channel_talking_finished_fn(void)
Function pointer to ast_ari_validate_channel_talking_finished().
Iterator for JSON object key/values.
int ast_ari_validate_channel_created(struct ast_json *json)
Validator for ChannelCreated.
ari_validator ast_ari_validate_system_info_fn(void)
Function pointer to ast_ari_validate_system_info().
ari_validator ast_ari_validate_asterisk_info_fn(void)
Function pointer to ast_ari_validate_asterisk_info().
ari_validator ast_ari_validate_channel_created_fn(void)
Function pointer to ast_ari_validate_channel_created().
ari_validator ast_ari_validate_bridge_destroyed_fn(void)
Function pointer to ast_ari_validate_bridge_destroyed().
ari_validator ast_ari_validate_channel_dtmf_received_fn(void)
Function pointer to ast_ari_validate_channel_dtmf_received().
int ast_ari_validate_channel(struct ast_json *json)
Validator for Channel.
struct ast_json_iter * ast_json_object_iter(struct ast_json *object)
Get an iterator pointing to the first field in a JSON object.
int ast_ari_validate_asterisk_ping(struct ast_json *json)
Validator for AsteriskPing.
int ast_ari_validate_config_tuple(struct ast_json *json)
Validator for ConfigTuple.
int ast_ari_validate_build_info(struct ast_json *json)
Validator for BuildInfo.
int ast_ari_validate_format_lang_pair(struct ast_json *json)
Validator for FormatLangPair.
ari_validator ast_ari_validate_stasis_end_fn(void)
Function pointer to ast_ari_validate_stasis_end().
int ast_ari_validate_channel_hold(struct ast_json *json)
Validator for ChannelHold.
int ast_ari_validate_stasis_start(struct ast_json *json)
Validator for StasisStart.
int ast_ari_validate_bridge_attended_transfer(struct ast_json *json)
Validator for BridgeAttendedTransfer.
int ast_ari_validate_boolean(struct ast_json *json)
Validator for native Swagger boolean.
Generated file - Build validators for ARI model objects.
ari_validator ast_ari_validate_device_state_changed_fn(void)
Function pointer to ast_ari_validate_device_state_changed().
int ast_ari_validate_caller_id(struct ast_json *json)
Validator for CallerID.
int ast_ari_validate_channel_caller_id(struct ast_json *json)
Validator for ChannelCallerId.
int ast_ari_validate_system_info(struct ast_json *json)
Validator for SystemInfo.
int ast_ari_validate_channel_varset(struct ast_json *json)
Validator for ChannelVarset.
ari_validator ast_ari_validate_channel_hangup_request_fn(void)
Function pointer to ast_ari_validate_channel_hangup_request().
ari_validator ast_ari_validate_bridge_fn(void)
Function pointer to ast_ari_validate_bridge().
ari_validator ast_ari_validate_channel_unhold_fn(void)
Function pointer to ast_ari_validate_channel_unhold().
int ast_ari_validate_dialplan_cep(struct ast_json *json)
Validator for DialplanCEP.
int ast_ari_validate_recording_failed(struct ast_json *json)
Validator for RecordingFailed.
ari_validator ast_ari_validate_application_replaced_fn(void)
Function pointer to ast_ari_validate_application_replaced().
ari_validator ast_ari_validate_status_info_fn(void)
Function pointer to ast_ari_validate_status_info().
int ast_ari_validate_date(struct ast_json *json)
Validator for native Swagger date.
ari_validator ast_ari_validate_channel_hold_fn(void)
Function pointer to ast_ari_validate_channel_hold().
int ast_ari_validate_application_replaced(struct ast_json *json)
Validator for ApplicationReplaced.
int ast_ari_validate_contact_status_change(struct ast_json *json)
Validator for ContactStatusChange.
struct ast_json * ast_json_object_iter_value(struct ast_json_iter *iter)
Get the value from an iterator.
int ast_ari_validate_sound(struct ast_json *json)
Validator for Sound.
ari_validator ast_ari_validate_format_lang_pair_fn(void)
Function pointer to ast_ari_validate_format_lang_pair().
ari_validator ast_ari_validate_text_message_received_fn(void)
Function pointer to ast_ari_validate_text_message_received().
ari_validator ast_ari_validate_application_fn(void)
Function pointer to ast_ari_validate_application().
int ast_ari_validate_channel_destroyed(struct ast_json *json)
Validator for ChannelDestroyed.
ari_validator ast_ari_validate_peer_fn(void)
Function pointer to ast_ari_validate_peer().
ari_validator ast_ari_validate_dial_fn(void)
Function pointer to ast_ari_validate_dial().
int ast_ari_validate_double(struct ast_json *json)
Validator for native Swagger double.
const char * ast_json_string_get(const struct ast_json *string)
Get the value of a JSON string.
int ast_ari_validate_bridge_video_source_changed(struct ast_json *json)
Validator for BridgeVideoSourceChanged.
const char * ast_json_object_iter_key(struct ast_json_iter *iter)
Get the key from an iterator.
int ast_ari_validate_channel_dtmf_received(struct ast_json *json)
Validator for ChannelDtmfReceived.
int ast_ari_validate_playback(struct ast_json *json)
Validator for Playback.
int ast_ari_validate_channel_unhold(struct ast_json *json)
Validator for ChannelUnhold.
ari_validator ast_ari_validate_recording_failed_fn(void)
Function pointer to ast_ari_validate_recording_failed().
int ast_ari_validate_channel_talking_finished(struct ast_json *json)
Validator for ChannelTalkingFinished.
ari_validator ast_ari_validate_bridge_blind_transfer_fn(void)
Function pointer to ast_ari_validate_bridge_blind_transfer().
ari_validator ast_ari_validate_channel_fn(void)
Function pointer to ast_ari_validate_channel().
int ast_ari_validate_long(struct ast_json *json)
Validator for native Swagger long.
ari_validator ast_ari_validate_recording_started_fn(void)
Function pointer to ast_ari_validate_recording_started().
int ast_ari_validate_message(struct ast_json *json)
Validator for Message.
ari_validator ast_ari_validate_log_channel_fn(void)
Function pointer to ast_ari_validate_log_channel().
int ast_ari_validate_endpoint(struct ast_json *json)
Validator for Endpoint.
int ast_ari_validate_bridge(struct ast_json *json)
Validator for Bridge.
ari_validator ast_ari_validate_peer_status_change_fn(void)
Function pointer to ast_ari_validate_peer_status_change().
ari_validator ast_ari_validate_stasis_start_fn(void)
Function pointer to ast_ari_validate_stasis_start().
int ast_ari_validate_application_move_failed(struct ast_json *json)
Validator for ApplicationMoveFailed.
int ast_ari_validate_bridge_destroyed(struct ast_json *json)
Validator for BridgeDestroyed.
int ast_ari_validate_int(struct ast_json *json)
Validator for native Swagger int.
ari_validator ast_ari_validate_bridge_attended_transfer_fn(void)
Function pointer to ast_ari_validate_bridge_attended_transfer().
int ast_ari_validate_dial(struct ast_json *json)
Validator for Dial.
int ast_ari_validate_missing_params(struct ast_json *json)
Validator for MissingParams.
int ast_ari_validate_text_message(struct ast_json *json)
Validator for TextMessage.
ari_validator ast_ari_validate_channel_userevent_fn(void)
Function pointer to ast_ari_validate_channel_userevent().
ari_validator ast_ari_validate_channel_destroyed_fn(void)
Function pointer to ast_ari_validate_channel_destroyed().
int ast_ari_validate_rtpstat(struct ast_json *json)
Validator for RTPstat.
ari_validator ast_ari_validate_playback_continuing_fn(void)
Function pointer to ast_ari_validate_playback_continuing().
ari_validator ast_ari_validate_stored_recording_fn(void)
Function pointer to ast_ari_validate_stored_recording().
int ast_ari_validate_live_recording(struct ast_json *json)
Validator for LiveRecording.
int ast_ari_validate_contact_info(struct ast_json *json)
Validator for ContactInfo.
int ast_ari_validate_object(struct ast_json *json)
Validator for native Swagger object.
ari_validator ast_ari_validate_channel_connected_line_fn(void)
Function pointer to ast_ari_validate_channel_connected_line().
Support for logging to various files, console and syslog Configuration in file logger.conf.
int ast_ari_validate_mailbox(struct ast_json *json)
Validator for Mailbox.
int ast_ari_validate_application(struct ast_json *json)
Validator for Application.
int ast_ari_validate_playback_finished(struct ast_json *json)
Validator for PlaybackFinished.
int ast_ari_validate_asterisk_info(struct ast_json *json)
Validator for AsteriskInfo.
int ast_ari_validate_recording_finished(struct ast_json *json)
Validator for RecordingFinished.
ari_validator ast_ari_validate_sound_fn(void)
Function pointer to ast_ari_validate_sound().
int ast_ari_validate_string(struct ast_json *json)
Validator for native Swagger string.
ari_validator ast_ari_validate_playback_started_fn(void)
Function pointer to ast_ari_validate_playback_started().
int ast_ari_validate_channel_entered_bridge(struct ast_json *json)
Validator for ChannelEnteredBridge.
struct ast_json * ast_json_object_get(struct ast_json *object, const char *key)
Get a field from a JSON object.
int ast_ari_validate_playback_started(struct ast_json *json)
Validator for PlaybackStarted.
ari_validator ast_ari_validate_channel_entered_bridge_fn(void)
Function pointer to ast_ari_validate_channel_entered_bridge().
int ast_ari_validate_log_channel(struct ast_json *json)
Validator for LogChannel.
ari_validator ast_ari_validate_contact_info_fn(void)
Function pointer to ast_ari_validate_contact_info().
ari_validator ast_ari_validate_contact_status_change_fn(void)
Function pointer to ast_ari_validate_contact_status_change().
int ast_ari_validate_peer(struct ast_json *json)
Validator for Peer.
int ast_ari_validate_playback_continuing(struct ast_json *json)
Validator for PlaybackContinuing.
ari_validator ast_ari_validate_config_info_fn(void)
Function pointer to ast_ari_validate_config_info().
ari_validator ast_ari_validate_device_state_fn(void)
Function pointer to ast_ari_validate_device_state().
int ast_ari_validate_stasis_end(struct ast_json *json)
Validator for StasisEnd.
ari_validator ast_ari_validate_build_info_fn(void)
Function pointer to ast_ari_validate_build_info().
Abstract JSON element (object, array, string, int, ...).
ari_validator ast_ari_validate_application_move_failed_fn(void)
Function pointer to ast_ari_validate_application_move_failed().
int ast_ari_validate_channel_left_bridge(struct ast_json *json)
Validator for ChannelLeftBridge.
int ast_ari_validate_module(struct ast_json *json)
Validator for Module.
static int has_priority(void)
Check whether we were set to high(er) priority.
ari_validator ast_ari_validate_endpoint_state_change_fn(void)
Function pointer to ast_ari_validate_endpoint_state_change().
ari_validator ast_ari_validate_bridge_created_fn(void)
Function pointer to ast_ari_validate_bridge_created().
ari_validator ast_ari_validate_message_fn(void)
Function pointer to ast_ari_validate_message().
ari_validator ast_ari_validate_dialed_fn(void)
Function pointer to ast_ari_validate_dialed().
int ast_ari_validate_set_id(struct ast_json *json)
Validator for SetId.
int ast_ari_validate_channel_talking_started(struct ast_json *json)
Validator for ChannelTalkingStarted.
int ast_ari_validate_dialed(struct ast_json *json)
Validator for Dialed.
int ast_ari_validate_list(struct ast_json *json, int(*fn)(struct ast_json *))
Validator for a Swagger List[]/JSON array.
int ast_ari_validate_bridge_created(struct ast_json *json)
Validator for BridgeCreated.
ari_validator ast_ari_validate_channel_left_bridge_fn(void)
Function pointer to ast_ari_validate_channel_left_bridge().
ari_validator ast_ari_validate_playback_finished_fn(void)
Function pointer to ast_ari_validate_playback_finished().
ari_validator ast_ari_validate_endpoint_fn(void)
Function pointer to ast_ari_validate_endpoint().
ari_validator ast_ari_validate_bridge_merged_fn(void)
Function pointer to ast_ari_validate_bridge_merged().
int ast_ari_validate_channel_dialplan(struct ast_json *json)
Validator for ChannelDialplan.
ari_validator ast_ari_validate_bridge_video_source_changed_fn(void)
Function pointer to ast_ari_validate_bridge_video_source_changed().
Asterisk module definitions.
ari_validator ast_ari_validate_variable_fn(void)
Function pointer to ast_ari_validate_variable().
ari_validator ast_ari_validate_channel_varset_fn(void)
Function pointer to ast_ari_validate_channel_varset().
int ast_ari_validate_device_state(struct ast_json *json)
Validator for DeviceState.
ari_validator ast_ari_validate_missing_params_fn(void)
Function pointer to ast_ari_validate_missing_params().
ari_validator ast_ari_validate_event_fn(void)
Function pointer to ast_ari_validate_event().
ari_validator ast_ari_validate_text_message_fn(void)
Function pointer to ast_ari_validate_text_message().
int ast_ari_validate_bridge_merged(struct ast_json *json)
Validator for BridgeMerged.
int ast_ari_validate_device_state_changed(struct ast_json *json)
Validator for DeviceStateChanged.
ari_validator ast_ari_validate_channel_caller_id_fn(void)
Function pointer to ast_ari_validate_channel_caller_id().
int ast_ari_validate_stored_recording(struct ast_json *json)
Validator for StoredRecording.
int ast_ari_validate_channel_hangup_request(struct ast_json *json)
Validator for ChannelHangupRequest.
struct ast_json_iter * ast_json_object_iter_next(struct ast_json *object, struct ast_json_iter *iter)
Get the next iterator.